:root{
  /* Genesis logo colors, with supporting colors for surfaces and status. */
  --ink:#172841;
  --muted:#50627b;
  --muted-soft:#edf2f8;
  --line:#dce5f1;
  --paper:#fff;
  --ground:#f3f6fb;
  --surface:#f8fafd;
  --control-line:#7589a5;
  --primary:#014099;
  --primary-hover:#00327a;
  --primary-soft:#e8f1ff;
  --primary-surface:#f3f7ff;
  --primary-line:#b9cce8;
  --primary-outline:#416ba7;
  --accent:#eb6100;
  --accent-outline:#c95000;
  --accent-ink:#893800;
  --accent-soft:#fff0e4;
  --accent-surface:#fff8f1;
  --accent-line:#efc4a4;
  --accent-mark:#ffdbb0;
  --success:#1b6449;
  --success-soft:#e8f5ed;
  --danger:#982c3d;
  --danger-soft:#fcecf0;
  --scrim:#10244277;
  --shadow-faint:#102f5909;
  --shadow-button:#01409924;
  --shadow-panel:#102c5120;
  --shadow-dialog:#0f254b52;
  --glow-line:#fff9;
  --glow-near:#ffffff39;
  --glow-far:#fff3;
  --speaker-slate:#375b88;
  --speaker-slate-soft:#eaf0f8;
  --speaker-clay:#863f36;
  --speaker-clay-soft:#faecea;
  --speaker-plum:#614577;
  --speaker-plum-soft:#f1ebf7;
  --speaker-pine:#33604a;
  --speaker-pine-soft:#eaf4ec;
  --speaker-ochre:#6c532a;
  --speaker-ochre-soft:#f6eee1;
  --speaker-petrol:#205c6e;
  --speaker-petrol-soft:#e8f3f6;
  --radius:17px;
  color-scheme:light;
  accent-color:var(--primary);
  font-family:Inter,"PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  font-size:16px;
  color:var(--ink);
  background:var(--ground);
}
a{color:var(--primary)}
::selection{color:var(--ink);background:var(--primary-soft)}
*,*::before,*::after{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--accent-outline);outline-offset:3px}[hidden]{display:none!important}button:disabled{cursor:not-allowed;opacity:.55}
.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:100vh}.sidebar{padding:27px 17px 17px;background:var(--paper);border-right:1px solid var(--line);min-height:100vh;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:12px;padding:0 11px;margin-bottom:42px}.brand strong{font-size:21px;letter-spacing:.06em}.brand small,.side-foot small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.brand-icon{display:block;width:58px;height:40px;object-fit:contain;flex:none}.side-label,.side-heading{color:var(--muted);font-size:13px;font-weight:650;padding:0 11px;margin-bottom:10px}.side-heading{display:flex;align-items:center;justify-content:space-between;margin-top:29px;margin-bottom:5px}.nav,.meeting-list{display:grid;gap:4px}.meeting-list{max-height:43vh;overflow:auto}.nav-btn,.meeting-btn{background:none;border:0;border-radius:10px;color:var(--muted);text-align:left;display:flex;align-items:center;gap:10px;padding:12px 11px;font-weight:650;font-size:14px;min-width:0}.nav-btn:hover,.meeting-btn:hover{background:var(--primary-surface)}.nav-btn.selected,.meeting-btn.selected{background:var(--primary-soft);color:var(--primary)}.nav-icon{font-size:18px;width:20px;text-align:center}.meeting-btn span.main-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.tag{font-size:11px;background:var(--muted-soft);color:var(--muted);padding:3px 5px;border-radius:5px;flex-shrink:0}.side-foot{margin-top:auto;border-top:1px solid var(--line);padding:17px 8px 4px;display:flex;gap:9px;align-items:flex-start;font-size:13px}.status-dot{width:8px;height:8px;background:var(--success);border-radius:50%;margin-top:5px}
.topbar{display:flex;justify-content:space-between;align-items:center;height:70px;border-bottom:1px solid var(--line);background:var(--paper);padding:0 clamp(23px,3vw,44px)}.breadcrumb,.top-right{display:flex;align-items:center;gap:13px;font-size:14px}.breadcrumb span{color:var(--muted)}.breadcrumb .slash{color:var(--control-line)}.button,.icon-button{background:var(--paper);color:var(--ink);border:1px solid var(--control-line);border-radius:9px;font-size:14px;font-weight:690;min-height:39px;padding:8px 13px;white-space:nowrap}.button:hover,.icon-button:hover{background:var(--primary-surface);border-color:var(--primary-line)}.button.primary{color:var(--paper);background:var(--primary);border-color:var(--primary);box-shadow:0 2px 4px var(--shadow-button)}.button.primary:hover{background:var(--primary-hover)}.button.small{min-height:32px;padding:5px 9px;font-size:13px}.icon-button{height:29px;min-height:29px;width:29px;padding:0;line-height:1.1}.button.linkish{color:var(--primary);border-color:transparent;padding:5px 6px}.button.muted-btn{color:var(--muted)}
.content{padding:25px clamp(22px,3vw,44px) 43px;max-width:1680px;margin:0 auto}.hero{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(240px,1fr);align-items:center;min-height:190px;padding:29px clamp(23px,4vw,47px);overflow:hidden;border:1px solid var(--primary-line);border-radius:20px;background:radial-gradient(ellipse at 100% 5%,var(--primary-soft) 0%,var(--primary-surface) 55%,var(--accent-surface) 100%);position:relative}.hero-copy{position:relative;z-index:1}.hero h1{font-size:clamp(30px,3vw,43px);letter-spacing:-.045em;line-height:1.2;margin:0 0 10px;font-weight:780}.hero p{font-size:16px;color:var(--muted);margin:0 0 21px;line-height:1.65}.flow{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:var(--primary)}.flow span{background:var(--paper);border:1px solid var(--primary-line);padding:6px 10px;border-radius:6px}.flow i{width:11px;height:1px;background:var(--primary-outline)}.hero-art{position:relative;justify-self:center;width:min(100%,320px);height:128px}.hero-orbit{position:absolute;inset:-28px -60px;border-radius:50%;transform:rotate(-15deg);border:1px solid var(--glow-line);box-shadow:0 0 0 22px var(--glow-near),0 0 0 45px var(--glow-far)}.art-audio{position:absolute;left:2%;top:40px;width:74%;height:74px;padding:12px;border:1px solid var(--primary-line);border-radius:14px;display:flex;gap:12px;align-items:center;background:var(--paper);box-shadow:0 14px 26px var(--shadow-panel);transform:rotate(-8deg)}.art-icon{border-radius:8px;background:var(--primary-soft);color:var(--primary);font-size:18px;padding:5px 9px}.waves{display:flex;align-items:center;gap:4px;flex:1;height:38px}.waves i{flex:1;height:var(--h);width:3px;max-width:5px;background:linear-gradient(var(--primary-outline),var(--primary-hover));border-radius:5px}.art-paper{position:absolute;right:2%;top:1px;width:117px;height:125px;border-radius:13px;background:var(--paper);border:1px solid var(--accent-line);box-shadow:0 14px 24px var(--shadow-panel);transform:rotate(8deg);padding:16px 15px}.paper-line{width:70%;height:5px;margin-top:10px;background:var(--accent-soft);border-radius:8px}.paper-line.wide{width:100%}.paper-line.short{width:50%}.paper-clip{display:block;width:34%;height:6px;background:var(--accent);border-radius:8px}.art-mark{position:absolute;right:10px;top:11px;background:var(--accent-soft);color:var(--accent-ink);border-radius:6px;font-weight:800;font-size:13px;padding:2px 5px}.paper-badge{width:52%;height:13px;border-radius:5px;background:var(--primary-soft);margin-top:12px}
.view{margin-top:25px}.meeting-heading{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:17px}.overline{color:var(--primary);font-size:13px;font-weight:730;margin-bottom:5px}.meeting-heading h2{font-size:28px;letter-spacing:-.03em;margin:0 0 5px}.muted{color:var(--muted);font-size:14px;line-height:1.6}.work-grid{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(420px,1.53fr);gap:20px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 4px var(--shadow-faint);min-width:0}.panel-head{display:flex;align-items:center;gap:12px;padding:18px 19px;border-bottom:1px solid var(--line)}.panel-head>div{flex:1;min-width:0}.panel-head h3{font-size:18px;margin:0 0 4px;line-height:1.25}.panel-head p{color:var(--muted);margin:0;font-size:13px;line-height:1.5}.panel-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;font-size:21px;font-weight:700;flex-shrink:0}.mint{color:var(--primary);background:var(--primary-soft)}.violet{color:var(--accent-ink);background:var(--accent-soft)}
#input-body{padding:15px}.drop{display:grid;min-height:117px;place-items:center;text-align:center;padding:14px;border:1px dashed var(--primary-line);border-radius:11px;background:var(--primary-surface);color:var(--primary);cursor:pointer}.drop:hover,.drop.drag{border-color:var(--primary-outline);background:var(--primary-soft)}.drop strong{display:block;margin:5px 0;font-size:14px}.drop small{display:block;color:var(--muted);font-size:12px;line-height:1.5}.drop[aria-disabled=true]{cursor:default;opacity:.8}.upload-icon{font-size:23px;line-height:1}.file-list{display:grid;gap:7px;margin-top:15px}.file-row{display:flex;align-items:center;gap:9px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:9px}.file-type{display:grid;place-items:center;width:30px;height:31px;border-radius:7px;color:var(--primary);background:var(--primary-soft);flex-shrink:0;font-size:14px}.file-info{min-width:0;flex:1}.file-info strong,.file-info small{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.file-info small{color:var(--muted);font-size:12px;margin-top:2px}.input-foot{margin-top:14px;display:grid;gap:7px}.assist{font-size:12px;color:var(--muted);line-height:1.6}.alert{border-radius:8px;padding:9px 11px;background:var(--accent-soft);color:var(--accent-ink);font-size:13px;line-height:1.5}
.tabs{display:flex;flex-wrap:wrap;gap:1px;padding:0 17px;border-bottom:1px solid var(--line)}.tab{color:var(--muted);background:transparent;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;padding:12px 9px;font-size:13px;font-weight:680;white-space:nowrap}.tab strong{font-weight:650;color:var(--muted);font-size:11px;margin-left:4px}.tab:is([aria-selected=true],[aria-pressed=true]){color:var(--primary);border-color:var(--accent)}.tab:hover{background:var(--primary-surface)}.output-body{padding:15px 17px;display:grid;gap:9px;min-height:224px}.record{padding:13px 13px 11px;border:1px solid var(--line);border-radius:11px;overflow-wrap:anywhere}.record:hover{border-color:var(--primary-line)}.record-head{display:flex;align-items:flex-start;gap:9px}.type,.review-state{flex-shrink:0;display:inline-block;padding:3px 7px;border-radius:6px;font-size:11px;font-weight:720;line-height:1.6}.type.decision{color:var(--primary);background:var(--primary-soft)}.type.fact{color:var(--speaker-slate);background:var(--speaker-slate-soft)}.type.action{color:var(--speaker-plum);background:var(--speaker-plum-soft)}.type.open{color:var(--accent-ink);background:var(--accent-soft)}.review-state{color:var(--accent-ink);background:var(--accent-soft);margin-left:auto}.review-state.approved{color:var(--success);background:var(--success-soft)}.review-state.rejected{color:var(--danger);background:var(--danger-soft)}.record p{font-size:15px;line-height:1.65;margin:8px 0 0}.record-foot{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:9px}.record-foot .edit{margin-left:auto}.evidence{color:var(--primary);border:0;border-radius:6px;background:var(--primary-soft);font-size:12px;font-weight:680;padding:5px 8px}.evidence:hover{background:var(--primary-soft)}.ownerline{font-size:13px;color:var(--muted);margin-top:6px}.empty{padding:35px 10px;text-align:center;font-size:14px;line-height:1.7;color:var(--muted);align-self:center}.toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:2px}.toolbar input,.toolbar select{border:1px solid var(--line);border-radius:7px;padding:8px;font-size:13px;min-width:0;color:var(--ink);background:var(--paper)}.toolbar input{flex:1}.revision-row{padding:10px 11px;background:var(--surface);border:1px solid var(--line);border-radius:9px;font-size:13px;color:var(--muted);line-height:1.6}.revision-row summary{cursor:pointer;color:var(--ink);font-weight:650}.revision-row .change{display:block;overflow-wrap:anywhere;margin-top:5px}
.quality-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.metric{padding:16px 17px;background:var(--paper);border:1px solid var(--line);border-radius:13px;display:flex;flex-direction:column;gap:8px}.metric>span{font-weight:700;font-size:14px;color:var(--muted)}.metric strong{font-size:32px;color:var(--primary);letter-spacing:-.04em}.metric strong span{font-size:15px;letter-spacing:0}.metric small{color:var(--muted);font-size:13px;line-height:1.5}.metric.warning strong{color:var(--accent-ink)}.quality-note{border:1px solid var(--accent-line);background:var(--accent-surface);border-radius:12px;color:var(--accent-ink);padding:14px;margin:14px 0;display:flex;gap:12px;font-size:14px;line-height:1.65}.quality-note b{flex-shrink:0}.quality-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px;align-items:start}.quality-steps{padding:17px;display:grid;gap:14px}.quality-steps article{display:flex;gap:10px}.quality-steps h4{margin:0 0 4px;font-size:15px}.quality-steps p{margin:0;color:var(--muted);font-size:13px;line-height:1.7}.step-dot{width:10px;height:10px;border-radius:50%;border:2px solid var(--primary-outline);margin-top:4px;flex-shrink:0}.review-metrics{padding:14px 14px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.review-metrics>div{display:grid;gap:4px;text-align:center;background:var(--surface);border-radius:8px;padding:9px;font-size:12px;color:var(--muted)}.review-metrics strong{font-size:18px;color:var(--ink)}.quality-revisions{padding:12px 14px;display:grid;gap:7px}
.modal{border:1px solid var(--line);border-radius:15px;padding:0;width:min(650px,calc(100% - 24px));max-height:90vh;color:var(--ink);box-shadow:0 19px 70px var(--shadow-dialog)}.modal::backdrop{background:var(--scrim)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line);padding:17px 19px}.modal-head h3{margin:0;font-size:19px}.modal-head p{margin:4px 0 0;font-size:13px;color:var(--muted)}.modal-body{padding:17px 19px;display:grid;gap:12px}.modal-body blockquote{margin:0;border-left:3px solid var(--primary-line);padding:9px 13px;background:var(--primary-surface);line-height:1.7}.modal-body audio{width:100%}.modal-body label,.modal-body legend{font-size:14px;font-weight:680}.field{display:grid;gap:5px}.field input,.field textarea,.field select{width:100%;border:1px solid var(--control-line);border-radius:8px;padding:8px 10px;background:var(--paper);color:var(--ink);font-size:14px}.field textarea{min-height:83px;resize:vertical}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:2px}.source-list{max-height:155px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:7px 8px;display:grid;gap:6px}.source-list label{font-size:13px;font-weight:500;color:var(--muted);display:flex;gap:7px;align-items:flex-start}.source-list input,.check input{accent-color:var(--primary)}.check{display:flex;align-items:center;gap:7px}.toast{position:fixed;bottom:20px;right:20px;z-index:8;max-width:min(430px,calc(100% - 40px));padding:11px 15px;color:var(--paper);background:var(--primary);border-radius:10px;box-shadow:0 7px 25px var(--shadow-dialog);font-size:14px}.toast.error{background:var(--danger)}
@media(max-width:1040px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding-inline:12px}.work-grid{grid-template-columns:minmax(233px,.76fr) minmax(0,1.24fr);gap:12px}.panel-head{padding-inline:12px}.output-body{padding-inline:12px}.hero-art{width:245px}.quality-grid{gap:12px}}
@media(max-width:780px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;min-height:0;border-right:0;border-bottom:1px solid var(--line);padding:9px 15px;display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center}.brand{margin:0;padding:0;gap:7px}.brand strong{font-size:17px}.brand small,.side-label,.side-foot{display:none}.brand-icon{width:44px;height:31px}.nav{display:flex;justify-content:flex-end}.nav-btn{padding:8px;font-size:12px}.side-heading{display:none}.meeting-list{grid-column:1/-1;display:flex;max-height:none;overflow:auto}.meeting-btn{min-width:max-content;padding:6px 8px;font-size:12px}.topbar{height:48px;padding-inline:14px}.topbar .button{min-height:31px;padding:4px 7px;font-size:12px}.content{padding:13px 13px 24px}.hero{padding:19px;min-height:0;grid-template-columns:minmax(0,1fr)}.hero h1{font-size:30px}.hero p{font-size:14px;margin-bottom:12px}.hero-art{display:none}.work-grid,.quality-grid{grid-template-columns:1fr}.view{margin-top:19px}.meeting-heading h2{font-size:23px}.meeting-heading .button{white-space:normal;min-height:32px;font-size:12px}.quality-metrics{gap:7px}.metric{padding:10px 8px}.metric strong{font-size:24px}.metric strong span,.metric small,.metric>span{font-size:12px}.quality-note{display:block}}
@media(min-width:700px) and (max-width:780px){.work-grid{grid-template-columns:minmax(222px,.75fr) minmax(0,1.25fr)}}
.signin{min-height:100vh;display:grid;place-items:center;padding:25px;background:radial-gradient(ellipse at 88% 8%,var(--accent-soft),transparent 46%),linear-gradient(142deg,var(--primary-soft),var(--surface) 58%,var(--accent-surface))}
.signin-panel{width:min(100%,470px);padding:33px;background:var(--paper);border:1px solid var(--primary-line);border-radius:20px;box-shadow:0 16px 54px var(--shadow-panel)}.signin-brand{padding:0;margin:0 0 27px}.signin h1{font-size:28px;margin:0}.signin form{display:grid;gap:10px;margin-top:18px}.signin-error{font-size:14px;color:var(--danger);margin:0;min-height:0}.token-value{border:1px solid var(--line);background:var(--primary-surface);padding:12px;border-radius:10px;display:grid;gap:10px}.token-value input{font-family:ui-monospace,monospace;font-size:13px}.token-value .modal-actions{justify-content:flex-start}

