:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#20343b;background:#f5f6f2;font-synthesis:none;--ink:#173942;--muted:#596a70;--line:#d6dfdc;--accent:#006a66}*{box-sizing:border-box}body{margin:0}header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 5vw;background:#fff;border-bottom:1px solid var(--line)}.brand{font-weight:800;font-size:26px;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.brand span{display:block;font-size:11px;font-weight:500;letter-spacing:1px;text-transform:uppercase;margin-top:3px}#identity{font-size:13px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}main{max-width:1240px;margin:auto;padding:36px 32px 80px}.welcome{max-width:720px;padding:8vh 0}.welcome h1{font-size:clamp(34px,5vw,56px);line-height:1.13;letter-spacing:-1.8px}.welcome p{font-size:18px;line-height:1.7}.welcome .eyebrow{font-size:12px}h1{font-size:32px;margin:4px 0 12px;letter-spacing:-.8px}h2{font-size:22px;margin:8px 0 14px}h3{font-size:18px}p,li{line-height:1.65}p{white-space:pre-wrap}.eyebrow{font-size:11px;font-weight:750;text-transform:uppercase;letter-spacing:1.5px;color:var(--accent)}.muted,small{color:var(--muted)}.heading{display:flex;justify-content:space-between;align-items:start;gap:24px}.guide{background:#e8f1ed;border:1px solid #c9dfd7;border-radius:12px;padding:18px 24px;margin:24px 0}.guide p{font-size:13px}.guide ol{padding-left:22px}.guide summary{font-weight:700;cursor:pointer}button,select,input,textarea{font:inherit}button{border:1px solid #a8bdb9;background:#fff;color:var(--ink);padding:10px 15px;border-radius:7px;font-weight:650;cursor:pointer}button:hover{background:#e6efeb}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover{background:#005551}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible,a:focus-visible{outline:3px solid #c87828;outline-offset:3px}nav{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:14px}nav button{border-color:transparent;background:transparent}nav .active{background:var(--ink);color:white}.toolbar{display:flex;gap:20px;margin:22px 0}.toolbar label{display:flex;align-items:center;gap:8px}.toolbar input{width:330px}input,select,textarea{border:1px solid #abbdb8;border-radius:6px;padding:10px;background:white;color:var(--ink)}textarea{width:100%;min-height:110px;line-height:1.6;resize:vertical}label{font-size:13px;font-weight:650}label.stack{display:block;margin:16px 0}.stack input,.stack select{display:block;width:100%;margin-top:7px}.stack textarea{margin-top:7px}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.card,.panel{border:1px solid var(--line);border-radius:12px;background:#fff;padding:24px;margin-bottom:16px}.cards .card{margin-bottom:0}.card h2{font-size:20px}.card .statement{white-space:pre-wrap;font-size:15px}.meta{display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:11px;color:var(--muted)}.tag{border-radius:4px;padding:3px 7px;background:#e9efed;color:#34534e}.tag.warn,.warning{background:#fff1db;color:#714514}.warning{padding:10px 14px;border-radius:6px;font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}.stats{display:flex;gap:35px;margin:25px 0}.stats strong{display:block;font-size:32px}.stats span{font-size:13px;color:var(--muted)}.contribution{border-left:3px solid #93b6af;background:#f6f8f6;padding:14px 18px;margin:14px 0}.contribution p{margin:8px 0}.evidence{border-left:3px solid #c9d6d0;padding:10px 18px;margin:12px 0;background:#f7f8f5}.links button{font-size:12px;padding:5px 9px}.empty{padding:32px;color:var(--muted);background:white;border-radius:10px}dialog{border:0;border-radius:14px;width:min(900px,94vw);max-height:90vh;padding:28px;box-shadow:0 18px 80px #163a4333}dialog::backdrop{background:#162d3bb3}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;position:sticky;top:-28px;background:white;z-index:1;padding:14px 0}.dialog-head button{flex-shrink:0}details{margin:18px 0}summary{cursor:pointer;font-weight:650}.original{color:var(--muted);font-size:14px}.feedback-label{margin:20px 0 8px}#notice{position:fixed;bottom:25px;right:25px;max-width:500px;background:var(--ink);color:white;padding:17px 22px;border-radius:8px;z-index:10;box-shadow:0 8px 30px #0003}footer{padding:24px;text-align:center;color:var(--muted);font-size:12px;border-top:1px solid var(--line)}.record{padding:18px 0;border-bottom:1px solid var(--line)}.record p{margin:5px 0}.transcript-entry{scroll-margin-top:25px}.transcript-entry:target{outline:3px solid #c87828}.checkbox{display:flex;gap:9px;font-weight:400;align-items:start;margin:9px 0}.checkbox input{margin-top:5px}.danger{color:#8a3030}.team-row{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}[hidden]{display:none!important}@media(max-width:700px){main{padding:24px 16px 70px}header{padding:18px}.heading{display:block}h1{font-size:27px}.toolbar{flex-direction:column;gap:10px}.toolbar label{width:100%}.toolbar input{width:100%}.cards{grid-template-columns:1fr}.stats{gap:20px;flex-wrap:wrap}.card,.panel{padding:18px}dialog{padding:18px}.dialog-head{top:-18px}.welcome{padding-top:5vh}#identity{max-width:55%;justify-content:flex-end;overflow-wrap:anywhere}.team-row{flex-wrap:wrap}#notice{left:16px;right:16px;bottom:16px}}
.translation{border-left:3px solid #41786d;background:#f2f7f5;padding:12px 16px;margin:12px 0;color:#23483f}.translation p{margin:8px 0}.translation small{color:#645325}

.passage-player{position:sticky;top:0;z-index:4;box-shadow:0 4px 18px #183c3620}.audio-controls{display:flex;align-items:center;gap:12px}.audio-controls input{min-width:80px;flex:1}.passage-tools{margin-top:10px}.passage-tools summary{cursor:pointer;color:#1a5c50}.passage-tools .translation{margin-top:10px}audio{display:none}@media(max-width:600px){.audio-controls{flex-wrap:wrap}.audio-controls output{width:100%}}

.unclear-source{text-decoration:underline dotted #ad976c;text-underline-offset:4px}

/* Meeting conversation: one reading column, sources disclosed on demand. */
.conversation{max-width:850px;margin:1.5rem auto}.conversation-heading{border-bottom:1px solid var(--line,#ddd);padding-bottom:1rem}.conversation-log{display:flex;flex-direction:column;gap:1rem;margin:1.5rem 0}.conversation-question{align-self:flex-end;max-width:85%;background:#e9edf4;color:#182332;border-radius:14px 14px 2px 14px;padding:1rem;white-space:pre-wrap}.conversation-answer{border-left:3px solid #45636d;padding:.3rem 1rem}.conversation-answer-text{white-space:pre-wrap;line-height:1.7}.conversation-composer label{display:flex;flex-direction:column;gap:.5rem}.conversation-composer textarea{width:100%;box-sizing:border-box;min-height:90px;resize:vertical}.conversation-composer .actions{margin-top:.7rem}.conversation-source{padding:1rem 0;border-bottom:1px solid #ddd}.conversation-source p{white-space:pre-wrap;line-height:1.6}.conversation-sources{margin-top:1rem}.conversation [hidden]{display:none!important}

/* Voice controls remain usable on touch and keyboard; the draft is never replaced by status. */
.conversation button,.audio-controls button{min-height:44px}.conversation-context{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 0}.conversation-context span{padding:7px 10px;border-radius:6px;background:#e8f1ed}.conversation-prompts button{font-size:13px;font-weight:500}.conversation-composer{position:sticky;bottom:0;background:#f5f6f2;padding:14px 0;border-top:1px solid var(--line);z-index:2}.conversation-composer .actions{align-items:center}.conversation-source details{margin:10px 0}.conversation-answer,.conversation-question{overflow-wrap:anywhere}@media(max-width:600px){.conversation-composer textarea{min-height:70px}.conversation-composer button{padding:10px}.conversation-question{max-width:95%}.conversation-prompts{gap:6px}.passage-player{padding:10px}.passage-player p{margin:6px 0}.audio-controls{gap:6px}}

/* Desktop keeps the reviewed source beside its conversation; mobile has a clear return action. */
#review-layout.conversation-open{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,1fr);gap:24px;align-items:start}#review-layout.conversation-open #content{position:sticky;top:16px;max-height:75vh;overflow:auto;padding-right:8px}#review-layout.conversation-open #content .cards{grid-template-columns:1fr}#review-layout.conversation-open .conversation{margin:0;min-width:0}.conversation-heading button{margin-right:8px;margin-bottom:6px}@media(max-width:900px){#review-layout.conversation-open{display:block}#review-layout.conversation-open #content{display:none}}

/* The source player has custom controls; personal recordings use native controls. */
audio.conversation-recording-player{display:block;width:100%;margin:12px 0}

.account-entry{max-width:360px;margin:24px 0}.account-entry form{display:grid;gap:12px}.account-entry input{width:100%;box-sizing:border-box}.account-entry #account-list{display:grid;gap:10px}.account-entry #account-google{min-height:44px}
