@font-face { font-family: 'Source Code Pro'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/fonts/SourceCodePro.ttf') format('truetype'); }

:root {
  color-scheme: dark;
  --bg: #1c1c1e; --ink: #f2eee6; --dark: #141415; --muted: #aaa6a0;
  --line: #434140; --paper: #232325; --accent: #f4c34b; --hover: #2f2d2b;
  --gut: clamp(16px, 4vw, 42px);
  --heading-font: 'Source Code Pro', 'Courier New', monospace;
  font: 400 14px/1.65 'Source Code Pro', 'Courier New', monospace;
  color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 300px; min-height: 100vh; }
::selection { background: var(--accent); color: var(--dark); }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { opacity: .42; cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.app-header { border-bottom: 1px solid var(--line); }
.header-inner, .shell { width: min(100%, 1170px); margin-inline: auto; padding-inline: var(--gut); }
.header-inner { min-height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-family: var(--heading-font); font-size: 18px; line-height: 1.05; font-weight: 700; text-transform: uppercase; }
.brand b { font-weight: inherit; color: var(--accent); }
.brand-mark { display: inline-flex; align-items: center; justify-content: center; gap: 3px; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--paper); }
.brand-mark i { width: 3px; height: 8px; background: var(--accent); }
.brand-mark i:nth-child(even) { height: 17px; }
.brand-mark i:nth-child(3) { height: 26px; }
nav { display: flex; align-items: center; gap: 9px; }
.nav-btn, .quiet { border: 1px solid transparent; background: transparent; padding: 8px 11px; min-height: 42px; font-size: 12px; font-weight: 500; }
.nav-btn:hover, .quiet:hover { color: var(--accent); border-color: var(--line); background: var(--hover); }
.nav-picks { border-color: var(--line); }
.count { min-width: 23px; min-height: 23px; display: inline-grid; place-items: center; padding: 0 5px; margin-left: 4px; color: var(--accent); background: #33302c; font-size: 11px; font-variant-numeric: tabular-nums; }

/* A sound terminal, with physical depth and square pixels. */
.hero { min-height: 510px; position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; margin: 28px 0 50px; border: 1px solid #5d5149; background: var(--dark); }
.hero::after { content: ''; position: absolute; right: 0; bottom: 0; width: 22px; height: 22px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: var(--accent); }
.hero-terminal-bar { position: absolute; inset: 0 0 auto; min-height: 39px; padding: 9px 17px; border-bottom: 1px solid var(--line); background: #292727; display: flex; justify-content: space-between; align-items: center; gap: 10px; color: #d9d2c9; font-size: 10px; line-height: 1.3; letter-spacing: .08em; }
.terminal-cursor { color: var(--accent); margin-left: 3px; animation: cursor-blink 1.2s steps(1,end) infinite; }
.terminal-status { display: inline-flex; align-items: center; gap: 8px; }
.terminal-status i { width: 5px; height: 5px; display: inline-block; background: var(--accent); box-shadow: 0 0 9px #f4c34b4a; }
.hero-content { padding: 76px 0 42px 42px; position: relative; z-index: 1; width: 62%; }
.eyebrow { margin-bottom: 23px; font-size: 9px; color: #a99d94; letter-spacing: .075em; }
.hero h1 { font-family: var(--heading-font); font-size: clamp(47px, 6.4vw, 78px); line-height: 1.02; font-weight: 700; letter-spacing: -.068em; text-transform: uppercase; color: var(--accent); }
.hero h1 span { color: var(--ink); }
.hero p { color: #bcb5ab; font-size: 12px; line-height: 1.65; margin: 25px 0 24px; }
.hero-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #f7d577; min-height: 47px; padding: 10px 16px; background: var(--accent); color: #171616; font-size: 12px; font-weight: 600; box-shadow: 3px 3px 0 #6e562b; }
.hero-link span { font-size: 20px; line-height: 1; }
.hero-link:hover { background: #ffda76; }
.hero-link:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 #6e562b; }
.hero-visual { position: absolute; z-index: 2; pointer-events: none; right: -1%; top: 39px; bottom: 58px; width: 49%; perspective: 1000px; display: grid; align-items: center; }
.hero-halo { position: absolute; inset: 0; background-image: radial-gradient(#9e84473d .75px,transparent .75px); background-size: 8px 8px; mask-image: radial-gradient(ellipse,black 40%,transparent 72%); }
.hero-stack { position: relative; width: 88%; aspect-ratio: 192 / 84; margin-left: 1%; transform-style: preserve-3d; transform-origin: center; transform: rotateX(calc(7deg + var(--pitch,0deg))) rotateY(calc(-15deg + var(--yaw,0deg))) rotateZ(-2deg); transition: transform 240ms ease; }
.hero-plane { position: absolute; inset: 0; border: 1px solid #736445; }
.hero-plane-back { transform: translate3d(14px,20px,-36px); background: #363024; }
.hero-plane-middle { transform: translate3d(7px,10px,-18px); background: #292723; }
.hero-plane-front { overflow: hidden; transform: translateZ(8px); background: #1e1d1d; box-shadow: 0 25px 40px #0007; }
.hero-plane-front::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg,transparent 0,transparent 3px,#0000001a 3px,#0000001a 4px); }
.hero-visual canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }
.hero-transport { position: absolute; z-index: 1; top: 5%; left: 4%; height: 36%; display: flex; gap: 4px; pointer-events: auto; }
.hero-transport button { width: clamp(42px, 5.5vw, 55px); min-height: 38px; display: grid; place-items: center; color: #a8ca58; background: #161d14; border: 1px solid #445333; }
.hero-transport button:hover, .hero-transport button[aria-pressed=true] { background: #29351d; color: #caee78; }
.hero-transport svg { width: 50%; max-width: 25px; fill: currentColor; }
.hero .hero-voice { position: absolute; top: calc(100% + 6px); left: 0; max-width: 100%; margin: 0; color: #a8ca58; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Catalogue */
.catalog { scroll-margin-top: 22px; }
.section-kicker { color: var(--accent); font-size: 10px; letter-spacing: .11em; margin-bottom: 12px; }
.section-heading { display: flex; gap: 15px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.section-heading h1, .section-heading h2 { font-family: var(--heading-font); font-size: clamp(27px,3.7vw,43px); line-height: 1.1; letter-spacing: -.055em; font-weight: 700; text-transform: uppercase; }
.muted { color: var(--muted); }
#results-label { font-size: 11px; margin-top: 9px; min-height: 18px; }
.button { border: 1px solid transparent; display: inline-flex; gap: 9px; justify-content: center; align-items: center; min-height: 44px; padding: 9px 14px; font-size: 12px; font-weight: 500; line-height: 1.5; text-decoration: none; }
.button.outline { border-color: var(--line); background: var(--paper); }
.button.outline:hover { border-color: var(--accent); color: var(--accent); background: var(--hover); }
.button.primary { background: var(--accent); border-color: var(--accent); color: #1b1715; font-weight: 600; }
.button.primary:hover { background: #ffda76; border-color: #ffda76; }
.button small { padding: 1px 5px; border: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.catalog-note { display: grid; max-width: 840px; margin: -3px 0 22px; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 13px; line-height: 1.7; }
.catalog-note-copy { grid-area: 1 / 1; min-width: 0; }
.catalog-note p { margin: 0; overflow-wrap: anywhere; }
.catalog-note .catalog-note-title { color: var(--ink); font-size: 15px; font-weight: 600; }
.catalog-note:not(.is-typing) .catalog-note-title { margin-bottom: 5px; }
.catalog-note .terminal-cursor:not(.is-active) { animation: none; }
.catalog-note.is-typing .catalog-note-copy { display: grid; opacity: 0; }
.catalog-note.is-typing .catalog-note-copy > p, .catalog-note-display { grid-area: 1 / 1; }
.catalog-note-display { pointer-events: none; }
.catalog-help { margin-bottom: 23px; }
.catalog-help .button { text-align: left; color: #e5c786; border-color: #615238; background: #2c2820; }
.catalog-help .button::before { content: '?'; color: var(--accent); font-family: var(--heading-font); font-size: 24px; line-height: 1; }
.controls { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.search { display: flex; align-items: center; flex: 1; min-width: 140px; gap: 13px; min-height: 49px; background: var(--dark); padding: 0 15px; border: 1px solid var(--line); }
.search input { width: 100%; color: var(--ink); background: transparent; border: 0; padding: 10px 0; outline: none; font-size: 13px; }
.search input::placeholder { color: #85817b; }
.search input:focus-visible { outline: none; }
.search:focus-within { border-color: var(--accent); }
.search-mark { width: 13px; height: 13px; flex: 0 0 13px; position: relative; border: 2px solid var(--accent); }
.search-mark::after { content: ''; position: absolute; background: var(--accent); width: 6px; height: 2px; transform: rotate(45deg); left: 8px; top: 10px; }
select { padding: 10px; min-height: 44px; border: 1px solid var(--line); background: var(--paper); max-width: 38%; }
.folder-navigation { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 15px; }
.folder-navigation .button { min-height: 44px; border-color: #6a5345; }
.folder-trail { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin: 0 0 13px; font-size: 11px; color: var(--muted); }
.folder-trail .quiet { font-size: 11px; padding-inline: 6px; }
.folder-trail [aria-current] { color: var(--accent); }
.folder-list { display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 9px; margin-bottom: 16px; counter-reset: directory; }
.folder-button { min-height: 82px; text-align: left; padding: 17px 43px 17px 46px; position: relative; border: 1px solid var(--line); background: var(--paper); font-size: 13px; line-height: 1.55; counter-increment: directory; overflow-wrap: anywhere; box-shadow: inset 0 1px #ffffff05, 2px 2px 0 #111; }
.folder-button::before { content: ''; position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 15px; background: var(--accent); clip-path: polygon(0 0,42% 0,42% 20%,100% 20%,100% 100%,0 100%); }
.folder-button::after { content: counter(directory,decimal-leading-zero); position: absolute; right: 13px; top: 50%; transform: translateY(-50%); font-family: var(--heading-font); font-size: 23px; color: #82756b; }
.folder-button:hover { border-color: var(--accent); background: #302722; }
.folder-button:hover::after { color: var(--accent); }
.filters { display: flex; gap: 7px; overflow-x: auto; padding: 1px 1px 13px; }
.chip { padding: 7px 12px; min-height: 38px; background: transparent; border: 1px solid var(--line); white-space: nowrap; font-size: 12px; }
.chip[aria-pressed=true] { background: var(--accent); color: var(--dark); border-color: var(--accent); }
.voices { border: 1px solid var(--line); background: var(--paper); }
.voice + .voice { border-top: 1px solid var(--line); }
.voice-line { --row-pad: 14px; --row-gap: 12px; --play-size: 42px; display: grid; grid-template-columns: var(--play-size) minmax(0,1fr) minmax(110px,155px) minmax(105px,128px) 285px; grid-template-areas: 'play name meter price actions'; align-items: center; gap: var(--row-gap); padding: 14px var(--row-pad); }
.voice-line > .play { grid-area: play; width: var(--play-size); height: var(--play-size); }
.voice-line > .voice-title { grid-area: name; min-width: 0; }
.voice-line > .track { grid-area: meter; }
.voice-line > .price { grid-area: price; }
.voice-line > .voice-actions { grid-area: actions; }
.voice-line.playing { background: #352820; }
.voice-line h3 { overflow-wrap: anywhere; font-size: 14px; line-height: 1.4; font-weight: 600; }
.voice-line .description, .voice-line .meta { display: block; font-size: 10px; margin-top: 5px; color: var(--muted); overflow-wrap: anywhere; }
.price { font-size: 11px; line-height: 1.6; font-weight: 500; text-align: right; overflow-wrap: anywhere; }
.play { background: #2a2928; border: 1px solid #6a5446; width: 40px; height: 40px; color: var(--accent); display: grid; place-items: center; box-shadow: 2px 2px 0 #111; }
.play:hover, .play[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.icon svg, .play svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: square; stroke-linejoin: miter; }
.play svg { fill: currentColor; stroke: none; }
.icon { border: 1px solid transparent; color: var(--ink); background: transparent; min-width: 35px; height: 40px; display: inline-grid; place-items: center; }
.icon:hover { color: var(--accent); border-color: var(--line); background: var(--hover); }
.icon[aria-pressed=true] { color: var(--accent); background: #443027; border-color: #6b4935; }
.voice-actions { display: grid; grid-template-columns: 38px 38px minmax(75px, auto) minmax(0, 1fr); align-items: center; gap: 4px; }
.voice-actions .icon { width: 38px; height: 42px; }
.voice-contact { display: inline-flex; gap: 5px; align-items: center; justify-content: center; min-height: 42px; padding: 0 8px; color: var(--accent); background: #2e281c; border: 1px solid #615238; font-size: 11px; text-decoration: none; white-space: nowrap; }
.voice-contact:hover { color: var(--dark); background: var(--accent); }
.voice-contact svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.track { display: block; width: 100%; min-width: 0; height: 30px; background: #101411; border: 1px solid #30372c; image-rendering: pixelated; }
.demo-more { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.demo-more summary { cursor: pointer; width: fit-content; min-height: 32px; margin-inline-start: 68px; padding-top: 5px; }
.demo-extra { border-top: 1px solid var(--line); }
.empty { padding: 28px 15px; text-align: center; color: var(--muted); }
.catalog-cta { margin-top: 17px; }
.local-source { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 13px 0; }
.local-source .button { cursor: pointer; }
.local-source .button:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.local-source p { font-size: 10px; flex: 1 1 200px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.preview-message { position: relative; margin-top: 15px; padding: 10px 13px; border: 1px dashed #655044; color: #c3b5a9; background: #282321; font-size: 10px; }

/* The help panel stays readable, even with a deliberately retro interface. */
.faq-section { margin: 48px 0 8px; padding: 27px; border: 1px solid #6b5b42; background: #202021; scroll-margin-top: 22px; box-shadow: 4px 4px 0 #111; }
.faq-intro { margin-bottom: 23px; }
.faq-intro h2 { font-family: var(--heading-font); font-size: clamp(25px,3.6vw,40px); font-weight: 700; letter-spacing: -.055em; text-transform: uppercase; line-height: 1.1; margin-bottom: 12px; }
.faq-intro p { color: var(--muted); max-width: 650px; font-size: 12px; }
.faq { display: grid; gap: 8px; padding-bottom: 4px; }
.faq-card { background: var(--paper); border: 1px solid var(--line); }
.faq-card.animating { overflow: hidden; }
.faq-card > summary { min-height: 61px; cursor: pointer; display: grid; grid-template-columns: minmax(0,1fr) 27px; align-items: center; gap: 13px; padding: 12px 15px; font-size: 13px; font-weight: 500; line-height: 1.5; list-style: none; }
.faq-card > summary::-webkit-details-marker { display: none; }
.faq-card > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.faq-card:has(> summary:hover), .faq-card[open] { border-color: #8a7245; }
.faq-toggle { position: relative; display: block; width: 27px; height: 27px; border: 1px solid #695a3d; background: #2d2920; }
.faq-toggle::before, .faq-toggle::after { content: ''; position: absolute; inset: 12px 7px auto; height: 2px; background: var(--accent); transition: transform 190ms ease; }
.faq-toggle::after { transform: rotate(90deg); }
.faq-card[open]:not(.closing) .faq-toggle { background: var(--accent); border-color: var(--accent); }
.faq-card[open]:not(.closing) .faq-toggle::before { background: var(--dark); }
.faq-card[open]:not(.closing) .faq-toggle::after { transform: rotate(0deg); background: var(--dark); }
.faq-answer p { padding: 0 15px 18px; white-space: pre-wrap; overflow-wrap: anywhere; color: #c5bfb6; font-size: 13px; line-height: 1.85; }
.inline-action { display: inline; padding: 0; border: 0; background: transparent; color: #ffda76; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; font: inherit; font-weight: 600; cursor: pointer; }
.inline-action:hover { color: #ffe6a5; text-decoration-thickness: 2px; }
.manager-feedback { margin-top: 16px; padding: 13px; background: #33281f; border: 1px solid #765139; line-height: 1.7; }
.manager-close { margin-top: 10px; }

/* Dialogues and owner controls use the same terminal frame. */
.footer { display: flex; justify-content: space-between; align-items: center; padding-block: 30px 120px; color: var(--muted); font-size: 11px; }
.selection-bar { position: fixed; width: min(calc(100% - 24px),570px); left: 50%; transform: translateX(-50%); bottom: max(14px,env(safe-area-inset-bottom)); z-index: 2; padding: 8px; border: 1px solid #8b754c; background: #202020; color: var(--ink); display: flex; gap: 7px; justify-content: space-between; align-items: center; box-shadow: 4px 4px 0 #0009; }
.selection-bar .quiet { font-size: 11px; }
.selection-bar .count { color: var(--accent); }
.selection-bar .button.primary { padding-inline: 12px; text-align: center; }
dialog { background: var(--paper); color: var(--ink); border: 1px solid #9b8356; padding: 21px; width: min(590px,calc(100% - 26px)); max-height: 85dvh; box-shadow: 6px 6px 0 #080808; }
dialog::backdrop { background: #0b0b0bd9; }
.sheet-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.sheet-header h2 { font-family: var(--heading-font); font-size: 25px; line-height: 1.2; font-weight: 700; }
.sheet-close { font-size: 25px; color: var(--accent); }
.sheet-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 19px; }
.sheet-list { list-style: none; margin: 13px 0; padding: 0; }
.sheet-list li { display: grid; grid-template-columns: minmax(0,1fr) auto auto; gap: 6px; align-items: center; border-bottom: 1px solid var(--line); padding: 9px 0; overflow-wrap: anywhere; }
.terms-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.notice { position: fixed; z-index: 9; right: 12px; bottom: max(91px,env(safe-area-inset-bottom)); max-width: min(400px,calc(100% - 24px)); border: 1px solid #8d7548; color: var(--ink); background: #30261f; padding: 12px 15px; font-size: 12px; box-shadow: 3px 3px 0 #0007; }
dialog .notice { position: static; margin-top: 12px; }
.admin-page { margin-top: 24px; }
.admin-page .section-heading { margin-top: 21px; }
.admin-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr) auto; gap: 10px; align-items: center; padding: 12px 15px; }
.admin-line + .admin-line { border-top: 1px solid var(--line); }
.form { display: grid; gap: 13px; }
.form label { display: grid; gap: 5px; font-size: 12px; font-weight: 500; }
.form input:not([type=checkbox]), .form textarea, .form select { max-width: 100%; width: 100%; min-height: 44px; padding: 10px; background: var(--dark); border: 1px solid var(--line); }
.form label.switch { display: flex; align-items: center; }
.form textarea { min-height: 130px; resize: vertical; }
.form small { font-weight: 400; }
@keyframes cursor-blink { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }

@media (max-width: 780px) {
  .hero { min-height: 450px; }
  .hero-content { padding-left: 27px; width: 68%; }
  .hero h1 { font-size: clamp(42px,7.1vw,56px); }
  .hero-visual { width: 46%; right: -3%; opacity: .92; }
  .eyebrow { font-size: 8px; letter-spacing: 0; }
}
@media (max-width: 760px) {
  .voice-line { --row-pad: 12px; --row-gap: 8px; grid-template-columns: var(--play-size) minmax(0,1fr) clamp(70px,22vw,110px); grid-template-areas: 'play name name' 'play meter price' '. actions actions'; gap: 7px var(--row-gap); padding-block: 13px; }
  .voice-line > .voice-actions { width: min(100%, 285px); }
  .voice-line > .price { font-size: 10px; line-height: 1.4; }
  .voice-line .description { display: none; }
  .demo-more summary { margin-inline-start: 62px; }
}
@media (max-width: 640px) {
  .header-inner { min-height: 70px; gap: 7px; }
  .brand { gap: 8px; font-size: 15px; }
  .brand-mark { width: 29px; height: 32px; gap: 2px; }
  nav { gap: 3px; }
  .nav-btn { padding-inline: 6px; font-size: 10px; }
  .nav-picks .count { margin-left: 1px; min-width: 18px; padding: 0 2px; }
  .hero { margin-top: 18px; margin-bottom: 35px; min-height: 496px; display: block; }
  .hero-terminal-bar { padding: 10px 12px; font-size: 8px; letter-spacing: 0; }
  .hero-content { width: 100%; padding: 65px 22px 147px; }
  .hero h1 { font-size: clamp(37px,11.5vw,62px); line-height: 1.01; }
  .eyebrow { font-size: 8px; margin-bottom: 17px; }
  .hero p { max-width: 290px; font-size: 11px; margin: 19px 0 20px; }
  .hero-link { min-height: 45px; font-size: 11px; padding-inline: 12px; gap: 22px; }
  .hero-visual { top: auto; bottom: 37px; right: 12px; width: min(78%, 350px); height: 145px; opacity: 1; }
  .hero-stack { width: 92%; margin-left: 0; transform: rotateX(6deg) rotateY(-8deg) rotateZ(-2deg); }
  .hero::after { width: 14px; height: 14px; }
  .wide { display: none; }
  .section-kicker { font-size: 9px; margin-bottom: 10px; }
  .section-heading { align-items: flex-start; gap: 8px; margin-bottom: 16px; }
  .section-heading h2 { font-size: clamp(23px,6vw,35px); }
  .section-heading .button { flex-shrink: 0; font-size: 10px; padding-inline: 7px; min-height: 40px; gap: 4px; }
  .section-heading .button small { padding-inline: 3px; }
  .catalog-note { font-size: 12px; }
  .catalog-note .catalog-note-title { font-size: 14px; }
  .catalog-help .button { font-size: 11px; }
  .folder-navigation .button { flex: 1; font-size: 11px; padding-inline: 9px; }
  .folder-list { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .folder-button { min-height: 66px; font-size: 13px; padding-block: 13px; }
  .icon { min-width: 32px; }
  .faq-section { margin-top: 32px; padding: 21px 13px; }
  .faq-intro p { font-size: 11px; }
  .faq-card > summary { padding-inline: 11px; font-size: 12px; min-height: 62px; }
  .faq-answer p { padding-inline: 11px; font-size: 13px; }
  .faq-section .sheet-actions .button { font-size: 11px; }
  .selection-bar { padding: 6px; }
  .selection-bar .quiet { font-size: 10px; padding-inline: 5px; }
  .selection-bar .button.primary { font-size: 11px; padding-inline: 9px; max-width: 220px; }
  .footer { font-size: 10px; }
  .footer .quiet { font-size: 10px; padding-inline: 5px; }
  .admin-line { grid-template-columns: minmax(0,1fr) auto; }
  .admin-line > .price { display: none; }
}
@media (max-width: 360px) {
  .brand { font-size: 13px; gap: 6px; }
  .brand-mark { width: 25px; }
  .nav-btn { font-size: 9px; padding-inline: 4px; }
  .hero-content { padding-inline: 17px; }
  .hero h1 { font-size: clamp(37px,11.5vw,43px); }
  .hero-terminal-bar { font-size: 7px; }
  .selection-bar .button.primary { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .terminal-cursor { animation: none; }
  .hero-stack, .faq-toggle::before, .faq-toggle::after { transition: none; }
}


.catalog-search { margin-block: 16px 0; }
.catalog-search + .hero { margin-top: 14px; }
.catalog-search:has(+ .hero[hidden]) { margin-bottom: 22px; }
.catalog-search .search input { font-size: 16px; min-width: 0; }
.order-copy { margin-top: 12px; }
.order-copy textarea { min-height: 96px; width: 100%; overflow-wrap: anywhere; }
.order-list { max-height: min(27vh, 180px); overflow-y: auto; }

.folders-heading { color: var(--ink); margin-block: 20px 9px; font-size: 14px; }
.voice-actions .voice-share { display: flex; width: auto; justify-content: center; gap: 5px; color: var(--accent); font-size: 11px; white-space: nowrap; padding: 0 3px; }
@media (max-width: 420px) {
  .voice-line { grid-template-areas: 'play name name' 'play meter price' 'actions actions actions'; }
  .voice-line > .voice-actions { width: 100%; grid-template-columns: 36px 36px minmax(68px, auto) minmax(0, 1fr); }
  .voice-actions .icon:not(.voice-share) { width: 36px; }
  .voice-share svg { display: none; }
  .voice-contact { padding-inline: 4px; }
}

#folders-root { scroll-margin-top: 14px; }
.selection-bar:has(.fixed-sections:not([hidden])) { flex-wrap: wrap; }
.selection-bar .fixed-sections { flex: 0 0 100%; justify-content: flex-start; min-height: 40px; gap: 8px; border-color: #6a5345; color: var(--accent); padding: 6px 12px; }
#folders { scroll-margin-top: 14px; }
