/* Mirror the calm application workspace, without inheriting the local studio. */
:root {
  color-scheme: light;
  --canvas: oklch(0.977 0.003 160);
  --surface: oklch(0.994 0.002 160);
  --layer: oklch(0.953 0.006 160);
  --ink: oklch(0.265 0.008 160);
  --muted: oklch(0.46 0.008 160);
  --accent: oklch(0.37 0.045 165);
  --accent-hover: oklch(0.31 0.04 165);
  --accent-wash: oklch(0.94 0.015 165);
  --line: oklch(0.86 0.007 160);
  --error: oklch(0.44 0.12 30);
  --error-wash: oklch(0.97 0.012 30);
  --warning-wash: oklch(0.97 0.017 85);
  --warning-ink: oklch(0.39 0.055 70);
  --sidebar: oklch(0.25 0.009 160);
  --sidebar-ink: oklch(0.92 0.005 160);
  --radius: 8px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { height: 100dvh; overflow: hidden; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button, input, select { min-height: 44px; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
a { color: var(--accent); text-underline-offset: 4px; }
button, a, input, select, textarea, summary { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--accent); }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.025em; font-weight: 650; }
h2 { font-size: 21px; line-height: 1.5; font-weight: 650; }
h3 { font-size: 17px; line-height: 1.5; font-weight: 650; }
small, .small { font-size: 13px; }
svg { display: block; flex: 0 0 auto; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--surface); }
.skip-link:focus { top: 8px; }
.topbar { height: calc(56px + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-size: 22px; font-weight: 650; white-space: nowrap; }
.brand svg { width: 29px; height: 29px; color: var(--accent); }
.brand-sub { padding-left: 12px; margin-left: 5px; border-left: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 400; }
.topbar-account { display: flex; gap: 8px; align-items: center; min-width: 0; color: var(--muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.environment-notice { height: 40px; padding: 0 28px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--warning-wash); color: var(--warning-ink); border-bottom: 1px solid oklch(0.89 0.025 85); font-size: 13px; }
.environment-label { font-size: 11px; letter-spacing: .05em; padding: 1px 6px; border: 1px solid oklch(0.79 0.035 85); border-radius: 4px; }
.app-root { height: calc(100dvh - 96px - env(safe-area-inset-top, 0px)); }
.boot-state { max-width: 600px; padding: 64px 24px; margin: auto; color: var(--muted); }
.loading-lines { display: grid; gap: 12px; margin-bottom: 24px; }
.loading-lines span { display: block; height: 14px; background: var(--line); border-radius: 4px; }
.loading-lines span:nth-child(2) { width: 80%; }.loading-lines span:nth-child(3) { width: 45%; }
.auth-layout { height: 100%; display: grid; grid-template-columns: minmax(280px, .85fr) minmax(420px, 1.15fr); overflow-y: auto; }
.auth-story { padding: 64px 48px; display: flex; flex-direction: column; justify-content: center; gap: 24px; background: var(--layer); border-right: 1px solid var(--line); }
.auth-story h1 { max-width: 12ch; font-size: 34px; }
.auth-story p { max-width: 34ch; color: var(--muted); }
.auth-image { display: block; width: 100%; max-width: 490px; height: auto; aspect-ratio: 16/9; object-fit: contain; border-radius: 10px; margin-top: 12px; }
.auth-form-region { padding: 56px 32px; display: flex; align-items: center; justify-content: center; }
.auth-form { width: min(100%, 410px); }
.eyebrow { color: var(--muted); font-size: 12px; letter-spacing: .08em; margin-bottom: 12px; }
.auth-form > p { margin: 12px 0 28px; color: var(--muted); }
.form-stack { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > label, .field > .field-label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select { min-width: 0; width: 100%; border: 1px solid oklch(0.75 0.008 160); border-radius: 6px; background: var(--surface); padding: 10px 12px; font-size: 16px; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.field textarea { resize: vertical; min-height: 148px; line-height: 1.7; }
.field input:disabled, .field select:disabled, .field textarea:disabled { color: var(--muted); background: var(--layer); cursor: not-allowed; }
.field small, .hint { color: var(--muted); font-size: 13px; max-width: 70ch; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.button { min-height: 44px; padding: 10px 17px; display: inline-flex; gap: 9px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 550; transition: background 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease); }
.button:hover:not(:disabled) { background: var(--layer); border-color: oklch(0.68 0.008 160); }
.button:active:not(:disabled) { transform: translateY(1px); }
.button.primary { color: oklch(0.98 0.003 160); background: var(--accent); border-color: var(--accent); }
.button.primary:hover:not(:disabled) { background: var(--accent-hover); border-color: var(--accent-hover); }
.button:disabled { color: oklch(0.43 0.006 160); background: oklch(0.90 0.006 160); border-color: oklch(0.84 0.007 160); }
.button.quiet { background: transparent; border-color: transparent; color: var(--muted); }
.button.danger { color: var(--error); }
.button.full { width: 100%; }
.auth-switch { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 3px; align-items: center; font-size: 14px; color: var(--muted); }
.auth-footnote { font-size: 12px; color: var(--muted); margin-top: 24px; }
.app-shell { height: 100%; display: grid; grid-template-columns: 208px minmax(0,1fr); }
.side-nav { background: var(--sidebar); color: var(--sidebar-ink); display: flex; flex-direction: column; padding: 28px 14px 20px; gap: 6px; }
.nav-link { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; text-decoration: none; border-radius: 6px; color: oklch(0.77 0.006 160); font-size: 15px; }
.nav-link:hover { color: var(--sidebar-ink); background: oklch(0.29 0.009 160); }
.nav-link[aria-current="page"] { background: oklch(0.35 0.025 165); color: oklch(0.97 0.003 160); }
.side-nav .nav-footer { margin-top: auto; border-top: 1px solid oklch(0.37 0.008 160); padding: 20px 12px 0; font-size: 12px; color: oklch(0.73 0.006 160); }
.workspace { min-width: 0; height: 100%; overflow-y: auto; overscroll-behavior: contain; scroll-padding: 28px; padding: 36px 40px 64px; }
.workspace-inner { width: 100%; min-width: 0; max-width: 1144px; margin: 0 auto; }
.page-heading { display: flex; gap: 24px; align-items: flex-start; justify-content: space-between; margin-bottom: 30px; }
.page-heading > div { min-width: 0; }.page-heading > .button { flex-shrink: 0; white-space: nowrap; }
.page-heading p { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 64ch; }
.section-heading { display: flex; gap: 16px; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.section-heading p { color: var(--muted); font-size: 13px; }
.creation-layout { display: grid; width: 100%; min-width: 0; grid-template-columns: minmax(0, 1fr) 256px; gap: 40px; align-items: start; }
.creation-main { min-width: 0; }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px 16px; }
.category-choice { min-width: 0; padding: 0; border: 0; background: transparent; text-align: left; border-radius: 6px; }
.category-image-wrap { display: block; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--layer); }
.category-choice img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 220ms var(--ease); }
.category-choice:hover img { transform: scale(1.025); }
.category-name { display: flex; justify-content: space-between; gap: 8px; align-items: center; font-size: 15px; font-weight: 600; padding-top: 9px; min-height: 44px; }
.category-name svg { width: 17px; height: 17px; color: var(--muted); }
.sample-note { color: var(--muted); font-size: 12px; margin-top: 18px; }
.guide { min-width: 0; border-left: 1px solid var(--line); padding-left: 28px; overflow-wrap: anywhere; }
.guide h2 { margin-bottom: 20px; font-size: 17px; }
.guide-step { display: grid; grid-template-columns: 25px minmax(0,1fr); gap: 10px; margin-bottom: 24px; }
.guide-step .number { width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; background: var(--layer); border-radius: 50%; font-size: 12px; color: var(--accent); font-weight: 650; }
.guide-step h3 { font-size: 14px; }.guide-step p { color: var(--muted); font-size: 13px; margin-top: 5px; }
.guide-note { padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.selected-category { display: grid; grid-template-columns: 192px minmax(0,1fr) auto; align-items: center; gap: 20px; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
/* cover() supplies intrinsic width/height for stable loading. Reset height when
   the displayed width changes, otherwise the 360px HTML height crops the art. */
.selected-category img { display: block; width: 192px; max-width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border-radius: 7px; background: var(--layer); }
.selected-category .category-copy { min-width: 0; overflow-wrap: anywhere; }.selected-category p { font-size: 13px; color: var(--muted); margin-top: 6px; }
.selected-category .button { justify-self: end; white-space: nowrap; }
.form-footer { display: flex; gap: 24px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 26px; }
.form-footer p { color: var(--muted); font-size: 13px; max-width: 48ch; }
.feedback { border: 1px solid var(--line); border-radius: 6px; background: var(--accent-wash); padding: 12px 16px; margin: 18px 0; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.feedback.error { background: var(--error-wash); border-color: oklch(0.83 0.055 30); color: var(--error); }
.feedback:empty { display: none; }
.empty-state { padding: 44px 24px; text-align: center; border: 1px dashed var(--line); border-radius: 8px; background: var(--surface); }
.empty-state > svg { width: 34px; height: 34px; margin: 0 auto 16px; color: var(--muted); }
.empty-state h2 { font-size: 19px; }.empty-state p { color: var(--muted); max-width: 45ch; margin: 10px auto 24px; font-size: 14px; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; grid-template-columns: 112px minmax(0,1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.project-row img { display: block; width: 112px; max-width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; border-radius: 6px; }
.project-copy { min-width: 0; }.project-copy h2 { font-size: 17px; overflow-wrap: anywhere; }.project-copy p { color: var(--muted); font-size: 13px; margin-top: 6px; overflow-wrap: anywhere; }
.pill { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; background: var(--layer); border-radius: 4px; padding: 2px 7px; color: var(--muted); white-space: nowrap; }
.document-summary { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-bottom: 28px; }
.document-summary p { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 70ch; margin-top: 14px; }
.document-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.content-section { padding: 26px 0; border-top: 1px solid var(--line); }
.content-section > p { color: var(--muted); margin-top: 8px; font-size: 14px; max-width: 70ch; }
.quote-panel { margin-top: 20px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.quote-panel h3 { margin-bottom: 8px; }.quote-panel > p { color: var(--muted); font-size: 14px; margin: 6px 0; }
.quote-price { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin: 16px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote-price strong { font-size: 22px; font-weight: 650; font-variant-numeric: tabular-nums; }
.check-field { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 20px 0; cursor: pointer; }
.check-field input { min-height: 0; width: 19px; height: 19px; margin-top: 3px; accent-color: var(--accent); flex: 0 0 auto; }
.account-layout { max-width: 900px; }
.balance-section { display: flex; gap: 32px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); }
.balance-values { display: flex; gap: 36px; flex-wrap: wrap; }.balance-item .label { color: var(--muted); font-size: 13px; }.balance-item strong { display: block; margin-top: 6px; font-size: 27px; line-height: 1.3; font-weight: 650; font-variant-numeric: tabular-nums; }.balance-item.secondary strong { font-size: 21px; }
.account-note { padding: 16px 0 26px; color: var(--muted); font-size: 13px; }
.info-list { margin: 20px 0 0; }.info-line { display: flex; gap: 24px; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }.info-line dt { color: var(--muted); font-size: 14px; }.info-line dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; text-align: right; }
.table-scroll { width: 100%; overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; }th { font-weight: 550; color: var(--muted); background: var(--layer); white-space: nowrap; }th, td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }tbody tr:last-child td { border-bottom: 0; }td { max-width: 360px; overflow-wrap: anywhere; }.number-cell { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-empty { color: var(--muted); font-size: 14px; padding: 24px 0; }
.order-list { margin-top: 20px; }.order-row { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }.order-row p { color: var(--muted); font-size: 13px; margin-top: 6px; }.order-row .order-money { font-variant-numeric: tabular-nums; }.order-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.admin-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 28px; padding-bottom: 8px; }.admin-tabs .button[aria-current="page"] { background: var(--accent-wash); color: var(--accent); border-color: var(--line); }
.admin-summary { display: flex; flex-wrap: wrap; gap: 16px 36px; padding: 22px 0; margin-bottom: 12px; border-block: 1px solid var(--line); }.admin-summary span { color: var(--muted); font-size: 14px; }.admin-summary strong { color: var(--ink); font-size: 16px; margin-left: 8px; }
.admin-user { padding: 22px 0; border-bottom: 1px solid var(--line); }.admin-user-head { display: flex; gap: 20px; align-items: center; justify-content: space-between; }.admin-user-head p { font-size: 13px; color: var(--muted); margin-top: 4px; overflow-wrap: anywhere; }.admin-user details { margin-top: 14px; }.admin-user summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; color: var(--accent); font-size: 14px; }.admin-user summary::after { content: "+"; }.admin-user details[open] summary::after { content: "−"; }.admin-user .form-stack { max-width: 620px; padding: 16px 0; }.admin-block { margin-top: 22px; padding-top: 24px; border-top: 1px solid var(--line); }.admin-block > p { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }.admin-price-form { max-width: 760px; }.admin-price-form fieldset { border: 0; margin: 0; padding: 0; }.admin-price-form legend { font-weight: 600; padding: 0; margin-bottom: 18px; }.inline-options { display: flex; gap: 20px; flex-wrap: wrap; }.inline-options .check-field { margin: 0; min-height: 44px; align-items: center; }.inline-options .check-field input { margin-top: 0; }
.mobile-nav { display: none; }
.production-warning { margin: 18px 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; background: var(--warning-wash); color: var(--warning-ink); font-size: 14px; max-width: 70ch; }
.production-quote { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.production-quote > .hint { margin: 12px 0; }.production-quote .form-stack { margin-top: 24px; max-width: 760px; }
.production-input-preview { margin-top: 18px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }
.production-input-preview p { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 70ch; margin-top: 10px; font-size: 15px; }.production-input-preview p:first-of-type { font-size: 13px; color: var(--muted); }
.production-status { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin: 20px 0; }.production-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
.production-video { display: block; width: 100%; max-width: 880px; max-height: 65vh; border: 1px solid var(--line); border-radius: 8px; background: var(--sidebar); margin: 20px 0 12px; }.production-record .hint { margin-bottom: 14px; }
.production-script, .test-ledger-details, .service-pricing { margin-top: 20px; }.production-script summary, .test-ledger-details > summary, .service-pricing > summary { min-height: 44px; padding: 10px 0; cursor: pointer; color: var(--accent); font-size: 14px; }.storyboard-text { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 74ch; font: inherit; font-size: 14px; color: var(--ink); padding: 18px 20px; border-radius: 6px; border: 1px solid var(--line); background: var(--surface); }
.test-ledger-details { border-top: 1px solid var(--line); padding-top: 14px; }.test-ledger-details .content-section { border-top: 0; padding-top: 16px; }
.service-state { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 20px 0 14px; }.admin-service-form { max-width: 820px; margin-top: 28px; }.service-pricing { margin-top: 0; }.service-pricing .form-stack { padding-block: 16px; }.connection-check { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.storyboard-text p { margin-top: 8px; }.storyboard-shot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }.storyboard-dialogue { color: var(--accent); }
.noscript-message { margin: 32px; }
@media (max-width: 1199px) {
  .app-shell { grid-template-columns: 176px minmax(0,1fr); }.workspace { padding: 30px 28px 56px; }.creation-layout { grid-template-columns: minmax(0,1fr); }.guide { display: none; }.auth-story { padding: 44px 32px; }.auth-story h1 { font-size: 29px; }
}
@media (max-width: 760px) {
  .topbar { height: calc(52px + env(safe-area-inset-top, 0px)); padding-inline: 18px; }.brand { font-size: 20px; gap: 8px; }.brand svg { width: 26px; height: 26px; }.brand-sub { display: none; }.topbar-account { max-width: 48%; font-size: 12px; }.environment-notice { height: 36px; padding: 0 12px; gap: 0; font-size: 12px; }.environment-label { display: none; }.app-root { height: calc(100dvh - 88px - env(safe-area-inset-top, 0px)); }
  .app-shell { display: block; position: relative; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }.side-nav { display: none; }.workspace { padding: 26px 20px 40px; scroll-padding-block: 24px; }.workspace-inner { max-width: 580px; }.page-heading { margin-bottom: 24px; gap: 12px; }.page-heading h1 { font-size: 24px; }.page-heading p { font-size: 13px; }.page-heading > .button { font-size: 13px; padding-inline: 12px; }.category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }.category-name { font-size: 14px; }.section-heading { align-items: flex-start; }.section-heading h2 { font-size: 18px; }.section-heading p { font-size: 12px; max-width: 12ch; text-align: right; }.category-grid .category-choice:last-child { grid-column: auto; }
  .mobile-nav { position: absolute; inset: auto 0 0; height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); background: var(--surface); border-top: 1px solid var(--line); }.mobile-nav.has-admin { grid-template-columns: repeat(4, minmax(0,1fr)); }.mobile-nav .nav-link { flex-direction: column; gap: 3px; padding: 7px 0 5px; min-height: 58px; border-radius: 0; color: var(--muted); font-size: 11px; }.mobile-nav .nav-link:hover { background: var(--layer); }.mobile-nav .nav-link[aria-current="page"] { color: var(--accent); background: var(--accent-wash); }.mobile-nav .nav-link svg { width: 23px; height: 23px; }
  .auth-layout { display: block; }.auth-story { padding: 30px 24px 24px; border-right: 0; border-bottom: 1px solid var(--line); gap: 10px; }.auth-story h1 { max-width: none; font-size: 24px; }.auth-story p { font-size: 14px; max-width: none; }.auth-image { display: none; }.auth-form-region { padding: 32px 24px 48px; }.auth-form h2 { font-size: 22px; }.auth-form > p { margin-bottom: 22px; }.auth-form .form-stack { gap: 17px; }
  .field-row { gap: 16px; }.field input, .field textarea, .field select { font-size: 16px; }.form-stack { gap: 22px; }.form-footer { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding-top: 20px; margin-top: 22px; }
  .selected-category { grid-template-columns: 112px minmax(0,1fr); gap: 2px 16px; padding-bottom: 20px; margin-bottom: 24px; }
  .selected-category img { width: 112px; grid-row: 1 / span 2; align-self: center; }
  .selected-category .category-copy { align-self: end; }.selected-category h2 { font-size: 20px; }.selected-category p { display: none; }
  .selected-category .button { grid-column: 2; justify-self: start; align-self: start; padding-inline: 0; font-size: 13px; }
  .project-row { grid-template-columns: 80px minmax(0,1fr); gap: 14px; padding: 20px 0; }.project-row img { width: 80px; }.project-row .button { grid-column: 2; justify-self: start; margin-top: -4px; font-size: 13px; padding-inline: 12px; }.project-copy h2 { font-size: 16px; }.project-copy p { font-size: 12px; }.document-summary { grid-template-columns: minmax(0,1fr); gap: 18px; }.document-summary > .button { justify-self: start; }.document-summary p { font-size: 15px; }.quote-panel { padding: 17px; }.quote-panel .button { width: 100%; }.quote-price { align-items: flex-start; flex-wrap: wrap; }.balance-section { padding: 22px 20px; flex-direction: column; align-items: stretch; gap: 24px; }.balance-values { gap: 30px; }.balance-item strong { font-size: 25px; }.balance-item.secondary strong { font-size: 20px; }.info-line { gap: 16px; }.info-line dd { max-width: 65%; }.order-row { flex-direction: column; gap: 14px; }.order-actions { justify-content: flex-start; }.admin-tabs { gap: 0; }.admin-tabs .button { padding-inline: 12px; font-size: 14px; }.admin-user-head { align-items: flex-start; gap: 12px; }.admin-user-head h3 { font-size: 16px; }.admin-user .field-row, .admin-price-form .field-row { grid-template-columns: minmax(0,1fr); }.admin-summary { gap: 12px 22px; }
}
@media (max-width: 359px) {
  .workspace { padding-inline: 14px; }.topbar { padding-inline: 14px; }.field-row { grid-template-columns: minmax(0,1fr); }.selected-category { gap: 2px 12px; }.selected-category h2 { font-size: 18px; }.page-heading > .button { padding-inline: 9px; }
}
@media (max-width: 760px) {
  .production-quote .form-stack, .admin-service-form .field-row { grid-template-columns: minmax(0,1fr); }.production-controls .button { flex: 1 1 auto; }.production-status { align-items: flex-start; flex-direction: column; }.production-input-preview { padding: 15px; }.production-video { max-height: 60vh; }.environment-notice > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.admin-service-form .form-footer .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }.category-choice:hover img { transform: none; }
}
