.signed-out .sidebar,.signed-out .sidebar-scrim,.signed-out #notification-trigger { display:none; }
.signed-out .workspace { margin-left:0; }
.auth-page { width:min(380px,calc(100vw - 40px)); margin:8vh auto 35px; color:#344239; }
.auth-brand { font-size:20px; font-weight:650; margin-bottom:40px; color:#22654c; }
.auth-page h1 { font-size:24px; margin-bottom:12px; letter-spacing:-.5px; }
.auth-page form>p,.auth-page>p { font-size:13px; color:#5c665f; line-height:1.9; margin-bottom:25px; }
.auth-switch { display:block; margin:18px auto 0; }
.auth-demo { display:block; margin:35px auto; color:#5f6b62; }
.form-error { color:#a14532; font-size:12px; line-height:1.8; margin:8px 0; white-space:pre-line; }
.workbench-error { display:flex; flex-wrap:wrap; gap:9px; align-items:center; background:#fff5e8; color:#754e28; padding:11px 13px; font-size:12px; line-height:1.8; margin-bottom:14px; }
.business-toolbar { display:flex; gap:8px; flex-wrap:wrap; align-items:center; margin-bottom:15px; }
.business-toolbar>span { font-size:12px; color:#55645a; margin-right:auto; }
.business-empty { padding:32px 10px; color:#526156; text-align:center; }
.business-empty p { font-size:13px; line-height:1.9; margin:10px auto 18px; max-width:55ch; }
.business-empty h3 { font-size:16px; font-weight:550; }
.business-loading { color:#57665c; font-size:13px; padding:25px 10px; }
.detail-line-list { margin:18px 0; }
.detail-line-list article { display:grid; grid-template-columns:1fr auto; gap:5px 16px; padding:12px 0; border-bottom:1px solid var(--line); }
.detail-line-list strong { font-size:13px; font-weight:550; }
.detail-line-list span,.detail-line-list p { font-size:12px; color:#5b675f; line-height:1.8; }
.execution-line { padding:17px 0 20px; border-bottom:1px solid var(--line); }
.execution-line h3 { font-size:14px; margin-bottom:7px; }
.execution-line p { color:#57675c; font-size:12px; line-height:1.8; }
.execution-facts { display:flex; flex-wrap:wrap; gap:6px 18px; padding:9px 0 12px; color:#4c5f52; font-size:12px; }
.execution-actions { display:flex; flex-wrap:wrap; gap:6px; }
.execution-actions .btn { font-size:11px; }
.execution-history { margin-top:20px; }
.execution-history article { font-size:12px; line-height:1.9; padding:11px 0; border-bottom:1px solid var(--line); }
.execution-history small { color:#5f6a62; }
.execution-close { padding:17px 0; font-size:12px; line-height:1.9; }
.execution-close .btn { margin-top:10px; }
.issue-list { display:grid; gap:0; }
.issue-list>div { border-bottom:1px solid var(--line); padding:13px 0; font-size:12px; line-height:1.9; }
.issue-list>div>.text-button { float:right; }
.business-table { min-width:600px; }
.business-table td,.business-table th { vertical-align:top; }
.business-table .cell-meta { font-size:11px; line-height:1.9; color:#5b695e; margin-top:5px; }
.business-table .money { font-weight:600; color:#2c4837; }
.business-table .needs-check { color:#95642d; font-size:11px; line-height:1.8; }
.quote-row-form { border-bottom:1px solid var(--line); padding:10px 0 16px; margin-bottom:14px; }
.quote-row-form h3 { font-size:13px; margin-bottom:12px; }
.quote-row-form .form-grid { gap:10px 14px; }
.quote-row-form .field { font-size:12px; margin-bottom:7px; }
.quote-form-wide { width:720px; }
.source-result { padding:17px 0; border-bottom:1px solid var(--line); }
.source-result h3 { font-size:14px; margin-bottom:7px; }
.source-result p { font-size:12px; color:#59665e; line-height:1.9; margin-bottom:9px; }
.source-result .source-link { display:block; font-size:11px; color:#30614c; word-break:break-all; margin-bottom:10px; }
.source-result .tag { margin-right:7px; }
.business-source-note { font-size:12px; line-height:1.9; padding:13px 0; color:#6d593b; }
.document-list { display:grid; }
.document-row { display:flex; align-items:center; gap:14px; padding:14px 0; border-bottom:1px solid var(--line); }
.document-row>div { flex:1; min-width:0; }
.document-row strong { display:block; font-size:13px; font-weight:550; overflow-wrap:anywhere; }
.document-row small { display:block; margin-top:5px; font-size:11px; color:#5c695f; line-height:1.8; }
.document-row-actions { display:flex; gap:7px; flex-wrap:wrap; justify-content:flex-end; max-width:220px; }
.document-row-actions .btn { font-size:11px; }
.document-reader h3 { font-size:14px; margin:18px 0 12px; }
.document-reader .source-segment { padding:12px 0; border-bottom:1px solid var(--line); }
.source-segment small { font-size:11px; color:#5d6a60; display:block; margin-bottom:7px; }
.source-segment pre { font-family:inherit; font-size:12px; line-height:1.9; white-space:pre-wrap; overflow-wrap:anywhere; color:#3d5144; }
.document-reader img { max-width:100%; max-height:450px; object-fit:contain; }
.document-reader iframe { width:100%; height:420px; border:1px solid var(--line); }
.document-source-highlight { background:#f5f2dd; padding:12px !important; }
.import-mapping { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin:15px 0; }
.import-mapping label { font-size:12px; color:#4c6052; }
.import-mapping select { width:100%; margin-top:5px; }
.import-rows { overflow:auto; margin:15px 0; max-height:340px; }
.import-rows table { min-width:780px; font-size:12px; }
.import-rows input:not([type=checkbox]),.import-rows select { width:120px; min-height:30px; padding:5px; font-size:12px; }
.import-row-error { color:#9a4936; max-width:200px; font-size:11px; }
.import-result { white-space:pre-line; font-size:13px; line-height:2; }
.member-row,.audit-row,.job-row { padding:13px 0; border-bottom:1px solid var(--line); font-size:12px; line-height:1.9; }
.member-row { display:flex; align-items:center; gap:12px; }
.member-row>div:first-child { flex:1; }
.member-row small { display:block; color:#5c695f; }
.job-row strong { display:block; font-weight:550; }
.settings-links { display:flex; flex-wrap:wrap; gap:8px; padding:16px 0; }
.quote-selection-row { padding:13px 0; border-bottom:1px solid var(--line); }
.quote-selection-row strong { font-size:13px; display:block; margin-bottom:9px; }
.quote-selection-row .field { margin-bottom:9px; }
.chat-citations { display:flex; gap:7px; flex-wrap:wrap; margin-top:12px; }
.chat-citations button { font-size:11px; color:#37614b; padding:5px 8px; background:#f1f5ed; border-radius:5px; }
@media(max-width:760px){
 .auth-page { margin-top:5vh; }
 .auth-brand { margin-bottom:29px; }
 .import-mapping { grid-template-columns:1fr 1fr; }
 .document-row { flex-wrap:wrap; gap:8px; }
 .document-row-actions { width:100%; max-width:none; justify-content:flex-start; }
 .quote-form-wide { width:calc(100vw - 24px); }
 .business-toolbar { gap:7px; }
 .business-toolbar .filter-input-wrap { flex-basis:100%; }
 .business-table { min-width:540px; }
 .member-row { flex-wrap:wrap; }
 .execution-actions { gap:5px; }
 .document-reader iframe { height:330px; }
 .detail-body>.tabs { overflow-x:auto; white-space:nowrap; gap:17px; }
}
#f-report-text{display:block;width:100%;min-height:560px;border:1px solid var(--line);background:#fff;padding:22px;font-size:13px;line-height:2;color:#3e5144;resize:vertical;margin:10px 0 15px}
.audit-detail{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.8 ui-monospace,monospace;max-height:350px;overflow:auto;padding:12px;background:#f4f6f2}
.business-toolbar>.field{margin:0}
.f-start-work{padding-bottom:15px;border-bottom:1px solid var(--line);margin-bottom:20px}
.auth-page input{width:100%}
.auth-page .wide{width:100%;justify-content:center}
.allocation-row{padding:8px 0 12px}
@media(max-width:760px){#f-report-text{min-height:480px;padding:15px;font-size:12px}.signed-out main{padding:20px}.auth-page{margin-left:auto;margin-right:auto}}

.detail-kicker>span{min-width:0;overflow-wrap:anywhere}.detail-top h2{overflow-wrap:anywhere}.record-original{font-size:12px;line-height:1.9;white-space:pre-wrap;max-height:160px;overflow:auto;color:#526156;padding:12px;background:#f5f7f1;margin-bottom:16px}

.workspace main>.business-toolbar:first-child{padding-right:48px}
@media(max-width:760px){.workspace main>.business-toolbar:first-child{padding-right:38px}}
