/* ═══════════════════════════════════════════════════════════════
   GLOSSARYKIT — style.css
   Theme: Matches StyleGuard (shadcn/ui dark + light via [data-theme])
═══════════════════════════════════════════════════════════════ */

/* ── 1. SHARED TOKENS ─────────────────────────────────────── */
:root {
  --radius:    0.625rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);

  --font-sans: 'Geist', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-mid:  250ms;
}


/* ── 2. DARK TOKENS ───────────────────────────────────────── */
[data-theme="dark"] {
  color-scheme: dark;
  --background:           #09090b;
  --card:                 #18181b;
  --secondary:            #27272a;
  --muted:                #27272a;
  --accent:               #27272a;
  --foreground:           #fafafa;
  --card-foreground:      #fafafa;
  --primary:              #e4e4e7;
  --primary-foreground:   #18181b;
  --secondary-foreground: #fafafa;
  --muted-foreground:     #a1a1aa;
  --accent-foreground:    #fafafa;
  --border:               rgba(255,255,255,0.10);
  --input:                rgba(255,255,255,0.15);
  --ring:                 #71717a;
  --toggle-border:        rgba(255,255,255,0.18);
  --stat-score-bg:  rgba( 52,211,153,.10); --stat-score-fg:  #6ee7b7;
  --stat-info-bg:   rgba( 96,165,250,.10); --stat-info-fg:   #93c5fd;
  --stat-warn-bg:   rgba(251,191, 36,.10); --stat-warn-fg:   #fcd34d;
  --danger-fg: #fca5a5;
  --danger-bg: rgba(248,113,113,0.10);
  --danger-border: rgba(248,113,113,0.25);
}


/* ── 3. LIGHT TOKENS ──────────────────────────────────────── */
[data-theme="light"] {
  color-scheme: light;
  --background:           #ffffff;
  --card:                 #ffffff;
  --secondary:            #f4f4f5;
  --muted:                #f4f4f5;
  --accent:               #f4f4f5;
  --foreground:           #09090b;
  --card-foreground:      #09090b;
  --primary:              #18181b;
  --primary-foreground:   #fafafa;
  --secondary-foreground: #18181b;
  --muted-foreground:     #71717a;
  --accent-foreground:    #18181b;
  --border:               rgba(0,0,0,0.10);
  --input:                rgba(0,0,0,0.08);
  --ring:                 #a1a1aa;
  --toggle-border:        rgba(0,0,0,0.15);
  --stat-score-bg:  rgba(  5,150,105,.07); --stat-score-fg:  #065f46;
  --stat-info-bg:   rgba( 37, 99,235,.07); --stat-info-fg:   #1d4ed8;
  --stat-warn-bg:   rgba(161,109,  8,.07); --stat-warn-fg:   #92400e;
  --danger-fg: #b91c1c;
  --danger-bg: rgba(220,38,38,0.07);
  --danger-border: rgba(220,38,38,0.25);
}


/* ── 4. THEME TRANSITIONS ─────────────────────────────────── */
body, .site-header, .pane, .pane-header, .stats-bar,
.site-footer, .btn, .text-input, .def-textarea, .search-input {
  transition:
    background-color var(--dur-mid) var(--ease-out),
    border-color     var(--dur-mid) var(--ease-out),
    color            var(--dur-mid) var(--ease-out);
}


/* ── 5. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}


/* ── 6. HEADER ────────────────────────────────────────────── */
.site-header {
  background-color: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.625rem; }

.brand-icon {
  color: var(--muted-foreground);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-text { display: flex; flex-direction: column; gap: 1px; }

.brand-name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--foreground);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  font-weight: 400;
  line-height: 1;
}

.header-right { display: flex; align-items: center; gap: 0.5rem; }

.version-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--muted-foreground);
  background: transparent;
  border: none;
  padding: 0.2em 0.5em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  line-height: 1.4;
  transition:
    color            var(--dur-fast) var(--ease-out),
    background-color var(--dur-fast) var(--ease-out);
}

.version-tag:hover {
  color: var(--foreground);
  background: var(--secondary);
  text-decoration: underline dotted;
  text-underline-offset: 3px;
}

.version-tag:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }


/* ── 7. THEME TOGGLE ──────────────────────────────────────── */
.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 2rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  background: var(--secondary);
  border: 1px solid var(--toggle-border);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background  var(--dur-fast) var(--ease-out),
    box-shadow  var(--dur-fast) var(--ease-out);
}

.btn--icon:hover { background: var(--accent); box-shadow: 0 0 0 1px var(--ring); }
.btn--icon:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }
.theme-toggle-label { line-height: 1; }

