:root {
  color-scheme: dark;
  --canvas: #171513;
  --surface: #211e1b;
  --field: #1a1715;
  --raised: #29241f;
  --ink: #f4ebe2;
  --muted: #baaca0;
  --quiet: #a99a8d;
  --line: #41372f;
  --line-soft: #362e28;
  --accent: #f3a276;
  --accent-hover: #ffb58e;
  --good: #a9d2a7;
  --bad: #ffad9f;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { color: inherit; }
button:disabled { cursor: not-allowed; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
svg:not(.icons) { display: block; }
svg use { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.icons { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}
.skip-link:focus {
  position: fixed;
  z-index: 10;
  inset: 10px auto auto 10px;
  padding: 10px 16px;
  border-radius: 8px;
  color: #211610;
  background: var(--accent);
  text-decoration: none;
  font-weight: 700;
}

.shell { width: min(1400px, calc(100% - 64px)); margin-inline: auto; }
.masthead { position: sticky; z-index: 5; top: 0; border-bottom: 1px solid var(--line-soft); background: var(--canvas); }
.header-inner { min-height: 66px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.brand strong { font-weight: 650; color: var(--accent); }
.brand-mark { display: grid; place-items: center; width: 41px; height: 41px; border: 1px solid #5c4233; background: #2c211b; border-radius: 12px; }
.brand-mark path { stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.brand-mark .brand-play { fill: var(--accent); stroke: none; }
.main-nav { display: flex; gap: 24px; margin-left: auto; }
.main-nav a { color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="location"] { color: var(--accent); }
.connection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 6px 11px;
  border: 1px solid var(--line);
  background: #211d19;
  border-radius: 100px;
  font-size: 12px;
  color: var(--muted);
}
.connection-dot, .summary-active > span:first-child {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--quiet);
}
.connection:is([data-state="ready"], [data-state="local"]) { color: var(--good); border-color: #3e5140; }
.connection:is([data-state="ready"], [data-state="local"]) .connection-dot { background: var(--good); box-shadow: 0 0 8px #a9d2a733; }
.connection[data-state="draft"], .connection[data-state="demo"] { color: var(--accent); }
.connection[data-state="draft"] .connection-dot, .connection[data-state="demo"] .connection-dot { background: var(--accent); }
.connection[data-state="offline"] { color: var(--bad); }
.connection[data-state="offline"] .connection-dot { background: var(--bad); }


.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--accent);
  font: 650 10px/1.4 var(--mono);
  letter-spacing: .14em;
}
.studio-layout { display: grid; grid-template-columns: minmax(185px, 225px) minmax(0, 1fr); align-items: start; }
.conversation { width: min(850px, 100%); min-width: 0; min-height: calc(100dvh - 67px); margin-inline: auto; padding: 30px 24px 12px; display: flex; flex-direction: column; scroll-margin-top: 66px; }
.chat-pane { flex: 1; }
.conversation[data-view="welcome"] .chat-pane { display: grid; place-items: center; }
.chat-welcome { max-width: 560px; padding: 24px 0; text-align: center; }
.welcome-mark { display: grid; place-items: center; width: 61px; height: 61px; margin: 0 auto 21px; border: 1px solid #78543f; border-radius: 20px; background: #3b2a21; color: var(--accent); box-shadow: 0 0 65px #c8896430; }
.welcome-mark svg { width: 27px; height: 27px; }
.chat-welcome h1 { margin: 0; font: 400 clamp(34px, 5vw, 55px)/1.08 Georgia, "Times New Roman", serif; letter-spacing: -.05em; }
.chat-welcome p { max-width: 450px; margin: 13px auto 0; color: var(--muted); font-size: 15px; }
.chat-messages { display: grid; gap: 20px; margin-bottom: 22px; }
.chat-messages:empty { display: none; }
.chat-message { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.chat-user { justify-content: flex-end; }
.chat-mark { display: grid; place-items: center; flex: 0 0 32px; height: 32px; margin-top: 2px; border-radius: 10px; border: 1px solid #6b4d39; background: #38291f; color: var(--accent); }
.chat-mark svg { width: 17px; height: 17px; }
.chat-bubble { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
.chat-assistant .chat-bubble { flex: 1; }
.chat-user .chat-bubble { max-width: min(88%, 610px); padding: 12px 16px; border: 1px solid #5e493b; border-radius: 16px 16px 4px 16px; background: #312720; }
.chat-author { margin: 0 0 5px; color: var(--accent); font-size: 12px; font-weight: 700; }
.chat-text { margin: 0; color: var(--ink); white-space: pre-wrap; }
.chat-project-title { margin: 0 0 5px; font-size: 17px; line-height: 1.3; }
.project-summary { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.project-tag { padding: 2px 7px; border: 1px solid #6e5543; border-radius: 100px; color: var(--muted); font-size: 11px; }
.chat-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chat-bubble > .button { margin-top: 10px; }
.chat-progress .chat-text { color: var(--muted); }
.chat-progress .chat-mark { animation: activity 1.8s ease-in-out infinite alternate; }
.render-meter { display: block; width: 100%; height: 8px; margin-top: 9px; accent-color: var(--accent); }
@keyframes activity { to { box-shadow: 0 0 13px #f3a27650; border-color: #b77f59; } }
.plan-card { margin-top: 10px; padding: 15px 17px; border: 1px solid #5b4739; border-radius: 12px; background: #221c18; }
.plan-card[open] summary { margin-bottom: 10px; }
.plan-index { margin: 0 0 5px; color: var(--accent); font: 650 11px/1.5 var(--mono); letter-spacing: .035em; }
summary.plan-index { margin: 0; cursor: pointer; }
.plan-title { margin: 0; font-size: 20px; line-height: 1.3; }
.plan-rationale { margin: 6px 0 0; color: var(--muted); font-size: 13px; white-space: pre-wrap; }
.plan-track-title { margin: 14px 0 4px; color: var(--ink); font-size: 13px; }
.plan-timeline { display: grid; margin: 0; padding: 0; list-style: none; }
.plan-beat { display: grid; grid-template-columns: minmax(86px, max-content) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.plan-time { color: var(--accent); font: 500 11px/1.7 var(--mono); white-space: nowrap; }
.plan-beat-copy { overflow-wrap: anywhere; }
.plan-beat-copy p { margin: 2px 0 0; color: var(--muted); font-size: 12px; white-space: pre-wrap; }
.plan-beat-copy .plan-source, .plan-length { color: var(--quiet); }
.plan-beat-copy .plan-beat-match { color: var(--good); }
.plan-length { margin: 7px 0 0; font-size: 12px; }
.plan-beats { color: var(--muted); font-size: 12px; }
.plan-beats > summary { cursor: pointer; }
.result-video { display: block; width: min(100%, 470px); max-height: 62vh; margin: 12px 0 7px; border: 1px solid var(--line); border-radius: 12px; background: #0e0d0c; object-fit: contain; }
.chat-composer-wrap { position: sticky; z-index: 2; bottom: 0; padding: 15px 0 8px; background: linear-gradient(transparent, var(--canvas) 14px); }
.chat-composer { display: flex; align-items: flex-end; gap: 10px; padding: 8px; border: 1px solid #5e4e40; border-radius: 16px; background: var(--raised); }
.chat-composer:focus-within { border-color: var(--accent); }
.chat-composer textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 150px; padding: 6px 8px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; resize: vertical; }
.chat-composer textarea::placeholder { color: var(--quiet); opacity: 1; }
.chat-composer button { width: 39px; min-height: 38px; padding: 0; border-radius: 10px; }
.chat-composer button svg { transform: rotate(-90deg); }
.panel { min-width: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; overflow: hidden; scroll-margin-top: 16px; }
.project-panel { margin: 0 0 24px 44px; scroll-margin-top: 78px; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; border-bottom: 1px solid var(--line-soft); }
.panel-header h2 { margin: 0; font-size: 19px; line-height: 1.25; font-weight: 640; letter-spacing: -.035em; }
.section-index { color: var(--quiet); font-size: 10px; }
.icon-button { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); background: var(--raised); color: var(--accent); }
.icon-button svg { width: 19px; height: 19px; }
.icon-button { cursor: pointer; }
.icon-button:hover:not(:disabled) { color: var(--ink); border-color: #7d5740; background: #322921; }
.icon-button:disabled { opacity: .62; }
.icon-button[aria-busy="true"] svg { animation: rotate 1s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

.project-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 10px; }
.project-mode { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); text-align: left; cursor: pointer; }
.project-mode:hover { border-color: #a8795d; background: #34271f; }
.project-mode strong, .project-mode small { display: block; }
.project-mode strong { color: var(--ink); font-size: 13px; font-weight: 650; }
.project-mode small { color: var(--muted); font-size: 11px; }
.choice-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #644835; border-radius: 9px; background: #36281f; color: var(--accent); }
.choice-icon svg, .choice-arrow { width: 16px; height: 16px; }
.choice-arrow { color: var(--muted); }

.form-fields, .materials { padding: 20px 25px 23px; }
.form-fields { display: grid; gap: 17px; }
.field, .upload-field { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.field label, .upload-field label { font-size: 13px; font-weight: 650; }
.required { color: var(--accent); font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  min-width: 0;
  padding: 10px 12px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--field);
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
  transition: border-color 140ms ease;
}
.field textarea { resize: vertical; min-height: 72px; }
.field input::placeholder, .field textarea::placeholder { color: var(--quiet); opacity: 1; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: #675345; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px #f3a27627; }
.field select { padding-right: 8px; }
.format-fields, .edit-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.edit-settings, .subtitle-field { margin-top: 15px; }
.subtitle-field input::file-selector-button { margin-right: 8px; padding: 3px 7px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); color: var(--ink); cursor: pointer; }
.input-unit, .input-icon { position: relative; }
.input-unit input { padding-right: 47px; }
.input-unit input::-webkit-inner-spin-button { margin-right: -2px; }
.input-unit span { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: var(--quiet); font-size: 11px; pointer-events: none; }
.input-icon input { padding-left: 34px; }
.input-icon svg { position: absolute; top: 13px; left: 11px; width: 16px; height: 16px; color: var(--quiet); pointer-events: none; }
.style-sample { min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: #27211c; overflow: hidden; }
.sample-summary { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 11px; padding: 11px; }
.sample-mark { display: grid; align-content: center; justify-items: start; gap: 4px; width: 48px; height: 48px; padding: 8px; border: 1px solid #795642; border-radius: 7px; background: #483124; color: #f5aa85; }
.sample-mark i { width: 100%; height: 3px; border-radius: 1px; background: currentColor; }
.sample-mark i:nth-child(2) { width: 68%; }
.sample-mark i:nth-child(3) { width: 43%; opacity: .6; }
.sample-mark:is([data-style="kinetic"], [data-style="kinetic-cut"], [data-style="quick-highlight"]) { transform: skewY(-4deg); background: #56342d; color: #ffc195; }
.sample-mark:is([data-style="kinetic"], [data-style="kinetic-cut"], [data-style="quick-highlight"]) i:nth-child(2) { width: 100%; }
.sample-mark[data-style="isometric"] { background: #263f37; color: #a9d0b7; border-color: #4c7162; }
.sample-mark[data-style="isometric"] i { height: 6px; transform: skewY(-10deg); }
.sample-mark:is([data-style="cinematic"], [data-style="cinematic-cut"]) { background: #3b2c49; color: #cfb1e5; border-color: #675178; }
.sample-mark:is([data-style="cinematic"], [data-style="cinematic-cut"]) i:first-child { height: 12px; opacity: .5; }
.sample-mark:is([data-style="clean"], [data-style="clean-cut"], [data-style="product-detail"]) { background: #3e3d38; color: #e5dacb; border-color: #69655c; }
.sample-mark:is([data-style="clean"], [data-style="clean-cut"], [data-style="product-detail"]) i { height: 2px; }
.sample-mark:is([data-style="technical-grid"], [data-style="documentary-cut"]) { background: #263646; color: #b0c6db; border-color: #4c677f; }
.sample-mark[data-style="paper-collage"] { background: #4d4232; color: #e8c69c; border-color: #78684d; }
.sample-mark[data-style="paper-collage"] i:nth-child(2) { transform: rotate(-11deg); }
.sample-mark:is([data-style="bold-poster"], [data-style="podcast-focus"]) { background: #512e32; color: #f2afb4; border-color: #805259; }
.sample-mark:is([data-style="bold-poster"], [data-style="podcast-focus"]) i:first-child { height: 8px; }
.sample-copy h3 { margin: 2px 0; font-size: 14px; font-weight: 650; line-height: 1.35; }
.sample-copy > p:last-child { margin: 0; color: var(--muted); font-size: 11px; }
.sample-toggle { white-space: nowrap; }
.sample-player { padding: 10px 11px 11px; border-top: 1px solid var(--line); background: #1d1917; }
.sample-player video { display: block; width: 100%; height: min(310px, 58vh); border-radius: 7px; background: #0e0d0c; object-fit: contain; }
.sample-error { margin-top: 7px; color: var(--bad); }
.materials { border-top: 1px solid var(--line-soft); }
.edit-materials, .music-materials { min-inline-size: 0; margin: 0; border: 0; border-top: 1px solid var(--line-soft); }
.materials-heading { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.materials h3 { margin: 0; font-size: 16px; font-weight: 660; letter-spacing: -.02em; }
.optional-tag { color: var(--muted); padding: 2px 7px; border: 1px solid var(--line); border-radius: 100px; font-size: 10px; }
.field-hint { margin: 0; color: var(--quiet); font-size: 12px; }
.materials > .field-hint { margin-top: 4px; }
.source-field, .reference-field { margin-top: 15px; }
.upload-row { margin-top: 15px; }
.materials > .upload-hint { margin-top: 8px; }
.dropzone {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px dashed #6a5343;
  border-radius: 8px;
  background: #251f1b;
  color: var(--accent);
}
.dropzone:hover, .dropzone.is-dragging, .dropzone:focus-within { border-color: var(--accent); background: #33251e; }
.dropzone:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.dropzone svg { flex: 0 0 21px; width: 21px; height: 21px; }
.dropzone strong, .dropzone small { display: block; }
.dropzone strong { color: var(--ink); font-size: 12px; font-weight: 650; }
.dropzone small { color: var(--quiet); font-size: 11px; }
.dropzone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.file-list:empty { display: none; }
.file-item { display: flex; gap: 6px; align-items: center; padding: 6px 7px 6px 9px; border-radius: 7px; background: #2b251f; border: 1px solid var(--line-soft); }
.file-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.file-size { color: var(--quiet); font-size: 10px; }
.file-remove { display: grid; place-items: center; border: 0; border-radius: 5px; background: transparent; color: var(--muted); width: 28px; height: 28px; padding: 0; cursor: pointer; }
.file-remove:hover { background: #51352a; color: var(--ink); }
.file-remove svg { width: 15px; height: 15px; }

.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 16px 25px; background: #25201c; border-top: 1px solid var(--line-soft); }
.form-footer .field-hint { max-width: 240px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: #2d251e; color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; cursor: pointer; }
.button:hover:not(:disabled) { border-color: #866049; background: #3b2c22; }
.button:disabled { opacity: .63; }
.button svg { width: 16px; height: 16px; flex: 0 0 16px; }
.button-primary { min-height: 42px; flex-shrink: 0; gap: 12px; padding: 8px 13px; border-color: transparent; background: var(--accent); color: #29180f; font-size: 13px; }
.button-primary:hover:not(:disabled) { background: var(--accent-hover); border-color: transparent; }
.notice { margin: 0; padding: 10px 25px; border-top: 1px solid var(--line-soft); color: var(--good); font-size: 12px; overflow-wrap: anywhere; }
.notice[data-kind="error"] { color: var(--bad); }
.notice[data-kind="info"] { color: var(--muted); }
.chat-hint { margin: 6px 3px 0; }
.chat-notice { margin-top: 7px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); }

.queue-panel { position: sticky; top: 67px; min-height: calc(100dvh - 67px); max-height: calc(100dvh - 67px); padding: 23px 15px 18px 0; overflow: auto; border-right: 1px solid var(--line-soft); scroll-margin-top: 79px; }
.new-chat { width: 100%; justify-content: flex-start; min-height: 40px; border-color: #6c5140; }
.queue-header { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.queue-header h2 { margin: 0; font-size: 14px; }
.queue-header .icon-button { width: 31px; height: 31px; flex-basis: 31px; }
.queue-summary { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0 10px; color: var(--quiet); font-size: 12px; }
.summary-active { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); }
.summary-active > span:first-child { background: var(--accent); }
.queue-notice { margin: 6px 0 10px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); }
.empty-state { margin: 4px 0; color: var(--quiet); font-size: 12px; }
.job-list { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.job { min-width: 0; }
.job-open { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 7px; width: 100%; padding: 8px 9px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.job-open:hover { background: var(--raised); }
.job-open[aria-current="true"] { border-color: #6d503e; background: #33271e; }
.job-title { display: block; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 650; }
.job-meta { color: var(--quiet); font-size: 11px; }
.job-status { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 620; }
.job-status::before { content: ""; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.job-status:is([data-status="planning"], [data-status="revising"], [data-status="review"], [data-status="running"], [data-status="queued"]) { color: var(--accent); }
.job-status[data-status="done"] { color: var(--good); }
.job-status[data-status="error"] { color: var(--bad); }

@media (max-width: 900px) {
  .shell { width: calc(100% - 42px); }
  .conversation { padding-inline: 18px; }
  .panel-header, .form-fields, .materials, .form-footer { padding-left: 17px; padding-right: 17px; }
}
@media (max-width: 720px) {
  .studio-layout { grid-template-columns: minmax(0, 1fr); }
  .conversation { grid-row: 1; padding-inline: 0; }
  .queue-panel { position: static; min-height: 0; max-height: none; padding: 16px 0 24px; overflow: visible; border-right: 0; border-top: 1px solid var(--line-soft); }
  .project-panel { margin-left: 0; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 28px); }
  .header-inner { min-height: 62px; gap: 6px 10px; }
  .brand { font-size: 13px; gap: 6px; }
  .brand-mark { width: 31px; height: 31px; border-radius: 8px; }
  .brand-mark svg { width: 25px; height: 25px; }
  .main-nav a { font-size: 11px; }
  .connection { max-width: 92px; gap: 5px; padding: 4px 6px; font-size: 9px; }
  #connection-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .chat-welcome p { font-size: 14px; }
  .conversation { min-height: calc(100dvh - 63px); padding-top: 19px; }
  .chat-message { gap: 8px; }
  .chat-mark { flex-basis: 26px; height: 26px; border-radius: 7px; }
  .chat-mark svg { width: 14px; height: 14px; }
  .chat-user .chat-bubble { padding: 10px 12px; }
  .project-mode { grid-template-columns: 1fr; gap: 6px; padding: 8px 9px; }
  .choice-icon { width: 30px; height: 30px; }
  .choice-arrow { display: none !important; }
  .plan-card { padding: 12px; }
  .plan-beat { grid-template-columns: 1fr; gap: 3px; }
  .panel { border-radius: 12px; }
  .panel-header, .form-fields, .materials, .form-footer { padding-left: 14px; padding-right: 14px; }
  .sample-summary { grid-template-columns: 48px minmax(0, 1fr); gap: 8px 10px; }
  .sample-toggle { grid-column: 1 / -1; }
  .dropzone { padding: 9px 8px; gap: 6px; }
  .dropzone svg { width: 17px; height: 17px; flex-basis: 17px; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .field-hint { max-width: none; }
  .form-footer .button-primary { justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
