/* BCZ reading workspace: navy/white/red from the company mark, 4px rhythm.
   Answer is the focal point; 240px navigation and a restrained 840px reading column.
   Native controls and dialogs preserve keyboard and focus behavior. */
:root{--paper:#f7f8fa;--white:#fff;--ink:#222d40;--muted:#677386;--brand:#1d355e;--brand-soft:#edf1f8;--red:#bd1523;--line:#e5e8ee;--soft:#f2f4f7;--amber:#8b601c;--green:var(--brand);--control:#f8f9fb;--focus:#5274ac;--radius:8px}
*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--white);color:var(--ink);font:14px/1.65 'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button,a,input,textarea,select,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;border-radius:var(--radius);background:var(--brand);color:white;min-height:40px;padding:8px 16px;transition:background .15s,color .15s}button:hover{background:#284777}button:disabled{opacity:.48;cursor:not-allowed}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus,textarea:focus,select:focus{outline:2px solid var(--focus);outline-offset:3px}.secondary{background:var(--soft);color:var(--ink)}.secondary:hover{background:#e8ecf2}.text-button{background:none;color:var(--muted);font-size:12px;padding:8px}.text-button:hover{background:var(--soft);color:var(--ink)}input,textarea,select{border:1px solid var(--line);border-radius:var(--radius);background:var(--control);padding:10px 12px;width:100%;color:var(--ink)}textarea{min-height:180px;resize:vertical}input::placeholder,textarea::placeholder{color:#87909e}label{display:block;margin:14px 0 6px;font-size:13px}.check{display:flex;align-items:center;gap:8px}input[type=checkbox]{width:16px;height:16px;margin:0;accent-color:var(--brand);flex-shrink:0}summary{cursor:pointer;color:var(--muted);padding:10px 0;font-size:13px}summary:hover{color:var(--brand)}details[open]>summary{color:var(--brand)}h1,h2,h3{line-height:1.4;text-wrap:balance}h1{font-size:28px;letter-spacing:-.6px;margin:0 0 12px}h2{font-size:20px}h3{font-size:16px;margin:8px 0}p{margin:10px 0}.muted,small{color:var(--muted)}small{font-size:12px}.badge{padding:4px 10px;background:var(--soft);border-radius:6px;font-size:11px;white-space:nowrap}.warn{background:#fff5e4;color:var(--amber)}
.shell{display:grid;grid-template-columns:240px minmax(0,1fr);height:100dvh}#sidebar{display:flex;flex-direction:column;min-height:0;background:var(--paper);border-right:1px solid var(--line);padding:28px 16px 16px;overflow:auto}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--ink);padding:0 12px 28px}.brand img{object-fit:contain;flex-shrink:0}.brand strong{font-size:22px;font-weight:650;letter-spacing:2px}.brand small{display:block;font-size:11px;letter-spacing:1px;margin-top:1px}nav{display:grid;gap:4px}nav button{display:flex;align-items:center;gap:12px;text-align:left;background:none;color:var(--muted);padding:10px 12px;min-height:44px}nav button>span{width:20px;text-align:center;font-size:21px;line-height:20px}nav button svg{width:19px;height:19px;flex-shrink:0}nav button:hover{background:#edf0f4;color:var(--ink)}nav button.active{background:#e8edf5;color:var(--brand);font-weight:600}#sidebar-history{display:flex;flex-direction:column;flex:1;min-height:160px;margin-top:22px}.new-chat{background:var(--white);border:1px solid #d7dfeb;color:var(--brand);text-align:left;font-weight:600}.history-heading{display:flex;justify-content:space-between;align-items:center;margin:28px 12px 8px;color:var(--muted);font-size:11px;letter-spacing:1px}.history-heading>span{font-variant-numeric:tabular-nums}.history-empty{font-size:12px;line-height:1.8;padding:8px 12px;color:#8690a0}#history-filter{background:transparent;border-color:transparent;padding:8px 12px;font-size:12px;margin:0 0 4px}#history-filter:focus{background:var(--white)}#history-items{overflow:auto;min-height:48px;max-height:38vh}.history-item{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:none;color:var(--muted);padding:8px 12px;border-radius:6px}.history-item>span{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:12px}.history-item>small{font-size:10px;white-space:nowrap}.history-item:hover,.history-item.selected{background:#e9edf3;color:var(--brand)}.history-undo{margin-top:8px;font-size:12px}.manage-nav{margin-top:20px;border-top:1px solid var(--line);padding:8px 12px 0}.manage-nav summary{font-size:12px}.manage-nav nav button{padding:8px 0;font-size:12px}.aside-foot{border-top:1px solid var(--line);padding:18px 12px 0;margin-top:12px;color:var(--muted);font-size:11px}.aside-foot small{display:block;font-size:9px;letter-spacing:1.2px;margin-top:8px;color:#8c95a4}.local-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#73856e;margin-right:7px}
main{min-width:0;min-height:0;display:flex;flex-direction:column}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:16px;height:68px;flex-shrink:0;padding:0 36px;border-bottom:1px solid var(--line)}.company-name{font-size:13px;font-weight:600;letter-spacing:.2px}.company-name>span{font-size:12px;font-weight:400;color:var(--muted);margin-left:20px;border-left:1px solid var(--line);padding-left:20px}#content{flex:1;min-height:0;padding:32px 40px;overflow:auto}body:has(.chat-page) #content{padding:0 32px;overflow:hidden}.mobile-only{display:none}
.chat-page{height:100%;max-width:880px;margin:0 auto;display:flex;flex-direction:column;min-height:0}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;flex-shrink:0;font-size:11px}.eyebrow{color:var(--brand);font-weight:600}.heading-divider{color:#c5cbd5;margin:0 12px}.chat-heading .muted{font-size:11px}#chat-messages{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:0 12px 24px 0;scrollbar-width:thin}.chat-welcome{max-width:720px;margin:0 auto;padding:clamp(24px,7vh,84px) 4px 24px}.welcome-kicker{font-size:11px;letter-spacing:1.7px;color:var(--muted);display:flex;align-items:center;gap:9px;margin-bottom:20px}.welcome-kicker>span{width:18px;height:3px;background:var(--red)}.chat-welcome h1{font-size:clamp(28px,3.1vw,42px);line-height:1.45;letter-spacing:-1px;font-weight:600;margin:0 0 16px;color:var(--brand)}.chat-welcome h1>span{color:var(--ink)}.chat-welcome>p{color:var(--muted);font-size:14px}.chat-examples{margin-top:32px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.chat-examples>button{display:flex;position:relative;gap:12px;flex-direction:column;align-items:flex-start;text-align:left;background:var(--white);color:var(--ink);padding:18px 16px;border:1px solid var(--line);border-radius:10px;min-height:128px}.chat-examples>button:hover{border-color:#b6c4d9;background:#f9fbfe}.example-index{color:#9aa6b7;font-size:11px;font-variant-numeric:tabular-nums;letter-spacing:1px}.chat-examples small{display:block;font-size:11px;margin-bottom:6px}.chat-examples strong{font-size:13px;font-weight:500;line-height:1.7;display:block}.example-arrow{position:absolute;right:16px;top:16px;color:#8a99af}.welcome-note{margin-top:24px;font-size:11px;color:#86909e}
.compose-wrap{flex-shrink:0;padding:12px 0 16px}.chat-compose{border:1px solid #d6deea;border-radius:12px;padding:12px 16px;background:var(--white);box-shadow:0 3px 16px #1d355e06}.chat-compose:focus-within{border-color:#98abc8;box-shadow:0 0 0 3px #1d355e05}.chat-compose textarea{min-height:52px;max-height:140px;background:none;border:0;padding:2px 0 10px;resize:none;font-size:15px;line-height:1.7;display:block}.chat-compose textarea:focus{outline:none}.chat-compose-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.scope-control{display:flex;align-items:center;gap:8px;min-width:0}.scope-control>label{margin:0;white-space:nowrap;color:var(--muted);font-size:11px}.scope-control select{font-size:11px;border:0;background:var(--soft);width:auto;max-width:220px;padding:6px 24px 6px 8px}.chat-compose button{min-width:84px;min-height:38px;font-size:13px;border-radius:7px;white-space:nowrap}.chat-consent{padding-top:10px;border-top:1px solid var(--line);margin:10px 0 0;font-size:11px;color:var(--muted);min-height:32px}.chat-consent input{width:15px;height:15px}.compose-caption{display:flex;justify-content:space-between;gap:12px;font-size:10px;color:#7c8798;margin:8px 4px 0}
.chat-turn{padding:16px 0 36px}.chat-turn+.chat-turn{border-top:1px solid var(--line);padding-top:28px}.chat-user{margin-left:auto;max-width:82%;text-align:right;margin-bottom:28px}.chat-user>div{display:inline-block;text-align:left;white-space:pre-wrap;background:var(--brand-soft);border-radius:12px 12px 3px 12px;padding:12px 18px;font-size:15px;overflow-wrap:anywhere}.chat-label{display:block;font-size:10px;color:var(--muted);margin-bottom:6px}.chat-assistant{display:flex;gap:14px}.chat-avatar{width:28px;height:28px;object-fit:contain;flex-shrink:0;margin-top:1px}.chat-answer{min-width:0;flex:1}.answer-byline{display:flex;align-items:center;gap:10px;min-height:28px;margin-bottom:12px}.answer-byline>strong{font-size:12px;font-weight:600;color:var(--brand)}.answer-state{font-size:10px;color:var(--amber);background:#fff7e9;border-radius:4px;padding:2px 6px}.grounded-point{padding:0;margin:0 0 12px}.grounded-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.95;font-size:15px;margin:0}.step-point{display:flex;gap:12px}.point-number{width:24px;height:24px;display:inline-grid;place-items:center;flex-shrink:0;border:1px solid #d7dfeb;border-radius:50%;color:var(--brand);font-size:11px;margin-top:3px}.rules-wrap{margin:4px 0 20px;border:1px solid var(--line);border-radius:10px;overflow:hidden}.answer-rules{border-collapse:collapse;width:100%;table-layout:fixed;font-size:13px;line-height:1.85;text-align:left}.answer-rules th,.answer-rules td{vertical-align:top;padding:14px 12px;overflow-wrap:anywhere}.answer-rules thead th{font-size:11px;color:var(--muted);font-weight:500;background:#f6f8fb}.answer-rules thead th:nth-child(2){width:32%}.answer-rules tbody th{font-weight:600;color:var(--brand)}.answer-rules tr+tr{border-top:1px solid var(--line)}.answer-rules td:last-child{font-weight:600;color:var(--brand);font-variant-numeric:tabular-nums}.answer-evidence{border-top:1px solid var(--line);margin-top:22px}.answer-evidence>summary{display:list-item;padding:13px 0;color:var(--brand);font-size:12px;font-weight:600}.evidence-count{font-size:11px;font-weight:400;color:var(--muted);margin-left:12px}.chat-source{border:1px solid var(--line);border-radius:8px;padding:16px;margin:0 0 12px;background:#fafbfd}.chat-source-title{font-size:12px;color:var(--brand);font-weight:600;display:flex;align-items:baseline;gap:10px;overflow-wrap:anywhere}.source-number{font-size:10px;font-variant-numeric:tabular-nums;color:#8b99ad}.chat-source>small{display:block;margin:6px 0 0;font-size:11px;overflow-wrap:anywhere}.chat-quote{white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0 16px;padding-left:12px;border-left:2px solid #c1ccde;line-height:1.9;font-size:14px}.chat-source button{font-size:11px;min-height:36px;padding:6px 10px}.chat-meta{font-size:11px;color:var(--muted);margin-top:8px}.chat-meta summary{font-size:10px;padding:4px 0;color:#7c8798}.chat-meta p{font-variant-numeric:tabular-nums;font-size:11px}.chat-progress{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:13px}.chat-progress>span{width:7px;height:7px;background:var(--brand);border-radius:50%;animation:breathe 1.2s ease-in-out infinite}@keyframes breathe{50%{opacity:.25}}
.panel{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:24px;margin:24px 0}.searchbox{display:flex;gap:12px}.searchbox input{font-size:16px}.filters{display:flex;gap:16px;margin-top:12px}.filters>div{flex:1;min-width:0}.chips{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.chips button{font-size:12px}.result{padding:24px 0;border-bottom:1px solid var(--line)}.result blockquote{margin:12px 0;padding:16px;border-left:3px solid #b7c5d9;background:#f6f8fc;white-space:pre-wrap;overflow-wrap:anywhere}.row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding:22px 0;overflow-wrap:anywhere}.row>div{min-width:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions button{font-size:12px}.two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.empty{padding:24px;border:1px dashed var(--line);border-radius:8px;color:var(--muted)}.note{background:#fff8ec;color:#7d622e;padding:12px 16px;border-radius:8px;font-size:13px;overflow-wrap:anywhere}.chunk{border-bottom:1px solid var(--line);padding:16px 0}.raw{white-space:pre-wrap;overflow-wrap:anywhere;background:var(--soft);padding:16px;border-radius:8px}mark{background:#fff0ba;color:inherit}progress{width:100%;accent-color:var(--brand)}.hash{overflow-wrap:anywhere}a.secondary{display:inline-block;text-decoration:none;margin:6px 0;padding:8px 12px;border-radius:7px}.split-steps{font-size:13px;color:var(--brand);padding:12px 0}.statusline{min-height:28px;color:var(--muted);font-size:13px}
dialog{width:min(780px,95vw);max-height:100dvh;overflow:auto;border:0;background:var(--white);color:var(--ink);padding:0}dialog::backdrop{background:#18243b55}#detail{height:100dvh;margin:0 0 0 auto;max-width:95vw;border-left:1px solid var(--line);box-shadow:-16px 0 48px #1d355e12}.detail-bar{position:sticky;top:0;z-index:1;background:var(--white);display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}#detail-content{padding:20px 24px 40px}#detail-content h2{font-size:21px}#detail-content .panel{padding:16px}#navigation-dialog{margin:0 auto 0 0;height:100dvh;width:300px;max-width:90vw;max-height:100dvh}#navigation-dialog #sidebar{display:flex;min-height:100%;height:100%;border:0}#notice{display:none;position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--brand);color:white;padding:12px 20px;border-radius:8px;max-width:90vw;z-index:10;box-shadow:0 4px 20px #1d355e22}#notice.show{display:block}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.pdf-reader{padding:20px;overflow:auto;height:auto}.pdf-reader header{display:flex;justify-content:space-between;gap:24px}.pdf-controls{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.pdf-controls input{width:80px}.pdf-controls label{display:flex;gap:8px;align-items:center}.pdf-canvas{overflow:auto;background:var(--soft);padding:16px}.pdf-canvas canvas{display:block;margin:auto;background:white;max-width:none}
@media(max-width:1100px){.shell{grid-template-columns:216px minmax(0,1fr)}.workspace-header{padding:0 24px}.company-name>span{display:none}body:has(.chat-page) #content{padding:0 24px}.chat-examples{gap:8px}.chat-examples>button{padding:16px 12px}.chat-welcome{padding-top:36px}}
@media(max-width:760px){.shell{display:flex;height:100dvh}.shell>#sidebar{display:none}.mobile-only{display:inline-flex;align-items:center;justify-content:center}main{width:100%}.workspace-header{height:60px;padding:0 16px;gap:12px}.workspace-header>.badge{display:none}.company-name{flex:1;font-size:12px;letter-spacing:0}.workspace-header button{width:40px;padding:0;background:none;font-size:19px}#content{padding:24px 18px}body:has(.chat-page) #content{padding:0 16px}.chat-heading{min-height:44px;font-size:10px}.chat-heading .muted{font-size:10px}#chat-messages{padding-right:0;scrollbar-gutter:auto}.chat-welcome{padding:26px 4px 16px}.chat-welcome h1{font-size:30px;line-height:1.5;letter-spacing:-.5px}.welcome-kicker{font-size:10px;margin-bottom:16px}.chat-welcome>p{font-size:12px;line-height:1.9;max-width:270px}.chat-examples{grid-template-columns:1fr;margin-top:24px;gap:8px}.chat-examples>button{min-height:64px;flex-direction:row;gap:12px;align-items:center;padding:12px 14px}.chat-examples strong{font-size:12px}.chat-examples small{font-size:10px;margin-bottom:2px}.example-arrow{top:24px}.welcome-note{font-size:10px;line-height:1.7;margin-top:16px}.compose-wrap{padding:8px 0 max(8px,env(safe-area-inset-bottom))}.chat-compose{padding:10px 12px;border-radius:10px}.chat-compose textarea{font-size:16px;min-height:50px;max-height:112px}.scope-control{gap:4px}.scope-control>label{display:none}.scope-control select{max-width:190px;min-height:36px;font-size:11px}.chat-compose button{min-height:40px;min-width:72px}.chat-consent{font-size:10px;line-height:1.6;padding-top:8px;margin-top:8px;min-height:32px}.chat-consent input{width:16px;height:16px}.compose-caption{font-size:9px;margin-top:6px}.keyboard-hint{display:none}.chat-turn{padding:12px 0 28px}.chat-user{max-width:93%;margin-bottom:22px}.chat-user>div{padding:10px 14px;font-size:14px}.chat-assistant{gap:9px}.chat-avatar{width:22px;height:22px;margin-top:3px}.grounded-text{font-size:14px;line-height:1.95}.answer-byline{margin-bottom:10px}.answer-byline>strong{font-size:11px}.answer-rules,.answer-rules tbody{display:block}.answer-rules thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.answer-rules tr{display:block;padding:14px}.answer-rules tbody th{display:block;padding:0 0 10px;font-size:13px}.answer-rules td{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px;padding:5px 0;font-size:12px}.answer-rules td::before{content:attr(data-label);color:var(--muted);font-size:11px;font-weight:400}.answer-evidence{margin-top:16px}.chat-source{padding:12px}.chat-quote{font-size:13px}.chat-source-title{font-size:11px}.evidence-count{font-size:10px;margin-left:8px}.panel{padding:16px}.two{grid-template-columns:1fr}.filters,.searchbox,.row{flex-direction:column;align-items:stretch}.actions{gap:6px}.actions button{font-size:11px}.note{font-size:12px;padding:10px 12px}#detail{width:100vw;max-width:100vw}#detail-content{padding:16px}.detail-bar{padding:12px 16px}#detail-content h2{font-size:18px}#navigation-dialog #sidebar{padding-top:24px}#navigation-close{align-self:flex-end;font-size:11px;min-height:36px;margin-top:-12px;margin-bottom:12px}#history-items{max-height:none}#sidebar-history{min-height:160px}.brand{padding-bottom:20px}.manage-nav{margin-top:20px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.header-mark{object-fit:contain;flex-shrink:0}
@media(max-width:760px){.answer-rules td{font-size:13px}.workspace-header{gap:10px}.workspace-header .header-mark{width:24px;height:24px}}
/* Keep the first screen complete on common laptop heights, including consent. */
@media(min-width:761px) and (max-height:820px){.chat-welcome{padding:12px 4px 8px}.welcome-kicker{margin-bottom:8px}.chat-welcome h1{font-size:32px;line-height:1.35;margin-bottom:8px}.chat-welcome>p{margin:0}.chat-examples{margin-top:16px}.chat-examples>button{min-height:96px;padding:14px 16px;gap:8px}.welcome-note{display:none}}
.login-gate{min-height:100dvh;display:grid;place-items:center;padding:24px;background:#f5f7fa}.login-gate form{width:min(420px,100%)}[hidden]{display:none!important}.account-form{margin-top:18px}.access-form details{margin:12px 0}
.quality-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.quality-summary{display:flex;align-items:center;flex-wrap:wrap;gap:18px;padding:20px 0;margin-bottom:20px;border-bottom:1px solid #e4e8ef;color:#607087}.quality-summary strong{font-size:30px;color:#1d355e}.quality-summary span{font-size:13px}.quality-document h2{font-size:19px}.quality-issue{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #edf0f5}.quality-issue p{flex:1;margin:0}.quality-review{margin-top:20px}.quality-review textarea,.feedback-update textarea{min-height:72px}.feedback-update{margin-top:20px;padding-top:18px;border-top:1px solid #e4e8ef}.feedback-dialog{width:min(520px,calc(100vw - 32px));border:1px solid #e4e8ef;border-radius:16px;padding:28px;color:#26364b}.feedback-dialog::backdrop{background:#13233c66}.feedback-dialog textarea{min-height:100px}.feedback-error{color:#ad252f}.answer-feedback{margin-top:14px;border-top:1px solid #edf0f5;padding-top:10px}.answer-feedback button{font-size:12px;color:#607087}.failure-card{padding:16px;background:#fbf6ef;border:1px solid #eddec9;border-radius:10px}.failure-card p{margin:6px 0}.failure-card small{line-height:1.7}@media(max-width:760px){.quality-heading{display:block}.quality-issue{flex-wrap:wrap}.quality-issue p{flex-basis:70%}.quality-document .row{align-items:flex-start}.quality-summary{gap:10px}.feedback-dialog{padding:20px}}
/* Acceptance reads as a case file: shared question, two evidence columns, then verdict. */
.trial-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.trial-heading h1{max-width:700px}.trial-metrics{display:flex;gap:0;margin:28px 0;border-block:1px solid var(--line,#e5e7eb);padding:22px 0}.trial-metrics>div{display:flex;flex-direction:column;gap:8px;min-width:160px;padding:0 28px;border-right:1px solid #e5e7eb}.trial-metrics>div:first-child{padding-left:0}.trial-metrics strong{font-size:30px;color:#203c63;font-variant-numeric:tabular-nums}.trial-metrics span{font-size:13px;color:#667085}.trial-form-wrap>summary{font-weight:650;padding:4px 0}.trial-form-wrap form{margin-top:20px}.trial-record>summary{cursor:pointer;list-style:none;padding:6px 0}.trial-record>summary>div{display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center}.trial-record summary small{grid-column:2;color:#667085;font-size:12px}.trial-record summary strong{font-size:17px;line-height:1.6}.trial-compare{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e3e8ef;border-radius:12px;margin:20px 0;overflow:hidden}.trial-compare section{padding:24px;min-width:0;overflow-wrap:anywhere}.trial-compare section:first-child{background:#f7f8fa;border-right:1px solid #e3e8ef}.trial-compare h3{font-size:13px;color:#667085;margin:0 0 20px}.trial-evidence{margin-top:20px;font-size:13px}.trial-evidence .raw{max-height:280px;overflow:auto}.trial-verdict{border-left:3px solid #203c63;background:#f3f6fa;padding:16px 20px;line-height:1.8}.trial-review{border-top:1px solid #e3e8ef;padding-top:20px;margin-top:20px}.trial-link{display:flex;flex-wrap:wrap;gap:12px;align-items:center;background:#f3f6fa;border-radius:10px;padding:14px;margin:16px 0}.trial-record{scroll-margin-top:24px}.trial-list small{overflow-wrap:anywhere}@media(max-width:720px){.trial-heading{display:block}.trial-metrics>div{min-width:0;flex:1;padding:0 12px}.trial-metrics span{font-size:11px}.trial-metrics strong{font-size:24px}.trial-compare{grid-template-columns:1fr}.trial-compare section:first-child{border-right:0;border-bottom:1px solid #e3e8ef}.trial-compare section{padding:18px}.trial-record>summary>div{grid-template-columns:1fr}.trial-record summary small{grid-column:1}.trial-record summary .badge{justify-self:start}}
.trial-form-wrap textarea,.trial-review textarea{min-height:90px}.trial-record .answer-body{max-width:none}

/* Workbench and source receipts: quiet paper surfaces, source-first hierarchy. */
.workbench,.library-page{max-width:1120px;margin:0 auto}.workspace-intro{padding:20px 0 28px}.workspace-intro h1{font-size:32px;margin-top:12px}.workspace-search{background:var(--brand-soft);border:1px solid var(--line);border-radius:12px;padding:24px;margin-bottom:32px}.workspace-search label{margin:0 0 12px;font-weight:600}.workspace-search>div{display:flex;gap:12px}.workspace-search input{background:white}.workspace-search button{white-space:nowrap}.workspace-search small{display:block;margin-top:12px}.workspace-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:32px}.workspace-section{min-width:0;margin-bottom:32px}.section-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:16px}.section-heading h2{margin:0;font-size:18px}.workspace-record{display:flex;justify-content:space-between;gap:20px;width:100%;text-align:left;background:transparent;color:var(--ink);border-bottom:1px solid var(--line);border-radius:0;padding:16px 0}.workspace-record:hover{background:var(--soft);color:var(--brand)}.workspace-record span{overflow-wrap:anywhere}.workspace-record small{white-space:nowrap}.workspace-empty{padding:24px;background:var(--paper);border-radius:8px;color:var(--muted)}.workspace-feedback{border-bottom:1px solid var(--line);padding:12px 0}.workspace-feedback strong{font-weight:500;margin-right:12px}.workspace-feedback p{font-size:13px}.workspace-docs{display:grid;grid-template-columns:1fr 1fr;gap:16px}.workspace-document{display:flex;align-items:center;gap:16px;background:white;color:var(--ink);border:1px solid var(--line);padding:20px;text-align:left}.workspace-document:hover{background:var(--paper);color:var(--brand)}.workspace-document>span:nth-child(2){flex:1;min-width:0}.workspace-document strong{display:block;font-weight:600;overflow-wrap:anywhere}.workspace-document small{display:block;margin-top:4px}.document-symbol{background:var(--brand-soft);color:var(--brand);width:40px;height:48px;display:grid;place-items:center;border-radius:4px;flex-shrink:0;font-size:16px}.library-filters{display:flex;align-items:end;gap:16px;border-block:1px solid var(--line);padding:16px 0 20px;margin:24px 0}.library-filters>div:first-child{flex:1}.library-filters label{margin-top:0}.library-document{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:24px;background:var(--white)}.document-title{display:flex;gap:16px;align-items:flex-start}.document-title>div{flex:1;min-width:0}.document-title h2{font-size:18px;margin:0;overflow-wrap:anywhere}.document-title p{font-size:13px}.document-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:16px;margin-top:12px;border-top:1px solid var(--line)}.document-footer>.muted{font-size:12px}.document-manage summary{padding:8px}.document-manage[open]{flex-basis:100%}.source-receipt{border-left:3px solid var(--brand);background:var(--paper)}.document-clauses>.chunk{border-left:2px solid var(--line);padding-left:20px}#detail .raw{line-height:1.9}#detail .detail-bar{position:sticky;top:0;background:var(--white);z-index:1}.chat-answer .answer-body{line-height:1.85}.chat-answer .answer-point+.answer-point{margin-top:16px}
@media(max-width:760px){.workspace-intro{padding:8px 0 16px}.workspace-intro h1{font-size:26px}.workspace-search{padding:16px}.workspace-search>div{flex-direction:column}.workspace-grid,.workspace-docs{grid-template-columns:1fr;gap:8px}.workspace-record{gap:12px}.workspace-record small{font-size:11px}.library-filters{flex-wrap:wrap;gap:12px}.library-filters>div:first-child{flex-basis:100%}.library-document{padding:16px}.document-title{flex-wrap:wrap}.document-title .badge{margin-left:56px}.document-footer{align-items:flex-start;flex-direction:column}.section-heading{align-items:flex-start}.section-heading h1{font-size:24px}.section-heading>button{flex-shrink:0}button{min-height:44px}.workspace-section{margin-bottom:24px}}
/* Office forms share the existing BCZ tokens and responsive reading rhythm. */
#oa-navigation{border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.oa-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.oa-inline{display:flex;align-items:end;flex-wrap:wrap;gap:20px}.oa-inline label{margin:0}.oa-module select{min-width:180px}.oa-items{max-width:1000px}.oa-module .section-heading{margin-bottom:12px}[data-oa-form] textarea{min-height:100px}[data-oa-form] fieldset{border:1px solid var(--line);border-radius:8px;margin:20px 0}[data-oa-form] label{font-weight:500}#oa-navigation button{font-size:13px}#content>.section-heading h1{margin-top:8px}@media(max-width:760px){.oa-grid{grid-template-columns:1fr;gap:8px}.oa-inline{gap:12px}.oa-module .oa-inline>label:last-of-type{width:100%}.oa-module .oa-inline>button{width:100%}.oa-module{padding:16px}}/* Office composition: compact navigation, readable records, restrained brand. */
.oa-nav-group summary{padding:10px 12px;min-height:44px;color:var(--muted);list-style-position:inside}.oa-nav-group>button{width:100%;padding-left:24px}.oa-personal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.oa-record{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);padding:20px 0}.oa-record>div{min-width:0}.oa-record h3{overflow-wrap:anywhere}.oa-record .eyebrow{font-size:11px;font-weight:500}.oa-record .muted{margin:4px 0;font-size:12px}.oa-record>button{flex-shrink:0}.oa-large{font-size:32px;font-weight:600;color:var(--brand);font-variant-numeric:tabular-nums}.oa-large small{font-size:13px;font-weight:400}.oa-attachments .row{flex-wrap:wrap}.oa-inline>label{min-width:140px;flex:1}.oa-attachments details>summary{padding-block:16px}[data-oa-form] .oa-grid{gap:16px}[data-oa-form] button{margin-top:8px}#oa-navigation .oa-nav-group button.active{border-left:2px solid var(--brand)}@media(max-width:760px){.oa-record{align-items:flex-start;gap:12px}.oa-record>button{padding:8px 12px}.oa-personal-tabs>button{flex:1 1 40%}.oa-inline>label{min-width:0;width:100%;flex-basis:100%}.oa-inline>button{width:100%}.oa-large{font-size:28px}}

.workflow-read-value{white-space:pre-wrap;overflow-wrap:anywhere;max-width:70%;line-height:1.7}.workflow-summary-group{margin:16px 0;padding-top:8px}.workflow-summary-group h4{margin:8px 0}@media(max-width:720px){.workflow-read-value{max-width:100%}}
/* v0.17: clear work queue, compact scopes and one prominent action per record.
   Existing BCZ navy/white/paper/line/amber tokens; system Chinese font, 14px body,
   8px spacing rhythm and border-led depth. Original-source receipts stay distinctive. */
.workspace-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.workspace-shortcuts button{min-height:44px}.workspace-shortcuts strong{margin-left:12px;font-variant-numeric:tabular-nums}.workspace-search{padding:20px}.oa-list-toolbar{display:flex;align-items:end;gap:16px;margin:24px 0 8px;padding:16px 0;border-block:1px solid var(--line)}.oa-list-toolbar label{margin:0;flex:1;max-width:440px}.oa-list-toolbar label+label{max-width:180px}.oa-list-toolbar p{margin:0 0 10px;font-size:12px;white-space:nowrap}.oa-work-list{max-width:1040px}.oa-work-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:20px 8px;border-bottom:1px solid var(--line)}.oa-work-item[hidden]{display:none}.oa-work-item h2{font-size:17px;font-weight:600;margin:6px 0;color:var(--ink);overflow-wrap:anywhere}.oa-work-item p{font-size:12px;margin:0}.oa-work-line{display:flex;align-items:center;gap:8px}.oa-pin{font-size:11px;font-weight:600;color:var(--brand);background:var(--brand-soft);border-radius:4px;padding:2px 8px}.oa-work-action{display:flex;align-items:center;gap:16px}.oa-work-action button{min-height:44px}.oa-capabilities{display:flex;flex-wrap:wrap;gap:8px 20px}.oa-capabilities label{min-height:40px;display:flex;align-items:center;margin:0}[data-role-policy]{padding:16px}[data-role-policy] legend{font-size:12px;color:var(--muted);padding-inline:8px}[data-oa-personal-tab].active{background:var(--brand);color:var(--white)}button:focus-visible,summary:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media(max-width:760px){.workspace-shortcuts{gap:8px}.workspace-shortcuts button{flex:1 1 auto;font-size:12px}.oa-list-toolbar{flex-wrap:wrap;gap:12px}.oa-list-toolbar label{max-width:none;flex-basis:100%}.oa-list-toolbar label+label{max-width:none;flex:1}.oa-list-toolbar p{margin-bottom:8px}.oa-work-item{grid-template-columns:minmax(0,1fr);gap:12px;padding:16px 0}.oa-work-action{justify-content:space-between}.oa-work-action button{min-height:44px}.oa-capabilities{display:block}.oa-capabilities label{min-height:44px}.oa-personal-tabs button{font-size:12px}}

@media(max-width:760px){.chat-compose button{min-height:44px}.oa-list-toolbar input,.oa-list-toolbar select{min-height:44px}}

.oa-directory-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:16px}.directory-person h2{margin:6px 0}.directory-person{min-width:0}.directory-initial{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;color:var(--brand);background:var(--brand-soft);font-weight:700}.directory-person dl div{display:flex;gap:12px;margin:8px 0}.directory-person dt{color:var(--muted);min-width:64px}.directory-person dd{margin:0;overflow-wrap:anywhere}.directory-id{overflow-wrap:anywhere;font-size:12px}

/* v0.19 shell: five daily destinations; system maintenance has its own workspace. */
[hidden]{display:none!important}#primary-navigation button>span,#oa-navigation button>span{width:auto;font-size:inherit;line-height:inherit;flex:1;text-align:left}#primary-navigation button{font-size:14px;gap:12px}#primary-navigation svg{flex:none;width:19px;height:19px}#oa-navigation{padding-top:16px;margin-top:18px;gap:2px}#oa-navigation button{padding:8px 12px;min-height:40px}#oa-navigation button.active{background:var(--brand-soft);color:var(--brand)}.shell-nav-label,.shell-nav-section h2{font-size:11px;letter-spacing:.05em;font-weight:600;color:var(--muted);margin:0 12px 8px}.shell-nav-section{margin-bottom:20px}.shell-nav-section button{width:100%}#workspace-switch{margin-top:auto;padding:24px 0 4px}#workspace-switch button{width:100%;text-align:left;padding-left:12px}.aside-foot{padding-top:12px}.workspace-header{gap:16px}.company-name{flex:1;min-width:0}.company-name #workspace-name{margin-left:16px;padding-left:16px;border-left:1px solid var(--line);font-size:12px;color:var(--muted);font-weight:400}.company-name #page-name{display:block;border:0;margin:2px 0 0;padding:0;font-size:12px;color:var(--muted)}.identity{text-align:right;min-width:140px;line-height:1.4}.identity strong{display:block;font-size:13px;font-weight:600}.identity small{display:block;font-size:11px;margin-top:3px}.header-find{min-height:36px}.shell-intro{margin:0 0 28px}.shell-intro h1{font-size:28px;margin:8px 0}.shell-intro p{color:var(--muted);max-width:720px}.management-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.management-section{padding:24px;border:1px solid var(--line);border-radius:12px;background:var(--white)}.section-number{font-size:11px;color:var(--muted);letter-spacing:.1em}.management-section h2{font-size:20px;margin:8px 0 16px}.management-link{display:flex;justify-content:space-between;align-items:center;width:100%;background:transparent;color:var(--ink);padding:12px 0;text-align:left;border-radius:0;border-bottom:1px solid var(--line)}.management-link:hover{background:var(--soft);color:var(--brand)}.management-link:last-child{border-bottom:0}.management-link>span{color:var(--muted)}.office-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.office-entry{display:flex;gap:16px;align-items:center;text-align:left;background:var(--white);color:var(--ink);border:1px solid var(--line);padding:22px;border-radius:12px;min-width:0}.office-entry:hover{background:var(--brand-soft);color:var(--ink)}.office-entry>span:nth-child(2){flex:1;min-width:0}.office-entry strong{display:block;font-size:16px}.office-entry small{display:block;font-size:12px;margin-top:4px}.office-symbol{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--brand-soft);color:var(--brand);flex:none;font-weight:600}.shell-empty{padding:40px 0;max-width:600px}.shell-empty p{color:var(--muted)}.office-list>.shell-empty{grid-column:1/-1}.permission-summary{border-top:1px solid var(--line);margin-top:32px;padding-top:8px;font-size:12px;color:var(--muted)}.permission-summary p{margin:6px 0}.permission-summary summary{font-size:12px}.business-tools{margin-left:auto}.workbench-main{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,1fr);gap:32px;align-items:start;margin-bottom:28px}.workbench-main .workspace-section{margin:0;border:1px solid var(--line);border-radius:12px;padding:24px;min-height:256px}.knowledge-quick{background:var(--brand-soft);border-radius:12px;padding:24px;min-width:0}.knowledge-quick h2{font-size:20px;margin:8px 0 16px}.knowledge-quick input{background:var(--white)}.knowledge-quick form>button{display:block;margin:12px 0 8px;width:100%}.knowledge-quick small{display:block;font-size:11px}.knowledge-quick .text-button{padding-left:0;margin-top:4px}.workbench .workspace-intro{padding-bottom:24px}.workbench .workspace-intro h1{font-size:28px}.workbench .workspace-section>h2{font-size:18px}.count-label{font-size:12px;font-weight:500;background:var(--soft);border-radius:6px;padding:3px 8px;margin-left:8px}.workbench .compact-empty{background:transparent;padding:24px 0;min-height:70px}.workbench .workspace-shortcuts{margin:16px 0 0}.workbench .workspace-grid:has(>section:only-child){grid-template-columns:1fr}.workspace-feedback p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.workbench .workspace-section{margin-bottom:28px}#mobile-navigation{display:none}
@media(max-width:1050px) and (min-width:761px){.workbench-main{grid-template-columns:1fr;gap:20px}.management-grid{gap:16px}.company-name #workspace-name{display:none}.identity{min-width:120px}#content{padding:28px}}
@media(max-width:760px){.workspace-header{gap:10px;padding:12px 16px;min-height:72px}.company-name{font-size:11px;line-height:1.35}.company-name #workspace-name{display:none}.company-name #page-name{font-size:11px}.identity{min-width:0;max-width:120px}.identity strong{font-size:12px}.identity small{font-size:10px}.header-find{display:none}#content{padding-bottom:100px}.workbench-main{grid-template-columns:1fr;gap:20px}.workbench-main .workspace-section,.knowledge-quick{padding:18px;min-height:0}.workbench .workspace-intro h1,.shell-intro h1{font-size:24px}.management-grid,.office-list{grid-template-columns:1fr;gap:16px}.management-section{padding:20px}.office-entry{padding:18px}.business-tools{margin-left:0}.permission-summary{margin-top:24px}#mobile-navigation{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:1px solid var(--line);padding:6px 8px max(6px,env(safe-area-inset-bottom));z-index:20;gap:4px}#mobile-navigation button{justify-content:center;text-align:center;min-height:46px;font-size:12px;padding:8px 4px}#mobile-navigation button.active{background:var(--brand-soft);color:var(--brand);font-weight:600}.shell[data-workspace=manage] main #content{padding-bottom:28px}#workspace-switch{margin-top:24px}}

.shell-nav-section summary{font-size:12px;font-weight:600;color:var(--muted);padding:10px 12px;min-height:40px}.shell-nav-section{margin-bottom:8px}.shell-nav-section>button{padding-left:24px!important}

@media(max-width:760px){body:has(.chat-page) #content{padding:0 16px calc(74px + env(safe-area-inset-bottom));overflow:hidden}#notice{bottom:80px;z-index:30}}

/* Entry: two tasks, one authenticated identity. Navy brand and a quiet white form. */
.login-layout{display:grid;grid-template-columns:minmax(260px,420px) minmax(300px,430px);width:min(930px,100%);background:var(--paper,#fff);border:1px solid #dce2ea;border-radius:16px;overflow:hidden;box-shadow:0 18px 70px #17305510}
.login-brand{padding:48px 40px;background:#1d365f;color:#fff;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px}.login-brand p{color:#dce6f6;margin:0}.login-brand h1{font-size:32px;line-height:1.5;letter-spacing:.01em;margin:10px 0}.login-layout .panel{border:0;border-radius:0;margin:0;padding:36px;box-shadow:none;min-width:0}.login-layout h2{font-size:24px;margin:10px 0 20px}.login-layout input:not([type=radio]){width:100%;min-height:44px}.login-layout button[type=submit]{width:100%;margin-top:20px;min-height:44px}.login-portals{display:flex;gap:4px;padding:4px;border:1px solid #dce2ea;border-radius:8px;margin:0 0 16px}.login-portals label{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin:0;border-radius:5px;cursor:pointer}.login-portals label:has(input:checked){background:#edf2fa;color:#1d365f;font-weight:650}.login-portals input{width:16px;height:16px;margin:0}.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}.login-layout #login-error{color:#a71f33;min-height:22px}.login-environment:empty{display:none}.management-attention{border:1px solid #dce2ea;background:#fff;padding:24px;border-radius:12px;margin-bottom:28px}.management-attention-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.management-count{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:20px;background:#f5f7fb;color:#20385b;border:1px solid #e3e8ef;text-align:left;min-width:0}.management-count strong{font-size:28px}.management-count:hover{background:#edf2fa}.login-layout :focus-visible{outline:3px solid #5279b5;outline-offset:3px}
@media(max-width:760px){.login-layout{grid-template-columns:1fr}.login-brand{padding:24px;gap:8px}.login-brand h1{font-size:22px;margin:0}.login-brand h1 br{display:none}.login-brand img{width:40px;height:40px}.login-layout .panel{padding:24px}.management-attention-grid{grid-template-columns:1fr}.management-attention{padding:18px}.management-count{flex-direction:row;align-items:center;gap:18px}.login-gate{padding:16px}}

.login-layout{grid-template-columns:1fr 1fr;width:min(860px,100%)}.login-layout form.panel{width:100%}@media(max-width:760px){.login-layout{grid-template-columns:1fr}}

/* Permission governance: calm reading first, editing in focused native forms. */
.governance-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}.governance-tabs button{min-height:44px}.permission-rule{display:grid;gap:6px;padding:16px 0;border-bottom:1px solid var(--line)}.permission-rule span,.permission-rule small{color:var(--muted);overflow-wrap:anywhere}.governance-position{display:flex;align-items:end;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}.governance-position label:first-child{flex:1}.governance-review{width:min(720px,calc(100vw - 32px));max-height:85dvh;padding:0;border:1px solid var(--line);border-radius:12px;color:var(--ink);background:var(--white)}.governance-review::backdrop{background:#14223880}.governance-review .panel{margin:0;padding:24px;border:0}.governance-review h2{font-size:22px}.governance-review .actions{position:sticky;bottom:0;padding:16px 0 0;background:var(--white)}.governance-review input{min-height:44px}.governance-review .note{font-size:13px}.permission-change{padding:16px 0;border-bottom:1px solid var(--line)}.permission-change summary{cursor:pointer;font-weight:600;min-height:44px}.permission-change h3{font-size:16px}.governance-error{color:var(--red)}.field-values{display:grid;grid-template-columns:minmax(100px,160px) minmax(0,1fr);gap:16px;padding:24px 0}.field-values dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.field-values dt{color:var(--muted)}[data-field-editor]{border-top:1px solid var(--line);padding-top:16px;margin-top:16px}[data-field-editor] .oa-inline{padding:8px 0}[data-field-editor] strong{min-width:140px;font-size:14px}
@media(max-width:760px){.governance-position{align-items:stretch;flex-direction:column;gap:8px}.governance-review .panel{padding:20px}.governance-review .actions{flex-wrap:wrap}.governance-tabs button{flex:1 1 44%}.field-values{grid-template-columns:1fr;gap:8px}.field-values dd{padding-bottom:12px}[data-field-editor] strong{width:100%}}

.application-catalog{display:grid;gap:16px;margin-top:20px}.application-card{margin:0}.application-card[hidden]{display:none}.application-impact{display:flex;gap:24px;flex-wrap:wrap;padding:12px 0;color:var(--muted,#53637b)}.application-card h2{margin:4px 0 8px}.application-card form{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.application-card form label{flex:1;min-width:200px}.application-card button{min-height:44px}@media(max-width:600px){.application-card form{display:block}.application-card button{width:100%;margin-top:10px}.application-impact{gap:12px}}

.application-card>summary{cursor:pointer;list-style:none;margin:0;min-height:44px}.application-card>summary::-webkit-details-marker{display:none}.application-card>summary::after{content:"展开";font-size:12px;color:#53637b;margin-left:12px}.application-card[open]>summary::after{content:"收起"}

.daily-filters{display:grid;grid-template-columns:2fr 1fr 1fr;gap:16px;margin:24px 0 8px}.daily-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:20px 0}.daily-pagination button{min-height:44px}.oa-personal-tabs [aria-pressed=true]{background:#203d6d;color:white}.attachment-preview{width:min(900px,92vw);max-height:85vh;overflow:auto;border:1px solid #d8e1ed;border-radius:12px;padding:24px}.attachment-preview img{max-width:100%;height:auto}.attachment-preview .raw{max-height:65vh;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.daily-collection [hidden]{display:none}@media(max-width:600px){.daily-filters{grid-template-columns:1fr 1fr;gap:12px}.daily-filters label:first-child{grid-column:1/-1}.daily-pagination{gap:10px}.daily-pagination button{flex:1}}

/* P3: the reviewed business facts lead; neutral stages are not warnings. */
.workflow-business-summary .row{padding:10px 0;gap:16px;align-items:flex-start}.workflow-business-summary .row>strong{flex:0 0 112px;color:var(--muted);font-weight:500}.workflow-business-summary .workflow-read-value{font-variant-numeric:tabular-nums}.workflow-business-summary .workflow-summary-group{margin:16px 0}.business-stage{padding:12px 16px;border-radius:var(--radius);background:var(--brand-soft);color:var(--brand)}
@media(max-width:600px){.workflow-business-summary .row{display:grid;grid-template-columns:minmax(0,96px) minmax(0,1fr);gap:12px}.workflow-business-summary .row>strong{min-width:0}.workflow-business-summary .workflow-read-value{text-align:left;overflow-wrap:anywhere}}

.exchange-fields{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.exchange-fields span{padding:4px 8px;background:var(--brand-soft);border-radius:4px}.exchange-preview{padding:16px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.exchange-preview:last-of-type{margin-bottom:24px}.exchange-preview p{margin:8px 0;font-variant-numeric:tabular-nums}

/* Task creation: one discoverable primary entry, persistent inline editing. */
.create-entry{min-height:44px;font-size:15px;font-weight:600;flex-shrink:0}
.create-panel:not([open]){display:none}
.create-panel[open]{border-top:3px solid var(--brand,#203c68);padding:24px}
.create-panel>summary{font-size:18px;font-weight:600;color:var(--ink,#182e4d);min-height:44px;line-height:1.5}
.create-panel form>button{margin-right:8px;min-height:44px}
.create-entry:focus-visible,.create-panel>summary:focus-visible{outline:3px solid #6a95c6;outline-offset:3px}
.daily-filters label[hidden],.daily-pagination[hidden]{display:none}
@media(max-width:600px){.section-heading:has(.create-entry){align-items:stretch;flex-direction:column;gap:16px}.create-panel[open]{padding:16px}.create-entry{width:100%}}

.member-preview{padding:24px;border-radius:12px;width:min(680px,calc(100vw - 32px));max-height:85dvh;overflow:auto;color:var(--ink);background:white}
.member-preview h2{font-size:22px;margin-top:0}.member-preview dl{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px 16px;padding:16px 0;border-block:1px solid var(--line)}
.member-preview dd{margin:0;overflow-wrap:anywhere}.member-preview dt{color:var(--muted)}.member-preview .actions{margin-top:24px}.member-preview button{min-height:44px}
.member-setup h3{font-size:18px;margin-top:32px}.create-panel form.panel{padding:0;border:0;margin-bottom:0}.action-choices{margin-top:8px}
@media(max-width:600px){.member-preview{padding:16px}.member-preview dl{grid-template-columns:1fr;gap:4px}.member-preview dd{margin-bottom:12px}.member-preview .actions{flex-wrap:wrap}}
/* Application/work forms: one next action, readable records, quiet BCZ hierarchy. */
.application-types{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0}.application-types button{min-height:44px}.application-types .selected{background:var(--brand,#203c68);color:white}
.application-editor{max-width:820px}.application-editor h2{font-size:22px;margin-bottom:24px}.application-editor form>label{margin-block:16px}.form-actions{display:flex;gap:12px;flex-wrap:wrap;position:relative;background:var(--surface,#fff);padding:16px 0;z-index:2;border-top:1px solid var(--line,#e1e6ed)}.form-actions button{min-height:44px}.form-step{border:0;padding:0;margin:16px 0}.form-step[hidden]{display:none}.form-step legend{font-size:18px;font-weight:600;padding:0;margin-bottom:16px}.form-step-nav{color:var(--muted);font-size:14px;padding:12px 0}.form-step label{margin-bottom:16px}
.approval-summary{display:flex;gap:32px;padding:20px 0;border-bottom:1px solid var(--line,#e1e6ed);margin-bottom:24px}.approval-summary section{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.approval-summary h2{font-size:22px;margin:0}.approval-summary p{display:none}.config-sections{max-width:1000px}.config-sections summary{font-size:18px;font-weight:600;min-height:44px;cursor:pointer}.service-progress{display:flex;gap:8px;list-style:none;padding:0;flex-wrap:wrap}.service-progress li{background:var(--surface-soft,#edf2f8);padding:8px 12px;border-radius:6px;font-size:14px}.service-progress .current{background:var(--brand,#203c68);color:white}.service-progress .done{color:var(--muted)}
@media(max-width:600px){.form-actions{bottom:calc(64px + env(safe-area-inset-bottom));padding:12px 0;gap:8px}.application-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.application-editor{padding:16px!important}.form-step-nav{position:sticky;top:0;background:white;z-index:2}.approval-summary{gap:16px}.application-editor form{padding-bottom:32px}.form-actions button{flex:1;white-space:normal}.config-sections .row{align-items:start;gap:12px;overflow-wrap:anywhere}body.keyboard-open #mobile-navigation{display:none}body.keyboard-open .form-actions{bottom:0}}

@media(max-width:600px){.form-actions{position:relative;bottom:auto!important}.config-sections>.panel{padding:20px;margin-bottom:16px}}

/* UI13: shared by the independent original reader and embedded PDF controls. */
.pdf-controls{gap:12px;margin-block:12px}.pdf-controls label{display:flex;align-items:center;gap:8px;white-space:nowrap;flex:none;margin:0}.pdf-controls label select{width:100px;min-width:100px;margin:0}.pdf-controls input{margin:0}.pdf-reader header{align-items:flex-start;flex-wrap:wrap}.pdf-reader header strong{overflow-wrap:anywhere;min-width:0}
@media(max-width:760px){.pdf-reader{padding:16px}.pdf-controls{gap:8px}.pdf-controls button{min-height:44px}.pdf-controls input,.pdf-controls select{min-height:44px}}