[data-theme="dark"]  .icon-sun   { display: none; }
[data-theme="dark"]  .icon-moon  { display: block; }
[data-theme="light"] .icon-moon  { display: none; }
[data-theme="light"] .icon-sun   { display: block; }
[data-theme="dark"]  .label-dark  { display: inline; }
[data-theme="dark"]  .label-light { display: none; }
[data-theme="light"] .label-dark  { display: none; }
[data-theme="light"] .label-light { display: inline; }


/* ── 8. APP SHELL ─────────────────────────────────────────── */
.app-shell {
  flex: 1;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}


/* ── 9. PANES ─────────────────────────────────────────────── */
.pane {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pane--output {
  min-height: 580px;
}

/* Left pane: push stats bar to bottom so both panes fill equally */
.pane--input {
  justify-content: space-between;
}

.pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.pane-header--mid {
  border-top: 1px solid var(--border);
}

.pane-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.pane-step {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.15em 0.45em;
  line-height: 1.4;
}

.pane-count {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}


/* ── 10. PANE BODY ────────────────────────────────────────── */
.pane-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* ── 11. INPUTS ───────────────────────────────────────────── */
.input-group { display: flex; flex-direction: column; gap: 0.375rem; }

.input-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  opacity: 0.65;
}

.text-input,
.def-textarea {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem;
  width: 100%;
  outline: none;
  caret-color: var(--foreground);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow   var(--dur-fast) var(--ease-out);
}

.text-input::placeholder,
.def-textarea::placeholder { color: var(--muted-foreground); opacity: 0.5; }

.text-input:focus,
.def-textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}

.def-textarea {
  resize: vertical;
  min-height: 100px;
}


/* ── 12. INPUT ACTIONS ────────────────────────────────────── */
.input-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--border);
}

.controls-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 0.125rem;
}

#import-input { display: none; }


/* ── 13. BUTTONS ──────────────────────────────────────────── */
.btn {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 0 0.875rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  white-space: nowrap;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background    var(--dur-fast) var(--ease-out),
    color         var(--dur-fast) var(--ease-out),
    border-color  var(--dur-fast) var(--ease-out),
    opacity       var(--dur-fast) var(--ease-out);
}

.btn--primary {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}
.btn--primary:hover   { opacity: 0.88; }
.btn--primary:active  { opacity: 0.75; }
.btn--primary:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.btn--ghost {
  background: transparent;
  color: var(--muted-foreground);
  border-color: var(--border);
}
.btn--ghost:hover  { background: var(--accent); color: var(--accent-foreground); border-color: var(--ring); }
.btn--ghost:active { opacity: 0.8; }
.btn--ghost:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.btn__shortcut {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  opacity: 0.45;
  background: rgba(0,0,0,0.15);
  padding: 1px 4px;
  border-radius: 3px;
}


/* ── 14. SEARCH ───────────────────────────────────────────── */
.pane-search {
  position: relative;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border);
}

.search-icon {
  position: absolute;
  left: 1.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  opacity: 0.5;
  pointer-events: none;
}

.search-input {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.75rem 0.5rem 2.25rem;
  width: 100%;
  outline: none;
  caret-color: var(--foreground);
  transition:
    border-color var(--dur-fast) var(--ease-out),
    box-shadow   var(--dur-fast) var(--ease-out);
}

.search-input::placeholder { color: var(--muted-foreground); opacity: 0.5; }

.search-input:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 1px var(--ring);
}


/* ── 15. STATS BAR ────────────────────────────────────────── */
.stats-bar {
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 56px;
}

.stats-bar__empty-state {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  opacity: 0.6;
  width: 100%;
}

.stats-bar[data-state="loaded"] .stats-bar__empty-state { display: none; }
.stats-bar[data-state="empty"]  .stats-grid { display: none; }

.stats-grid {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  align-items: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  opacity: 0.65;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1;
}

.stat-value--last {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--stat-score-fg);
}


/* ── 16. RESULTS PANEL ────────────────────────────────────── */
.results-panel {
  flex: 1;
  overflow-y: auto;
  position: relative;
}

.results-panel::-webkit-scrollbar       { width: 4px; }
.results-panel::-webkit-scrollbar-track { background: transparent; }
.results-panel::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 2px; }

.results-panel__empty {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  text-align: center;
  padding: 2.5rem;
}

.empty-illustration { color: var(--muted-foreground); opacity: 0.25; }

.empty-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.empty-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  opacity: 0.6;
  max-width: 26ch;
  line-height: 1.55;
}

.empty-subtitle strong {
  opacity: 1;
  color: var(--muted-foreground);
}

/* Search no-results fallback */
.empty-state {
  padding: 2.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted-foreground);
  opacity: 0.6;
}


/* ── 17. TERM CARDS ───────────────────────────────────────── */
.term-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur-fast) var(--ease-out);
  animation: fade-up 0.2s var(--ease-out) both;
}

.term-card:last-child { border-bottom: none; }
.term-card:hover { background: var(--secondary); }

