/* Workspace shell: one composer, with evidence available on demand. */
:root{--ink:#102642;--muted:#71808b;--line:#e6eaea;--teal:#087f75;--pale:#edf7f5}body{background:#fff}.topbar{height:70px;min-height:70px;padding:0 28px;flex-wrap:nowrap;gap:12px}.brand strong{font-size:15px}.brand small{font-size:10px}.top-actions{flex-wrap:nowrap}.safety{min-height:28px;padding:7px 12px;font-size:9px;letter-spacing:.04em;background:#f7faf9;color:#61716e;border-bottom:1px solid var(--line)}.layout{height:calc(100dvh - 98px);min-height:0;grid-template-columns:248px minmax(0,1fr)}.sidebar{background:#f8faf9;padding:22px 15px 15px;min-height:0;overflow:hidden;gap:16px}.primary{background:#102642;box-shadow:none;font-size:12px;padding:13px 15px;border-radius:10px}.primary:hover{background:#183d56}.shortcut{float:right;opacity:.45;font-size:10px;margin-top:2px}.history-search input{width:100%;border:1px solid #e0e8e6;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font:12px system-ui;outline:none}.history-search input:focus{border-color:var(--teal)}.history-filters{display:flex;gap:5px}.history-filters button{font-size:11px;padding:7px 9px}.history-filters button[aria-pressed=true]{color:var(--teal);background:#e7f1ee;font-weight:700}.conversation-list{flex:1;min-height:0;overflow:auto;gap:5px}.conversation-item{font-size:12px;line-height:1.5;padding:11px 10px;color:#3d505c}.conversation-item small{font-size:10px;margin-top:5px}.conversation-item.selected{background:#e7f1ee;color:#173f3c}.history-group{margin:15px 10px 4px;font-size:10px;font-weight:600;color:#8a979b}.sidebar-bottom{padding:14px 4px 0;flex-shrink:0;font-size:10px;gap:7px}.sidebar-help{margin-left:auto;color:#6b7c83;text-decoration:none}.mainpanel{display:flex;min-width:0;min-height:0;position:relative}.review-column{flex:1;min-width:0;display:flex;flex-direction:column;height:100%;padding:0 38px}.welcome{flex:1;width:100%;max-width:790px;min-height:0;overflow:auto;margin:0 auto;padding:clamp(25px,7vh,78px) 0 18px;text-align:left}.welcome .hero-mark{width:48px;height:48px;margin:0 0 25px}.welcome .eyebrow{font-size:9px;font-weight:700;letter-spacing:.14em;color:#81968e}.welcome h1{font:500 clamp(30px,3.4vw,48px)/1.15 Manrope,system-ui,sans-serif;letter-spacing:-1.7px;color:#102642;margin:14px 0}.welcome .intro{font-size:14px;max-width:none;margin:17px 0 35px}.review-starters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.starter{padding:17px 15px;border:1px solid #e3e9e7;border-radius:12px;background:#fff;text-align:left;color:var(--ink);cursor:pointer;min-width:0}.starter:hover{border-color:#8cbfb4;background:#f8fcfa}.starter strong{display:block;font:600 12px/1.4 system-ui}.starter strong span{float:right;color:#087f75;margin-left:4px}.starter small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:9px}.chat-view{height:auto;flex:1;min-height:0;max-width:850px;width:100%;padding:0;margin:0 auto}.chat-heading{flex-shrink:0;padding:23px 0 19px;gap:15px;border-bottom:1px solid #edf0ef;flex-wrap:nowrap;min-width:0}.chat-heading>div:first-child{min-width:0}.chat-heading h2{font:600 16px/1.5 Manrope,system-ui;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.chat-heading .eyebrow{font-size:8px;margin-bottom:4px;color:#91a09e}.thread-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}.thread-tools .quiet{font-size:11px}.thread-tools #contextCount{background:#edf5f2;border-radius:5px;padding:2px 5px;margin-left:3px;color:#087f75}.messages{padding:26px 0;gap:26px;min-height:0;scroll-behavior:smooth}.message{font:14px/1.8 'DM Sans',system-ui,sans-serif;max-width:100%;padding:0;border:0!important;border-radius:0;white-space:normal}.message.assistant{background:transparent;width:100%}.message.user{max-width:85%;background:#f0f5f3;padding:13px 18px;border-radius:17px 17px 4px 17px;white-space:pre-wrap}.message .role{font-size:9px;letter-spacing:.08em;margin:0 0 10px;color:#8a999b}.message.user .role{display:none}.message h3{font-size:16px;line-height:1.5;margin:20px 0 8px}.message p{margin:0 0 12px;white-space:pre-wrap}.message ul,.message ol{padding-left:22px;margin:8px 0 16px}.message li{margin:7px 0}.message pre{white-space:pre-wrap;overflow-wrap:anywhere}.message-actions{display:flex;gap:7px;margin-top:9px}.message-actions button{font-size:10px;padding:6px 9px;color:#6d8381;border:0;border-radius:6px;background:#f6f9f7;cursor:pointer}.message-pending{color:#67827b}.composer-zone{width:100%;max-width:850px;margin:0 auto;padding:15px 0 18px;flex-shrink:0;position:relative}.composer-wrap{border:1px solid #dce6e2;border-radius:18px;padding:14px 16px 10px;box-shadow:0 5px 26px #18362d08}.composer-wrap:focus-within{border-color:#a2c6bd;box-shadow:0 5px 25px #18362d0d}.composer textarea{font-size:14px;line-height:1.7;min-height:60px;max-height:140px;resize:none;padding:3px 2px 10px}.composer textarea::placeholder{color:#8c9c9f}.send{width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#087f75;font-size:19px}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.composer-actions #captureControls{min-width:0}.composer-actions .cw-toolbar{gap:3px}.composer-actions .cw-button{font-size:10px;padding:6px 8px;background:transparent;border-color:transparent;border-radius:6px;color:#54706b}.composer-actions .cw-button:hover{background:#eff6f3}.composer-actions>.quiet{font-size:10px;white-space:nowrap;padding:7px}.composer-foot{font-size:9px;padding:11px 2px 0;gap:12px}.composer-foot span:last-child{color:#a0abab}.composer-zone .cw-record-state{margin:7px 0 0;font-size:10px}.composer-zone .cw-record-state:not(.recording){display:none}.composer-zone .cw-status:empty{display:none}.composer-zone .cw-status{margin:7px 0 0;font-size:11px}#workStatus{font-size:11px;color:#56766c;margin:8px 0 0}.review-context{flex:0 0 350px;width:350px;min-width:0;border-left:1px solid var(--line);background:#fafcfb;padding:22px 18px;overflow:auto;overscroll-behavior:contain}.context-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.context-heading h2{font-size:16px;margin:0;font-weight:600}.context-heading .eyebrow{font-size:8px;margin:0 0 5px;color:#8a9f96}.context-explainer{font-size:10px;line-height:1.7;color:#899891;margin:16px 0}.context-page{font-size:11px;padding:9px 0;color:#087f75}.review-context .clinical-workbench{border:0;padding:0;font-size:12px;margin:10px 0 0}.review-context .clinical-workbench>details>summary{display:none}.review-context .cw-body{max-height:none;overflow:visible;padding:0}.review-context .cw-button{font-size:10px;padding:7px 9px;background:#fff}.review-context .cw-file{border-color:#e3eae6;padding:12px;border-radius:10px}.review-context .cw-note{font-size:10px}.review-context textarea{font-size:12px}.review-context .cw-status{font-size:11px}#contextText{font-size:10px;max-height:300px;line-height:1.7}#contextPanel{font-size:11px;margin:8px 0 15px}.account-menu,.thread-menu{position:relative}.account-menu>summary,.thread-menu>summary{list-style:none;cursor:pointer;padding:9px 11px;border-radius:7px;color:#60756f;font-size:11px}.account-menu>summary::-webkit-details-marker,.thread-menu>summary::-webkit-details-marker{display:none}.account-menu[open]>summary,.thread-menu[open]>summary{background:#eff5f2}.account-popover,.thread-menu>div{position:absolute;right:0;top:calc(100% + 6px);background:#fff;z-index:35;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 36px #13332c12;padding:9px;min-width:190px;display:flex;flex-direction:column;gap:4px}.account-popover .quiet,.thread-menu .quiet{text-align:left;width:100%;font-size:11px}.account-popover .version{display:block;overflow-wrap:anywhere;font-size:10px;max-width:230px;padding:10px;border-radius:7px}.danger{color:#ab4141}.empty-state{font-size:12px;line-height:1.7;text-align:center;color:#8a9c98;max-width:300px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.drop-hint{position:absolute;inset:0;border:2px dashed #087f75;border-radius:18px;background:#effaf8f5;display:grid;place-items:center;z-index:10;font-size:14px;color:#087f75;pointer-events:none}.dragging .composer-wrap{border-color:#087f75}.signin-panel{min-height:calc(100dvh - 98px)}
@media(min-width:1500px){.review-column{padding-inline:65px}.review-context{width:390px;flex-basis:390px}}@media(max-width:1150px){.review-column{padding-inline:24px}.review-context{position:absolute;right:0;top:0;bottom:0;z-index:22;width:min(390px,100%);box-shadow:-18px 0 55px #193c2f15}.welcome h1{font-size:37px}.review-starters{gap:7px}.starter{padding:14px 11px}.starter strong{font-size:11px}}
@media(max-width:760px){.topbar{height:62px;min-height:62px;padding:0 16px}.brand small{display:none}.brand{gap:7px}.brand strong{font-size:12px}.mark{width:30px;height:30px}.top-actions{width:auto;gap:2px}.top-actions .quiet{font-size:10px;padding:8px}.account-menu>summary{font-size:10px;padding:8px}.safety{min-height:28px;font-size:8px;line-height:1.6}.layout{height:calc(100dvh - 90px);grid-template-columns:1fr}.sidebar.mobile-open{top:90px;width:min(300px,90vw);padding:20px 15px;z-index:25}.review-column{padding-inline:17px}.welcome{padding-top:30px}.welcome .hero-mark{width:40px;height:40px;margin-bottom:20px}.welcome h1{font-size:32px;letter-spacing:-1px}.welcome .intro{font-size:12px;margin:16px 0 24px}.review-starters{grid-template-columns:1fr;gap:7px}.starter{padding:12px 14px;display:flex;justify-content:space-between;align-items:center;gap:10px}.starter strong{font-size:11px}.starter strong span{display:none}.starter small{margin:0;font-size:10px}.chat-heading{padding:18px 0 15px;flex-wrap:nowrap}.chat-heading h2{font-size:14px}.chat-heading .eyebrow{font-size:7px}.messages{gap:23px;padding:22px 0}.message{font-size:14px}.message.user{max-width:93%}.composer-zone{padding:10px 0 13px}.composer-wrap{padding:12px 11px 8px;border-radius:15px}.composer textarea{font-size:16px;min-height:55px}.composer-actions .cw-toolbar{gap:0}.composer-actions .cw-button{font-size:9px;padding:6px}.composer-actions>.quiet{font-size:9px;padding:6px 3px}.composer-foot{font-size:8px;line-height:1.6}.review-context{width:min(390px,100%);padding:19px 16px}.signin-panel{min-height:calc(100dvh - 90px)}.shortcut{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.selection-note{font-size:10px;line-height:1.6;color:#087f75;margin:8px 0 0;padding:6px 8px;border-radius:6px;background:#eff7f4}
