@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  --background: #f4f3f0;
  --foreground: #121212;
  --muted: #6b6b6b;
  --border: #d8d5ce;
  --surface: #ffffff;
  --accent: #1c1c1c;
  --accent-foreground: #f4f3f0;
  --hero-fade: linear-gradient(180deg, rgba(18, 18, 18, 0.12) 0%, rgba(18, 18, 18, 0.08) 35%, rgba(18, 18, 18, 0.58) 100%);
  --font-sans: "Manrope", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

.dark {
  --background: #0b0b0b;
  --foreground: #efeee9;
  --muted: #9a9a9a;
  --border: #2a2a2a;
  --surface: #141414;
  --accent: #efeee9;
  --accent-foreground: #0b0b0b;
  --hero-fade: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.68) 100%);
}

* { box-sizing: border-box; border-color: var(--border); }
html { scroll-behavior: smooth; }
html, body { margin: 0; min-height: 100%; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}
::selection { background: var(--foreground); color: var(--background); }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--accent); color: var(--accent-foreground);
  padding: .6rem 1rem; font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; color: inherit; }
.font-display { font-family: var(--font-display), Georgia, serif; }

.container-site { width: min(100% - 2rem, 1280px); margin-inline: auto; }
.container-narrow { width: min(100% - 2rem, 720px); margin-inline: auto; }
@media (min-width: 640px) {
  .container-site { width: min(100% - 2.5rem, 1280px); }
  .container-narrow { width: min(100% - 2.5rem, 720px); }
}

.site-shell { display: flex; min-height: 100vh; flex-direction: column; }
.site-shell.is-home { height: 100dvh; overflow: hidden; }
.site-main { flex: 1; }
.site-main.has-nav-pad { padding-top: calc(3.5rem + 10px); }
@media (min-width: 640px) { .site-main.has-nav-pad { padding-top: calc(4rem + 10px); } }
@media (min-width: 768px) { .site-main.has-nav-pad { padding-top: calc(5rem + 14px); } }

/* Navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  top: 10px;
  transition: color .3s, background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
@media (min-width: 768px) {
  .nav { top: 14px; }
}
.nav.over-hero { background: transparent; color: #fff; }
.nav.solid {
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
  color: var(--foreground);
}
.nav-bar { display: flex; height: 3.5rem; align-items: center; justify-content: space-between; }
@media (min-width: 640px) { .nav-bar { height: 4rem; } }
@media (min-width: 768px) { .nav-bar { height: 5rem; } }
.logo { font-family: var(--font-display); font-size: 1.125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
@media (min-width: 640px) { .logo { font-size: 1.5rem; letter-spacing: .12em; } }
.nav-links { display: none; align-items: center; gap: 2.5rem; }
.nav-links a { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; opacity: .7; }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.icon-btn {
  border-radius: 999px; border: 1px solid var(--border); padding: 8px;
  background: transparent; cursor: pointer; display: inline-flex;
}
.nav.over-hero .icon-btn { border-color: rgba(255,255,255,.35); color: #fff; }
.nav-mobile-btns { display: flex; gap: 8px; }
@media (min-width: 768px) { .nav-mobile-btns { display: none; } }
.mobile-menu { display: none; border-top: 1px solid var(--border); }
.mobile-menu.open { display: block; }
.nav.over-hero .mobile-menu.open { border-color: rgba(255,255,255,.15); background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(12px); }
.nav.solid .mobile-menu.open { background: var(--background); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem 0; }
.mobile-menu a { font-size: .875rem; letter-spacing: .2em; text-transform: uppercase; }

/* Hero */
.hero { position: relative; height: 100dvh; min-height: 100vh; width: 100%; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-out; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 6.5s ease-out; }
.hero-slide.active img { transform: scale(1.05); }
.hero-click { position: absolute; inset: 0; z-index: 5; }
.hero-fade { position: absolute; inset: 0; z-index: 6; pointer-events: none; background: var(--hero-fade); }
.hero-copy { position: absolute; inset: 0; z-index: 10; pointer-events: none; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero-copy-inner { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); padding-top: 6rem; }
.hero-meta { margin-bottom: .75rem; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-title { font-family: var(--font-display); max-width: 56rem; font-size: 2rem; line-height: 1.08; font-weight: 500; margin: 0; }
@media (min-width: 640px) { .hero-title { font-size: 3rem; } .hero-meta { font-size: 11px; letter-spacing: .28em; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } .hero-copy-inner { padding-bottom: 8rem; } }
.hero-cta { pointer-events: auto; margin-top: 1.75rem; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(255,255,255,.4); padding: .65rem 1.25rem;
  font-size: 10px; letter-spacing: .2em; text-transform: uppercase;
}
.btn-ghost:hover { background: #fff; color: #000; }
.hero-controls {
  position: absolute; inset: auto 0 0 0; z-index: 20; pointer-events: none;
  padding-bottom: max(.75rem, env(safe-area-inset-bottom));
}
.hero-controls-inner { pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .75rem 0; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrows button {
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
  padding: 8px; cursor: pointer;
}
.hero-arrows button:hover { background: #fff; color: #000; }
.hero-count { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero-empty { display: flex; height: 100dvh; min-height: 100vh; align-items: center; justify-content: center; background: var(--surface); color: var(--muted); }

/* Pages */
.page { padding: 3rem 0 4rem; }
@media (min-width: 768px) { .page { padding: 5rem 0 6rem; } }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 0; }
.page h1 { font-family: var(--font-display); font-size: 2.75rem; margin: .75rem 0 0; font-weight: 500; }
@media (min-width: 768px) { .page h1 { font-size: 3.75rem; } }
.lede { margin-top: 1.25rem; max-width: 36rem; font-size: .875rem; line-height: 1.7; color: var(--muted); }

.work-head { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 768px) {
  .work-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .work-head .lede { text-align: right; padding-bottom: .5rem; margin-top: 0; }
}
.cats { margin-top: 3.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; }
.cats button {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-size: 10px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--muted); opacity: .55;
}
.cats button:hover { opacity: .9; }
.cats button.active { color: var(--foreground); opacity: 1; }

.grid-projects { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 768px) { .grid-projects { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; } }
@media (min-width: 1100px) { .grid-projects { grid-template-columns: repeat(3, 1fr); } }
.image-reveal { overflow: hidden; position: relative; aspect-ratio: 4/3; background: var(--surface); }
.image-reveal img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.group:hover .image-reveal img { transform: scale(1.04); }
.card-meta { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; }
.card-meta h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin: 0; line-height: 1; }
.card-meta p, .card-meta span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: .5rem 0 0; }

.project-hero { position: relative; min-height: 70vh; overflow: hidden; background: var(--surface); }
.project-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-hero-fade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15), transparent); }
.project-hero-copy { position: relative; min-height: 70vh; display: flex; flex-direction: column; justify-content: flex-end; padding: 7rem 0 3rem; color: #fff; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; opacity: .8; margin-bottom: 2rem; width: fit-content; }
.project-body { display: grid; gap: 3rem; padding: 4rem 0; }
@media (min-width: 768px) { .project-body { grid-template-columns: 1.4fr .8fr; padding: 6rem 0; } }
.meta-list { border-top: 1px solid var(--border); padding-top: 1.5rem; }
@media (min-width: 768px) { .meta-list { border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 2.5rem; } }
.meta-list dt { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.meta-list dd { margin: .5rem 0 1.5rem; font-size: .875rem; }
.gallery { display: grid; gap: 1.5rem; padding-bottom: 6rem; }
.gallery .shot { position: relative; overflow: hidden; background: var(--surface); aspect-ratio: 16/9; }
.gallery .shot.alt { aspect-ratio: 4/3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.blog-grid { margin-top: 3rem; display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; } }
.blog-card .thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface); }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.blog-card:hover .thumb img { transform: scale(1.03); }
.blog-card h2 { font-family: var(--font-display); font-size: 1.5rem; margin: .5rem 0 0; font-weight: 500; line-height: 1.15; }
.blog-post { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1rem 4rem; }
@media (min-width: 640px) { .blog-post { padding: 3.5rem 1.5rem 5rem; } }
.blog-post h1 { font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; font-weight: 500; margin: .75rem 0 0; }
@media (min-width: 768px) { .blog-post h1 { font-size: 3rem; } }
.blog-cover { margin-top: 2rem; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
@media (min-width: 640px) { .blog-cover { aspect-ratio: 3/2; margin-top: 2.5rem; } }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-excerpt { margin-top: 2rem; font-size: 1rem; line-height: 1.7; color: var(--muted); }
.blog-content { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); font-size: .875rem; line-height: 1.85; white-space: pre-line; }
@media (min-width: 768px) { .blog-content { font-size: 1rem; } }

