/* Surface 1.22 — shared presentation, independent of company data and permissions. */
.workspace-shell[data-surface-layout=reference]{--surface-canvas:#f7f8fa;--surface-card:#ffffffb3;--surface-card-strong:#fff;--line:transparent;--border:transparent;background:var(--surface-canvas)}
.workspace-shell .enterprise-topbar{box-shadow:none;background:transparent;border:0;backdrop-filter:none;border-radius:0;padding-inline:30px}
.workspace-shell .enterprise-topbar button{font-size:12px}
.workspace-shell .surface-overview{max-width:1060px;margin:12px auto}
.surface-overview .overview-heading{justify-content:center;text-align:center;position:relative;margin:30px 0}
.surface-overview .overview-heading h1{font-size:34px;font-weight:400;letter-spacing:-.045em}
.surface-overview .overview-heading p{font-size:12px;margin-top:12px}
.surface-overview .overview-date{display:none}
.surface-overview[data-period=week] .overview-date{display:block}
.surface-overview .desk-segments{justify-content:center;gap:6px;margin:20px 0}
.surface-overview .desk-segments button{border:0;border-radius:20px;padding:10px 17px;font-size:12px;background:transparent}
.surface-overview .desk-segments button[aria-pressed=true]{background:var(--surface-card-strong);box-shadow:0 4px 22px -15px #273f7150}
.surface-overview .library-entry{display:block;margin:12px auto;font-size:12px}
.surface-overview .overview-controls{margin:25px 0 16px}
.surface-overview .overview-table{border-collapse:separate;border-spacing:0 8px;font-size:13px}
.surface-overview .overview-table th{font-size:11px;font-weight:400;padding:8px 18px;color:var(--muted);border:0}
.surface-overview .overview-table td{border:0;background:var(--surface-card);padding:19px 18px}
.surface-overview .overview-table td:first-child{border-radius:16px 0 0 16px}
.surface-overview .overview-table td:last-child{border-radius:0 16px 16px 0}
.surface-overview .overview-table tr:hover td{background:var(--surface-card-strong)}
.surface-overview .subject-summary{font-size:12px;line-height:1.6;color:var(--muted);max-width:60ch;margin-top:8px}
.surface-overview .overview-table .btn{font-size:12px;color:var(--accent);border:0;background:transparent}
.surface-overview .journey-start{max-width:680px;margin:20px auto;background:var(--surface-card-strong);border:0;border-radius:20px;padding:22px;box-shadow:none}
.workspace-shell .subject-detail-main .detail-heading{justify-content:center;text-align:center;margin:25px auto 26px;max-width:760px;border:0}
.workspace-shell .detail-title h1{font-size:30px;font-weight:400;line-height:1.3;letter-spacing:-.035em}
.workspace-shell .detail-title p{font-size:11px;margin-top:12px}
.workspace-shell .subject-story{max-width:760px;margin-inline:auto}
.workspace-shell .conversational-story .story-paragraph{font-size:15px;line-height:1.85;color:var(--ink)}
.workspace-shell .story-author{font-size:12px;gap:10px;margin-bottom:24px}
.workspace-shell .story-author>span{display:inline-flex;gap:9px;align-items:center}
.workspace-shell .story-author>span::before{content:'✳';font-size:18px;line-height:1;color:var(--accent)}
.workspace-shell .work-goal{font-size:13px;color:var(--muted);border:0;padding:0;margin:0 0 20px;line-height:1.7}
.workspace-shell .story-preview{max-width:500px;border:0;background:var(--surface-card-strong);border-radius:18px;box-shadow:0 8px 30px -24px #233b7750}
.workspace-shell .story-preview-label{padding:18px 20px 9px;font-size:12px}
.workspace-shell .story-preview-label small{font-size:10px;margin-top:4px}
.workspace-shell .story-preview-paper{height:auto;min-height:0;max-height:140px;padding:8px 20px 12px;margin:0;background:transparent;box-shadow:none;border:0}
.workspace-shell .story-preview-paper p{font-size:13px;line-height:1.7}
.workspace-shell .story-preview-footer{padding:10px 20px 18px;font-size:11px;border:0;color:var(--accent)}
.workspace-shell .story-context-details{border:0;margin:28px 0;background:transparent}
.workspace-shell .story-context-details>summary{font-size:13px;padding:12px 0}
.workspace-shell .story-attachment{border:0;border-radius:14px;background:var(--surface-card-strong);padding:16px;margin:8px 0;box-shadow:none}
.workspace-shell .story-review-note,.workspace-shell .work-pending,.workspace-shell .work-progress-summary{border:0;background:transparent}
.workspace-shell .story-suggestions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:30px}
.workspace-shell .suggestion-chip{border:0;background:var(--surface-card-strong);border-radius:20px;font-size:12px;padding:11px 16px;box-shadow:none}
.workspace-shell .assistant-starters{justify-content:center;gap:8px;flex-wrap:wrap;max-width:720px;margin-inline:auto}
.workspace-shell .assistant-starters button{border:0;background:var(--surface-card-strong);border-radius:22px;font-size:12px;padding:12px 17px}
.workspace-shell .assistant-empty{text-align:center;max-width:580px;margin:7vh auto}
.workspace-shell .assistant-empty h2{font-size:32px;font-weight:400;letter-spacing:-.04em}
.workspace-shell .assistant-empty p{font-size:14px;color:var(--muted)}
.workspace-shell .conversation-composer-bar .slim-composer{border:0;border-radius:26px;background:var(--surface-card-strong);min-height:50px;box-shadow:0 8px 36px -19px #25457340;padding:10px 12px 10px 20px}
.workspace-shell .conversation-composer-bar textarea{font-size:14px;line-height:1.65}
.workspace-shell .conversation-composer-bar .dock-context{font-size:11px;padding:4px 16px 8px}
.workspace-shell .conversation-composer-bar .send-circle{border:0;border-radius:50%;width:32px;height:32px;min-width:32px}
.workspace-shell .decision-action-bar .btn{font-size:11px}
.workspace-shell .overview-secondary-filters[open]{border:0;background:var(--surface-card-strong);border-radius:14px;padding:16px}
.workspace-shell .message-assistant{background:transparent;border:0}
.workspace-shell .message-user{border:0;border-radius:18px}
.workspace-shell .message-content{font-size:15px;line-height:1.8}
@media(max-width:640px){
 .workspace-shell .enterprise-topbar{padding-inline:12px}
 .surface-overview .overview-heading h1{font-size:28px}
 .surface-overview .desk-segments{gap:0}.surface-overview .desk-segments button{padding:10px;font-size:11px}
 .workspace-shell .detail-title h1{font-size:25px}
 .workspace-shell .subject-detail-main .detail-heading{margin-top:12px}
 .workspace-shell .conversational-story .story-paragraph{font-size:15px}
 .workspace-shell .conversation-composer-bar textarea{font-size:16px}
 .workspace-shell .story-preview{width:100%}.workspace-shell .assistant-empty h2{font-size:28px}
 .workspace-shell .story-suggestions{justify-content:flex-start}
}
@media(forced-colors:active){.workspace-shell .story-preview,.workspace-shell .story-attachment,.workspace-shell .slim-composer,.workspace-shell .suggestion-chip{outline:1px solid ButtonText}}
.workspace-shell .detail-heading .detail-title{width:100%;text-align:center}
.workspace-shell .detail-navigation{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;width:100%;margin-bottom:22px}
.workspace-shell .story-author>small{display:none}
.workspace-shell .subject-story:not(.is-presenting) [data-e=show-story]{display:none}
.workspace-shell .overview-controls .mesa-search input{border:0}
.workspace-shell .profile-picker{max-width:760px;margin-inline:auto}

:root[data-theme=dark] .workspace-shell[data-surface-layout=reference]{--surface-canvas:#171d26;--surface-card:#222b38;--surface-card-strong:#263140}
/* Row headers are the subject, not column labels. */
.surface-overview .overview-table tbody th{background:var(--surface-card);padding:19px 18px;border-radius:16px 0 0 16px;text-align:left;font-size:14px;font-weight:400;border:0}
.surface-overview .overview-table tbody td:last-child{border-radius:0 16px 16px 0}
.surface-overview .overview-table tbody tr:hover th{background:var(--surface-card-strong)}
@media(max-width:640px){
 .surface-overview .overview-table tbody tr{display:grid;grid-template-columns:1fr auto;gap:8px;background:var(--surface-card-strong);padding:18px;border-radius:18px;margin:10px 0}
 .surface-overview .overview-table tbody th{grid-column:1/-1;width:100%;max-width:none;padding:0;background:transparent;border-radius:0;font-size:14px}
 .surface-overview .overview-table tbody th .subject-summary{font-size:12px;line-height:1.6;-webkit-line-clamp:3}
 .surface-overview .overview-table tbody td{width:auto;min-width:0;background:transparent;border-radius:0;padding:4px 0;font-size:11px}
 .surface-overview .overview-table tbody td:last-child{grid-column:2;grid-row:2/4;align-self:center;border-radius:0}
 .surface-overview .overview-table tbody td:nth-child(3){display:block;grid-column:1;font-size:10px;color:var(--muted)}
 .surface-overview .desk-segments{display:grid;grid-template-columns:repeat(4,1fr)}
 .surface-overview .desk-segments button{padding:8px 5px;white-space:normal;font-size:10px}
 .surface-overview .overview-heading{margin:20px 0}
}
.workspace-shell .story-author>span::before{content:'';display:inline-block;width:16px;height:16px;background:var(--accent);mask:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3.5v17M3.5 12h17M6 6l12 12M6 18 18 6' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E")}
/* A single place for filters; the desk keeps the work in front. */
.revision-diff{margin:24px 0;padding:0;border:0;background:transparent}.revision-diff>summary{cursor:pointer;padding:12px 0;font-size:13px;color:var(--accent)}.comparison-legend,.comparison-empty{font-size:12px;color:var(--muted);line-height:1.6}.proposal-change{margin:24px 0}.proposal-change>h3{font-size:14px;font-weight:550;margin:0 0 12px}.proposal-change-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}.proposal-change-columns>section{min-width:0}.proposal-change-columns h4{font-size:11px;font-weight:500;color:var(--muted);margin:0 0 10px}.proposal-change-text{font-size:13px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.proposal-change-text del{background:color-mix(in srgb,var(--danger) 10%,transparent);color:inherit;text-decoration:line-through;text-decoration-color:var(--danger)}.proposal-change-text ins{background:color-mix(in srgb,var(--accent) 12%,transparent);color:inherit;text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:3px}.manual-comparison{margin:10px 0 24px}.manual-comparison[open]{padding-bottom:16px}@media(max-width:560px){.proposal-change-columns{grid-template-columns:1fr;gap:20px}}
.workspace-shell .enterprise-topbar{background:color-mix(in srgb,var(--surface-canvas) 97%,transparent);backdrop-filter:blur(18px);isolation:isolate}
.workspace-shell .conversation-composer-bar{background:linear-gradient(transparent,var(--surface-canvas) 20px);padding-top:26px}.workspace-shell .conversation-composer-bar .dock-context{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%)}.workspace-shell .detail-title p{justify-content:center}
.workspace-shell .supervision-page{max-width:760px;margin-inline:auto;text-align:center}.workspace-shell .supervision-page>.eyebrow{display:none}.workspace-shell .supervision-intro{max-width:590px;margin:18px auto 28px;font-size:14px}.workspace-shell .supervision-page .profile-grid{justify-content:center;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),300px))}.workspace-shell .supervision-page .profile-card{align-items:center;text-align:center;border:0;box-shadow:none}.workspace-shell .supervision-page .preference-controls{justify-content:center}
html{scroll-padding-block:24px 160px;scrollbar-width:thin;scrollbar-color:#b4becd transparent}*{scrollbar-width:thin;scrollbar-color:#b4becd transparent}::-webkit-scrollbar{width:5px;height:5px}::-webkit-scrollbar-thumb{background:#b4becd;border-radius:8px}::-webkit-scrollbar-track{background:transparent}.workspace-shell .conversation-composer-bar .slim-composer{background:color-mix(in srgb,var(--surface-card-strong) 92%,transparent);backdrop-filter:blur(20px)}.workspace-shell .overview-filter-menu>.overview-toolbar{max-height:min(420px,65dvh);overflow:auto;backdrop-filter:blur(18px)}.workspace-shell .story-attachment,.workspace-shell .story-suggestions{min-width:0;overflow-wrap:anywhere}@media(forced-colors:active){*{scrollbar-color:auto}}
.surface-overview .overview-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:24px 0 10px}
.overview-filter-menu{position:relative;margin-left:auto;flex:none;font-size:12px}
.overview-filter-menu>summary{cursor:pointer;list-style:none;padding:10px 15px;border-radius:20px;background:var(--surface-card-strong)}
.overview-filter-menu>summary::-webkit-details-marker{display:none}
.overview-filter-menu>summary::after{content:'⌄';margin-left:12px;color:var(--muted)}
.overview-filter-menu>.overview-toolbar{position:absolute;top:calc(100% + 10px);right:0;z-index:8;width:min(460px,calc(100vw - 32px));display:flex;flex-wrap:wrap;gap:15px;background:var(--surface-card-strong);padding:20px;border-radius:18px;box-shadow:0 12px 50px -15px #1b315338}
.overview-filter-menu .overview-secondary-filters{width:100%}
.workspace-shell .surface-overview{max-width:960px}
.surface-overview .overview-heading{margin:32px 0 22px}
.surface-overview .overview-heading h1{font-size:30px}
.surface-overview .desk-segments{margin:12px 0}
.workspace-shell .story-decisions{margin-top:35px}
.workspace-shell .story-preview{background:transparent;box-shadow:none;max-width:620px;padding:0}
.workspace-shell .story-preview-label{padding:15px 0 10px}
.workspace-shell .story-preview-paper{padding:0 0 12px;max-height:145px}
.workspace-shell .story-preview-footer{background:transparent;padding:8px 0 14px}
.workspace-shell .story-preview:hover{box-shadow:none;transform:none}
.workspace-shell .story-preview-label strong{font-weight:500}
.workspace-shell .choice-outcome{font-size:13px;color:var(--muted)}
.workspace-shell .explained-action>p:empty,.workspace-shell .story-action-note:empty{display:none}
@media(max-width:640px){.surface-overview .overview-controls{gap:8px}.surface-overview .mesa-search{min-width:0;flex:1}.surface-overview .mesa-search input{width:100%}.surface-overview .overview-heading{margin:22px 0 16px}.overview-filter-menu>summary{padding:10px 12px}.workspace-shell .detail-title h1{font-size:23px}.workspace-shell .story-author{margin-bottom:16px}.workspace-shell .detail-heading .detail-navigation{gap:3px;margin-bottom:14px}}

.workspace-shell .overview-table thead th,.workspace-shell .overview-table thead td{border:0}.workspace-shell .story-suggestions{justify-content:center}.workspace-shell .story-action-note:empty{display:none}

/* Keep company correspondence visibly separate from Nexo's explanation. */
.workspace-shell .story-mail{min-width:0;margin:22px 0 12px;padding:24px 28px;border:0;border-radius:18px;background:var(--surface-card)}
.workspace-shell .story-mail>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px;color:var(--muted);font-size:12px}
.workspace-shell .story-mail>header .btn{flex:none;font-size:12px}
.workspace-shell .story-mail-envelope{display:grid;gap:10px;margin:0 0 24px;font-size:13px;line-height:1.6}
.workspace-shell .story-mail-envelope>div{display:grid;grid-template-columns:54px minmax(0,1fr);gap:12px}
.workspace-shell .story-mail-envelope dt{color:var(--muted)}
.workspace-shell .story-mail-envelope dd{min-width:0;margin:0;overflow-wrap:anywhere}
.workspace-shell .story-mail-body{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.85;color:var(--ink)}
.prepared-warnings>strong{display:flex;align-items:center;gap:8px}
.secondary-access{display:flex;flex-wrap:wrap;gap:12px;margin-block:20px}
@media(max-width:640px){.workspace-shell .story-mail{padding:20px 16px}.workspace-shell .story-mail-envelope>div{grid-template-columns:46px minmax(0,1fr);gap:8px}}

.workspace-shell .processes-page{max-width:900px;margin-inline:auto}.workspace-shell .processes-heading,.workspace-shell .enterprise-page-head{display:flex;flex-direction:column;align-items:center;text-align:center;gap:20px;margin:28px auto 38px}.workspace-shell .processes-heading h1,.workspace-shell .enterprise-page-head h1{font-size:30px;font-weight:400;letter-spacing:-.035em}.workspace-shell .processes-heading .eyebrow,.workspace-shell .enterprise-page-head .eyebrow{display:none}.workspace-shell .processes-heading p,.workspace-shell .enterprise-page-head p{font-size:13px}.workspace-shell .process-empty{background:transparent;padding:32px 20px;text-align:center;font-size:14px}.workspace-shell .preferences-page{max-width:760px}.workspace-shell .personal-profile{justify-content:center}.workspace-shell .personal-profile .profile-access{margin-left:10px}.workspace-shell .personal-knowledge{margin-top:35px}.workspace-shell .personal-knowledge .preference-section-heading>p{display:none}.workspace-shell .knowledge-coverage{font-size:12px;max-width:600px}.workspace-shell .personal-permissions{background:transparent;padding:16px 0;font-size:13px}.workspace-shell .personal-permissions summary{cursor:pointer}.workspace-shell .personal-permissions p{font-size:13px;line-height:1.7;padding-top:14px}.workspace-shell .overview-table th,.workspace-shell .overview-table td,.workspace-shell .overview-table tr{box-shadow:none;border:0}

.workspace-shell .journey-receipt{max-width:760px;border:0;box-shadow:none;background:var(--surface-card);padding:16px 20px;gap:16px;font-size:12px;line-height:1.65}.workspace-shell .journey-receipt>div{min-width:0;overflow-wrap:anywhere}.workspace-shell .journey-receipt strong{font-weight:500}.workspace-shell .journey-receipt .btn{font-size:11px;white-space:normal}.workspace-shell .journey-receipt small{font-size:11px}
.source-response-comparison>section{min-width:0;background:transparent;padding:8px 0}.source-response-comparison article+article{margin-top:30px}.source-response-comparison h4{font-size:13px;font-weight:500;margin:16px 0 12px}.source-response-comparison .mail-sheet{border:0;background:transparent;padding:0;box-shadow:none}.source-response-comparison .review-text,.source-response-comparison dd{overflow-wrap:anywhere}.source-response-comparison .mail-envelope{margin-bottom:20px}
.form-recovery{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;font-size:12px;line-height:1.6;color:var(--muted);margin-bottom:14px}.form-recovery>span:empty{display:none}.form-recovery .btn{font-size:12px}.form-recovery:has(>span:empty){margin:0}
.workspace-shell .enterprise-topbar{top:0}
.pdf-page-reader[data-image-state="loading"] .pdf-page-image,.pdf-page-reader[data-image-state="error"] .pdf-page-image{visibility:hidden}
.pdf-page-reader[data-image-state="error"] .pdf-page-canvas{display:none}
.pdf-page-load,.pdf-page-error{font-size:13px;color:var(--muted);padding:12px 0}
.pdf-page-error p{margin:0 0 8px}.pdf-page-reader .reader-search{flex-wrap:wrap;gap:8px}.pdf-page-reader .reader-search label{flex:1 1 180px;min-width:0}.pdf-page-reader .reader-search input{width:100%;min-width:0}.pdf-page-reader [data-pdf-result]{flex-basis:100%;font-size:12px}
.pdf-page-reader .reader-search{position:sticky;top:var(--pdf-header-height,84px);z-index:2;padding:10px 0;background:var(--paper,#fff);isolation:isolate}
.pdf-text-pages mark{scroll-margin-top:calc(var(--pdf-header-height,84px) + 130px)}
.pdf-page-reader[data-image-state="loading"] .pdf-page-canvas{min-height:160px}
.pdf-page-reader .reader-search{border-radius:12px;padding:10px 0 8px;background:var(--paper,#fff)}
.pdf-page-reader .reader-search label{flex:1 1 150px}.pdf-page-reader .reader-search input{border:0;border-radius:12px;background:var(--soft,#edf1f7);color:var(--ink);font:inherit;font-size:16px;min-height:44px;padding:10px 14px;box-shadow:none}
.pdf-page-reader .reader-search button{min-height:40px}.pdf-page-reader [data-e="pdf-match"]{min-width:36px;padding-inline:10px}
.pdf-match-nav{display:flex;flex:none;gap:4px;align-items:center}
@media(max-width:420px){.pdf-page-reader .reader-search{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}.pdf-page-reader .reader-search label{grid-column:1;grid-row:1}.pdf-page-reader [data-e="pdf-find"]{grid-column:2;grid-row:1}.pdf-match-nav{grid-column:2;grid-row:2}.pdf-page-reader [data-pdf-result]{grid-column:1;grid-row:2;min-width:0}}
.xlsx-reader{min-width:0}.xlsx-reader .reader-search{position:sticky;top:var(--pdf-header-height,84px);z-index:4;align-items:center;gap:8px;padding:10px 0 8px;border-radius:12px;background:var(--paper,#fff)}
.xlsx-reader .reader-search label{flex:1 1 150px;min-width:0}.xlsx-reader .reader-search input{width:100%;min-width:0;border:0;border-radius:12px;background:var(--soft,#edf1f7);color:var(--ink);font:inherit;font-size:16px;min-height:44px;padding:10px 14px;box-shadow:none}
.xlsx-reader .reader-search button{min-height:40px}.sheet-match-nav{display:flex;flex:none;gap:4px}.sheet-match-nav button{min-width:36px;padding-inline:10px}.xlsx-reader [data-reader-result]{flex-basis:100%;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.xlsx-reader .workbook-tabs{border:0;padding:4px 0 10px;gap:6px;scrollbar-width:thin}.xlsx-reader .workbook-tabs button{flex:none;white-space:nowrap;max-width:260px;overflow:hidden;text-overflow:ellipsis;font-size:12px;border:0;border-radius:8px;color:var(--muted)}.xlsx-reader .workbook-tabs [aria-pressed=true]{color:var(--accent);background:var(--accent-soft);border:0;border-radius:8px}
.sheet-view-controls{gap:4px;flex-wrap:wrap}.sheet-view-controls .btn{font-size:12px}.sheet-view-controls [aria-pressed=true]{color:var(--accent);background:var(--accent-soft)}
.sheet-reading-notes{font-size:12px;color:var(--muted);margin:14px 0 20px}.sheet-reading-notes summary{cursor:pointer;min-height:32px;align-content:center}.sheet-reading-notes p{font-size:12px;line-height:1.7;margin:8px 0}
.xlsx-reader .sheet-reader-scroll{border:0;border-radius:8px;scrollbar-width:thin;scroll-padding:40px 50px 16px;overscroll-behavior:contain}.xlsx-reader .reference-sheet-table td,.xlsx-reader .reference-sheet-table th{border:0}.xlsx-reader .reference-sheet-table tbody tr:nth-child(even){background:#f7f9fb}.xlsx-reader .reference-sheet-table td{scroll-margin:40px 50px 16px}.xlsx-reader .reader-match{box-shadow:inset 0 0 0 2px var(--accent);border-radius:3px}
.xlsx-reader .reference-sheet-table td{white-space:normal;overflow-wrap:anywhere;overflow:hidden}.reference-artifact-dialog,.xlsx-reader .sheet-reader-scroll,.xlsx-reader .workbook-tabs{scrollbar-width:thin;scrollbar-color:#8995a466 transparent}
.xlsx-reader .sheet-reader-scroll{max-height:min(65dvh,calc(100dvh - var(--pdf-header-height,84px) - var(--reader-search-height,110px) - 110px));scroll-margin-top:calc(var(--pdf-header-height,84px) + var(--reader-search-height,110px));min-height:100px}
@media(max-width:420px){.xlsx-reader .reader-search{display:grid;grid-template-columns:minmax(0,1fr) auto}.xlsx-reader .reader-search label{grid-column:1;grid-row:1}.xlsx-reader [data-e="reader-find"]{grid-column:2;grid-row:1}.sheet-match-nav{grid-column:2;grid-row:2}.xlsx-reader [data-reader-result]{grid-column:1;grid-row:2;min-width:0}.xlsx-reader .workbook-tabs button{max-width:220px}}
.artifact-quote-tools:has(>button[hidden]):has([data-artifact-quote]:empty){display:none}
.artifact-quote-tools{margin:0 0 12px;min-width:0}.artifact-quote-tools>button{color:var(--accent);font-size:13px;min-height:40px}
.reference-artifact-dialog .reference-modal-footer{position:static}
.reference-artifact-dialog .drawer-tabs{top:var(--pdf-header-height,84px);box-shadow:none;border:0}
.reference-artifact-dialog .reference-modal-composer{background:transparent;border:0;max-height:none;overflow:visible}
.reference-artifact-dialog .reference-document-input{display:flex;gap:10px;align-items:flex-end;padding:10px 12px;border:0;border-radius:16px;background:var(--soft,#f2f5f9)}
.reference-artifact-dialog .reference-document-input textarea{flex:1;min-width:0;min-height:28px;max-height:160px;resize:none;border:0;background:transparent;color:var(--ink);font:inherit;font-size:16px;line-height:1.65}
[data-artifact-quote]:not(:empty){background:var(--soft,#f2f5f9);border:0;border-radius:12px;padding:10px 14px;text-align:left}
.artifact-quote-heading{display:flex;gap:8px;align-items:center;justify-content:space-between;color:var(--muted);font-size:12px;overflow-wrap:anywhere}
.artifact-quote-heading>span{min-width:0}.artifact-quote-heading button{flex:none;font-size:12px;min-height:40px}
[data-artifact-quote] blockquote{margin:2px 0 4px;padding:0;border:0;font-size:14px;line-height:1.65;max-height:132px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;scrollbar-width:thin}
@media(max-width:420px){.artifact-quote-heading{align-items:flex-start;flex-wrap:wrap}.artifact-quote-heading button{margin-left:auto}}
@media(max-width:420px){.reference-artifact-dialog .drawer-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding-inline:12px;overflow:visible}.reference-artifact-dialog .drawer-tabs .btn{min-width:0;white-space:normal;padding:7px 4px;font-size:12px;line-height:1.4}}
.sheet-formula-value{display:inline;text-align:inherit;font:inherit;font-weight:inherit;color:var(--accent);background:transparent;border:0;padding:2px 0;min-height:28px;min-width:24px;cursor:pointer;overflow-wrap:anywhere}
.sheet-formula-value:hover{text-decoration:underline;text-underline-offset:3px}
[data-xlsx-trace]{scroll-margin-top:calc(var(--pdf-header-height,84px) + var(--reader-search-height,110px) + 12px)}
.sheet-calculation{padding:16px 18px;max-width:760px;margin:14px auto 20px;border:0;border-radius:16px;background:var(--soft,#f2f5f9);overflow-wrap:anywhere}
.sheet-calculation header{display:flex;align-items:start;justify-content:space-between;gap:12px}.sheet-calculation h3{font-size:14px;line-height:1.5;font-weight:500;margin:6px 0;min-width:0}.sheet-calculation header button{flex:none;font-size:12px}
.sheet-calculation .sheet-calculation-value{font-size:24px;letter-spacing:-.03em;line-height:1.3;margin:16px 0 12px}.sheet-calculation code{display:block;white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.65 ui-monospace,monospace}
.sheet-calculation .reader-note{font-size:12px;line-height:1.6;margin:10px 0;color:var(--muted)}.sheet-calculation details{margin:18px 0}.sheet-calculation summary{font-size:13px;cursor:pointer}.sheet-calculation dl{margin:8px 0;max-height:240px;overflow:auto;scrollbar-width:thin}.sheet-calculation dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(75px,1fr);gap:12px;align-items:center;padding:5px 0}.sheet-calculation dt,.sheet-calculation dd{margin:0;font-size:13px;min-width:0}.sheet-calculation dt button{text-align:left;white-space:normal;padding:8px 0;min-height:40px;font-size:13px;color:var(--accent)}.sheet-calculation dd{text-align:right}.sheet-calculation dd small{display:block;font-size:11px;line-height:1.5;color:var(--muted)}
.reader-trace-cell{box-shadow:inset 0 0 0 2px var(--accent);border-radius:3px;scroll-margin:44px}
@media(max-width:420px){.sheet-calculation{padding:12px}.sheet-calculation header{flex-wrap:wrap}.sheet-calculation header button{margin-left:auto}.sheet-calculation dl>div{grid-template-columns:minmax(0,1.2fr) minmax(65px,.8fr)}}
@media(forced-colors:active){.sheet-formula-value,.sheet-calculation dt button{color:LinkText}.reader-trace-cell{outline:2px solid Highlight}}
.xlsx-reader .sheet-match-nav:not(:has(button:not(:disabled))){display:none}
.xlsx-reader [data-reader-result]:empty{display:none}
.xlsx-reader .reader-search [data-e="xlsx-trace-current"]{min-height:32px;padding:6px 10px;flex:none;margin-left:auto}
@media(max-width:420px){.xlsx-reader .reader-search [data-e="xlsx-trace-current"]{grid-column:2;grid-row:2;white-space:normal;line-height:1.3}.xlsx-reader .reader-search:has(.sheet-match-nav button:not(:disabled)) [data-e="xlsx-trace-current"]{grid-column:1/-1;grid-row:3}}
.quote-review{max-width:800px;margin:24px auto;padding:0;background:transparent;border:0;text-align:left;overflow-wrap:anywhere}
.quote-review>header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.quote-review>header h3{font-size:17px;font-weight:500;margin:0}
.quote-review .quote-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}
.quote-total{min-width:0;background:var(--soft);border:0;border-radius:14px;padding:14px}
.quote-total summary{cursor:pointer;min-height:58px;list-style:none}.quote-total summary::-webkit-details-marker,.quote-line summary::-webkit-details-marker{display:none}
.quote-total summary>span{display:block;font-size:12px;color:var(--muted)}.quote-total summary>span:after{content:' +';color:var(--accent)}.quote-total[open] summary>span:after{content:' −'}
.quote-total strong{font-size:22px;line-height:1.4;font-weight:500;letter-spacing:-.03em;margin-top:5px;font-variant-numeric:tabular-nums}
.quote-total>div{font-size:13px;line-height:1.65}.quote-total .reader-note{font-size:12px;line-height:1.6}.quote-equation{font-variant-numeric:tabular-nums}.quote-check-difference{color:var(--ink);font-weight:600}
.quote-columns,.quote-line>summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(85px,.3fr) minmax(85px,.3fr);gap:16px;align-items:start}.quote-columns{font-size:12px;color:var(--muted);padding:0 12px 8px}.quote-columns>span:not(:first-child),.quote-line>summary>span:not(:first-child){text-align:right;font-variant-numeric:tabular-nums}
.quote-line{margin:4px 0;border:0;border-radius:12px}.quote-line>summary{list-style:none;cursor:pointer;padding:14px 12px;font-size:14px;line-height:1.6;min-height:48px}.quote-line>summary>span:first-child:before{content:'+';color:var(--accent);margin-right:8px}.quote-line[open]>summary>span:first-child:before{content:'−'}.quote-line>summary small{display:block;font-size:12px;color:var(--muted);margin-top:3px}.quote-line>summary:hover,.quote-line[open]{background:var(--soft)}.quote-line>summary{border-radius:12px}
.quote-line-detail{padding:0 16px 16px;font-size:14px;line-height:1.7}.quote-line-detail h4{font-size:12px;font-weight:500;color:var(--muted);margin:20px 0 8px}.quote-calculation{white-space:pre-wrap}.quote-sources{list-style:none;padding:0;margin:0}.quote-sources li{margin:8px 0}.quote-sources button{display:block;min-height:40px;padding-left:0;color:var(--accent)}.quote-issues{font-size:13px;line-height:1.7;padding-left:20px;margin-top:24px}.quote-version{font-size:12px;color:var(--muted);margin-top:22px}.quote-version summary{cursor:pointer;min-height:40px;padding-block:10px}
.quote-review summary:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:8px}
@media(max-width:560px){.quote-review .quote-totals{grid-template-columns:1fr;gap:6px}.quote-total{padding:12px 14px}.quote-total summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:38px}.quote-total strong{font-size:20px;margin:0}.quote-columns,.quote-line>summary{grid-template-columns:minmax(0,1fr) minmax(65px,.45fr) minmax(65px,.45fr);gap:8px}.quote-line>summary{padding:14px 6px;font-size:13px}.quote-columns{padding-inline:6px}.quote-line-detail{padding-inline:12px}}
.quote-review .quote-totals{align-items:start}
.conversation-earlier{display:flex;justify-content:center;margin:12px auto 24px}.conversation-earlier button{min-height:44px;white-space:normal;color:var(--muted);font-size:13px}

/* Recovery appears only while a message lacks acknowledgement. */
.pending-question{display:flex;align-items:baseline;justify-content:center;gap:12px;max-width:650px;margin:9px auto 0;font-size:12px;color:var(--muted);flex-wrap:wrap}.pending-question details{min-width:0;max-width:100%}.pending-question summary{cursor:pointer}.pending-question details>p{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;max-height:180px;overflow:auto;margin:10px 0}.pending-question button{flex-shrink:0}.pending-question:has(details[open]){padding:12px 16px;background:var(--panel,#fff);border-radius:14px}
