:root{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#183e36;background:#edf3f1;line-height:1.5;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:#126c57}button,input,textarea,select{font:inherit}button{cursor:pointer;border:1px solid #bfd4ca;border-radius:8px;color:#185647;background:#fff;min-height:44px;padding:9px 13px}button:disabled{opacity:.55;cursor:default}button.primary{background:#126c57;color:white;border-color:#126c57}button.link{border:0;background:transparent;color:#126c57;text-decoration:underline;text-underline-offset:3px;padding:8px}.actions{display:flex;gap:8px;flex-wrap:wrap}.app-header{display:flex;align-items:center;gap:28px;background:#fff;border-bottom:1px solid #dae6e0;padding:16px 28px}.brand{text-decoration:none;font-size:24px;font-weight:750;letter-spacing:-.6px}.app-header nav{display:flex;gap:20px;flex-wrap:wrap}.app-header nav a{text-decoration:none}.app-header nav a[aria-current]{font-weight:700}.app-header>span{margin-left:auto;color:#597268;font-size:13px}main{max-width:1560px;margin:auto;padding:24px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}h1,h2,h3,p{margin:0}h1{font-size:28px;line-height:1.25}h2{font-size:16px}h3{font-size:15px}.eyebrow{font-size:12px;color:#5d786e;margin-bottom:4px}#status:empty,#review-status:empty{display:none}#status,#review-status{background:#e4f2ea;padding:12px;border-radius:8px;margin:12px 0;overflow-wrap:anywhere}#status.error,#review-status.error{background:#fff0eb;color:#9d3225}.workspace{display:grid;grid-template-columns:minmax(220px, .75fr) minmax(300px,1.65fr) minmax(260px,1fr);gap:16px;align-items:start}.panel{min-width:0;background:#fff;border:1px solid #dbe7e0;border-radius:14px;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #dce8e2;padding:14px 16px}.conversation-list{max-height:66vh;overflow:auto}.conversation{width:100%;text-align:left;display:grid;grid-template-columns:1fr auto;gap:3px 10px;border:0;border-radius:0;border-bottom:1px solid #edf2ef;padding:14px 16px;color:#183e36}.conversation[aria-current=true]{background:#e3f3eb;box-shadow:inset 3px 0 #126c57}.conversation .quiet{grid-column:1}.badge{border-radius:20px;background:#126c57;color:white;min-width:24px;text-align:center;font-size:12px;padding:2px 6px}.quiet,time{font-size:12px;color:#657e74}#back{display:none}.messages{padding:16px;max-height:68vh;overflow:auto;display:flex;flex-direction:column;gap:16px}.message{max-width:94%;align-self:flex-start;min-width:0}.message.outgoing{align-self:flex-end}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid #dce7e1;border-radius:11px;padding:10px 12px;font-size:14px;margin-top:4px}.outgoing .message-text{background:#e4f3e9;border-color:#d4e9dc}.message-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:3px}.message-actions button{font-size:12px;min-height:36px}.hidden-source{font-style:italic;color:#677a72;background:#f4f6f4}.empty{padding:24px 16px;color:#64796f;font-size:14px}.tabs{display:flex;gap:4px;border-bottom:1px solid #e1eae4;padding:8px}.tabs button{flex:1;border:0;background:transparent;font-size:13px}.tabs button[aria-pressed=true]{background:#e3f3eb;color:#126c57;font-weight:650}.request-card{padding:16px;border-bottom:1px solid #e3ebe6;display:grid;gap:8px}.request-card ul{padding-left:20px;font-size:13px;margin:0}.request-state{font-size:12px;color:#536e61}.request-card button{justify-self:start}.intake-panel{margin-top:20px}.intake-row{padding:12px 16px;border-bottom:1px solid #e8eee9;display:flex;justify-content:space-between;align-items:center;gap:16px}.intake-row p{font-size:13px}.workspace.focus{grid-template-columns:1fr}.workspace.focus>.conversations,.workspace.focus>.requests{display:none}.workspace.focus .messages{max-height:74vh}.workspace.focus .thread{max-width:1000px;width:100%;margin:auto}.analysis{border-top:1px solid #e0e9e3;padding:16px}.analysis p{white-space:pre-wrap;overflow-wrap:anywhere}.analysis .quiet{margin-bottom:6px}dialog{width:min(720px,calc(100% - 24px));max-height:90vh;border:1px solid #a7c4b3;border-radius:14px;padding:22px;color:#183e36;overflow:auto}dialog::backdrop{background:#153b2a80}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}label{display:block;font-size:14px;font-weight:600;margin:14px 0 6px}input,textarea,select{border:1px solid #a8c4b5;border-radius:8px;padding:10px;width:100%;color:#183e36;background:#fff}textarea{resize:vertical;min-height:100px}textarea.source-review{min-height:160px;white-space:pre-wrap;font-size:14px}.check{display:flex;align-items:flex-start;gap:10px;font-weight:400}.check input{width:18px;height:18px;flex-shrink:0;margin-top:2px}.home-checks{display:grid;grid-template-columns:1fr 1fr;gap:0 15px;max-height:220px;overflow:auto;padding:4px}.privacy-preview{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid #d7e5dc;padding:12px;border-radius:8px;background:#f1f8f3;font-size:14px}.redactions{padding-left:20px;font-size:13px}fieldset{border:1px solid #d7e5dc;border-radius:8px;margin:16px 0;padding:12px}legend{font-size:14px;font-weight:600}:focus-visible{outline:3px solid #159d7d;outline-offset:3px}[hidden]{display:none!important}@media(max-width:1100px){.workspace{grid-template-columns:240px minmax(0,1fr)}.requests{grid-column:2}.thread{grid-column:2;grid-row:1}.conversations{grid-row:1 / span 2}.messages{max-height:55vh}}@media(max-width:700px){main{padding:14px}.app-header{padding:12px 16px;gap:16px;flex-wrap:wrap}.app-header>span{display:none}.app-header nav{gap:14px;font-size:13px}.page-heading{align-items:flex-start}h1{font-size:24px}.workspace{display:block}.workspace>.thread,.workspace>.requests{display:none}.workspace.selected>.conversations{display:none}.workspace.selected>.thread,.workspace.selected>.requests{display:block}.requests{margin-top:14px}.workspace.focus>.requests{display:none}.workspace.selected #back{display:inline-block}.messages{max-height:60vh}.intake-row{align-items:flex-start}.home-checks{grid-template-columns:1fr}.actions button{font-size:12px}.page-heading .actions{justify-content:flex-end}.conversation-list{max-height:70vh}dialog{padding:18px}}

.request-line-editor{padding:10px 0 14px;border-bottom:1px solid #dce8df}.request-line-editor:last-child{border-bottom:0}.request-card .actions{gap:2px 8px}.request-card .actions button{font-size:12px;min-height:36px}

.editor-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.editor-footer{position:sticky;bottom:-22px;padding:10px 0;background:#fff;border-top:1px solid #dce8df;z-index:1}.editor-footer .quiet{margin-bottom:6px}.dialog-heading{position:sticky;top:-22px;padding:10px 0;background:white;z-index:2}summary{cursor:pointer;font-size:14px;color:#126c57;padding:8px 0}@media(max-width:480px){.editor-columns{gap:10px}.editor-footer{bottom:-18px}.dialog-heading{top:-18px}}

.dialog-heading{display:grid;grid-template-columns:minmax(0,1fr) auto}#review-status{grid-column:1 / -1;margin:6px 0 0}

#staff-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#staff-list .request-card{overflow-wrap:anywhere}#staff-list .request-card:nth-child(odd){border-right:1px solid #e3ebe6}#staff-list>.empty{grid-column:1 / -1}#staff-status:not(:empty){padding:10px 16px;color:#657e74;font-size:13px}#staff-status.error{color:#9d3225}@media(max-width:700px){#staff-list{grid-template-columns:minmax(0,1fr)}#staff-list .request-card:nth-child(odd){border-right:0}}
#review-content form>.quiet{margin:8px 0}#review-content form>button.primary{margin-top:10px}

.intake-summary{margin:14px 0;padding-left:22px;font-size:14px}.intake-row{flex-wrap:wrap}.intake-row>div{flex:1 1 240px}#review-content .request-card{padding:14px 0;overflow-wrap:anywhere}#review-content>[name=intake-source]{min-height:140px}

.suggested-reply{margin:14px 0 4px;padding:12px;background:#f1f8f3;border:1px solid #bfd8c9;border-radius:12px}.suggestion-text{display:block;width:100%;text-align:left;white-space:pre-wrap;overflow-wrap:anywhere;background:#e4f3e9;border-color:#a8cbb8;margin:6px 0;font-size:14px}.suggestion-text:not(:disabled):hover{background:#d9eee2;border-color:#126c57}.suggestion-text:disabled{opacity:1;color:#536e61}.suggested-reply .message-actions button{min-height:44px}
.message.source-target{outline:3px solid #159d7d;outline-offset:4px;border-radius:8px}

#approval-undo{padding:12px 16px;margin:12px 0;justify-content:space-between}#approval-undo span{min-width:0;overflow-wrap:anywhere;flex:1}#approval-undo button{flex:0 0 auto}

.evidence-preview{display:block;max-width:100%;height:auto;margin-top:12px;border-radius:8px}

.request-filters{padding:0 16px 12px;border-bottom:1px solid #e3ebe6}.request-filters>summary{font-weight:600}.request-filters select{margin-top:6px}.request-filters .check{align-items:center}.request-summary:not(:empty){padding:8px 16px}.requests>#more-requests{width:calc(100% - 24px);margin:12px}.request-filters input[type=checkbox]{width:18px;height:18px;flex:none}.request-filters label{min-width:0}
#request-list{max-height:74vh;overflow:auto;scroll-padding:10px}@media(max-width:700px){#request-list{max-height:none}}

.thread-latest{position:relative;display:flex;justify-content:center;min-height:0}.thread-latest>#jump-latest{position:absolute;bottom:10px;z-index:2;box-shadow:0 3px 12px #12372b26;white-space:nowrap;background:#fff}.messages{scroll-padding:16px}

.home-context-heading{margin-bottom:18px}.home-context-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:20px 0}.home-context-grid>section{min-width:0}.home-context-record{padding:12px 0;border-top:1px solid #dce8df;overflow-wrap:anywhere}.home-context-record>a{font-weight:600}.home-context-counts,.home-context-schedule{padding:14px;border:1px solid #dce8df;border-radius:10px;margin:14px 0}.home-context-grid h3,.home-context-schedule h3{margin-bottom:10px}.home-context-chip{min-height:36px;text-align:left;font-size:12px}.thread>.panel-heading{flex-wrap:wrap}#home-context{margin-left:auto;white-space:nowrap}@media(max-width:600px){.home-context-grid{grid-template-columns:minmax(0,1fr)}}

#thread-heading{min-width:0;overflow-wrap:anywhere;flex:1 1 180px}.home-context-heading,.home-context-schedule{min-width:0;overflow-wrap:anywhere}

.reply-composer{padding:16px;border-top:1px solid #dce8e2;min-width:0;background:#f8fbf9}.composer-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.reply-composer form{display:flex;flex-wrap:wrap;gap:8px}.reply-composer form>label,.reply-composer form>textarea,.reply-composer form>p,.reply-composer form>section{flex-basis:100%;min-width:0}.reply-composer form>label{margin:8px 0 0}.reply-composer form>button{font-size:13px}.reply-composer textarea{min-height:96px}.composer-source{margin-bottom:8px}.composer-source summary{font-size:12px;overflow-wrap:anywhere}.composer-source .privacy-preview{margin-bottom:10px}#composer-status:not(:empty){padding:10px;background:#e4f2ea;border-radius:8px;margin:8px 0;font-size:13px;overflow-wrap:anywhere}#composer-status.error{background:#fff0eb;color:#9d3225}.reply-composer .request-card{padding:12px;border:1px solid #dce8df;border-radius:8px}.reply-composer .check{align-items:flex-start}.reply-composer .check input{flex:none}

.composer-tools{order:2;flex-basis:100%;min-width:0}.composer-tools>button{margin-right:8px}.composer-tools>.quiet{margin-top:8px}
