:root { color-scheme: light; --bg:#f4f6fa; --card:#fff; --ink:#182333; --muted:#617087; --line:#e3e8f0; --soft:#f7f9fc; --accent:#3159dc; --accent-dark:#2546b6; --accent-soft:#edf2ff; --good:#177455; --bad:#ba3546; --warn-bg:#fff7e7; --warn-ink:#85601b; --shadow:0 2px 5px #18233303,0 8px 24px #18233304; --focus:#6887f4; --sidebar:224px; --header:76px; --radius:16px; }
@media(prefers-color-scheme:dark) { :root:not([data-theme="light"]) { color-scheme:dark; --bg:#0e1420; --card:#151e2d; --ink:#e6ecf6; --muted:#a1aec2; --line:#293448; --soft:#1b2637; --accent:#91adff; --accent-dark:#b3c5ff; --accent-soft:#243557; --good:#77d2ad; --bad:#ff98a4; --warn-bg:#322a1b; --warn-ink:#edca86; --shadow:0 6px 24px #00000012; --focus:#a7beff; } }
:root[data-theme="dark"] { color-scheme:dark; --bg:#0e1420; --card:#151e2d; --ink:#e6ecf6; --muted:#a1aec2; --line:#293448; --soft:#1b2637; --accent:#91adff; --accent-dark:#b3c5ff; --accent-soft:#243557; --good:#77d2ad; --bad:#ff98a4; --warn-bg:#322a1b; --warn-ink:#edca86; --shadow:0 6px 24px #00000012; --focus:#a7beff; }
* { box-sizing:border-box; } html { -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--header) + 24px); }
body { margin:0; background:var(--bg); color:var(--ink); font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
a { color:var(--accent); text-underline-offset:3px; } a:hover { text-decoration-thickness:2px; }
button,a,input,textarea,select,summary { -webkit-tap-highlight-color:transparent; } :focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
[hidden] { display:none !important; } img,video,svg { max-width:100%; }
h1,h2,h3 { color:var(--ink); line-height:1.25; } h1 { font-size:clamp(23px,2.4vw,32px); font-weight:700; margin:0 0 12px; letter-spacing:-.035em; } h2 { font-size:19px; font-weight:650; margin:0 0 12px; letter-spacing:-.02em; } h3 { font-size:15px; margin:18px 0 6px; font-weight:650; } p { margin:10px 0; }
code { background:var(--soft); padding:2px 6px; border-radius:5px; font-size:.88em; overflow-wrap:anywhere; } kbd { background:var(--card); border:1px solid var(--line); border-bottom-width:2px; border-radius:5px; padding:1px 6px; font:12px/1.6 ui-monospace,monospace; }
.icon { width:20px; height:20px; flex:0 0 20px; vertical-align:middle; } .icon-sprite { position:absolute; width:0; height:0; overflow:hidden; }
.skip-link { position:fixed; top:8px; left:12px; z-index:100; transform:translateY(-160%); background:var(--card); padding:12px 20px; border:2px solid var(--accent); border-radius:8px; } .skip-link:focus { transform:none; }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
/* Persistent shell; all navigation works without JavaScript. */
header.top { position:sticky; top:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:var(--header); padding:14px 28px; background:var(--card); border-bottom:1px solid var(--line); }
.brand { display:flex; align-items:center; gap:14px; text-decoration:none; color:var(--ink); min-width:0; } .brand-logo { display:flex; align-items:center; justify-content:center; background:#fff; border:1px solid #e5e7eb; border-radius:9px; width:92px; height:42px; flex:0 0 92px; padding:7px; } .brand-logo img { display:block; width:76px; height:auto; object-fit:contain; }
.brand-copy { display:flex; flex-direction:column; } .brand-copy strong { font-size:16px; font-weight:650; letter-spacing:-.02em; } .brand-copy small { color:var(--muted); font-size:11px; margin-top:1px; }
.header-actions { display:flex; align-items:center; gap:10px; } .header-search { display:inline-flex; align-items:center; gap:10px; min-height:44px; padding:8px 14px; color:var(--muted); background:var(--soft); border:1px solid var(--line); border-radius:10px; text-decoration:none; font-size:13px; } .header-search kbd { margin-left:22px; } .header-actions .button,.header-actions button { margin:0; } .theme-toggle { min-width:44px; gap:8px; } .theme-toggle [data-theme-label] { font-size:12px; min-width:30px; }
.app-sidebar { position:fixed; top:var(--header); bottom:0; left:0; width:var(--sidebar); background:var(--card); border-right:1px solid var(--line); overflow-y:auto; z-index:20; padding:22px 14px 14px; }
.workspace-nav { display:flex; flex-direction:column; flex-wrap:nowrap; align-items:stretch; gap:22px; min-height:100%; } .nav-group { display:flex; flex-direction:column; gap:4px; } .nav-label { text-transform:uppercase; letter-spacing:.12em; color:var(--muted); font-size:10px; font-weight:700; padding:0 12px 8px; }
.workspace-nav a,.workspace-nav button.link { display:flex; align-items:center; gap:12px; width:100%; min-height:44px; padding:10px 12px; border-radius:10px; text-decoration:none; color:var(--muted); font-size:13px; font-weight:550; margin:0; }
.workspace-nav a:hover,.workspace-nav button.link:hover { color:var(--ink); background:var(--soft); } .workspace-nav a[aria-current="page"] { background:var(--accent-soft); color:var(--accent); font-weight:650; } .workspace-nav .nav-create { margin-top:4px; border:1px solid var(--line); color:var(--ink); } .nav-support { margin-top:auto; } .sidebar-note { margin:18px 12px 4px; font-size:11px; line-height:1.7; color:var(--muted); }
.app-authenticated .app-content { margin-left:var(--sidebar); } main { max-width:1440px; margin:0 auto; padding:clamp(20px,3vw,40px); outline:none; } .app-public main { max-width:1040px; }
.banner { display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:12px; padding:10px 20px; background:var(--accent-soft); color:var(--accent); font-size:13px; font-weight:600; text-decoration:none; border-bottom:1px solid var(--line); } .activity-dot { width:7px; height:7px; border-radius:50%; background:currentColor; box-shadow:0 0 0 4px var(--card); }
/* Shared content primitives. */
.card { min-width:0; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:clamp(18px,2.2vw,26px); margin:0 0 20px; box-shadow:var(--shadow); } .card>:first-child { margin-top:0; } .card>:last-child { margin-bottom:0; } .card.narrow { max-width:440px; margin:48px auto; } .card.warn { background:var(--warn-bg); border-color:transparent; }
.muted { color:var(--muted); } .small { font-size:13px; } .good,.ok { color:var(--good); } .bad,.error { color:var(--bad); } .ok,.error { font-weight:550; } p.warn { color:var(--warn-ink); background:var(--warn-bg); padding:12px 14px; border-radius:10px; }
.tag,.status-pill { display:inline-flex; align-items:center; gap:5px; font-size:11px; background:var(--soft); color:var(--muted); border:1px solid var(--line); border-radius:6px; padding:3px 8px; white-space:nowrap; font-weight:550; line-height:1.4; } .status-pill.good { color:var(--good); } .status-pill.bad { color:var(--bad); }
.row-between { display:flex; flex-wrap:wrap; gap:12px 18px; align-items:center; justify-content:space-between; } .row-gap { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.page-heading { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; margin-bottom:28px; } .page-heading h1 { margin-bottom:8px; } .page-heading p { margin:0; max-width:680px; color:var(--muted); } .page-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; flex-shrink:0; } .page-actions .button { margin:0; }
.eyebrow { color:var(--muted); font-size:10px; line-height:1.3; text-transform:uppercase; font-weight:700; letter-spacing:.14em; margin:0 0 10px; } .section-heading { margin-bottom:20px; } .section-heading h2,.section-heading p { margin:0; } .section-heading p { margin-top:4px; }
.empty-state { padding:32px 20px; text-align:center; color:var(--muted); border:1px dashed var(--line); border-radius:12px; background:var(--soft); } .empty-state h3 { margin-top:0; color:var(--ink); }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,270px),1fr)); gap:18px; } .grid>.card { margin-bottom:0; } .grid+.card,.grid+.grid { margin-top:20px; } .grid.runs { grid-template-columns:repeat(auto-fill,minmax(min(100%,200px),1fr)); gap:16px; }
/* Accessible forms and touch targets. */
label { display:block; margin:16px 0 6px; font-weight:550; font-size:13px; } label.check { font-weight:400; display:flex; gap:10px; align-items:center; flex-wrap:wrap; min-height:44px; margin:6px 0; }
input:not([type]),input[type=password],input[type=text],input[type=number],input[type=search],input[type=email],input[type=url],select,textarea { width:100%; min-height:44px; padding:11px 13px; border:1px solid var(--line); border-radius:10px; background:var(--soft); color:var(--ink); font:inherit; font-weight:400; box-shadow:none; }
input::placeholder,textarea::placeholder { color:var(--muted); opacity:.85; } input:focus,select:focus,textarea:focus { border-color:var(--focus); } input[type=checkbox],input[type=radio] { width:18px; height:18px; margin:0; flex:0 0 18px; accent-color:var(--accent); }
input[type=file] { width:100%; min-height:44px; color:var(--muted); font:inherit; padding:6px 0; } input[type=file]::file-selector-button { border:1px solid var(--line); border-radius:8px; background:var(--soft); color:var(--ink); font:inherit; padding:10px 14px; margin-right:12px; cursor:pointer; min-height:44px; }
label.check input[type=text],label.check select { width:auto; } input.narrow { width:96px; } input.filter { max-width:360px; } textarea { min-height:108px; resize:vertical; line-height:1.6; } fieldset { min-width:0; border:1px solid var(--line); border-radius:12px; margin:20px 0; padding:12px 18px; } legend { padding:0 7px; color:var(--muted); font-size:12px; font-weight:600; } .field { margin-bottom:18px; } .field small { display:block; margin-top:5px; }
button,.button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; max-width:100%; background:var(--accent); color:var(--card); border:1px solid transparent; border-radius:10px; padding:10px 17px; font:inherit; font-size:13px; font-weight:600; cursor:pointer; text-decoration:none; margin-top:12px; line-height:1.4; text-align:center; } button:hover,.button:hover { background:var(--accent-dark); text-decoration:none; }
button:disabled,.button[aria-disabled=true] { opacity:.5; cursor:not-allowed; } .button.ghost,button.ghost { background:var(--card); color:var(--ink); border-color:var(--line); } .button.ghost:hover,button.ghost:hover { background:var(--soft); border-color:var(--muted); } button.danger { background:var(--bad); color:var(--card); } button.danger:hover { filter:brightness(.9); } button.link { background:none; color:var(--accent); padding:8px 4px; margin:0; font-weight:500; } button.link:hover { background:var(--soft); }
.row-gap button,.row-gap .button,.row-between>.button { margin-top:0; } form.inline { display:inline; } .chip { background:var(--soft); color:var(--ink); border-color:var(--line); border-radius:999px; padding:9px 13px; font-size:12px; font-weight:500; margin:0; min-height:44px; } .chip.on { background:var(--accent-soft); color:var(--accent); border-color:var(--accent); } progress { width:100%; height:8px; accent-color:var(--accent); border-radius:999px; }
/* Tables, lists and long filenames. */
table.list { width:100%; border-collapse:collapse; font-size:13px; } table.list th,table.list td { text-align:left; padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; } table.list th { color:var(--muted); font-size:11px; font-weight:650; } table.list td:first-child { overflow-wrap:anywhere; } .edit-table input,.edit-table select { padding:9px 10px; min-width:90px; }
details { padding:12px 0; border-bottom:1px solid var(--line); } details summary { cursor:pointer; min-height:44px; padding:9px 0; } .questions { margin:10px 0 12px 18px; padding-left:10px; color:var(--muted); } ul.plain { list-style:none; padding:0; } ul.plain li { padding:12px 0; border-bottom:1px solid var(--line); } .fails { font-size:13px; color:var(--bad); padding-left:20px; margin:8px 0; }
pre,pre.plan { max-width:100%; overflow-x:auto; background:var(--soft); padding:16px; border-radius:10px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }
/* Overview and quick product access. */
.stats,.metric-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:12px; margin-bottom:28px; } .stat,.metric-card { display:flex; flex-direction:column; justify-content:space-between; gap:16px; min-height:130px; background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:18px; text-decoration:none; color:var(--ink); box-shadow:var(--shadow); } .stat:hover { border-color:var(--focus); text-decoration:none; } .stat strong { display:block; font-size:clamp(24px,2.6vw,32px); font-weight:650; line-height:1; letter-spacing:-.04em; font-variant-numeric:tabular-nums; } .stat span { font-size:11px; color:var(--muted); } .stat .stat-label { font-size:12px; font-weight:550; } .stat.hot { background:var(--accent-soft); border-color:transparent; } .stat.hot strong { color:var(--accent); }
.product-search { display:flex; align-items:center; gap:10px; max-width:400px; width:100%; } .product-search label { width:100%; margin:0; }
.product-list details { padding:0; } .product-list details:last-child { border-bottom:0; } .product-list summary { display:flex; flex-wrap:wrap; align-items:center; gap:12px; padding:17px 0; list-style:none; } .product-list summary::-webkit-details-marker { display:none; } .product-list summary::after { content:'+'; color:var(--muted); font-size:20px; margin-left:auto; min-width:24px; text-align:center; } .product-list details[open] summary::after { content:'−'; } .product-list details[open] { padding-bottom:16px; }
.product-summary { display:flex; flex-direction:column; flex:1 1 240px; gap:3px; min-width:0; } .product-summary a { color:var(--ink); text-decoration:none; font-size:14px; font-weight:600; overflow-wrap:anywhere; } .product-summary a:hover { color:var(--accent); text-decoration:underline; } .product-summary small { font-size:11px; color:var(--muted); } .product-actions { margin-top:8px; }
.product-card { display:flex; flex-direction:column; gap:10px; padding:22px; border:1px solid var(--line); border-radius:14px; background:var(--card); min-width:0; } .product-card h3 { margin:0; font-size:16px; overflow-wrap:anywhere; } .product-card .page-actions { margin-top:auto; padding-top:14px; flex-shrink:1; } .product-card .button { flex:1; }
.run-card { display:block; border:1px solid var(--line); border-radius:12px; overflow:hidden; text-decoration:none; color:var(--ink); background:var(--card); } .run-card:hover { border-color:var(--focus); text-decoration:none; } .run-thumb { aspect-ratio:4 / 3; background:var(--soft); display:flex; align-items:center; justify-content:center; overflow:hidden; } .run-thumb img { width:100%; height:100%; object-fit:contain; display:block; background:#fff; } .run-body { padding:14px; font-size:13px; line-height:1.7; } .run-body strong { display:block; margin-bottom:4px; overflow-wrap:anywhere; }
.workflow-strip { display:flex; flex-wrap:wrap; align-items:center; gap:10px 18px; padding:16px 20px; margin:0 0 28px; border:1px solid var(--line); border-radius:12px; background:var(--card); font-size:12px; color:var(--muted); } .workflow-strip strong { color:var(--ink); margin-right:auto; font-weight:550; }
/* Creative media and existing review tools. */
.tile img,.tile video { width:100%; height:auto; border-radius:10px; background:var(--soft); } .tile video { background:#10131a; max-height:520px; } .tile p,.tile h2,.tile h3 { overflow-wrap:anywhere; }
.creative-preview { max-width:900px; margin:20px auto; } .creative-preview img,.creative-preview video { display:block; width:100%; max-height:65vh; object-fit:contain; border:1px solid var(--line); border-radius:12px; background:var(--soft); }
.creative-media-grid .tile img,.creative-media-grid .tile video { aspect-ratio:4 / 3; object-fit:contain; } .creative-media-grid .tile h2 { font-size:15px; margin-top:15px; } .creative-media-grid .tile { content-visibility:auto; contain-intrinsic-size:auto 380px; }
.media-poster { display:block; position:relative; overflow:hidden; border-radius:10px; background:var(--soft); } .media-poster .media-kind { position:absolute; left:10px; bottom:10px; padding:5px 9px; border-radius:6px; background:#101827da; color:#fff; font-size:11px; }
.pagination { display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:center; margin:24px 0; } .working-copies { padding:16px; background:var(--soft); border:1px solid var(--line); border-radius:12px; margin-top:20px; }
.creative-nav { display:flex; flex-wrap:nowrap; overflow-x:auto; gap:4px; padding:0 0 14px; margin:0 0 22px; border-bottom:1px solid var(--line); scrollbar-width:thin; } .creative-nav a { display:inline-flex; align-items:center; min-height:44px; flex:0 0 auto; padding:10px 13px; border-radius:9px; color:var(--muted); font-size:12px; font-weight:550; text-decoration:none; } .creative-nav a:hover { background:var(--soft); color:var(--ink); } .creative-nav a[aria-current=page] { background:var(--accent-soft); color:var(--accent); }
.template-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; } .template-preview { padding:20px; background:var(--soft); border-radius:12px; } .template-preview h3 { margin-top:0; } .template-preview p { font-size:13px; color:var(--muted); } .template-roles { font-size:11px; color:var(--accent); }
form.review { display:flex; flex-wrap:wrap; gap:8px; align-items:center; } form.review input { flex:1 1 100%; } form.review button { margin-top:0; } .photo-form label { font-size:12px; margin:10px 0 4px; } .photo-form button { width:100%; }
#photos,#verification,#readiness,#products { scroll-margin-top:calc(var(--header) + 20px); } .readiness-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr)); gap:14px; } .readiness-row { border:1px solid var(--line); border-radius:12px; padding:18px; background:var(--soft); } .readiness-row h3 { margin-top:0; } .readiness-row ul,.job-warnings { padding-left:20px; } .readiness-row li { margin:6px 0; } .readiness-actions { display:flex; flex-wrap:wrap; gap:10px 16px; margin-top:12px; }
#job-readiness .card { box-shadow:none; margin-top:18px; } #job-readiness .readiness-start { display:none; } #job-readiness[aria-busy=true] { opacity:.55; } .upload-preview { max-width:100%; max-height:60vh; object-fit:contain; border-radius:12px; } .upload-grid img { aspect-ratio:4 / 3; object-fit:contain; }
.review-stage { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:20px; } .review-media { display:flex; gap:14px; min-width:0; } .review-media figure { margin:0; min-width:0; flex:1 1 0; } .review-media img,.review-media video { width:100%; max-height:78vh; object-fit:contain; border-radius:12px; background:var(--soft); display:block; } .review-media figcaption { font-size:12px; color:var(--muted); margin-top:8px; overflow-wrap:anywhere; } .review-panel { display:flex; flex-direction:column; gap:10px; } .reasons { display:flex; flex-wrap:wrap; gap:8px; }
.anchor-canvas { position:relative; display:inline-block; max-width:100%; cursor:crosshair; } .anchor-canvas img { max-width:100%; height:auto; display:block; border-radius:10px; user-select:none; } .anchor-canvas svg { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; } .an-dot { fill:var(--accent); stroke:#fff; stroke-width:3; } .an-end { fill:var(--accent); stroke:#fff; stroke-width:2; } .an-line { stroke:var(--accent); stroke-width:4; } .an-label { fill:#fff; stroke:#000; stroke-width:3; paint-order:stroke; font-weight:700; } .tools label.check { margin:4px 0; } .fit-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr)); gap:8px 20px; }
/* Team guide and existing documentation. */
.guide-intro { max-width:820px; } .guide-layout { display:grid; grid-template-columns:190px minmax(0,1fr); gap:28px; align-items:start; } .guide-toc { position:sticky; top:calc(var(--header) + 24px); display:flex; flex-direction:column; gap:4px; } .guide-toc a { min-height:44px; display:flex; align-items:center; padding:10px 12px; border-radius:8px; color:var(--muted); font-size:12px; text-decoration:none; } .guide-toc a:hover { background:var(--card); color:var(--accent); } .guide-step { scroll-margin-top:calc(var(--header) + 24px); }
.step-heading { display:flex; gap:14px; align-items:center; margin-bottom:18px; } .step-heading h2 { margin:0; } .step-number { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; flex:0 0 34px; border-radius:10px; background:var(--accent-soft); color:var(--accent); font-size:13px; font-weight:650; } .guide-step li { margin:10px 0; } .guide-tip { background:var(--soft); border-left:3px solid var(--accent); padding:14px 18px; border-radius:0 10px 10px 0; font-size:13px; }
.guide-specs { display:grid; grid-template-columns:1fr 1fr; gap:14px; } .guide-specs>div { background:var(--soft); padding:18px; border-radius:12px; } .guide-specs h3 { margin-top:0; } footer { margin-top:32px; border-top:1px solid var(--line); padding-top:14px; } .doc h1 { font-size:28px; } .doc h2 { font-size:20px; margin-top:28px; } .doc table { width:100%; border-collapse:collapse; font-size:13px; } .doc th,.doc td { text-align:left; padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; } .doc li { margin:8px 0; } .doc input[type=checkbox] { margin-right:8px; }
/* Tablet and phone: scrollable compact navigation, single-column editors. */
@media(max-width:1200px) { :root { --sidebar:200px; } .brand-copy small { display:none; } .header-search kbd { display:none; } .stats,.metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .stat { min-height:112px; } .review-stage { grid-template-columns:minmax(0,1fr) 260px; } .template-list { grid-template-columns:1fr; } }
@media(max-width:1000px) { :root { --header:68px; } header.top { padding:10px 20px; gap:12px; } .app-sidebar { position:sticky; top:var(--header); bottom:auto; width:100%; padding:6px 12px; border-right:0; border-bottom:1px solid var(--line); overflow-x:auto; overflow-y:hidden; scrollbar-width:thin; } .workspace-nav,.nav-group { flex-direction:row; gap:4px; align-items:center; min-height:auto; } .workspace-nav { width:max-content; } .workspace-nav a,.workspace-nav button.link { white-space:nowrap; width:auto; padding:10px 12px; min-height:44px; font-size:12px; gap:8px; } .workspace-nav .nav-create { margin-top:0; } .nav-label,.sidebar-note { display:none; } .nav-support { margin:0; } .app-authenticated .app-content { margin-left:0; } .app-authenticated main { padding:24px; } html { scroll-padding-top:145px; } #photos,#verification,#readiness,#products,.guide-step { scroll-margin-top:145px; } .guide-toc { top:148px; } .header-search span { display:none; } .header-search { padding:10px 12px; } }
@media(max-width:760px) { .brand-copy { display:none; } .brand-logo { width:82px; height:40px; flex-basis:82px; } .header-actions { gap:6px; } .header-actions .guide-button { padding:10px; } .theme-toggle { padding:10px !important; } .theme-toggle [data-theme-label] { display:none; } .page-heading { flex-direction:column; margin-bottom:22px; gap:16px; } .page-actions { flex-shrink:1; } .page-heading .page-actions { width:100%; } .stats,.metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .stats>:last-child { grid-column:1 / -1; min-height:92px; } .stat { padding:16px; gap:12px; } .review-stage { grid-template-columns:1fr; } .review-media { flex-direction:column; } .review-media img { max-height:60vh; } .guide-layout { grid-template-columns:1fr; gap:16px; } .guide-toc { position:static; flex-direction:row; overflow-x:auto; } .guide-toc a { white-space:nowrap; flex:0 0 auto; background:var(--card); } .guide-specs { grid-template-columns:1fr; } .product-search { max-width:100%; } .section-heading { align-items:stretch; } .product-summary { flex-basis:100%; } .product-list summary { gap:8px; } .product-list summary::after { margin-left:auto; } .product-actions .button { flex:1; } table.list,.doc table { display:block; overflow-x:auto; } .edit-table { min-width:100%; } .creative-nav { margin-bottom:18px; } input:not([type]),input[type=password],input[type=text],input[type=number],input[type=search],input[type=email],input[type=url],select,textarea { font-size:16px; } }
@media(max-width:420px) { header.top { padding:10px 12px; } .app-authenticated main,main { padding:20px 14px; } .card { padding:18px; border-radius:14px; } .header-search { display:none; } .guide-button { font-size:12px; } .page-actions .button { flex:1; } }
@media(prefers-reduced-motion:no-preference) { a,button,input,select,textarea { transition:border-color .15s ease,background-color .15s ease,box-shadow .15s ease; } }
/* Compact phone activity strip leaves product search close to the top. */
@media(max-width:760px) {
  .stats { display:flex; gap:10px; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x proximity; scrollbar-width:thin; padding-bottom:10px; margin-bottom:20px; }
  .stats>.stat, .stats>:last-child { flex:0 0 176px; min-height:120px; grid-column:auto; padding:14px; gap:10px; scroll-snap-align:start; }
  .stats .stat-label { font-size:11px; line-height:1.25; }
  .stats strong { font-size:28px; }
  .stats .stat>span:last-child { font-size:10px; line-height:1.35; }
}
progress { display:block; appearance:none; -webkit-appearance:none; border:0; overflow:hidden; background:var(--line); color:var(--accent); }
progress::-webkit-progress-bar { background:var(--line); border-radius:999px; }
progress::-webkit-progress-value { background:var(--accent); border-radius:999px; }
progress::-moz-progress-bar { background:var(--accent); border-radius:999px; }
progress:not([value]) { background:linear-gradient(90deg,var(--line) 0 20%,var(--accent) 20% 60%,var(--line) 60% 100%); }
progress:not([value])::-webkit-progress-bar { background:linear-gradient(90deg,var(--line) 0 20%,var(--accent) 20% 60%,var(--line) 60% 100%); }

.memory-row {padding:18px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.memory-row:last-child{border-bottom:0}.memory-row p{margin:8px 0}

/* Editable exports stay on the run page; reveal details only after a check. */
.editable-export { margin-top: .75rem; max-width: 36rem; min-width: 0; overflow-wrap: anywhere; }
.editable-export [data-export-status]:empty { display: none; }
.editable-export button, .editable-export .button { white-space: normal; max-width: 100%; min-height: 44px; }
.editable-export details { margin: .6rem 0; }
.editable-export progress { width: 100%; margin-top: .6rem; }
.editable-export [data-export-detail] p { margin: .5rem 0; }
