:root { color-scheme:light dark; --ink:#171816; --canvas:#efeee9; --surface:#f8f7f3; --surface-muted:#e7e5dd; --line:#d7d5cd; --text:#1d1e1a; --muted:#64655e; --amber:#a64f17; --amber-deep:#78350f; --recording:#a32929; --button-text:#fffaf4; --radius:12px; font-family:"SF Pro Text","PingFang SC","Hiragino Sans GB",system-ui,sans-serif; }
@media (prefers-color-scheme:dark) { :root { --canvas:#171816; --surface:#20211d; --surface-muted:#292a25; --line:#4a4c44; --text:#efeee8; --muted:#b8b8af; --amber:#e89a59; --amber-deep:#f0b77f; --recording:#ffaaa4; --button-text:#171816; } }
* { box-sizing:border-box; } [hidden] { display:none !important; } body { min-width:320px; margin:0; background:var(--canvas); color:var(--text); } button,input,select,textarea { font:inherit; } button,label.file-trigger { cursor:pointer; } button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.file-trigger:focus-within { outline:3px solid color-mix(in srgb,var(--amber) 45%,transparent); outline-offset:2px; }
.app-shell { min-height:100dvh; }.topbar { display:flex; align-items:center; justify-content:space-between; height:68px; padding:0 28px; border-bottom:1px solid var(--line); background:var(--surface); }.brand { display:inline-flex; gap:10px; align-items:center; color:var(--text); text-decoration:none; font-size:15px; font-weight:760; letter-spacing:.08em; }.brand small { margin-left:4px; color:var(--muted); font-size:9px; letter-spacing:.15em; }.brand-mark { display:grid; width:27px; height:27px; place-items:center; border-radius:8px; background:var(--ink); color:#f6f4ee; font-size:14px; letter-spacing:0; }.topbar-actions,.reviewer { display:flex; align-items:center; gap:10px; }.reviewer { margin-right:8px; color:var(--muted); font-size:13px; }.avatar { display:grid; width:28px; height:28px; place-items:center; border-radius:50%; background:var(--surface-muted); color:var(--text); font-size:12px; }
.workspace { display:grid; grid-template-columns:248px minmax(0,1fr) 346px; min-height:calc(100dvh - 68px); }.project-rail,.feedback-panel { padding:30px 24px; background:var(--surface); }.project-rail { display:flex; flex-direction:column; border-right:1px solid var(--line); }.feedback-panel { display:flex; flex-direction:column; min-height:0; border-left:1px solid var(--line); }.section-label { margin:0 0 8px; color:var(--muted); font-size:10px; font-weight:720; letter-spacing:.12em; text-transform:uppercase; } h1,h2,h3,p { margin-top:0; } h1 { margin-bottom:5px; font-size:24px; letter-spacing:-.045em; } h2 { margin-bottom:0; font-size:18px; letter-spacing:-.03em; }.client-name { margin-bottom:22px; color:var(--muted); font-size:13px; }.rail-status { display:inline-flex; align-items:center; gap:7px; width:max-content; margin-bottom:34px; padding:7px 9px; border-radius:8px; background:color-mix(in srgb,var(--amber) 11%,transparent); color:var(--amber-deep); font-size:12px; font-weight:650; }.status-mark { width:7px; height:7px; border-radius:50%; background:currentColor; }.section-heading { display:flex; align-items:baseline; justify-content:space-between; }.section-heading h2 { font-size:13px; }.text-button,.close-composer { padding:0; border:0; appearance:none; background:transparent; color:var(--muted); font-size:12px; }.text-button:hover,.close-composer:hover { color:var(--text); }.version-list { display:grid; gap:5px; margin-top:13px; }.version-row { display:flex; justify-content:space-between; gap:8px; width:100%; padding:10px; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--text); text-align:left; }.version-row:hover { background:var(--surface-muted); }.version-row.active { border-color:color-mix(in srgb,var(--amber) 44%,var(--line)); background:color-mix(in srgb,var(--amber) 9%,transparent); }.version-row strong { display:block; font-size:13px; }.version-row small { display:block; margin-top:3px; color:var(--muted); font-size:11px; }.version-state { flex:0 0 auto; color:var(--muted); font-size:10px; }.project-note { margin-top:30px; padding:17px 0 0; border-top:1px solid var(--line); }.project-note p:last-child { margin:0; color:var(--muted); font-size:12px; line-height:1.65; }.rail-footer { display:grid; gap:6px; margin-top:auto; padding-top:24px; color:var(--muted); font-size:10px; }
.review-stage { min-width:0; padding:32px clamp(22px,3.2vw,54px) 50px; }.stage-header { display:flex; align-items:end; justify-content:space-between; gap:16px; margin-bottom:17px; }.stage-meta-actions { display:flex; align-items:center; gap:12px; }.media-meta { color:var(--muted); font-size:12px; white-space:nowrap; }.download-video { min-height:34px; padding:7px 11px; }.media-frame { position:relative; display:grid; min-height:min(48vw,590px); overflow:hidden; place-items:center; border-radius:var(--radius); background:#20211d; box-shadow:0 15px 35px rgba(22,22,19,.11); }video { display:none; width:100%; max-height:min(48vw,590px); background:#20211d; }video.loaded { display:block; }.video-empty { width:min(410px,88%); padding:32px; border:1px solid rgba(255,255,255,.17); border-radius:var(--radius); background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(255,255,255,.03)); color:#f3f1eb; text-align:center; }.video-empty h3 { margin:14px 0 7px; font-size:19px; letter-spacing:-.025em; }.video-empty p { margin-bottom:22px; color:rgba(243,241,235,.68); font-size:13px; line-height:1.6; }.play-symbol { display:grid; width:46px; height:46px; place-items:center; margin:auto; padding-left:3px; border-radius:50%; background:var(--amber); color:#fff8f2; font-size:15px; }.playback-strip { display:flex; align-items:center; gap:10px; min-height:62px; }.timecode { color:var(--text); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:14px; font-weight:720; }.autosave { margin-left:auto; color:var(--muted); font-size:11px; }
.button { display:inline-flex; align-items:center; justify-content:center; min-height:38px; padding:9px 13px; border:1px solid transparent; border-radius:8px; font-size:13px; font-weight:690; line-height:1; text-decoration:none; white-space:nowrap; transition:transform .16s ease,background-color .16s ease,border-color .16s ease; }.button:active { transform:translateY(1px); }.button-primary { background:var(--amber); color:var(--button-text); }.button-primary:hover { background:var(--amber-deep); }.button-primary:disabled,.file-trigger.is-busy { cursor:not-allowed; opacity:.46; pointer-events:none; }.button-secondary,.button-quiet { border-color:var(--line); background:transparent; color:var(--text); }.button-secondary:hover,.button-quiet:hover { background:var(--surface-muted); }.button-quiet { min-height:34px; padding:8px 11px; }
.composer { padding:23px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.composer-heading { display:flex; align-items:start; justify-content:space-between; margin-bottom:19px; }.composer-heading h2 { font-size:16px; }form { display:grid; gap:15px; }.form-grid { display:grid; grid-template-columns:140px 1fr; gap:13px; }label { display:grid; gap:7px; color:var(--muted); font-size:11px; font-weight:670; }input,select,textarea { width:100%; padding:10px; border:1px solid var(--line); border-radius:8px; background:var(--canvas); color:var(--text); font-size:13px; font-weight:450; }textarea { resize:vertical; line-height:1.5; }input::placeholder,textarea::placeholder { color:var(--muted); opacity:.82; }.composer-actions { display:flex; align-items:center; justify-content:space-between; gap:15px; color:var(--muted); font-size:11px; }.composer-actions b { color:var(--text); font-weight:680; }
.feedback-header { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:18px; }.feedback-header h2 { font-size:17px; }.feedback-header select { width:102px; padding:7px; font-size:11px; }.comment-list { display:grid; align-content:start; gap:10px; overflow:auto; padding-right:2px; }.comment-card { padding:15px; border:1px solid var(--line); border-radius:10px; background:var(--canvas); }.comment-top,.comment-footer { display:flex; align-items:center; justify-content:space-between; gap:8px; }.comment-top { margin-bottom:11px; }.comment-time { color:var(--amber-deep); font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:12px; font-weight:740; }.comment-category { color:var(--muted); font-size:11px; }.comment-card p { margin-bottom:13px; font-size:13px; line-height:1.55; }.comment-author { color:var(--muted); font-size:11px; }.comment-footer select { width:auto; padding:5px 6px; font-size:10px; }.empty-comments { padding:36px 14px; color:var(--muted); text-align:center; font-size:13px; line-height:1.6; }.approval-card { margin-top:20px; padding:19px; border-radius:var(--radius); background:var(--surface-muted); }.approval-card h2 { font-size:16px; }.approval-card p:not(.section-label) { margin:10px 0 17px; color:var(--muted); font-size:12px; line-height:1.6; }.approval-button { width:100%; }
dialog { width:min(420px,calc(100% - 32px)); padding:0; border:0; border-radius:var(--radius); background:var(--surface); color:var(--text); box-shadow:0 24px 80px rgba(0,0,0,.35); }dialog::backdrop { background:rgba(19,20,18,.56); }.dialog-content { padding:27px; }.dialog-content h2 { margin-bottom:10px; font-size:22px; }.dialog-content p:not(.section-label) { margin-bottom:17px; color:var(--muted); font-size:13px; line-height:1.6; }.acknowledgement { display:flex; grid-template-columns:auto 1fr; align-items:start; margin-bottom:9px; color:var(--text); font-size:12px; line-height:1.5; }.acknowledgement input { width:15px; height:15px; margin-top:1px; accent-color:var(--amber); }.dialog-actions { display:flex; justify-content:end; gap:9px; margin-top:10px; }.toast { position:fixed; right:22px; bottom:22px; z-index:5; max-width:calc(100% - 44px); padding:12px 15px; border-radius:9px; background:var(--ink); color:#f7f5ef; font-size:12px; opacity:0; pointer-events:none; transform:translateY(12px); transition:opacity .2s ease,transform .2s ease; }.toast.visible { opacity:1; transform:translateY(0); }
@media (max-width:1140px) { .workspace { grid-template-columns:210px minmax(0,1fr); }.feedback-panel { display:grid; grid-column:1/-1; grid-template-columns:minmax(260px,1fr) 260px; gap:24px; border-top:1px solid var(--line); border-left:0; }.feedback-header { grid-column:1; }.comment-list { grid-column:1; grid-row:2; max-height:430px; }.approval-card { grid-column:2; grid-row:1/span 2; align-self:start; margin:0; } }
@media (max-width:760px) { .topbar { height:60px; padding:0 16px; }.reviewer { display:none; }.workspace { display:block; }.project-rail { display:none; }.review-stage { padding:23px 16px 30px; }.stage-header { flex-direction:column; align-items:stretch; margin-bottom:15px; }.stage-meta-actions { justify-content:space-between; }.media-frame { min-height:55vw; border-radius:10px; }.video-empty { padding:22px; }.playback-strip { min-height:58px; }.autosave { display:none; }.composer { padding:17px; }.form-grid { grid-template-columns:1fr; }.feedback-panel { display:block; padding:24px 16px 32px; }.comment-list { max-height:none; }.approval-card { margin-top:18px; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition-duration:.01ms !important; } }
.mode-switch { display:inline-flex; padding:3px; border:1px solid var(--line); border-radius:9px; background:var(--canvas); }.mode-switch button { border:0; border-radius:6px; padding:6px 9px; background:transparent; color:var(--muted); font-size:11px; font-weight:680; }.mode-switch button.active { background:var(--surface); color:var(--text); box-shadow:0 1px 2px rgba(20,20,17,.1); }.status-pill { padding:5px 7px; border-radius:6px; background:var(--surface-muted); color:var(--muted); font-size:10px; font-weight:650; }
@media (max-width:760px) { .mode-switch button { padding:6px 7px; font-size:10px; } }
.dashboard-page { min-height:100dvh; }.project-dashboard { width:min(1120px,calc(100% - 48px)); margin:0 auto; padding:64px 0; }.dashboard-heading { max-width:620px; margin-bottom:34px; }.dashboard-heading h1 { margin-bottom:11px; font-size:34px; }.dashboard-heading p:last-child { color:var(--muted); font-size:14px; line-height:1.7; }.project-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:16px; }.project-card { display:flex; min-height:240px; flex-direction:column; padding:22px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }.project-card-heading { display:flex; align-items:start; justify-content:space-between; gap:14px; }.project-card h2 { font-size:20px; }.project-state { flex:0 0 auto; padding:5px 7px; border-radius:6px; background:color-mix(in srgb,var(--amber) 11%,transparent); color:var(--amber-deep); font-size:10px; font-weight:700; }.project-metrics { display:grid; gap:10px; margin:24px 0; }.project-metrics div { display:flex; justify-content:space-between; gap:12px; font-size:12px; }.project-metrics dt { color:var(--muted); }.project-metrics dd { margin:0; color:var(--text); font-weight:650; text-align:right; }.project-card .button { margin-top:auto; }.empty-projects { padding:45px 20px; border:1px dashed var(--line); border-radius:var(--radius); color:var(--muted); text-align:center; line-height:1.7; }
.login-page { display:grid; min-height:100dvh; place-items:center; padding:24px; }.login-card { width:min(430px,100%); padding:32px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); box-shadow:0 18px 45px rgba(22,22,19,.08); }.login-card .brand { margin-bottom:42px; }.login-card h1 { margin-bottom:10px; font-size:27px; }.login-card section > p:not(.section-label) { margin-bottom:25px; color:var(--muted); font-size:13px; line-height:1.65; }.login-card .dialog-actions { justify-content:stretch; }.login-card .dialog-actions .button { width:100%; }.login-error { min-height:20px; margin:16px 0 0; color:var(--amber-deep); font-size:12px; line-height:1.5; }
@media (max-width:760px) { .project-dashboard { width:calc(100% - 32px); padding:35px 0; }.dashboard-heading h1 { font-size:28px; }.project-grid { grid-template-columns:1fr; } }

/* Client feedback is intentionally a single action: select a moment, then write. */
.feedback-timeline { position:relative; height:44px; margin-top:4px; cursor:crosshair; }.timeline-base { position:absolute; top:21px; right:0; left:0; height:3px; border-radius:999px; background:color-mix(in srgb,var(--line) 78%,transparent); }.comment-markers { position:absolute; inset:0; }.feedback-marker { position:absolute; top:0; width:44px; height:44px; padding:0; border:0; background:transparent; transform:translateX(-50%); }.feedback-marker::after { content:""; position:absolute; top:15px; left:15px; width:14px; height:14px; border:2px solid var(--canvas); border-radius:50%; background:var(--amber); box-shadow:0 0 0 1px color-mix(in srgb,var(--amber) 58%,transparent); transition:transform .16s ease,background-color .16s ease; }.feedback-marker:hover::after,.feedback-marker:focus-visible::after { z-index:1; background:var(--amber-deep); transform:scale(1.2); }.feedback-marker.resolved::after,.feedback-marker.dismissed::after { background:var(--muted); box-shadow:0 0 0 1px color-mix(in srgb,var(--muted) 58%,transparent); }.feedback-marker.out-of-range::after { border-radius:3px; background:#a32929; transform:rotate(45deg); }
.comment-location { display:flex; align-items:center; gap:9px; min-height:42px; padding:9px 11px; border:1px solid var(--line); border-radius:8px; background:var(--canvas); color:var(--muted); font-size:11px; font-weight:670; }.comment-location output { color:var(--amber-deep); }.location-hint { margin-left:auto; color:var(--muted); font-size:11px; font-weight:450; }.comment-jump { padding:0; border:0; background:transparent; cursor:pointer; text-decoration:underline; text-decoration-color:color-mix(in srgb,currentColor 30%,transparent); text-underline-offset:3px; }.comment-jump:hover { color:var(--amber); }
@media (max-width:760px) { .comment-location { align-items:start; flex-wrap:wrap; }.location-hint { width:100%; margin-left:0; } }

/* P1 accessibility and visual hierarchy refinements. */
.mobile-project-context { display:none; }
.section-label { font-size:11px; }
.brand small { font-size:10px; }
.rail-footer,.version-state,.status-pill { font-size:11px; }
label,.composer-actions,.autosave { font-size:12px; }
.topbar-actions { flex-wrap:wrap; justify-content:flex-end; }
.review-stage { background:var(--canvas); }
.media-frame { box-shadow:0 18px 46px rgba(22,22,19,.13); }
.media-meta { line-height:1.5; }
.comment-card { transition:border-color .16s ease,background-color .16s ease; }
.comment-card:hover { border-color:color-mix(in srgb,var(--amber) 32%,var(--line)); }
.comment-card.has-warning { border-color:color-mix(in srgb,#a32929 45%,var(--line)); }
.comment-warning { color:#8f2424; font-size:11px; font-weight:700; }
.approval-card { border:1px solid var(--line); background:transparent; }
.video-empty #recoverUpload { margin-inline:auto; }
.project-card { min-height:218px; transition:border-color .16s ease,transform .16s ease,box-shadow .16s ease; }
.project-card:hover { border-color:color-mix(in srgb,var(--amber) 28%,var(--line)); box-shadow:0 12px 30px rgba(22,22,19,.06); transform:translateY(-1px); }
.project-metrics { padding-top:18px; border-top:1px solid var(--line); }
.project-card.has-unread { border-color:color-mix(in srgb,var(--amber) 46%,var(--line)); }
.project-card-states { display:grid; justify-items:end; gap:7px; }
.project-unread { padding:5px 7px; border-radius:6px; background:var(--amber); color:var(--button-text); font-size:10px; font-weight:760; }

@media (min-width:1440px) {
  .workspace { grid-template-columns:232px minmax(0,1fr) 328px; }
  .review-stage { padding-right:clamp(30px,3vw,48px); padding-left:clamp(30px,3vw,48px); }
  .project-dashboard { width:min(1240px,calc(100% - 64px)); }
}

@media (max-width:760px) {
  .brand small { display:none; }
  .topbar-actions { gap:6px; }
  .topbar-actions .button { min-height:36px; padding:8px 10px; font-size:12px; }
  .mobile-project-context { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:26px; padding-bottom:20px; border-bottom:1px solid var(--line); }
  .mobile-project-context h1 { margin-bottom:3px; font-size:22px; }
  .mobile-project-context .client-name { margin:0; }
  .mobile-version-control { width:min(46%,180px); }
  .mobile-version-control select { background:var(--surface); }
  .stage-header { padding-bottom:2px; }
  .media-meta { white-space:normal; }
  .feedback-timeline { margin-top:2px; }
  .composer-actions { align-items:stretch; flex-direction:column; }
  .composer-actions .button { width:100%; min-height:44px; }
  .feedback-header select { min-height:44px; font-size:12px; }
  .approval-button { min-height:44px; }
}

@media (prefers-color-scheme:dark) {
  .comment-warning { color:#ffaaa4; }
  .project-card:hover { box-shadow:none; }
}

/* Voice feedback stays inside the existing composer and comment hierarchy. */
.field-help { margin:-8px 0 0; color:var(--muted); font-size:11px; line-height:1.5; }
.audio-composer { padding-top:15px; border-top:1px solid var(--line); }
.audio-composer-heading { display:flex; align-items:start; justify-content:space-between; gap:16px; }
.audio-composer-heading h3 { margin-bottom:4px; font-size:13px; letter-spacing:-.01em; }
.audio-composer-heading p { margin:0; color:var(--muted); font-size:11px; line-height:1.55; }
.audio-limit { flex:0 0 auto; color:var(--muted); font-size:11px; }
.audio-record-controls { display:flex; align-items:center; gap:11px; margin-top:13px; }
.recording-stop { border-color:color-mix(in srgb,var(--recording) 48%,var(--line)); color:var(--recording); }
.recording-status { color:var(--muted); font-size:11px; line-height:1.5; }
.recording-status.is-recording { display:inline-flex; align-items:center; gap:7px; color:var(--recording); font-weight:680; }
.recording-status.is-recording::before { width:7px; height:7px; border-radius:50%; background:currentColor; content:""; }
.audio-draft { display:grid; gap:10px; margin-top:13px; padding:12px; border:1px solid var(--line); border-radius:8px; background:var(--canvas); }
.audio-draft-meta,.audio-draft-actions,.comment-audio-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.audio-draft-meta { color:var(--muted); font-size:11px; }
.audio-draft-meta span:first-child { color:var(--text); font-weight:680; }
.audio-draft audio,.comment-audio audio { display:block; width:100%; height:36px; }
.audio-draft-actions { justify-content:flex-end; }
.audio-draft-actions button:disabled { cursor:not-allowed; opacity:.45; }
.audio-retention-note { margin:12px 0 0; color:var(--muted); font-size:10px; line-height:1.55; }
.privacy-note { padding:11px; border-radius:8px; background:var(--surface-muted); color:var(--text) !important; }
.comment-audio { display:grid; gap:9px; margin:0 0 13px; padding:11px; border-radius:8px; background:var(--surface-muted); }
.comment-audio-expired { margin:0 0 13px; padding:10px 11px; border-left:2px solid var(--line); color:var(--muted); font-size:11px; line-height:1.55; }
.comment-audio-heading { color:var(--muted); font-size:11px; }
.comment-audio-heading span:first-child { color:var(--text); font-weight:680; }
.load-comment-audio { justify-self:start; min-height:34px; }
.comment-audio-player { grid-template-columns:minmax(0,1fr) 76px; align-items:end; gap:9px; }
.comment-audio-player:not([hidden]) { display:grid; }
.comment-audio-player label { gap:4px; font-size:10px; }
.comment-audio-player select { padding:7px; font-size:11px; }

/* Acknowledgement is a client-facing receipt, separate from work status. */
.comment-receipt { display:grid; gap:8px; margin:0 0 13px; padding:11px 0 11px 12px; border-left:2px solid var(--amber); background:linear-gradient(90deg,color-mix(in srgb,var(--amber) 8%,transparent),transparent 78%); }
.comment-receipt > div { display:flex; align-items:baseline; justify-content:space-between; gap:12px; }
.comment-receipt strong { font-size:11px; font-weight:760; }
.comment-receipt span { color:var(--muted); font-size:10px; }
.comment-receipt p { margin:0; font-size:12px; line-height:1.55; }
.comment-footer-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.receipt-action { min-height:30px; padding:5px 8px; font-size:10px; }
.comment-reply-editor { display:grid; gap:10px; margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }
.comment-reply-editor[hidden] { display:none; }
.comment-reply-editor textarea { min-height:64px; resize:vertical; }
.comment-reply-actions { display:flex; align-items:center; justify-content:flex-end; gap:7px; }
.comment-reply-actions span { margin-right:auto; color:var(--muted); font-size:10px; }
.comment-reply-actions .button { min-height:32px; padding:6px 9px; font-size:10px; }

/* Producer notifications stay compact, actionable, and project-scoped. */
.notification-trigger { position:relative; gap:7px; }
.notification-badge { display:grid; min-width:18px; height:18px; padding:0 5px; place-items:center; border-radius:999px; background:var(--amber); color:var(--button-text); font-size:10px; font-weight:800; }
.notification-badge[hidden] { display:none; }
dialog.notification-dialog { width:min(500px,calc(100% - 32px)); max-height:min(720px,calc(100dvh - 32px)); }
.notification-dialog-content { display:grid; min-height:260px; max-height:min(720px,calc(100dvh - 32px)); grid-template-rows:auto auto minmax(0,1fr); }
.notification-dialog-header { display:flex; align-items:start; justify-content:space-between; gap:20px; padding:24px 24px 18px; border-bottom:1px solid var(--line); }
.notification-dialog-header h2 { font-size:22px; }
.notification-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:12px 24px; border-bottom:1px solid var(--line); color:var(--muted); font-size:11px; }
.notification-toolbar button:disabled { cursor:default; opacity:.4; }
.notification-list { overflow:auto; }
.notification-item { display:grid; grid-template-columns:8px minmax(0,1fr) auto; gap:11px; align-items:start; padding:16px 24px; border-bottom:1px solid var(--line); color:var(--text); text-decoration:none; transition:background-color .16s ease; }
.notification-item:hover,.notification-item:focus-visible { background:var(--surface-muted); }
.notification-dot { width:7px; height:7px; margin-top:5px; border-radius:50%; background:var(--amber); }
.notification-item.is-read .notification-dot { background:transparent; box-shadow:inset 0 0 0 1px var(--line); }
.notification-copy { display:grid; gap:5px; min-width:0; }
.notification-copy strong { font-size:13px; }
.notification-copy > span { overflow:hidden; color:var(--muted); font-size:11px; line-height:1.5; text-overflow:ellipsis; white-space:nowrap; }
.notification-copy time { color:var(--muted); font-size:10px; }
.notification-arrow { margin-top:1px; color:var(--muted); }
.notification-empty { padding:48px 24px; color:var(--muted); text-align:center; font-size:12px; line-height:1.7; }
.comment-card.is-notification-target { border-color:var(--amber); background:color-mix(in srgb,var(--amber) 7%,var(--canvas)); box-shadow:0 0 0 3px color-mix(in srgb,var(--amber) 16%,transparent); }
.notification-settings-content { display:grid; gap:16px; }
.notification-settings-content > p:not(.section-label) { margin-bottom:0; }
.notification-setting-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px; border:1px solid var(--line); border-radius:9px; }
.notification-setting-row > div:first-child { display:grid; gap:5px; }
.notification-setting-row strong { font-size:13px; }
.notification-setting-row span { color:var(--muted); font-size:11px; }
.notification-setting-row > div:last-child { display:flex; gap:7px; }
.notification-email-toggle { display:flex; grid-template-columns:auto 1fr; align-items:center; gap:8px; }
.notification-email-toggle input { width:16px; height:16px; accent-color:var(--amber); }
.notification-platform-note { margin:0; }
.notification-settings-close { justify-self:center; padding:6px; }

@media (max-width:760px) {
  .audio-composer-heading { align-items:start; }
  .audio-record-controls { align-items:stretch; flex-direction:column; }
  .audio-record-controls .button { width:100%; min-height:44px; }
  .recording-status { min-height:20px; }
  .audio-draft { padding:11px; }
  .comment-audio-player { grid-template-columns:1fr; }
  .comment-audio-player select { min-height:40px; }
  .comment-footer { align-items:flex-start; flex-direction:column; }
  .comment-footer-actions { width:100%; justify-content:space-between; }
  .receipt-action { min-height:40px; }
  .comment-receipt > div { align-items:flex-start; flex-direction:column; gap:3px; }
  .comment-reply-actions { align-items:stretch; flex-wrap:wrap; }
  .comment-reply-actions span { width:100%; }
  .comment-reply-actions .button { flex:1; min-height:40px; }
  .notification-dialog-header { padding:20px; }
  .notification-toolbar { padding:11px 20px; }
  .notification-item { padding:15px 20px; }
  .notification-copy > span { white-space:normal; }
  .notification-setting-row { align-items:stretch; flex-direction:column; }
  .notification-setting-row .button { width:100%; }
}

.mobile-feedback-jump { display:none; }
.feedback-panel { scroll-margin-top:72px; }
.feedback-panel:focus { outline:none; }

@media (max-width:760px) {
  .mobile-feedback-jump:not([hidden]) { display:inline-flex; min-height:40px; align-items:center; }
  .playback-strip { gap:8px; }
  .playback-strip .mobile-feedback-jump { margin-left:auto; }
}