.compare-panel{margin:0 0 20px}
.compare-results{padding:0 17px 14px}
.compare-scroll{overflow-x:auto}
.compare-results table{width:100%;min-width:680px;border-collapse:collapse;font-size:13px;text-align:left}
.compare-results thead th{color:var(--muted);font-weight:600;font-size:12px;white-space:nowrap}
.compare-results th,.compare-results td{padding:11px 10px;border-bottom:1px solid var(--line)}
.compare-results tbody th{font-weight:600;min-width:190px}
.compare-results td{white-space:nowrap}
.compare-results th small{display:block;color:var(--muted);font-weight:400;margin-top:4px}
.compare-results th a{color:var(--primary);white-space:nowrap}
.compare-number{font-weight:700;color:var(--primary)}
.compare-note{font-size:12px;color:var(--muted);margin:12px 0 0;line-height:1.6}
.compare-segments{display:grid;gap:8px;max-height:65vh;overflow:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

.minutes-overview{margin:0 16px 12px;padding:12px 14px;background:var(--primary-surface);border:1px solid var(--line);border-radius:10px}
.minutes-overview h4{margin:0 0 7px;color:var(--primary);font-size:14px}
.minutes-overview p{margin:8px 0;font-size:14px;line-height:1.65}
.minutes-overview small{margin-top:9px;display:block;color:var(--muted);font-size:12px}

.meeting-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.meeting-actions a{text-decoration:none}
#minutes-result{scroll-margin-top:16px}
@media(max-width:699px){
  .shared-minutes .output-panel{grid-row:1}
  .shared-minutes .meeting-heading{align-items:flex-start;flex-direction:column}
  .shared-minutes .meeting-actions{justify-content:flex-start}
}

.minutes-overview{margin:0 0 18px;padding:clamp(16px,3vw,28px);scroll-margin-top:16px}
.minutes-overview h3{margin:0;color:var(--ink);font-size:22px;line-height:1.2}
.minutes-overview>p,.minutes-overview .report-section{max-width:79ch}
.report-meta{color:var(--muted);font-size:12px;margin:8px 0 12px}
.minutes-overview .report-intro{font-size:15px;line-height:1.8}
.report-section{border-top:1px solid var(--line);margin:15px 0 0;padding:13px 0 0}
.minutes-overview .report-section h4{font-size:15px;margin:0}
.minutes-overview .report-section p,.report-section li{font-size:14px;line-height:1.75}
.report-section ul{padding-inline-start:20px;margin:8px 0 0}
.report-section li+li{margin-top:5px}
.report-evidence{color:var(--muted);font-size:12px;margin-top:4px}
.report-evidence summary{cursor:pointer;color:var(--primary)}
.report-evidence .record-foot{margin-top:7px}

.voice-filter{display:grid;grid-template-columns:minmax(0,2fr) repeat(2,minmax(138px,1fr));padding:16px;gap:12px;align-items:end}
.voice-filter .field{margin:0}
.voice-results{padding:0 16px 16px;display:grid;gap:9px}
.voice-results .record{margin:0}
.voice-section{display:grid;gap:8px;margin-bottom:10px}
.voice-section h3{font-size:15px;margin:6px 0;color:var(--ink)}
.voice-results h4{font-size:14px;margin:6px 0 0}
.voice-quote{margin:8px 0;font-size:13px;white-space:pre-wrap;color:var(--muted);line-height:1.7}
.result-count{font-size:13px;color:var(--muted);margin:8px 0 2px}
.voice-topic summary{cursor:pointer;font-weight:600}
.voice-topic-row{border-top:1px solid var(--line);padding-top:8px;margin-top:8px}
.voice-topic-row p{margin:0 0 5px}
.voice-brief{border:1px solid var(--line);border-radius:10px;padding:10px 12px;background:var(--primary-surface)}
.voice-brief p{margin:6px 0 0;font-size:13px;color:var(--muted)}
@media(max-width:650px){
  .voice-filter{grid-template-columns:1fr 1fr}
  .voice-filter .field:first-child{grid-column:1/-1}
  .voice-results{padding-inline:12px}
  .nav .nav-icon{display:none}
}
@media(max-width:650px){.nav{flex-wrap:wrap}}

.publication-control { padding: 14px 20px; margin-bottom: 16px; }
.publication-control p { margin: 0 0 10px; }
.publication-control .field { display: inline-flex; align-items: center; flex-direction: row; gap: 8px; }
.publication-control select { max-width: 230px; }
.review-note { margin: 0 0 16px; }
.review-body { display: grid; gap: 12px; padding: 16px 20px 20px; }
.review-body summary, .review-speech summary { cursor: pointer; }
.review-groups, .review-rows { display: grid; gap: 8px; }
.review-groups { margin: 12px 0 4px; }
.review-group { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.review-group .linkish { padding-left: 0; }
.review-group small, .review-proposal small { display: block; }
.review-group > div:first-of-type { flex: 1 1 190px; }
.review-filter { display: grid; grid-template-columns: minmax(115px,1fr) minmax(115px,0.8fr) minmax(150px,1.2fr); gap: 10px; }
.review-speech .check { margin: 0; }
.review-speech .record-foot { flex-wrap: wrap; }
.review-proposal { margin: 8px 0; padding: 8px 12px; border-left: 2px solid currentColor; background: var(--accent-soft); }
.review-example { padding-left: 21px; margin: 0; }
.review-theme { min-width: 0; display: grid; gap: 8px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.modal-body audio { width: 100%; }
@media (max-width: 640px) {
  .review-body { padding: 12px; }
  .review-filter { grid-template-columns: 1fr; }
  .review-speech .record-head { flex-wrap: wrap; }
}

.automatic-voice{padding:14px 20px;margin-bottom:14px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}
.automatic-voice p{margin:3px 0}.voice-snippets{display:grid;grid-template-columns:max-content 1fr;align-items:center;gap:8px}
#listening-player{width:100%}#listening-name:not([hidden]){display:grid;gap:8px}
#auto-management h5{font-size:.95rem;margin:12px 0 4px}

.speaker-mark-panel{border-top:1px solid var(--line);display:grid;gap:10px;padding-top:12px}
.speaker-mark-panel h4,.speaker-mark-panel p,#named-speakers li p{margin:0}
#speaker-mark-form{display:grid;gap:10px}
#named-speakers summary,.speaker-mark-panel summary{cursor:pointer}

/* Give the editor one shared height; its panels scroll within the work row. */
.editor-workspace{height:100dvh;min-height:0;grid-template-rows:minmax(0,1fr);overflow:hidden}
.editor-workspace .main{min-width:0;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr)}
.editor-open .hero{display:none}
.editor-open{display:grid;grid-template-rows:minmax(0,1fr);width:100%;max-width:none;min-height:0;
  padding:12px clamp(12px,2vw,28px)}
#whole-editor{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto;gap:7px;
  min-height:0;min-width:0;margin:0}
.editor-heading,.editor-status,.editor-player{display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.editor-heading h2,.editor-heading p{margin:0}
.editor-heading h2{overflow-wrap:anywhere}
.editor-heading .record-foot,.editor-toolbar,.editor-toolbar .record-foot{margin-top:0;align-items:center}
.editor-status{min-height:20px;color:var(--primary);font-size:13px}
.editor-status .error{color:var(--danger)}
.editor-grid{display:grid;grid-template-columns:minmax(118px,.95fr) minmax(0,3.4fr) minmax(156px,1.15fr);gap:10px;min-height:0;align-items:stretch}
.editor-outline,.editor-tools,.editor-document{min-width:0;min-height:0;overflow:auto}
.editor-outline,.editor-tools{display:grid;gap:8px;align-content:start;padding:10px}
.editor-outline button,.editor-tools button{white-space:normal;text-align:left;overflow-wrap:anywhere}
.editor-outline h3,.editor-tools h3,.editor-tools p,.editor-chapter h3{margin:0}
.editor-document{padding:14px;scroll-behavior:auto}
.editor-chapter{display:grid;gap:7px;margin-bottom:17px}
.editor-chapter h3{margin:4px 0;color:var(--primary)}
.editor-row{display:grid;gap:5px;padding:7px;border-left:3px solid transparent;border-bottom:1px solid var(--line)}
.editor-row[data-selected="true"]{background:var(--primary-soft);border-left-color:var(--primary)}
.editor-row-head{gap:5px}
.editor-row-status{color:var(--accent-ink)}
.editor-row-status[data-checked="true"]{color:var(--success)}
.editor-text{width:100%;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--ink);padding:5px;resize:vertical;line-height:1.6}
.editor-text:focus{background:var(--paper);border-color:var(--primary);outline-offset:1px}
.editor-person-select{max-width:min(100%,235px);border:1px solid var(--line);border-radius:5px;background:var(--paper);color:var(--primary);font-size:13px;padding:4px 7px}
.editor-player{padding:6px 12px;min-width:0}
.editor-player audio{width:min(540px,100%);max-width:100%;min-width:0;height:39px;flex:1 1 260px}
.editor-inline,.editor-search,.editor-hits,.editor-people{display:grid;gap:5px;margin-top:4px}
.editor-outline summary{cursor:pointer;color:var(--primary)}
.editor-hit-list{max-height:180px;overflow:auto;display:grid;gap:4px}
.editor-hit-list label{align-items:start}
.shell.nav-closed{grid-template-columns:minmax(0,1fr)}
.sidebar-heading{display:flex;align-items:center;gap:6px;margin-bottom:42px}
.sidebar-heading .brand{min-width:0;flex:1;margin-bottom:0;padding:0 0 0 4px}
.sidebar-heading .brand-icon{width:32px;height:32px}
.sidebar-heading .brand strong{color:var(--primary);font-size:15px;letter-spacing:normal;line-height:1.25}
.signin h1.signin-brand{color:var(--primary);line-height:1.25}
.sidebar-heading button,#toggle-workspace-sidebar{white-space:nowrap}
.editor-toolbar{justify-content:flex-start}
.editor-toolbar .record-foot{gap:3px}
.editor-grid.outline-closed{grid-template-columns:minmax(0,3.4fr) minmax(156px,1.15fr)}
.editor-grid.tools-closed{grid-template-columns:minmax(118px,.95fr) minmax(0,3.4fr)}
.editor-grid.outline-closed.tools-closed{grid-template-columns:minmax(0,1fr)}
.editor-full{display:grid;grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0;gap:6px}
.editor-full-context{overflow-wrap:anywhere;font-size:13px}
.editor-full-sheet{
  --speaker-gutter:clamp(98px,20%,144px);
  position:relative;display:grid;grid-template-columns:var(--speaker-gutter) minmax(0,1fr);
  min-height:0;border:1px solid var(--line);border-radius:8px;background:var(--paper)
}
.editor-full-sheet:focus-within{border-color:var(--primary-line)}
.editor-full-text,.editor-speaker-track{
  box-sizing:border-box;font:inherit;line-height:1.65;letter-spacing:normal;
  tab-size:8;white-space:pre-wrap;overflow-wrap:break-word;padding:12px
}
.editor-full-text{
  grid-column:2;position:relative;z-index:1;
  display:block;width:100%;height:100%;min-height:0;margin:0;border:0;
  color:var(--ink);background:transparent;outline:none;resize:none;overflow:auto;
  scrollbar-gutter:stable
}
.editor-speaker-rail{
  position:absolute;inset:0;overflow:clip;border-radius:inherit;pointer-events:none;
  background:linear-gradient(to right,var(--surface) var(--speaker-gutter),transparent var(--speaker-gutter))
}
.editor-speaker-track{position:relative;margin-inline-start:var(--speaker-gutter);color:transparent}
.editor-speech-anchor{
  --speaker-ink:var(--muted);--speaker-tint:var(--muted-soft);
  position:relative;display:inline-block;width:0;height:0;vertical-align:baseline
}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="0"]{--speaker-ink:var(--primary);--speaker-tint:var(--primary-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="1"]{--speaker-ink:var(--accent-ink);--speaker-tint:var(--accent-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="2"]{--speaker-ink:var(--speaker-slate);--speaker-tint:var(--speaker-slate-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="3"]{--speaker-ink:var(--speaker-clay);--speaker-tint:var(--speaker-clay-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="4"]{--speaker-ink:var(--speaker-plum);--speaker-tint:var(--speaker-plum-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="5"]{--speaker-ink:var(--speaker-pine);--speaker-tint:var(--speaker-pine-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="6"]{--speaker-ink:var(--speaker-ochre);--speaker-tint:var(--speaker-ochre-soft)}
:is(.editor-speech-anchor,.editor-person-option,.summary-tag)[data-tone="7"]{--speaker-ink:var(--speaker-petrol);--speaker-tint:var(--speaker-petrol-soft)}
.editor-speech-labels{
  position:absolute;inset-inline-end:15px;bottom:-19px;width:calc(var(--speaker-gutter) - 10px);
  display:grid;justify-items:start;gap:1px;
  border-inline-start:3px solid var(--speaker-ink);padding-inline-start:5px
}
.editor-speech-anchor::after{
  content:"";position:absolute;inset-inline-start:0;width:16px;bottom:16px;
  border-top:1px solid var(--speaker-ink);opacity:.55
}
.editor-speech-anchor[data-candidate="true"] .editor-speech-labels{border-inline-start-style:dashed}
.editor-speech-anchor[data-selected="true"] .editor-speaker-label{outline:1px solid var(--speaker-ink);outline-offset:-1px}
.editor-speaker-label,.editor-speaker-time{
  pointer-events:auto;max-width:100%;min-height:0;padding:1px 5px;border:0;border-radius:4px;
  line-height:17px;text-align:start;overflow:hidden;text-overflow:ellipsis
}
.editor-speaker-label{
  display:block;color:var(--speaker-ink);background:var(--speaker-tint);font-size:12px
}
.editor-speaker-label:hover,.editor-speaker-label:focus-visible{background:var(--speaker-tint);text-decoration:underline}
.editor-speaker-time{color:var(--muted);background:transparent;font-size:11px;font-variant-numeric:tabular-nums}
.editor-speaker-time:hover{color:var(--primary);text-decoration:underline}
.editor-speaker-picker{max-width:520px}
.editor-person-list{display:grid;gap:6px;max-height:min(48dvh,340px);overflow:auto}
.editor-person-list>button{text-align:start;white-space:normal}
.editor-person-row{border-bottom:1px solid var(--line);padding:6px 0;overflow-wrap:anywhere}
.editor-person-row .record-foot{margin-top:4px}
.editor-person-form{display:grid;gap:10px;justify-items:start}
.editor-person-form .field{width:100%}
.editor-speaker-picker p{margin:0}
@media(max-width:780px) {
  .editor-speaker-picker { max-height:min(74dvh,calc(100dvh - 1rem)); }
  .editor-speaker-picker input { min-width:0; font-size:1rem; }
  .editor-speaker-picker :is(.editor-person-option,.modal-head button) { min-height:42px; }
}
body.editor-screen-expanded{overflow:hidden}
#whole-editor.editor-screen-expanded,#whole-editor:fullscreen{
  position:fixed;inset:0;z-index:10;width:100%;height:100dvh;
  padding:12px clamp(12px,2vw,28px);background:var(--ground);overflow:hidden
}
@media(max-width:780px){
  .editor-workspace:not(.nav-closed){grid-template-rows:auto minmax(0,1fr)}
  .sidebar-heading{margin-bottom:0}
  .sidebar-heading .brand{padding:0;flex:none}
  .editor-grid{grid-template-columns:minmax(0,1fr) minmax(150px,.55fr);grid-template-rows:auto minmax(0,1fr)}
  .editor-outline{grid-column:1/-1;display:flex;flex-wrap:wrap;max-height:110px}
  .editor-outline h3{width:100%}
  .editor-grid.tools-closed{grid-template-columns:minmax(0,1fr)}
  .editor-grid.outline-closed{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(150px,.55fr)}
  .editor-grid.outline-closed.tools-closed{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:540px){
  .editor-grid,.editor-grid.outline-closed{grid-template-columns:minmax(0,1fr)}
  .editor-grid:not(.tools-closed){grid-template-rows:auto minmax(0,1fr) auto}
  .editor-grid.outline-closed:not(.tools-closed){grid-template-rows:minmax(0,1fr) auto}
  .editor-outline{max-height:16dvh}
  .editor-tools{max-height:18dvh}
  .editor-document{padding:9px}
}

.editor-change-dialog{width:min(780px,calc(100% - 24px));overflow:hidden}
.editor-change-body{grid-template-rows:auto minmax(0,1fr) auto auto;max-height:calc(90dvh - 60px);min-height:0}
.editor-change-body p{margin:0}
.editor-change-list{display:grid;align-content:start;gap:8px;min-height:0;overflow:auto}
.editor-change{border:1px solid var(--line);border-radius:8px;padding:9px 11px;overflow-wrap:anywhere}
.editor-change summary{font-weight:650;cursor:pointer}
.editor-change-content{display:grid;gap:8px;justify-items:start;margin-top:8px}
.editor-change-diff{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0}
.editor-change-diff>div{border:1px solid var(--line);border-radius:6px;background:var(--ground);padding:7px 9px}
.editor-change-diff>div:last-child{background:var(--primary-surface)}
.editor-change-diff dd{margin:3px 0 0;white-space:pre-wrap}
.editor-change-player audio{display:block;height:38px}
@media(max-width:540px){.editor-change-diff{grid-template-columns:1fr}}

.editor-group-body{grid-template-rows:auto auto minmax(0,1fr) auto;max-height:calc(90dvh - 60px);min-height:0}
.editor-group-body p{margin:0}
.editor-group-body .record-foot{margin-top:0}
.editor-group-assignment{display:flex;flex-wrap:wrap;gap:8px;align-items:end;width:100%}
.editor-group-assignment .field{min-width:min(100%,135px);flex:1}
.editor-group-members{width:100%}
.editor-group-members>summary{color:var(--primary);font-size:13px}
.editor-group-member{padding:8px 0;border-bottom:1px solid var(--line);display:grid;gap:4px}
.editor-group-views { flex:1 1 17rem; }
.editor-group-review { display:grid; gap:.35rem; padding:.65rem; }
.editor-group-review p { overflow-wrap:anywhere; }
.editor-unplaced-list { overflow:visible; }


.account-login { display: flex; justify-content: center; margin: 1rem 0; }
.task-list .task-row { padding: 1rem; }
.task-list .task-row + .task-row { border-top: 1px solid var(--line); }
.project-card-progress { display:flex; flex-wrap:wrap; gap:.25rem .5rem; margin-block:.35rem; }
.project-card-progress > span { padding:.125rem .4rem; border-radius:4px; background:var(--ground); font-size:.78rem; }
.task-list .task-empty { padding: 1.25rem; }
@media (max-width: 540px) {
  .task-list .task-row { flex-wrap: wrap; }
  .task-list .task-row .file-info { flex-basis: 100%; }
}

/* Project recordings and a focused, single-recording work area. */
.project-recordings { display:grid; gap:1rem; align-items:start; grid-template-columns:minmax(0, 2fr) minmax(15rem, 1fr); }
.project-view .meeting-heading { margin-top:0; gap:.75rem; }
.project-view h1 { margin:.3rem 0; overflow-wrap:anywhere; }
.project-files .panel-head h2,.project-upload .panel-head h2 { font-size:1rem; margin:0; }
.project-files,.project-upload,.recording-main { min-width:0; overflow:hidden; }
.project-upload #project-upload-body { padding:1rem; }
.project-upload .drop { position:relative; }
.project-upload .drop input { position:absolute; inset:0; opacity:0; width:100%; height:100%; cursor:pointer; }
.project-upload .drop:focus-within { outline:2px solid var(--accent-outline); outline-offset:2px; }
.project-upload .file-list { margin:.55rem 0; }
.recording-file { margin:0; padding:.75rem 1rem; border-top:1px solid var(--line); }
.recording-file .file-info strong { white-space:normal; overflow-wrap:anywhere; }
.recording-empty,.recording-summary-body { margin:0; padding:1rem; }
.recording-player {
  display:flex; align-items:center; gap:.35rem; padding:.18rem .45rem;
  min-width:0; border-top:1px solid var(--line);
}
.recording-player audio { display:block; flex:1; min-width:0; height:33px; }
.recording-player p {
  margin:0; font-size:.75rem; white-space:nowrap; max-width:28%; overflow:hidden; text-overflow:ellipsis;
}
#recording-follow-words,#recording-find-word,#recording-word-align { flex:none; min-height:28px; }
#recording-follow-words[aria-pressed="true"] { color:var(--primary); background:var(--primary-soft); }
.recording-speaking { box-shadow:inset -3px 0 var(--accent); }
.recording-word-mark { background:var(--accent-mark); color:inherit; border-radius:2px; }
.editor-playback-mark { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.editor-playback-mark span { position:absolute; background:var(--accent-mark); border-radius:2px; }
.editor-speaking .editor-speaker-time { background:var(--accent-soft); color:var(--accent-ink); }
@media(max-width:540px){
  .recording-player { flex-wrap:wrap; }
  .recording-player audio { min-width:100%; }
}
#recording-bulk-speaker { flex:none; min-height:28px; }
.recording-reassignment-preview { max-height:min(45dvh,300px); overflow:auto; margin:0; padding-inline-start:1.6rem; }
.recording-reassignment-preview li { padding-block:.27rem; overflow-wrap:anywhere; }
.recording-panel-header {
  display:flex; align-items:center; gap:.25rem; padding-inline-end:.38rem;
  border-bottom:1px solid var(--line);
}
.recording-tabs { flex:1; min-inline-size:0; padding:0 .35rem; border-bottom:0; }
.recording-tabs .tab { padding:.42rem .46rem; font-size:.77rem; }
.recording-panel-header #recording-expand { flex:none; min-height:28px; }
.recording-person-filter { position:relative; flex:none; }
.recording-person-filter summary { display:flex; align-items:center; list-style:none; cursor:pointer; }
.recording-person-filter summary::-webkit-details-marker { display:none; }
.recording-filter-options {
  position:absolute; z-index:5; inset-block-start:calc(100% + 4px); inset-inline-end:0;
  width:min(16rem,80vw); max-height:min(45dvh,20rem); overflow:auto; padding:.45rem;
}
.recording-filter-options label { padding:.28rem .35rem; overflow-wrap:anywhere; }
.recording-filter-options .recording-select-all { border-bottom:1px solid var(--line); margin-bottom:.23rem; }
.recording-speaker-trigger { min-height:26px; }
.recording-speaker-picker {
  position:fixed; inset:auto; margin:0; width:min(22rem,calc(100vw - 16px)); padding:.68rem;
  max-height:min(52dvh,24rem); overflow:auto;
}
.recording-speaker-picker .editor-person-list { margin:0; padding:0; }
.recording-segment > p[tabindex] { cursor:text; }
.recording-segment { padding:.4rem .55rem; border-bottom:1px solid var(--line); }
.recording-segment[data-selected="true"] { background:var(--primary-soft); box-shadow:inset 2px 0 var(--primary); }
.recording-segment header,.recording-evidence,.recording-version { display:flex; align-items:center; flex-wrap:wrap; gap:.35rem; }
.recording-segment p,.recording-summary-section p { white-space:pre-wrap; overflow-wrap:anywhere; }
.recording-segment p { margin:.28rem 0 .05rem; }
.recording-edit-form { margin-top:.6rem; }
.recording-summary-section { margin:.85rem 0; }
.recording-summary-section h3,.recording-history > h3 { margin:0 0 .4rem; font-size:1rem; }
.recording-summary-section h4 { margin:.55rem 0 .25rem; font-size:.9rem; }
.recording-summary-section p { margin:.25rem 0 .5rem; }
.recording-summary-document,.recording-history,.summary-history-version { margin-top:1rem; }
.summary-history-version { border-top:1px solid var(--line); padding:.55rem 0; }
.summary-history-version > summary { cursor:pointer; color:var(--primary); font-size:.875rem; font-weight:650; }
@media(max-width:850px) {
  .project-recordings { grid-template-columns:minmax(0,1fr); }
}

.project-recordings:has(#project-upload[hidden]) { grid-template-columns:minmax(0,1fr); }

.recording-main { display:flex; flex-direction:column; min-height:0; }
.recording-player,.recording-panel-header { flex:none; }
#recording-editor,#recording-transcript,#recording-summary { flex:1; min-height:0; }
#recording-transcript,#recording-summary { overflow-y:auto; overscroll-behavior:contain; }
#recording-editor { display:grid; grid-template-rows:minmax(0,1fr); }
#whole-editor.recording-editor-host { grid-template-rows:auto auto minmax(0,1fr); padding:.25rem; gap:3px; }
.recording-editor-host .editor-heading { display:none; }
.recording-editor-host .editor-grid { grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(0,1fr); }
.recording-editor-host .editor-document { padding:.18rem; }
.recording-editor-host .editor-status { min-height:0; padding-inline:.25rem; }
.recording-editor-host .editor-full { grid-template-rows:minmax(0,1fr); gap:0; }
.recording-editor-host .editor-full-sheet { --speaker-gutter:clamp(76px,12%,116px); }
.recording-editor-host :is(.editor-full-text,.editor-speaker-track) { padding:.43rem .48rem; }
.recording-ribbon {
  position:sticky; inset-block-start:0; z-index:2; min-inline-size:0;
  padding:.08rem .25rem; background:var(--paper);
}
.recording-ribbon-groups {
  display:flex; flex-wrap:nowrap; align-items:stretch; gap:.1rem;
  overflow-x:auto; scrollbar-width:thin;
}
.recording-ribbon-group {
  display:grid; grid-template-rows:auto auto; flex:none; gap:0;
  padding:0 .25rem; border-inline-end:1px solid var(--line);
}
.recording-ribbon-group:last-child { border-inline-end:0; }
.recording-ribbon-controls { display:flex; gap:.1rem; flex-wrap:nowrap; }
.recording-ribbon-button.button {
  display:grid; justify-items:center; align-content:center; gap:0;
  min-inline-size:2rem; min-block-size:29px; padding:.1rem .2rem;
  text-align:center; white-space:nowrap; border-color:transparent;
}
.recording-ribbon-icon { color:var(--primary); font-size:.92rem; line-height:1; font-variant-emoji:text; }
.recording-ribbon-label { font-size:.69rem; line-height:1.1; }
.recording-ribbon-group-name { color:var(--muted); font-size:.61rem; text-align:center; line-height:1.1; }
.recording-ribbon-context {
  margin:.13rem 0 0; padding:.12rem .25rem 0; border-top:1px solid var(--line);
  font-size:.72rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.editor-playback-line { display:flex; align-items:center; gap:2px; max-width:100%; min-width:0; }
.editor-speaker-play {
  pointer-events:auto; flex:none; border:0; border-radius:4px; min-height:0; min-width:18px;
  background:transparent; padding:0 2px; font-size:12px; line-height:17px; color:var(--primary);
}
.editor-speaker-play:hover { background:var(--primary-soft); }
.editor-person-option { display:flex; gap:.5rem; align-items:center; }
.editor-assign-options { display:flex; flex-wrap:wrap; align-items:center; }
.editor-person-option[aria-pressed="true"] {
  color:var(--speaker-ink,var(--primary)); background:var(--speaker-tint,var(--primary-soft)); border-color:currentColor;
}
.editor-person-color { width:10px; height:10px; flex:none; border-radius:50%; background:var(--speaker-ink,var(--primary)); }

.recording-workspace { height:100dvh; min-height:0; overflow:hidden; }
.recording-workspace > .main { display:grid; grid-template-rows:auto minmax(0,1fr); min-height:0; min-width:0; }
.recording-workspace .topbar { height:44px; padding-inline:.65rem; }
.recording-workspace .topbar .button { min-height:30px; padding:.17rem .49rem; }
.recording-workspace .topbar :is(.breadcrumb,.top-right) { gap:.42rem; }
.recording-workspace #workspace-content {
  display:grid; grid-template-rows:minmax(0,1fr); max-width:none; width:100%; min-height:0; padding:.42rem;
}
.recording-workspace #recording {
  display:grid; grid-template-rows:auto minmax(0,1fr); min-height:0; margin:0; gap:.3rem;
}
#recording > .meeting-heading { margin:0; gap:.25rem; }
#recording > .meeting-heading > :first-child { display:flex; align-items:center; flex-wrap:wrap; gap:.22rem .5rem; min-inline-size:0; }
#recording .meeting-heading .button { min-height:28px; padding:.16rem .45rem; }
#recording-title { margin:0; font-size:clamp(.96rem,1.75vw,1.22rem); overflow-wrap:anywhere; }
#recording-meta { margin:0; font-size:.75rem; overflow-wrap:anywhere; }
#recording-actions:empty { display:none; }

.recording-workspace.recording-expanded { grid-template-columns:minmax(0,1fr); }
.recording-expanded > .sidebar,
.recording-expanded > .main > .topbar,
.recording-expanded #recording > .meeting-heading { display:none; }
.recording-workspace.recording-expanded > .main,
.recording-workspace.recording-expanded #recording { grid-template-rows:minmax(0,1fr); }
.recording-workspace.recording-expanded #workspace-content { padding:.22rem; }
@media(max-width:780px) {
  .recording-workspace:not(.nav-closed):not(.recording-expanded) { grid-template-rows:auto minmax(0,1fr); }
  .recording-workspace > .sidebar { padding:.3rem .5rem; gap:.3rem; }
}
@media(max-width:540px) {
  .recording-workspace .topbar { padding-inline:.4rem; }
  .recording-tabs .tab { padding-inline:.36rem; }
  .recording-ribbon-button.button { min-block-size:32px; }
}
@media(max-height:620px) {
  .recording-workspace #workspace-content { overflow:auto; }
  .recording-workspace #recording { min-height:23rem; }
}

.catalog-row-actions { display:flex; align-items:center; flex-wrap:wrap; gap:.25rem; }
.catalog-note { white-space:normal; overflow-wrap:anywhere; }
.catalog-danger { color:var(--danger); }
.catalog-message { overflow-wrap:anywhere; }
@media(max-width:650px) {
  .task-row,.project-files .recording-file { flex-wrap:wrap; }
  .task-row .file-info,.project-files .recording-file .file-info { flex-basis:100%; }
}

.editor-unavailable { padding:1rem; }

.project-minutes-layout { display:grid; grid-template-columns:minmax(0,1fr); gap:1rem; }
.project-minute-panel { min-width:0; }
.project-minute-panel .panel-head { justify-content:space-between; }
.project-minute-panel .panel-head h2 { margin:0; font-size:1rem; }
.project-minute-body { padding:.85rem 1.1rem; }
.project-minute-status { margin:.4rem 0; overflow-wrap:anywhere; }
.minutes-readiness { padding:.65rem 1.1rem; }
.minutes-table-scroll { overflow-x:auto; }
.minutes-table-scroll table { width:100%; border-collapse:collapse; font-size:.875rem; }
.minutes-table-scroll th,.minutes-table-scroll td {
  padding:.55rem .9rem; text-align:left; vertical-align:middle; border-top:1px solid var(--line);
}
.minutes-table-scroll thead th { color:var(--muted); background:var(--ground); font-weight:660; white-space:nowrap; }
.minutes-table-scroll tbody th { min-width:9rem; max-width:30rem; overflow-wrap:anywhere; }
.minutes-table-scroll .minutes-time { white-space:nowrap; }
.minutes-table-scroll .meeting-actions { justify-content:flex-start; gap:.25rem; }
.minutes-table-scroll .button,.minutes-state { white-space:nowrap; }
.minutes-table-scroll .minutes-selected { background:var(--primary-soft); }
.minutes-stage-detail { display:block; margin-top:.2rem; }
.minutes-state {
  display:inline-block; color:var(--muted); background:var(--ground);
  border:1px solid transparent; border-radius:6px; padding:.14rem .42rem; font-size:.8125rem; font-weight:650;
}
.minutes-state:is([data-stage="transcribing"],[data-stage="summarizing"]) { color:var(--primary); border-color:var(--line); }
.minutes-state:is([data-stage="transcription_error"],[data-stage="summary_error"]) { color:var(--danger); background:var(--danger-soft); }
.minutes-state[data-stage="complete"] { color:var(--success); background:var(--success-soft); }
.recording-state-action {
  display:inline-flex; flex-wrap:wrap; align-items:center; gap:.3rem; background:none;
  border:0; padding:0; font:inherit; color:var(--primary); cursor:pointer;
}
.recording-state-action:hover small { text-decoration:underline; }
.recording-state-action small { white-space:nowrap; }
:is(.project-recording-summary,.project-summary-row) { cursor:pointer; }
:is(.project-recording-summary,.project-summary-row):is(:hover,:focus-within) { background:var(--paper); }
.summary-drawer-toggle { display:inline-flex; align-items:center; gap:.55rem; text-align:left; padding:.25rem .1rem; border:0; background:transparent; color:inherit; font:inherit; cursor:pointer; }
.summary-drawer-toggle:focus-visible { outline:2px solid var(--accent-outline); outline-offset:2px; }
.summary-drawer-chevron { width:.45rem; height:.45rem; flex:none; border:solid var(--primary); border-width:0 2px 2px 0; transform:rotate(-45deg); }
.summary-drawer-toggle[aria-expanded="true"] .summary-drawer-chevron { transform:rotate(45deg); }
.recording-summary-expanded td { background:var(--paper); }
.summary-history-actions { margin-top:.55rem; }
.project-point-group h4,.project-point-stances h4 { margin:0; font-size:.96rem; }
.summary-tag-list { display:flex; flex-wrap:wrap; gap:.4rem; align-items:center; margin:.65rem 0; }
.summary-point-filters { padding-bottom:.65rem; border-bottom:1px solid var(--line); }
.summary-tag {
  display:inline-flex; align-items:center; gap:.4rem; max-width:100%; padding:.2rem .55rem; border-radius:999px;
  border:1px solid var(--line); color:var(--speaker-ink,var(--muted)); background:var(--speaker-tint,var(--paper));
  font-size:.82rem; line-height:1.35; white-space:normal; overflow-wrap:anywhere; text-align:start;
}
.summary-tag[data-tone]:not([data-tone=""])::before {
  content:""; flex:none; width:.45rem; height:.45rem; border-radius:50%; background:currentColor;
}
button.summary-tag:hover { color:var(--speaker-ink,var(--ink)); background:var(--speaker-tint,var(--paper)); border-color:currentColor; }
button.summary-tag[aria-pressed="true"] { border-color:currentColor; box-shadow:inset 0 0 0 1px currentColor; }
button.summary-tag:focus-visible { outline:2px solid var(--accent-outline); outline-offset:2px; }
.project-point-group,.project-point-stances { margin:.75rem 0; }
.project-point-group ul,.project-point-stances ul { margin:.4rem 0 0; padding-left:1.1rem; }
.project-point-group li,.project-point-stances li { margin-bottom:.55rem; }
.project-point-group p { margin:.1rem 0; overflow-wrap:anywhere; }
.project-point-meta { color:var(--muted); font-size:.82rem; }
#select-minutes-recordings fieldset { border:0; margin:0; padding:0; min-width:0; }
#select-minutes-recordings legend { font-weight:650; margin:0 0 .4rem; }
.minutes-source-list,.transcript-confirmation-changes { max-height:45dvh; overflow:auto; }
.minutes-source-option {
  display:flex; align-items:center; gap:.6rem; border-top:1px solid var(--line); padding:.55rem .3rem;
}
.minutes-source-option strong,.minutes-source-option small { display:block; overflow-wrap:anywhere; }
.transcript-confirmation-changes li p { margin:.3rem 0; overflow-wrap:anywhere; }
@media(max-width:540px){
  .minutes-table-scroll th,.minutes-table-scroll td { padding:.45rem .55rem; }
}

.sidebar > .meeting-list { min-height:0; max-height:none; }
.breadcrumb { min-width:0; }
.breadcrumb-link {
  padding:.25rem 0; background:transparent; border:0; color:var(--muted);
  font:inherit; cursor:pointer; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.breadcrumb-link:hover,.breadcrumb-link:focus-visible { color:var(--primary); text-decoration:underline; }
#tasks-nav,#crumb,.breadcrumb .slash { flex:none; }
#project-breadcrumb { max-inline-size:20rem; min-inline-size:0; }
.top-right { flex:none; }
.project-tabs { margin-bottom:.85rem; padding-inline:0; gap:.7rem; }
.project-tabs .tab[aria-current="page"] { color:var(--primary); border-bottom-color:var(--accent); }
.project-files > .panel-head { justify-content:space-between; }
@media(max-width:540px){
  .topbar .breadcrumb { gap:.35rem; font-size:.82rem; }
  .topbar .top-right { gap:.35rem; }
  #account-name { max-inline-size:22vw; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  #tasks > .meeting-heading { flex-wrap:wrap; align-items:start; }
}

.minutes-mobile-label,.recording-touch-edit { display:none; }

@media (max-width:780px) {
  .shell { grid-template-columns:minmax(0,1fr); }
  .shell > :is(.main,.sidebar) { min-inline-size:0; }
  .sidebar { grid-template-columns:minmax(0,1fr); }
  .sidebar-heading .brand { flex:1; }
  .sidebar > .meeting-list { min-inline-size:0; }
}

@media (max-width:650px) {
  .topbar { height:auto; min-height:3rem; gap:.4rem; padding-inline:.65rem; }
  .topbar .breadcrumb { flex:1; gap:.3rem; }
  .topbar .top-right { gap:.3rem; }
  #project-breadcrumb,#crumb { min-inline-size:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  #project-breadcrumb { max-inline-size:23vw; }
  #crumb { flex:0 1 auto; }
  #tasks-nav { min-block-size:40px; display:flex; align-items:center; }
  .topbar .button,.recording-workspace .topbar .button { min-height:40px; }
  .topbar .action-display-switch button { inline-size:30px; block-size:36px; }
  .content { padding-inline:.65rem; }
  .view > .meeting-heading { flex-wrap:wrap; align-items:flex-start; gap:.55rem; }
  .view > .meeting-heading h1 { font-size:clamp(1.35rem,6vw,1.75rem); margin:.15rem 0; overflow-wrap:anywhere; }
  .view > .meeting-heading .meeting-actions { justify-content:flex-start; }
  .view > .meeting-heading .button,.catalog-row-actions .button,.project-tabs .tab,
  .project-minute-panel .button { min-height:44px; }
  .project-tabs .tab { flex:1 1 0; min-inline-size:0; }
  .project-recordings { gap:.65rem; }
  .project-upload #project-upload-body { padding:.65rem; }

  .task-list .task-row { display:grid; grid-template-columns:minmax(0,1fr); gap:.45rem; padding:.72rem; }
  .task-row .file-info > :is(strong,small) { white-space:normal; overflow-wrap:anywhere; }
  .task-row > .catalog-row-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.3rem; }
  .task-row > .catalog-row-actions .button { min-inline-size:0; white-space:normal; }
  .task-row > .catalog-row-actions .primary { grid-column:1/-1; }
  .project-card-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.25rem; }
  .project-card-progress > span { padding:.28rem .36rem; }
  .project-card-progress .project-progress-count { overflow-wrap:anywhere; }
  .project-progress-count strong { display:block; font-size:.92rem; }
  .project-progress-summary,.project-progress-working { grid-column:1/-1; }

  .minutes-table-scroll { overflow:visible; }
  .minutes-table-scroll :is(table,tbody) { display:block; inline-size:100%; }
  .minutes-table-scroll thead {
    position:absolute; inline-size:1px; block-size:1px; overflow:hidden;
    clip-path:inset(50%); white-space:nowrap;
  }
  .minutes-table-scroll tbody tr {
    display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem .5rem;
    border-top:1px solid var(--line); padding:.55rem .68rem;
  }
  .minutes-table-scroll tbody :is(th,td) {
    min-inline-size:0; max-inline-size:none; padding:0; border:0; overflow-wrap:anywhere;
  }
  .minutes-table-scroll tbody th { grid-column:1/-1; order:-2; }
  .minutes-table-scroll .minutes-recording-status { grid-column:1/-1; order:-1; }
  .minutes-table-scroll .recording-summary-expanded { grid-template-columns:minmax(0,1fr); }
  .minutes-table-scroll .summary-drawer-toggle { min-block-size:44px; width:100%; overflow-wrap:anywhere; }
  .minutes-table-scroll :is(.minutes-time,.minutes-state,.button,.recording-state-action small) { white-space:normal; }
  .minutes-table-scroll .recording-state-action { min-height:44px; }
  .minutes-mobile-label { display:inline; margin-inline-end:.28rem; color:var(--muted); }
  .minutes-readiness,.project-minute-body { padding-inline:.68rem; }

  .recording-workspace .topbar { height:auto; min-height:3rem; }
  .recording-workspace > .main,
  .recording-workspace #workspace-content,
  .recording-workspace #recording { grid-template-columns:minmax(0,1fr); min-inline-size:0; }
  .recording-workspace #workspace-content { padding:.32rem; }
  .recording-workspace #recording { gap:.25rem; }
  #recording > .meeting-heading { margin-bottom:0; }
  #recording .meeting-heading .button { min-height:36px; }
  .recording-panel-header {
    display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:.2rem .35rem;
    padding:0 .35rem .25rem;
  }
  .recording-tabs { grid-column:1/-1; flex-wrap:nowrap; gap:0; padding:0; }
  .recording-tabs .tab { flex:1 1 0; min-inline-size:0; min-block-size:42px; padding-inline:.16rem; }
  .recording-person-filter { min-inline-size:0; justify-self:start; }
  .recording-filter-options { inset-inline:0 auto; }
  .recording-panel-header #recording-expand { grid-column:2; min-height:38px; }
  .recording-panel-header .recording-person-filter summary { min-height:38px; }
  .recording-player { flex-wrap:wrap; gap:.25rem; }
  .recording-player audio { flex:1 1 100%; width:100%; min-width:0; }
  .recording-player > .button { min-height:36px; }
  .recording-player p { max-width:100%; }
  .recording-ribbon-button.button { min-block-size:38px; }
  .recording-segment header :is(.recording-speaker-trigger,.evidence,.recording-touch-edit) { min-height:36px; max-width:100%; }
  .recording-segment .recording-speaker-trigger { white-space:normal; overflow-wrap:anywhere; text-align:start; }
  .recording-touch-edit { display:inline-block; }
  .recording-edit-form textarea { font-size:1rem; }
  .modal { max-height:calc(100dvh - 1rem); }
  .modal :is(input,textarea,select) { font-size:1rem; }
  .modal-head,.modal-body { padding:.75rem; }
}

@media (max-width:420px) {
  #account-name { display:none; }
  #project-breadcrumb { max-inline-size:15vw; }
}