.card-content { flex: 1; min-width: 0; }

.card-content .term {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.card-content .def {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  line-height: 1.6;
}

.card-content .meta {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--muted-foreground);
  opacity: 0.45;
  margin-top: 0.375rem;
  letter-spacing: 0.02em;
}


/* ── 18. CARD ACTIONS ─────────────────────────────────────── */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
}

.card-actions button {
  background: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  transition:
    background     var(--dur-fast) var(--ease-out),
    color          var(--dur-fast) var(--ease-out),
    border-color   var(--dur-fast) var(--ease-out);
}

.card-actions button:hover {
  background: var(--secondary);
  color: var(--foreground);
  border-color: var(--ring);
}

.card-actions .delete-btn {
  color: var(--danger-fg);
  border-color: var(--danger-border);
}

.card-actions .delete-btn:hover {
  background: var(--danger-bg);
  border-color: var(--danger-fg);
  color: var(--danger-fg);
}


/* ── 19. TOAST ────────────────────────────────────────────── */
#toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-mid) var(--ease-out);
  z-index: 999;
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

#toast.show { opacity: 1; }


/* ── 20. CHANGELOG PANEL ──────────────────────────────────── */
.changelog-panel {
  border-top: 1px solid var(--border);
  background: var(--card);
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition:
    max-height var(--dur-mid) var(--ease-out),
    opacity    var(--dur-mid) var(--ease-out);
}

.changelog-panel:not([hidden]) { max-height: 400px; opacity: 1; }

.changelog-panel[hidden] {
  display: block !important;
  visibility: visible;
  pointer-events: none;
}

.changelog-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem 1.25rem;
}

.changelog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid var(--border);
}

.changelog-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.changelog-gh-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.changelog-gh-link:hover { color: var(--foreground); }

.changelog-content {
  overflow-y: auto;
  max-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.changelog-content::-webkit-scrollbar       { width: 4px; }
.changelog-content::-webkit-scrollbar-track { background: transparent; }
.changelog-content::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 2px; }

.changelog-release { display: flex; flex-direction: column; gap: 0.375rem; }
.changelog-release-header { display: flex; align-items: baseline; gap: 0.625rem; }
.changelog-version { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--foreground); }
.changelog-date    { font-family: var(--font-mono); font-size: 0.625rem; color: var(--muted-foreground); }

.changelog-latest-badge {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--stat-score-fg);
  background: var(--stat-score-bg);
  border-radius: 999px;
  padding: 0.1em 0.55em;
}

.changelog-items { list-style: none; display: flex; flex-direction: column; gap: 0.2rem; }
.changelog-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted-foreground);
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
}
.changelog-item::before { content: '—'; color: var(--ring); flex-shrink: 0; }

.changelog-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.25em 0.65em;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background    var(--dur-fast) var(--ease-out),
    color         var(--dur-fast) var(--ease-out),
    border-color  var(--dur-fast) var(--ease-out);
}

.changelog-toggle-btn:hover { background: var(--secondary); color: var(--foreground); border-color: var(--ring); }
.changelog-toggle-btn:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px; }

.changelog-toggle-chevron { transition: transform var(--dur-fast) var(--ease-out); }
.changelog-toggle-btn[aria-expanded="true"] .changelog-toggle-chevron { transform: rotate(180deg); }


/* ── 20. FOOTER ───────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--muted-foreground);
}

.site-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer-inner p { opacity: 0.5; }

.footer-links { display: flex; gap: 1.25rem; }

.footer-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  opacity: 0.6;
  transition:
    opacity var(--dur-fast) var(--ease-out),
    color   var(--dur-fast) var(--ease-out);
}

.footer-link:hover { opacity: 1; color: var(--foreground); }


/* ── 21. ACCESSIBILITY ────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ── 22. ANIMATIONS ───────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-header  { animation: fade-up 0.30s                    var(--ease-out) both; }
.pane--input  { animation: fade-up 0.35s 0.05s              var(--ease-out) both; }
.pane--output { animation: fade-up 0.35s 0.10s              var(--ease-out) both; }
.site-footer  { animation: fade-up 0.30s 0.15s              var(--ease-out) both; }


/* ── 23. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 860px) {
  .app-shell { grid-template-columns: 1fr; padding: 1rem; gap: 0.875rem; align-items: start; }
  .pane--input  { justify-content: flex-start; }
  .pane--output { min-height: 400px; }
}

@media (max-width: 560px) {
  .header-inner  { padding: 0 1rem; height: 48px; }
  .brand-tagline { display: none; }
  .app-shell     { padding: 0.75rem; gap: 0.75rem; }
  .btn           { height: 1.875rem; font-size: 0.75rem; }
  .site-footer-inner { flex-direction: column; align-items: flex-start; gap: 0.5rem; padding: 0.75rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