.two-col { display: grid; gap: 3rem; margin-top: 3.5rem; }
@media (min-width: 768px) { .two-col { grid-template-columns: 1.2fr .8fr; } }
.prose p { font-size: .875rem; line-height: 1.75; color: var(--muted); margin: 0 0 1.5rem; }
@media (min-width: 768px) { .prose p { font-size: 1rem; } }
.side { border-top: 1px solid var(--border); padding-top: 2rem; }
@media (min-width: 768px) { .side { border-top: 0; border-left: 1px solid var(--border); padding: 0 0 0 2.5rem; } }
.side .label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 .75rem; }
.side ul { margin: .75rem 0 0; padding: 0; list-style: none; }
.side li { font-size: .875rem; margin-bottom: .5rem; }
.side-block { margin-bottom: 2rem; }

.form label span { display: block; margin-bottom: .5rem; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  width: 100%; border: 1px solid var(--border); background: transparent;
  padding: .75rem 1rem; font-size: .875rem; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--foreground); }
.form .row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form .row { grid-template-columns: 1fr 1fr; } }
.form .field { margin-bottom: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-foreground);
  padding: .75rem 1.5rem; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}
.btn:hover { opacity: .85; }
.ok { color: var(--muted); font-size: .875rem; }
.err { color: #dc2626; font-size: .875rem; }

.footer { margin-top: auto; border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { display: flex; flex-direction: column; gap: 8px; padding: 1.25rem 0; font-size: 12px; color: var(--muted); }
@media (min-width: 640px) { .footer-bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; } }

/* Admin */
.admin-shell { display: grid; min-height: 100vh; grid-template-columns: 1fr; background: var(--background); }
@media (min-width: 900px) { .admin-shell { grid-template-columns: 248px 1fr; } }
.admin-side { border-bottom: 1px solid var(--border); background: var(--surface); display: flex; flex-direction: column; }
@media (min-width: 900px) { .admin-side { border-bottom: 0; border-right: 1px solid var(--border); min-height: 100vh; position: sticky; top: 0; height: 100vh; } }
.admin-brand { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.25rem .75rem; }
@media (min-width: 900px) { .admin-brand { display: block; padding: 1.5rem 1.25rem 1rem; } }
.admin-brand .signout { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
@media (min-width: 900px) { .admin-brand .signout { margin-top: 1.5rem; } }
.admin-nav { display: flex; gap: 6px; overflow-x: auto; padding: 0 .75rem 1rem; }
@media (min-width: 900px) { .admin-nav { flex-direction: column; padding: 0 .75rem; flex: 1; } }
.admin-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: .55rem .75rem; font-size: .875rem; border-radius: 0;
}
.admin-nav a:hover { background: var(--background); }
.admin-nav a.active { background: var(--accent); color: var(--accent-foreground); }
.admin-nav a .nav-badge {
  margin-left: auto; min-width: 1.25rem; height: 1.25rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--accent); color: var(--accent-foreground);
  font-size: 10px; display: inline-flex; align-items: center; justify-content: center;
}
.admin-nav a.active .nav-badge { background: var(--accent-foreground); color: var(--accent); }
.admin-side-foot {
  display: none; padding: 1rem 1.25rem 1.5rem; border-top: 1px solid var(--border); margin-top: auto;
}
@media (min-width: 900px) { .admin-side-foot { display: flex; flex-direction: column; gap: .65rem; } }
.admin-side-foot a, .admin-side-foot button {
  display: inline-flex; align-items: center; gap: 8px; background: none; border: 0;
  padding: 0; font-size: 12px; color: var(--muted); cursor: pointer; text-align: left;
}
.admin-body { min-width: 0; padding: 1.5rem; }
@media (min-width: 768px) { .admin-body { padding: 2.5rem; } }
.stats { display: grid; gap: 1rem; }
@media (min-width: 640px) { .stats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1280px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; color: inherit; }
.stat:hover { opacity: .92; }
.stat-label { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.stat p { font-family: var(--font-display); font-size: 2.25rem; margin: .75rem 0 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--surface); }
table { width: 100%; min-width: 720px; border-collapse: collapse; text-align: left; font-size: .875rem; }
th { padding: .75rem 1rem; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface); border-bottom: 1px solid var(--border); }
td { padding: .75rem 1rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
.row-title { display: flex; align-items: center; gap: .75rem; }
.row-thumb { width: 56px; height: 42px; object-fit: cover; background: var(--background); flex-shrink: 0; }
.line-clamp-2 {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.admin-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-head h1, .admin-body h1 { font-family: var(--font-display); font-size: 2.25rem; font-weight: 500; margin: 0; }
@media (min-width: 768px) { .admin-head h1, .admin-body h1 { font-size: 2.5rem; } }
.admin-sub { margin: .5rem 0 0; font-size: .875rem; color: var(--muted); }
.admin-form { width: 100%; max-width: none; }
.admin-form .grid-2 { display: grid; gap: 1rem; }
@media (min-width: 768px) { .admin-form .grid-2 { grid-template-columns: 1fr 1fr; } }
.admin-form .field { margin-bottom: 1rem; }
.admin-form label span, .field-label {
  display: block; margin-bottom: .5rem; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.admin-form input[type="text"], .admin-form input[type="email"], .admin-form input[type="password"],
.admin-form input[type="number"], .admin-form input[type="url"], .admin-form textarea {
  width: 100%; border: 1px solid var(--border); background: transparent; padding: .7rem 1rem; font-size: .875rem; outline: none;
}
.admin-form input:focus, .admin-form textarea:focus { border-color: var(--foreground); }
.checks { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0 1.5rem; font-size: .875rem; }
.checks label { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: transparent;
  padding: .5rem .85rem; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: inherit;
}
.btn-outline:hover { border-color: var(--foreground); }
.btn-full { width: 100%; justify-content: center; }
.link-sm { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.link-danger { color: #dc2626; }
.actions { display: flex; align-items: center; gap: .85rem; flex-wrap: wrap; }
.actions form { display: inline; margin: 0; }
.actions button { background: none; border: 0; padding: 0; cursor: pointer; }
.icon-move { display: inline-flex; color: var(--muted); padding: 2px; }
.icon-move:disabled { opacity: .3; cursor: default; }
.admin-panel { border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; }
.admin-grid { display: grid; gap: 2rem; margin-top: 2rem; }
@media (min-width: 1024px) { .admin-grid { grid-template-columns: 1fr 1fr; } }
.img-card .opts { padding: .55rem .65rem; font-size: 12px; }
.img-card .opts-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: .4rem; }
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; background: var(--background); }
.login-box { width: 100%; max-width: 28rem; border: 1px solid var(--border); background: var(--surface); padding: 2rem; }
.login-hint { margin-top: 1.25rem; font-size: 12px; color: var(--muted); line-height: 1.6; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--foreground); background: var(--foreground); color: var(--background); padding: .4rem .75rem; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.chip-add { border: 1px solid var(--border); background: transparent; color: var(--muted); padding: .4rem .75rem; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.chip-add:hover { border-color: var(--foreground); color: var(--foreground); }
.img-grid { display: grid; gap: .75rem; }
@media (min-width: 640px) { .img-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .img-grid { grid-template-columns: 1fr 1fr 1fr; } }
.img-card { border: 1px solid var(--border); background: var(--surface); position: relative; }
.img-card.cover { border-color: var(--foreground); }
.img-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.cover-badge { position: absolute; left: 8px; top: 8px; background: var(--accent); color: var(--accent-foreground); padding: 4px 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.msg { border: 1px solid var(--border); background: var(--surface); padding: 1.25rem; margin-bottom: 1rem; }
.msg.is-read { opacity: .75; }
.msg-actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.msg-actions button, .msg-actions a { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.chart { display: flex; height: 10rem; align-items: flex-end; gap: .75rem; margin-top: 2rem; }
.bar { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 8px; height: 100%; }
.bar-fill { width: 100%; max-width: 48px; background: var(--accent); }
.flash { border: 1px solid var(--border); background: var(--surface); padding: .85rem 1rem; margin-bottom: 1.25rem; font-size: .875rem; }
.flash.ok { color: var(--foreground); }
.pill { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pill.live { color: var(--foreground); }
.quick { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.url-row { display: flex; gap: 8px; margin-top: .75rem; }
.url-row input { flex: 1; min-width: 0; }
.form-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.fade-up { animation: fadeUp .8s cubic-bezier(.22,1,.36,1) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hidden { display: none !important; }

