
:root{color-scheme:dark;--type-display-fluid:clamp(1.5rem,1.15rem + 1.4vw,1.75rem);--type-title-fluid:clamp(1.125rem,1rem + 0.7vw,1.35rem);--elev-1:0 1px 2px rgba(0,0,0,0.35);--elev-2:0 8px 24px rgba(0,0,0,0.28)}:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}#gate .btn:focus-visible,#gate summary:focus-visible,#gate input:focus-visible,#shell .btn:focus-visible,#shell .row-item:focus-visible,#shell .day-chip:focus-visible,#shell summary:focus-visible,#shell input:focus-visible,#shell select:focus-visible,#shell textarea:focus-visible,#vdpDrawer .btn:focus-visible,#vdpDrawer input:focus-visible,#vdpDrawer select:focus-visible,#vdpDrawer textarea:focus-visible,#vdpDrawer summary:focus-visible,.room .btn:focus-visible,.room input:focus-visible,.room textarea:focus-visible{outline:2px solid var(--focus-ring);outline-offset:2px}.btn,.btn.primary,.btn.approve,.btn.edit,.btn.redirect,.btn.ghost,.btn.send{height:auto;min-height:var(--hit);transition:background-color 120ms ease,border-color 120ms ease,filter 120ms ease}.btn.primary:hover,.btn.approve:hover,.btn.send:hover,#gate #gateReport.btn.primary:hover{filter:brightness(1.06)}.btn.edit:hover,.btn.ghost:hover{border-color:#5A6578;color:#E8ECF4}.btn.redirect:hover{border-color:#C47A2A;color:#E8ECF4}.btn:active,.btn.primary:active,.btn.approve:active{filter:brightness(0.96)}button:disabled,.btn:disabled{cursor:not-allowed;opacity:0.55;filter:none}button[aria-busy="true"]{cursor:progress}button:disabled:hover,.btn:disabled:hover{filter:none}.chip.sev.low{color:#38bdf8;background:rgba(56,189,248,0.16)}#gate .gate-promise{font-size:var(--type-title-fluid)!important;line-height:1.35;text-wrap:balance;overflow-wrap:anywhere}#shell.workspace{height:100dvh;max-height:100dvh;grid-template-rows:auto minmax(0,1fr)}#topbar,#shell .topbar{height:auto;min-height:52px;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:8px 16px;background:#12161F;border-bottom:1px solid #3A4254;overflow:visible}#topbar .wordmark{font-size:1.05rem;letter-spacing:0.02em}#topbar .subtitle,#topbar .top-tenant,#topbar .session-note{min-width:0;color:#A8B0C0}#topbar .top-tenant{flex:1 1 8rem;overflow:hidden;text-overflow:ellipsis}#topbar .top-actions{flex:1 1 auto;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-left:auto;min-width:0}#topbar .btn.ghost{min-height:36px;padding:8px 12px;background:transparent;border-color:transparent;color:#A8B0C0}#demoBanner.demo-banner{flex-wrap:wrap;min-width:0}#shell .shell-grid{min-width:0}#nav .queue{margin:0 0 20px}#nav .queue h3,#needsHeader,#myQueueHeader,#waitingEngHeader,#waitingLegalHeader,#waitingCommsHeader,#waitingResearcherHeader,#atRiskHeader,#casesHeader{margin:0 0 8px;padding:4px 0 4px 10px;border-left:2px solid #3A4254;color:#A8B0C0;font-weight:500}#nav #needsHeader{color:#E8ECF4;font-weight:600;border-left-color:#2F6BFF}#nav .queue-list,#needsList,#myQueueList,#waitingEngList,#waitingLegalList,#waitingCommsList,#waitingResearcherList,#atRiskList,#casesList{gap:8px}#deskFilter{display:flex;gap:8px;margin:0 0 12px}#deskFilter button{min-height:44px;padding:8px 12px;border-radius:8px;border:1px solid #3A4254;background:transparent;color:#A8B0C0;font:inherit;cursor:pointer}#deskFilter button[aria-pressed="true"]{color:#E8ECF4;border-color:#818cf8;background:#1A2030}.chip.due{margin-left:6px;text-transform:none;letter-spacing:0;color:#E8ECF4;border-color:#3A4254}.chip.due.overdue{color:var(--sev-high);border-color:transparent;background:hsl(15 90% 60% / 0.16)}#shell .row-item.selected{border-color:#2F6BFF}#shell .row-title{overflow-wrap:anywhere}#shell .row-meta{overflow-wrap:anywhere;margin-top:4px}#stage,#shell .stage{min-width:0;display:flex;flex-direction:column;gap:16px;padding:20px 24px 28px}#shell #stage>*{flex-shrink:0}#shell #thread{order:7}#shell .day-picker{max-width:100%;gap:8px}#shell .day-chip{max-width:100%}#shell .day-chip.selected{color:#E8ECF4;border-color:#2F6BFF;font-weight:600}#shell .judgment-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px;margin:0;min-width:0}#shell .judgment-beat,#shell .judgment-strip .judgment-beat{min-width:0;padding:16px;overflow-wrap:anywhere;text-wrap:pretty}#shell .turn,#shell .ctx-panel,#shell .panel{box-shadow:var(--elev-1)}#context .aside-title{display:block;overflow:visible;white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:unset;font-size:15px;line-height:22px;font-weight:600;color:#E8ECF4}#context .ctx-panel + .ctx-panel{margin-top:12px}#shell .empty,#shell .desk-empty{line-height:22px;overflow-wrap:anywhere}#shell .desk-empty{padding:16px}#proposal .peer-actions,#peerActions,.proposal-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;position:static;margin-top:16px}#peerActions>.btn,#proposal .peer-actions>.btn,.proposal-actions>.btn{flex:1 1 7.5rem;min-width:min(100%,7.5rem);min-height:var(--hit);text-align:center}#peerActions>p,.proposal-audit{flex:1 1 100%;min-width:0;margin:0;color:#A8B0C0;font-size:12px;line-height:16px;overflow-wrap:anywhere}#composer,.composer{position:static;top:auto;bottom:auto;z-index:1;display:flex;flex-wrap:wrap;align-items:center;gap:12px;width:100%;max-width:100%;margin:0;padding:4px 0 0;background:transparent;backdrop-filter:none;box-shadow:none}#composer input,#composer #composerInput{flex:1 1 12rem;width:auto;min-width:0;max-width:100%}#composer .btn.send{flex:0 0 auto;width:auto;min-width:5.5rem;min-height:var(--hit)}#caseDetailsHost,#caseDetails,.more-panel,.more-group{position:relative;z-index:1;clear:both;width:100%;max-width:100%;min-width:0}#caseDetailsHost{margin-top:4px}#caseDetails>summary,.more-panel>summary,.more-group>summary{display:flex;align-items:center;min-height:var(--hit);cursor:pointer}#caseDetails .control,.more-panel .control,.more-group .control,.verb-expand{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0;max-width:100%}#caseDetails label,.more-panel label,.verb-expand label{display:block;width:100%;overflow-wrap:anywhere}#caseDetails input,#caseDetails select,#caseDetails textarea,.more-panel input,.more-panel select,.more-panel textarea,.verb-expand input,.verb-expand select,.verb-expand textarea{width:100%;max-width:100%;min-width:0}@media (min-width:1100px){#shell .shell-grid{display:grid;grid-template-columns:minmax(220px,var(--nav)) minmax(0,1fr) minmax(260px,var(--ctx));column-gap:16px;padding:16px;overflow:hidden}#shell #nav,#shell #stage,#shell #context{min-width:0;min-height:0;max-height:none;overflow:auto}#topbar .top-actions{flex:0 1 auto}#topbar .btn.ghost{min-height:36px}}@media (max-width:899px){#shell .shell-grid{display:flex;flex-direction:column;height:100%;min-height:0;max-height:100%;overflow:hidden}#shell #stage{order:1;flex:1 1 0;min-height:0}#shell #nav{order:2;flex:0 0 auto;max-height:min(42vh,22rem);overflow:auto;border-right:0;border-top:1px solid #3A4254}#topbar .top-actions,#topbar .btn.ghost,#nav .row-item,#shell .day-chip,#composer .btn.send,#peerActions>.btn{min-height:var(--hit)}#topbar .btn.ghost{padding:10px 14px}}@media (max-width:390px){#gate,#shell,#app{max-width:100%;overflow-x:hidden}#gate #gateReport,#gate #tryDemoBtn,#gate #doorPeer,#gate #doorStaff,#gate #doorReceipt,#gate .door-row,#shell .judgment-strip,#shell .judgment-beat{max-width:100%;min-width:0}#shell #stage{padding:16px 12px 24px}}@media (prefers-reduced-motion:reduce){.btn,.btn.primary,.btn.approve,.btn.edit,.btn.redirect,.btn.ghost,.btn.send,#proposal,.desk-assist .proposal-card{transition:none;animation:none}.btn:active,.btn.approve:active{filter:none}}
