:root {
  color-scheme: light;
  --navy:#11182f; --navy-2:#1c2848; --ink:#17203a; --muted:#5f6b82;
  --line:#dce2ec; --line-strong:#c8d1df; --surface:#fff; --canvas:#f4f6fa;
  --blue:#4e5cff; --blue-dark:#3544d6; --blue-soft:#e9ecff;
  --green:#247746; --green-soft:#e9f6ee; --amber:#93611e; --amber-soft:#fff5df;
  --red:#a63737; --red-soft:#fff0ef; --focus:#6875ff;
  --radius:12px; --control-radius:8px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink); background:var(--canvas);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; min-height:100vh; background:linear-gradient(135deg,#eef1f7,#f8f9fc 58%,#eceff7); color:var(--ink); }
button,input,textarea,select { font:inherit; }
button { border:0; cursor:pointer; }
button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
button[hidden],[hidden] { display:none !important; }
code { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:.82em; overflow-wrap:anywhere; }
h1,h2,h3,p { overflow-wrap:break-word; }

/* Brand */
.brand-lockup { display:grid; grid-template-columns:36px auto; grid-template-rows:auto auto; column-gap:9px; align-items:center; color:var(--navy); font-size:1.12rem; font-weight:780; letter-spacing:-.025em; }
.brand-lockup img { grid-row:1/3; width:36px; height:36px; border-radius:9px; }
.brand-lockup small { font-size:.58rem; line-height:1; letter-spacing:.15em; text-transform:uppercase; font-weight:850; }
.review-re { color:#4587ff; }.review-view { color:#5555ce; }
.brand-plate { display:inline-block; align-self:flex-start; }
.rail .brand-lockup { color:#f9faff; }
.rail .brand-lockup small { justify-self:start; padding:3px 5px; background:#f9faff; border:1px solid #d4dcf2; border-radius:4px; }

/* Controls */
.primary-button,.secondary-button,.approve-button,.warning-button,.danger-button,.quiet-button,.warning-quiet-button,.danger-quiet-button,.transport-button,.asset-toggle { min-height:40px; margin:0; padding:9px 14px; border-radius:var(--control-radius); font-weight:750; line-height:1.2; }
.primary-button { background:var(--blue); color:#fff; }.primary-button:hover { background:var(--blue-dark); }
.secondary-button,.asset-toggle { border:1px solid #bcc6dd; background:#fff; color:var(--blue-dark); }.secondary-button:hover,.asset-toggle:hover { background:#f2f4ff; }
.approve-button { background:var(--green); color:#fff; }.approve-button:hover { background:#1d653b; }
.warning-button { border:1px solid #d19a43; background:var(--amber-soft); color:#6e4714; }
.danger-button { background:var(--red); color:#fff; }
.quiet-button { padding:8px; background:transparent; color:inherit; }
.warning-quiet-button { border:1px solid #e1bd7a; background:#fffaf0; color:#795019; }
.danger-quiet-button { min-height:40px; margin:0; padding:9px 12px; border:1px solid #e5b5b1; border-radius:var(--control-radius); background:#fff; color:var(--red); font-weight:750; }
.transport-button { display:inline-flex; align-items:center; justify-content:center; gap:2px; min-width:40px; padding:5px; background:transparent; border:0; color:#45516c; font-size:.75rem; }
.transport-button:hover { background:#edf0fa; }
.transport-button svg { width:16px; height:16px; fill:currentColor; }
label { display:block; margin:14px 0 7px; font-weight:750; }
input,textarea,select { width:100%; padding:10px 12px; border:1px solid #b9c2d1; border-radius:var(--control-radius); background:#fff; color:var(--ink); }
textarea { resize:vertical; }
.check { display:flex; align-items:flex-start; gap:9px; font-weight:500; }.check input { width:auto; margin-top:3px; }
.hint,.small,.utility-help { color:var(--muted); font-size:.84rem; line-height:1.5; }
.visually-hidden-label { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.message { max-width:1120px; margin:16px auto; padding:12px 14px; border-radius:10px; line-height:1.45; }
.message.error { background:var(--red-soft); color:#812b25; border:1px solid #edc5bd; }
.message.success { background:var(--green-soft); color:#285d39; border:1px solid #bcdcc6; }
.compact-message { padding:9px 12px; font-size:.84rem; }

/* Workspace shell */
.workspace-body { background:var(--canvas); }
.workspace-shell { display:grid; grid-template-columns:256px minmax(0,1fr); min-height:100vh; }
.rail { position:sticky; top:0; display:flex; flex-direction:column; min-width:0; height:100vh; padding:24px 18px 18px; background:var(--navy); color:#eef2ff; overflow:hidden; }
.rail-top { flex:0 0 auto; position:relative; }
.rail-close { display:none; position:absolute; top:0; right:0; width:44px; height:44px; font-size:1.5rem; color:#fff; }
.project-context { display:grid; gap:4px; margin:32px 6px 14px; }
.project-context>span { color:#91a0c4; font-size:.68rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.project-context>strong { font-size:.9rem; }
.project-context details { margin-top:4px; color:#9facca; font-size:.72rem; }
.project-context summary { min-height:36px; display:flex; align-items:center; cursor:pointer; }
.project-context code { display:block; margin-top:4px; color:#c3cce2; }
.file-nav { flex:1 1 auto; min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:4px 3px 10px; scrollbar-color:#485576 transparent; }
.file-nav a { display:grid; gap:5px; min-width:0; margin:3px 0; padding:9px 10px; border:1px solid transparent; border-radius:9px; color:#edf1ff; text-decoration:none; }
.file-nav a:hover { background:#1a2747; }.file-nav a.is-active { border-color:#6575a6; background:#243255; box-shadow:inset 3px 0 0 #7784ff; }
.nav-file-name { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.78rem; font-weight:680; }
.nav-statuses { display:flex; flex-wrap:wrap; gap:4px; }
.nav-status { padding:2px 5px; border-radius:5px; font-size:.59rem; font-weight:850; line-height:1.35; }
.status-new { background:#273b6b; color:#9dc3ff; }.status-working,.status-outstanding { background:#49391f; color:#f0c97f; }.status-approved { background:#173c2c; color:#94dcb0; }.status-failed { background:#54282c; color:#ffb6b0; }.status-processing { background:#2b3655; color:#b8c3e4; }
.identity { flex:0 0 auto; display:flex; align-items:center; gap:10px; min-width:0; padding:15px 5px 3px; border-top:1px solid #2c3858; font-size:.75rem; }
.identity>div { min-width:0; }.identity strong { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }.identity small { display:block; margin-top:2px; color:#91a0c4; }
.identity-switch { display:block; min-height:36px; margin-top:4px; padding:0; border:0; background:transparent; color:#c6d2ff; text-align:left; text-decoration:underline; cursor:pointer; }.identity-card input[type="email"] { width:100%; max-width:32rem; }
.avatar { display:grid; place-items:center; flex:0 0 auto; width:32px; height:32px; border-radius:50%; background:#5967ee; }
.nav-scrim { display:none; }
.workspace-main { min-width:0; padding:30px clamp(22px,4vw,58px) 72px; background:#f5f7fb; }
.workspace-header { max-width:1120px; margin:0 auto; padding:0 0 17px; border-bottom:1px solid var(--line); }
.workspace-kicker,.section-kicker { margin:0 0 6px; color:#66728d; font-size:.68rem; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.workspace-header h1 { margin:0; font-size:clamp(1.25rem,2.3vw,1.75rem); line-height:1.25; letter-spacing:-.025em; overflow-wrap:anywhere; }
.workspace-header>div { min-width:0; width:100%; }
.project-title-button { display:inline; max-width:100%; margin:0; padding:3px 0; background:transparent; border:0; color:inherit; font:inherit; font-weight:inherit; text-align:left; overflow-wrap:anywhere; }
.project-title-button svg { display:inline-block; width:18px; height:18px; margin-left:8px; fill:none; stroke:currentColor; stroke-width:1.5; }
.uploaded-at { display:block; margin-top:6px; color:var(--muted); font-size:.78rem; }
.title-actions { display:flex; gap:8px; margin-top:8px; }
[data-title-form] { max-width:640px; margin:12px 0; }
summary { list-style:none; }
summary::-webkit-details-marker { display:none; }
summary::after,.asset-toggle::after { content:""; flex:none; display:inline-block; width:7px; height:7px; margin:0 3px 3px 10px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); }
details[open]>summary::after,.asset-toggle[aria-expanded="true"]::after { transform:rotate(225deg); margin-bottom:-3px; }
.mobile-workspace-bar { display:none; }
.panel { border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.asset-stack { max-width:1120px; margin:18px auto 0; }
.asset-card { margin-top:12px; overflow:hidden; scroll-margin-top:16px; }
.asset-card.is-collapsed > :not(.asset-heading) { display:none; }
.asset-heading { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; min-height:82px; padding:13px 16px; }
.play-button { display:grid; place-items:center; width:44px; height:44px; margin:0; padding:0; border-radius:50%; background:var(--blue); color:#fff; font-weight:900; }
.play-button:hover { background:var(--blue-dark); }
.asset-identity { min-width:0; }.asset-heading > .asset-identity:first-child { grid-column:1 / -1; }.asset-identity h2 { min-width:0; margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:1.06rem; letter-spacing:-.025em; }
.asset-meta { margin:5px 0 0; color:var(--muted); font-size:.75rem; }
.asset-state-row { display:flex; align-items:center; flex-wrap:wrap; gap:6px; margin-top:6px; }
.asset-state-row:empty { display:none; }.state-badge { display:inline-flex; align-items:center; min-height:24px; padding:3px 7px; border-radius:6px; font-size:.68rem; font-weight:800; }.approved-state { background:var(--green-soft); color:var(--green); }.state-detail { color:var(--muted); font-size:.7rem; }
.asset-actions { display:flex; align-items:center; justify-content:flex-end; flex-wrap:wrap; gap:8px; }.asset-actions form { margin:0; }.historical-label { padding:6px 8px; border-radius:6px; background:#f0f2f7; color:#58647c; font-size:.7rem; font-weight:800; }
.player-surface { padding:12px 18px 17px; border-top:1px solid var(--line); background:#fafbfe; }
.transport { display:flex; align-items:center; gap:7px; min-height:44px; margin-bottom:8px; }.current-time { margin-left:4px; }.current-time,.duration-label { color:var(--ink); font-family:inherit; font-variant-numeric:tabular-nums; font-size:.82rem; font-weight:650; }.time-divider { color:var(--muted); font-size:.82rem; }
.waveform { position:relative; display:flex; align-items:center; gap:1px; height:160px; min-width:0; overflow:hidden; border:1px solid #dfe5ef; border-radius:8px; background:repeating-linear-gradient(90deg,#fff 0,#fff calc(10% - 1px),#edf1f7 calc(10% - 1px),#edf1f7 10%); cursor:crosshair; touch-action:none; user-select:none; }
.wave-bar { display:block; flex:1 1 0; min-width:0; border-radius:2px; background:linear-gradient(180deg,#7d86ff,#4d5dd9); opacity:.9; }
.waveform-loading { margin:auto; color:#6d7890; font-size:.78rem; }
.playhead { position:absolute; inset:0 auto 0 0; z-index:3; width:2px; background:#ef5867; pointer-events:none; }.playhead:before { content:""; position:absolute; top:0; left:-4px; width:10px; height:10px; border-radius:50%; background:#ef5867; }
.marker-row { position:absolute; inset:0; z-index:4; pointer-events:none; }
.feedback-marker { position:absolute; top:0; bottom:0; width:24px; min-height:24px; margin:0; padding:0; border:0; background:transparent; transform:translateX(-50%); pointer-events:auto; }
.feedback-marker:before { content:""; position:absolute; top:12%; bottom:12%; left:10px; width:4px; border-radius:3px; background:#e49a32; box-shadow:0 0 0 1px #fff8; }
.feedback-marker:hover:before,.feedback-marker:focus-visible:before { width:6px; left:9px; background:#c97712; }
.feedback-composer-zone { padding:13px 18px; border-top:1px solid var(--line); }
.composer-inline { display:flex; align-items:center; gap:8px; max-width:850px; }.composer-inline input { min-width:0; flex:1; }.reset-timestamp { white-space:nowrap; }.timestamp-chip { flex:0 0 auto; padding:7px 8px; border-radius:6px; background:var(--blue-soft); color:var(--blue-dark); font-size:.74rem; font-weight:850; font-variant-numeric:tabular-nums; }
.locked-composer { display:flex; align-items:center; flex-wrap:wrap; gap:6px 12px; padding:10px 12px; border:1px solid #c7dfcf; border-radius:8px; background:var(--green-soft); color:#315b3e; }.locked-composer strong { font-size:.78rem; }.locked-composer span { font-size:.74rem; }
.version-selector { display:flex; align-items:center; flex-wrap:wrap; gap:7px; padding:11px 18px; border-top:1px solid var(--line); }
.version-button { min-height:34px; margin:0; padding:7px 9px; border-radius:7px; background:#eef1f7; color:#536078; font-size:.7rem; font-weight:720; }.version-button.selected { background:var(--blue-soft); color:var(--blue-dark); box-shadow:inset 0 0 0 1px #cdd3ff; }
.version-history { position:relative; font-size:.74rem; }.version-history summary { min-height:34px; display:flex; align-items:center; padding:0 9px; border:1px solid var(--line-strong); border-radius:7px; cursor:pointer; }.version-history>div { display:flex; flex-wrap:wrap; gap:6px; padding-top:7px; }
.approval-panel { padding:11px 18px; border-top:1px solid var(--line); background:#fcfdff; }.approval-panel.is-hidden { display:none; }.approval-panel summary { min-height:36px; display:flex; align-items:center; color:#37435e; cursor:pointer; font-size:.78rem; font-weight:800; }.approval-list { margin-top:5px; }.approval-row { display:flex; justify-content:space-between; gap:12px; padding:8px 0; border-top:1px solid #edf0f5; color:#536078; font-size:.74rem; }.approval-row time { white-space:nowrap; color:#6c7890; }
.comment-list { padding:4px 18px 12px; }.section-heading { padding:15px 18px 0; }.section-heading h3 { margin:0; font-size:.9rem; }
.comment,.private-comment { display:grid; grid-template-columns:54px minmax(0,1fr); gap:10px; padding:13px 0; border-bottom:1px solid #edf0f5; }.comment:last-child,.private-comment:last-child { border-bottom:0; }.comment-time { align-self:start; min-height:36px; margin:0; padding:7px 5px; border-radius:6px; background:#f0f2ff; color:var(--blue-dark); font-size:.7rem; font-weight:850; font-variant-numeric:tabular-nums; }.comment strong,.private-comment strong,.feedback-item strong { font-size:.76rem; }.comment p,.private-comment p,.feedback-item p { margin:4px 0; color:#526079; font-size:.82rem; line-height:1.5; }.reply { margin:8px 0 0; padding:8px 10px; border-left:3px solid #cfd5ff; background:#f8f9ff; }
.is-highlighted { border-radius:8px; background:#fff8e8; box-shadow:0 0 0 2px #edc46c; }
.empty { margin:12px 0; color:#6e7890; font-size:.78rem; }
.state-label { display:inline-flex; margin-top:7px; padding:3px 6px; border-radius:5px; background:#f1f3f7; color:#5b6680; font-size:.68rem; font-weight:800; }.state-buttons { display:flex; flex-wrap:wrap; gap:7px; margin-top:8px; }.state-buttons form { margin:0; }.reply-form { display:flex; flex:1 1 260px; gap:6px; }.reply-form input { min-width:100px; }.reply-form button { flex:0 0 auto; }
.outstanding { margin:0 18px 14px; padding:12px; border:1px solid #ead09e; border-radius:9px; background:#fffaf0; }.outstanding h3 { margin:0 0 7px; color:#79551d; font-size:.78rem; }.outstanding-item { display:flex; flex-direction:column; width:100%; min-height:44px; margin:3px 0; padding:7px; text-align:left; border-radius:6px; background:transparent; color:var(--ink); }.outstanding-item:hover { background:#fff2d7; }.outstanding-item span { color:#846022; font-size:.68rem; font-weight:850; }
.processing-state { margin:0; padding:20px 18px; border-top:1px solid var(--line); background:#f8f9fc; }.processing-state strong { font-size:.82rem; }.processing-state p { margin:4px 0 0; color:var(--muted); font-size:.76rem; }
.visually-hidden-form { display:none; }
.state-buttons { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:start; }
.state-buttons form { min-width:0; }
.state-buttons .reply-form { display:grid; grid-template-columns:minmax(0,1fr) auto; }
.state-buttons .reply-form input { width:100%; min-width:0; }
[data-mutation-status] { overflow-wrap:anywhere; grid-column:1 / -1; }
@media(max-width:600px) { .reset-timestamp,.state-buttons button { min-height:44px; } }

/* Private management */
.private-body .waveform { height:148px; }
.private-body .asset-card.is-collapsed [data-current-actions] { display:none; }
.private-feedback { border-top:1px solid var(--line); }
.management-utilities { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); border-top:1px solid var(--line); background:#fafbfe; }
.utility-section { min-width:0; padding:18px; }.utility-section+ .utility-section { border-left:1px solid var(--line); }.utility-section h3 { margin:0; font-size:.92rem; }.utility-help { max-width:38rem; margin:7px 0 0; }.utility-actions { display:flex; flex-wrap:wrap; gap:7px; margin-top:13px; }.inline-status { min-height:18px; margin:7px 0 0; color:var(--green); font-size:.72rem; font-weight:750; }.upload-size-error { margin-top:10px; padding:11px 13px; border:1px solid #edc5bd; border-radius:8px; background:var(--red-soft); color:#812b25; font-size:.86rem; font-weight:850; line-height:1.4; }
.revision-form { margin-top:12px; }.revision-drop-zone { display:grid; gap:5px; min-height:92px; margin:0 0 12px; padding:16px; border:1px dashed #9caad0; border-radius:10px; background:#fff; cursor:pointer; }.revision-drop-zone:hover,.revision-form.dragging .revision-drop-zone { border-color:var(--blue); background:#f3f5ff; }.revision-drop-zone input { margin-top:7px; padding:7px; }.drop-title { color:var(--blue-dark); font-size:.82rem; font-weight:800; }.selected-file { overflow-wrap:anywhere; color:var(--muted); font-size:.74rem; }
fieldset { margin:12px 0; padding:12px; border:1px solid var(--line); border-radius:8px; } legend { padding:0 5px; font-size:.76rem; font-weight:800; }
.advanced { margin:12px 0; }.advanced summary,.optional-section summary { min-height:40px; display:flex; align-items:center; color:#34405d; cursor:pointer; font-size:.78rem; font-weight:800; }
.completion-banner,.completion-card,.project-feedback,.identity-card { max-width:1120px; margin:16px auto 0; padding:18px; }.completion-card h2,.identity-card h2 { margin:0; font-size:1rem; }.completion-banner { border-color:#d9bd7c; background:#fff9e9; }.completion-banner p { margin:6px 0 0; font-size:.78rem; }
.project-feedback { padding:0; }.project-feedback>summary { min-height:56px; display:flex; align-items:center; padding:0 18px; cursor:pointer; font-size:.85rem; font-weight:800; }.project-feedback-body { padding:0 18px 18px; border-top:1px solid var(--line); }.feedback-item { padding:13px 0; border-bottom:1px solid #edf0f5; }.feedback-form { margin-top:14px; }.feedback-form button { margin-top:8px; }

/* Upload */
.landing-body { display:block; }.shell { width:min(680px,calc(100% - 32px)); margin:0 auto; padding:34px 0 56px; }.shell>h1 { margin:18px 0 22px; font-size:clamp(2.5rem,6vw,3.5rem); line-height:1.02; letter-spacing:-.05em; }.card { margin-top:18px; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; }.upload-form>label:first-of-type { margin-top:0; }.drop-zone { display:grid; gap:6px; min-height:132px; margin-top:14px; padding:18px; border:1px dashed #9caad0; border-radius:10px; background:#fafbff; cursor:pointer; }.drop-zone:hover,.drop-zone.dragging { border-color:var(--blue); background:#f2f4ff; }.drop-zone input { margin-top:8px; padding:8px; }.drop-zone-title { color:var(--blue-dark); font-weight:820; }.drop-zone-copy { margin:0; color:var(--muted); font-size:.8rem; }.drop-zone ul { margin:8px 0 0; padding:0; list-style:none; }.drop-zone li { padding:6px 0; border-top:1px solid #e8ebf2; overflow-wrap:anywhere; color:#4f5d76; font-size:.78rem; }.optional-section,.advanced.upload-advanced { margin-top:16px; padding-top:10px; border-top:1px solid var(--line); }.deadline-reminder { min-height:40px; }.info { position:relative; width:24px; min-height:24px; margin:0 0 0 4px; padding:0; border-radius:50%; background:var(--blue-soft); color:var(--blue-dark); font-size:.72rem; font-weight:850; }.help-popover { display:none; position:absolute; z-index:5; top:28px; left:0; width:min(260px,75vw); padding:10px; border:1px solid var(--line); border-radius:8px; background:#fff; color:var(--ink); box-shadow:0 8px 24px #17203a24; font-size:.74rem; font-weight:500; }.info:hover .help-popover,.info:focus .help-popover,.info.open .help-popover { display:block; }.secondary-card { background:#fafbfe; }
.drop-zone ul { max-height:220px; overflow-y:auto; overscroll-behavior:contain; }
.upload-form>button[type="submit"],.secondary-card form>button { margin-top:16px; }

@media (max-width:1050px) and (min-width:761px) {
  .workspace-shell { grid-template-columns:216px minmax(0,1fr); }
  .rail { padding-inline:14px; }.workspace-main { padding-inline:22px; }.asset-heading { grid-template-columns:44px minmax(0,1fr); }.asset-actions { grid-column:2; justify-content:flex-start; }
  .management-utilities { grid-template-columns:1fr; }.utility-section+.utility-section { border-left:0; border-top:1px solid var(--line); }
}
@media (max-width:760px) {
  .workspace-shell { display:block; min-height:100vh; }.workspace-main { width:100%; padding:14px 12px 52px; }.mobile-workspace-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:58px; margin-bottom:12px; }.mobile-workspace-bar .brand-lockup { font-size:.98rem; }.mobile-workspace-bar .brand-lockup img { width:32px; height:32px; }.files-button { min-width:88px; min-height:44px; }
  .rail { position:fixed; z-index:20; inset:0 auto 0 0; width:min(88vw,340px); height:100dvh; padding:18px 14px; transform:translateX(-105%); transition:transform .2s ease; box-shadow:12px 0 36px #0b102555; }.nav-open .rail { transform:translateX(0); }.rail-close { display:grid; place-items:center; }.nav-scrim { position:fixed; z-index:19; inset:0; width:100%; height:100%; background:#0b10258a; }.nav-open .nav-scrim { display:block; }.project-context { margin-top:24px; }.file-nav a { min-height:48px; padding:10px; }.nav-file-name { white-space:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
  .workspace-header { padding-bottom:13px; }.workspace-header h1 { font-size:1.25rem; }.workspace-kicker { margin-bottom:4px; }.asset-stack { margin-top:12px; }.asset-card { margin-top:10px; }
  .asset-heading { grid-template-columns:44px minmax(0,1fr); gap:10px; min-height:unset; padding:12px; }.asset-identity h2 { white-space:normal; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; line-height:1.25; }.asset-actions { grid-column:1/-1; justify-content:flex-end; padding-top:1px; }.asset-actions [data-current-actions] { margin-left:auto; }.asset-toggle,.approve-button,.warning-button { min-height:44px; }
  .player-surface { padding:10px 10px 13px; }.waveform,.private-body .waveform { height:128px; }.transport { min-height:44px; margin-bottom:7px; }.transport-button { min-width:48px; min-height:44px; }.feedback-marker { width:44px; }.feedback-marker:before { left:20px; }.feedback-marker:hover:before,.feedback-marker:focus-visible:before { left:19px; }
  .feedback-composer-zone,.version-selector,.approval-panel,.comment-list { padding-inline:12px; }.composer-inline { flex-wrap:wrap; }.composer-inline input { flex-basis:calc(100% - 58px); }.composer-inline .primary-button { margin-left:auto; min-height:44px; }.timestamp-chip { min-height:40px; display:flex; align-items:center; }
  .comment,.private-comment { grid-template-columns:48px minmax(0,1fr); }.comment-time { min-height:44px; }.reply-form { flex-basis:100%; }.reply-form input { min-height:44px; }.reply-form button { min-height:44px; }
  .management-utilities { grid-template-columns:1fr; }.utility-section { padding:15px 12px; }.utility-section+.utility-section { border-left:0; border-top:1px solid var(--line); }.utility-actions button { min-height:44px; }.revision-drop-zone { min-height:110px; }.project-feedback>summary { min-height:52px; }
  .shell { width:min(100% - 24px,680px); padding:22px 0 42px; }.shell>h1 { margin:15px 0 18px; font-size:clamp(2.15rem,11vw,2.75rem); }.card { padding:17px; }.drop-zone { min-height:120px; padding:15px; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } .rail { transition:none; } }

/* Observer transport remains touch-friendly at tablet and desktop widths too. */
[data-observer] .transport-button,[data-observer] .asset-toggle { min-width:44px; min-height:44px; }
.observer-password-gate { max-width:520px; }
.observer-password-gate input,.observer-password-gate button { min-height:44px; }
.observer-password-choice { min-height:44px; }
[data-observer-link] h3,[data-observer-state] { overflow-wrap:anywhere; }

/* Observer management: one project block, compact focused rows. */
.observer-link-card { min-width:0; padding:18px; border:1px solid var(--line); border-radius:12px; }
.observer-general { background:#f5f6ff; border-color:#c7caff; }
.observer-summary { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.observer-summary-text { min-width:0; }
.observer-summary h3,.observer-summary h4 { margin:0 0 8px; font-size:15px; overflow-wrap:anywhere; }
.observer-summary p { margin:5px 0; font-size:14px; }
.observer-protection { color:var(--muted); }
.observer-protection:empty,[data-observer-status]:empty { display:none; }
.observer-summary-actions { flex-shrink:0; }
.observer-focused-heading { margin:28px 0 14px; }
.observer-focused-heading h3 { margin:0 0 8px; }
.observer-focused-list { display:grid; gap:10px; }
.observer-settings { margin-top:18px; padding-top:16px; border-top:1px solid var(--line); }
.observer-setting-options { display:flex; align-items:end; flex-wrap:wrap; gap:12px 24px; margin-bottom:12px; }
.observer-setting-options>label:first-child { width:210px; max-width:100%; }
.observer-password-choice { display:flex; align-items:center; gap:8px; cursor:pointer; margin:0; }
.observer-password-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:12px 0; }
.observer-password-fields .hint { grid-column:1/-1; margin:0; }
.observer-password-fields input { width:100%; min-width:0; }
.observer-management button,.observer-management select,.observer-management input[type=password] { min-height:44px; }
.observer-confirmation { margin-top:14px; padding:14px; background:#fff8e8; border:1px solid #dbc79a; border-radius:8px; }
.observer-confirmation p { margin:0 0 12px; }
.observer-section-help { margin:20px 0 0; }
.observer-management [hidden] { display:none!important; }
@media(max-width:600px) {
 .observer-link-card { padding:14px; }
 .observer-summary { align-items:stretch; flex-direction:column; gap:8px; }
 .observer-summary-actions { justify-content:flex-start; }
 .observer-setting-options { align-items:stretch; flex-direction:column; gap:4px; }
 .observer-setting-options>label:first-child { width:100%; }
 .observer-password-fields { grid-template-columns:minmax(0,1fr); }
 .observer-summary-actions button { max-width:100%; }
}

.observer-management [data-observer-status] { color:var(--muted); }
.observer-management [data-observer-status].observer-error { color:#b42318; }
/* Phase 8.1 accountless REVIEW verification gate. */
.gate-body{min-height:100vh;background:#f3f6fb;color:#13213d;display:grid;place-items:center;padding:24px}
.gate-shell{width:min(100%,480px);display:grid;gap:20px}
.gate-shell>.brand-lockup{justify-self:center}
.gate-shell .identity-card{padding:clamp(24px,6vw,40px)}
.gate-shell .identity-card h1{margin:0 0 10px;font-size:clamp(1.55rem,5vw,2rem)}
.gate-shell .identity-card form{display:grid;gap:12px;margin-top:24px}
.gate-shell input{min-width:0;width:100%}
@media(max-width:430px){.gate-body{padding:16px}.gate-shell .identity-card{padding:22px 18px}.gate-shell .primary-button{width:100%}}
.reviewer-access-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;padding:14px 0;border-bottom:1px solid #dce3ef}
.reviewer-access-row:last-child{border-bottom:0}.reviewer-access-row strong{min-width:0;overflow-wrap:anywhere}.reviewer-access-row p{margin:0;color:#526079;font-size:.9rem}.reviewer-access-row .state-badge{white-space:nowrap}
@media(max-width:430px){.reviewer-access-row{grid-template-columns:minmax(0,1fr)}.reviewer-access-row .state-badge{justify-self:start}}
