@charset "UTF-8";
:root{--ink:#1d332d;--muted:#728078;--paper:#f5f6f2;--line:#e5e9e1;--amber:#e4b95a;--amber-light:#faf2dc;--green:#346c56;--red:#9d4d36;--sidebar:#172925;--radius:12px;--shadow:0 2px 7px #1b34290a;font-family:"Inter","Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a,input,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #a57b21;outline-offset:3px}a{color:inherit}button{border:0}button,input,textarea{border-radius:7px}button{transition:background .15s,box-shadow .15s}button:hover:not(:disabled){filter:brightness(.97)}[hidden]{display:none!important}.skip-link{position:fixed;left:20px;top:-50px;padding:10px;background:white;z-index:100}.skip-link:focus{top:10px}
.sidebar{background:var(--sidebar);width:236px;position:fixed;inset:0 auto 0 0;color:#d8e1da;padding:36px 22px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-size:27px;font-weight:700;letter-spacing:-1px;margin:0 10px 49px}.brand-light{font-weight:400;color:var(--amber)}.brand-mark{background:var(--amber);width:39px;height:39px;border-radius:11px;color:var(--sidebar);display:flex;align-items:center;justify-content:center;font-size:28px;letter-spacing:-3px;padding-right:3px}.brand-mark span{color:white}.brand small{font-size:9px;letter-spacing:2.6px;display:block;color:#a7b4a9;margin-top:5px}.workspace-label{font-size:9px;letter-spacing:1.4px;color:#8b9f92;margin:0 10px 17px}.nav-item{display:flex;align-items:center;gap:11px;background:none;color:#aabcb0;width:100%;text-align:left;padding:13px 12px;font-size:12px;margin-bottom:6px;white-space:nowrap}.nav-item.active{background:#2b4037;color:#fff}.nav-icon{font-size:20px;line-height:1;width:19px;text-align:center;font-weight:400}.nav-count{margin-left:auto;background:var(--amber);color:#23372b;font-size:10px;min-width:19px;border-radius:4px;padding:3px 5px;text-align:center}.muted-count{background:#3f4e40;color:#c9d4c9}.sidebar-note{margin:auto 8px 34px;border-top:1px solid #3a4a3e;padding-top:27px}.orbit{font-size:32px;color:var(--amber);display:block;margin-bottom:17px}.sidebar-note strong{font-size:16px;font-weight:500;line-height:1.6;letter-spacing:-.2px}.sidebar-note p{font-size:11px;line-height:1.8;color:#93a99a;max-width:160px}.sidebar-bottom{border-top:1px solid #34473b;padding-top:22px;display:flex;align-items:center;gap:9px;font-size:11px}.avatar{background:#4b5b45;color:#e5d6a9;display:grid;place-items:center;border-radius:50%;width:31px;height:31px;font-size:10px}.sidebar-bottom small{display:block;color:#8da08e;font-size:10px;margin-top:5px}.icon-button{margin-left:auto;background:none;color:#b7c5b8;font-size:20px;padding:4px}.workspace{margin-left:236px}.topbar{height:71px;border-bottom:1px solid var(--line);background:#fafbf8;display:flex;align-items:center;justify-content:space-between;padding:0 36px}.breadcrumb{font-size:11px;color:var(--muted)}.breadcrumb span{margin:0 12px;color:#b4bdb1}.breadcrumb strong{font-weight:500;color:#415649}.topbar-right{display:flex;align-items:center;gap:21px}.mode-badge{background:#edf1e6;border:1px solid #dbe3d0;border-radius:20px;font-size:10px;color:#5b7150;padding:6px 10px}.owner-pill{font-size:9px;letter-spacing:1.2px;color:#6f7b6c}main{padding:32px 36px 18px;max-width:1740px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:650;color:#819078;margin-bottom:10px}h1{font-size:28px;font-weight:550;letter-spacing:-.9px;line-height:1.25;margin:0 0 10px}p{color:var(--muted)}.page-heading p{font-size:12px;margin:0;line-height:1.6}.secondary{background:#fff;border:1px solid #d9dfd4;color:#465a49;padding:10px 15px;font-size:11px;font-weight:600}.refresh{display:flex;align-items:center;gap:7px}.refresh span{font-size:19px;font-weight:400}.evidence-strip{display:flex;align-items:center;gap:9px;padding:11px 14px;border:1px solid #dde3d4;background:#edf1e7;border-radius:7px;font-size:10px;color:#6a7960;margin-bottom:22px}.status-dot{width:6px;height:6px;background:#7f9759;border-radius:50%}.evidence-strip strong{color:#506343;font-size:10px}.strip-divider{width:1px;height:12px;background:#cdd5c4;margin:0 4px}.strip-clock{margin-left:auto;font-variant-numeric:tabular-nums;white-space:nowrap}.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:25px}.kpi{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:17px 19px;box-shadow:var(--shadow)}.kpi-label{font-size:9px;letter-spacing:.8px;display:flex;justify-content:space-between;align-items:center;color:#78816f}.kpi-icon{background:#f1f4ed;color:#718366;display:grid;place-items:center;border-radius:6px;width:25px;height:25px;font-size:15px}.amber-icon{background:var(--amber-light);color:#9c7a2c}.kpi-number{font-size:29px;font-weight:500;letter-spacing:-1px;line-height:1;margin:10px 0 12px;font-variant-numeric:tabular-nums}.kpi p{font-size:10px;margin:0;color:#8a9284}.desk-layout{display:grid;grid-template-columns:minmax(310px,.95fr) minmax(490px,1.45fr);gap:22px;align-items:start}.panel{min-width:0;border:1px solid var(--line);border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 22px 18px;gap:10px}h2{font-size:15px;letter-spacing:-.25px;font-weight:600;margin:0}.panel-heading p{font-size:10px;margin:7px 0 0;line-height:1.5}.small-count{color:#83916d;background:#f0f3e9;border-radius:5px;font-size:10px;letter-spacing:0;padding:3px 6px;margin-left:4px}.tiny-label{font-size:8px;letter-spacing:1px;color:#94a18c;white-space:nowrap}.queue-tools{padding:0 20px 15px;border-bottom:1px solid var(--line)}.status-tabs{display:flex;gap:5px;margin-bottom:13px}.status-tabs button,.detail-tabs button{background:none;color:#88917e;font-size:10px;padding:7px 11px;font-weight:500}.status-tabs .selected{background:#eef2e6;color:#4d6542}.search-label{display:flex;align-items:center;background:#f7f8f4;border:1px solid #e9ede2;border-radius:6px;gap:8px;padding:6px 10px}.search-label span{font-size:20px;color:#8c9980;line-height:1}.search-label input{border:0;outline:none!important;background:transparent;width:100%;min-width:0;font-size:10px;color:var(--ink);padding:3px 0}.queue-list{max-height:470px;overflow-y:auto}.queue-card{display:block;background:#fff;color:var(--ink);width:100%;text-align:left;border:0;border-bottom:1px solid #edf0e8;border-radius:0;padding:18px 21px;border-left:3px solid transparent}.queue-card.active{background:#faf8ef;border-left-color:var(--amber)}.queue-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:9px}.queue-card-title{font-size:12px;font-weight:600}.channel-tag{font-size:8px;border-radius:4px;padding:3px 6px;white-space:nowrap;display:inline-flex;align-items:center;gap:4px;background:#eef3e9;color:#5d7751}.channel-email{background:#eef0f7;color:#6d789a}.queue-card-ref{font-size:10px;color:#8c9584;display:flex;gap:7px;align-items:center}.queue-card-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px}.queue-card-price{font-size:15px;letter-spacing:-.4px;font-weight:600}.pill{background:#f4f0e4;color:#9f8b53;font-size:8px;padding:4px 7px;border-radius:4px;white-space:nowrap}.pill.sent{background:#edf3eb;color:#66855b}.pill.blocked,.warning-pill{background:#faeee8;color:#a06b50}.pill.rejected{background:#f3edef;color:#9a7173}.queue-footer{padding:14px 18px;font-size:9px;color:#849075;display:flex;align-items:center;gap:7px;line-height:1.5}.shield{background:#ecf0e5;border-radius:4px;color:#7b8d67;font-size:10px;padding:2px 4px}.detail-header{padding:22px 24px 19px}.detail-eyebrow{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.6px;color:#8b947e}.detail-eyebrow .pill{letter-spacing:0}.document-title{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.document-title h2{font-size:23px;font-weight:550;letter-spacing:-.7px}.text-button{color:#8b7c55;background:#fbf8ee;border:1px solid #eae3ce;font-size:9px;padding:6px 9px}.detail-header p{font-size:12px;color:#53664e;margin:8px 0 9px}.recipient-line{display:flex;align-items:center;gap:8px;color:#9ca48e;font-size:9px}.detail-tabs{display:flex;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 15px;gap:10px}.detail-tabs button{border-bottom:2px solid transparent;border-radius:0;padding:13px 8px}.detail-tabs .selected{border-bottom-color:#c8a24f;color:#6a613d}.detail-body{padding:19px 24px 20px;min-height:269px}.document-meta{display:flex;justify-content:space-between;font-size:9px;color:#929b87;margin-bottom:16px}.table-wrap{width:100%;overflow-x:auto}.line-table{border-collapse:collapse;width:100%;font-variant-numeric:tabular-nums}.line-table th{font-size:7px;letter-spacing:.5px;color:#919983;font-weight:500;padding:9px 0;border-bottom:1px solid var(--line);text-align:left}.line-table td{padding:12px 0;border-bottom:1px solid #eef1e8;font-size:10px}.line-table td:first-child{width:46%;line-height:1.5;padding-right:8px}.line-table td small{display:block;color:#a0a58f;font-size:8px;margin-top:3px}.line-table .number{text-align:right;white-space:nowrap;padding-left:8px}.quote-totals{width:57%;margin:14px 0 0 auto;font-size:10px}.total-row{display:flex;justify-content:space-between;padding:5px 0;color:#89937f}.total-row strong{font-weight:500;color:#627057;font-variant-numeric:tabular-nums}.total-row.grand-total{margin-top:6px;padding-top:12px;border-top:1px solid var(--line);color:#394f35;font-size:12px}.total-row.grand-total strong{color:#344b2f;font-weight:650;font-size:16px;letter-spacing:-.35px}.sourcing-note{display:flex;gap:8px;background:#f7f8f2;border:1px solid #edf0e5;border-radius:6px;padding:10px 11px;margin-top:19px;font-size:9px}.note-icon{color:#8a9c6c;font-size:16px}.sourcing-note strong{font-size:9px;font-weight:550;color:#758265}.sourcing-note p{font-size:9px;line-height:1.6;margin:4px 0 0;color:#909a80}.document-footnote{font-size:8px;line-height:1.6;color:#a2a88f;margin-top:12px}.decision-area{border-top:1px solid var(--line);padding:17px 24px;background:#fcfcf9}.decision-area label,dialog label{font-size:9px;display:block;color:#79856a;margin-bottom:7px}.decision-area label span{color:#a2aa96;font-size:8px}.decision-area textarea{resize:vertical;min-height:46px;border:1px solid #e2e7d7;background:white;width:100%;padding:9px 10px;font-size:10px;color:var(--ink);line-height:1.6}.decision-buttons{display:flex;justify-content:space-between;gap:12px;margin-top:12px}.decision-buttons button{flex:1}.primary{background:var(--amber);border:1px solid #c8a652;color:#3d482c;font-size:11px;font-weight:600;padding:11px 15px;display:flex;align-items:center;justify-content:center;gap:12px}.primary span{font-size:15px;font-weight:400}.decision-help{font-size:8px;text-align:center;color:#a2a88f;margin-top:10px;line-height:1.5}.decision-closed{font-size:11px;line-height:1.8;color:#758268}.blockers{margin:0 24px 16px;padding:11px 13px;border:1px solid #f1d7c8;border-radius:6px;background:#fdf4ee;color:#966747;font-size:10px;line-height:1.7}.acceptance-note{margin-top:12px;background:#edf5ed;color:#5c7c50;border-radius:6px;font-size:10px;padding:10px;line-height:1.6}.flow-ribbon{margin-top:23px;display:flex;justify-content:space-between;align-items:center;border:1px solid #e1e7d9;border-radius:10px;padding:19px 23px;background:#f1f4eb;gap:9px}.flow-ribbon>div{font-size:10px;font-weight:600;white-space:nowrap;color:#7b866c}.flow-ribbon>div>span{font-size:8px;color:#9ba68b;margin-right:8px}.flow-ribbon small{font-size:8px;display:block;color:#9ca58b;font-weight:400;margin:5px 0 0 21px}.flow-ribbon i{color:#c3cbb7;font-size:15px;font-style:normal}.flow-ribbon .flow-current{color:#9b813c}.flow-ribbon .flow-current span{color:#b29751}.page-footer{display:flex;justify-content:space-between;margin-top:24px;padding:3px 0 0;color:#9ba58d;font-size:8px;line-height:1.8;gap:15px}.page-footer>span:first-child{letter-spacing:1.5px}.footer-limit{display:block;text-align:right;color:#a9b19b}.empty-state{padding:55px 22px;text-align:center}.empty-state>span{font-size:29px;color:#c6cbba}.empty-state h2{margin:15px 0 8px}.empty-state p{font-size:11px;line-height:1.7}.section-note{font-size:10px;line-height:1.7;margin:0 0 20px}.timeline{list-style:none;padding:0 0 0 7px;margin:0}.timeline li{position:relative;padding:0 0 23px 20px;border-left:1px solid #e1e6d8}.timeline li:last-child{border-left-color:transparent}.timeline li::before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#d0d8c3;left:-4px;top:3px}.timeline li.success::before{background:#82a16e}.timeline li.warning::before{background:#c29a67}.timeline strong{font-size:10px;font-weight:600}.timeline p{font-size:9px;line-height:1.6;margin:4px 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.timeline time{font-size:8px;color:#9ea88e}.reply-envelope{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#80926e;padding-bottom:15px;border-bottom:1px solid var(--line)}.reply-body{white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.9 "Segoe UI",Arial,sans-serif;color:#596b51;margin:16px 0 0}.full-panel{padding-bottom:22px;min-height:380px}.activity-row,.exception-card,.consent-row{padding:18px 23px;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px}.activity-row p,.exception-card p,.consent-row p{font-size:10px;line-height:1.7;margin:6px 0 0}.activity-right{display:flex;align-items:center;gap:13px}.exception-card{align-items:flex-start}.exception-card strong{font-size:12px}.exception-card small{display:block;font-size:9px;color:#96a087;margin-top:7px}.impact-grid{padding:0 24px 24px;display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.impact-card{background:#f6f8f1;border:1px solid var(--line);border-radius:9px;padding:22px}.impact-card strong{font-size:30px;font-weight:500;display:block;letter-spacing:-.9px;margin:9px 0 13px}.impact-card small{color:#7d8f6d;font-size:10px;line-height:1.7;display:block}.baseline-card{margin:0 24px 8px;padding:23px;border:1px solid #e6ddc3;border-radius:8px;background:#fbf7ed}.baseline-card h3{font-size:16px;margin:0}.baseline-card p{font-size:11px;line-height:1.8;margin-bottom:0}dialog{border:1px solid var(--line);border-radius:14px;padding:30px;color:var(--ink);width:min(460px,90vw);box-shadow:0 12px 80px #071d2b40}dialog::backdrop{background:#0d231d80;backdrop-filter:blur(3px)}dialog h2{font-size:23px;margin:6px 0 16px;font-weight:500}dialog p{font-size:12px;line-height:1.8}dialog input{width:100%;padding:12px;border:1px solid var(--line);margin:0 0 14px}#login-form>.primary{width:100%}#login-error{color:var(--red)}.confirm-document{border:1px solid var(--line);background:#f5f7f0;padding:14px;border-radius:7px;font-size:13px;margin:19px 0}.toast{position:fixed;bottom:24px;left:calc(50% + 118px);transform:translateX(-50%);padding:14px 22px;background:#263d2e;color:white;border:1px solid #526743;border-radius:9px;box-shadow:0 8px 30px #1d2d1c25;max-width:560px;font-size:12px;line-height:1.5;z-index:30}.toast.error{background:#7f422c;border-color:#a97d5b}.connection-error{position:fixed;bottom:20px;right:20px;background:#fceee3;border:1px solid #e1b9a3;color:#8f5035;padding:16px 23px;border-radius:9px;max-width:500px;font-size:11px;line-height:1.7;z-index:40}
@media(min-width:1600px){.desk-layout{grid-template-columns:minmax(360px,.95fr) minmax(600px,1.45fr)}h1{font-size:32px}.queue-card{padding:23px}.detail-body{min-height:300px}.kpi-number{font-size:33px}.queue-list{max-height:580px}.detail-header{padding:26px}.sidebar{width:250px}.workspace{margin-left:250px}main{padding:36px 42px}}
@media(max-width:1250px){.sidebar{width:204px;padding-left:15px;padding-right:15px}.workspace{margin-left:204px}main{padding:26px 24px}.topbar{padding:0 24px}.desk-layout{gap:15px;grid-template-columns:minmax(280px,.85fr) minmax(420px,1.4fr)}.kpi{padding:15px 13px}.kpi-number{font-size:25px}.kpi-label{font-size:8px;letter-spacing:.4px}.kpi p{font-size:9px}.flow-ribbon{padding:16px 12px}.flow-ribbon>div{font-size:9px}.flow-ribbon small{font-size:7px}.detail-body{padding:18px}.toast{left:calc(50% + 102px)}}
@media(max-width:1030px){.sidebar{width:78px;padding:26px 12px}.brand{margin:0 0 37px}.brand>span:last-child,.workspace-label,.nav-item .nav-count,.sidebar-note,.sidebar-bottom>div,.sidebar-bottom>button{display:none}.brand-mark{width:43px;height:43px;flex:none}.nav-item{font-size:0;justify-content:center;padding:14px 0}.nav-icon{font-size:23px}.sidebar-bottom{margin-top:auto;justify-content:center}.workspace{margin-left:78px}.page-heading{align-items:flex-start;gap:15px}.page-heading h1{font-size:25px}.desk-layout{grid-template-columns:minmax(260px,1fr) minmax(400px,1.45fr)}.tiny-label{display:none}.kpi-grid{gap:10px}.kpi-icon{width:20px;height:20px}.flow-ribbon>div>span{display:block;margin-bottom:6px}.flow-ribbon small{margin-left:0}.toast{left:calc(50% + 39px)}}
@media(max-width:810px){.desk-layout{grid-template-columns:minmax(0,1fr)}.queue-list{max-height:310px}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.kpi{min-width:0}.kpi-number{overflow-wrap:anywhere}.detail-body{min-height:0}.page-heading{flex-direction:column;gap:14px}.refresh{align-self:flex-end;margin-top:-6px}.topbar{padding:0 18px}.evidence-strip{flex-wrap:wrap;font-size:9px;gap:6px}.strip-clock{width:100%;margin-left:12px}.strip-divider{display:none}.kpi-number{font-size:28px}.kpi p{font-size:10px}.kpi-label{font-size:9px}.kpi-icon{width:25px;height:25px}.flow-ribbon{flex-wrap:wrap;justify-content:center;gap:18px}.flow-ribbon>div{min-width:100px}.impact-grid{grid-template-columns:1fr 1fr}.page-footer{flex-direction:column;gap:3px}.footer-limit{text-align:left}.page-heading p{font-size:11px}.owner-pill{display:none}.activity-row{align-items:flex-start}.activity-right{flex-direction:column;align-items:flex-end}.consent-row{gap:10px}.toast{max-width:calc(100vw - 120px);width:max-content}.table-wrap{padding-bottom:4px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.source-card{border:1px solid var(--line);border-radius:8px;padding:15px;margin-bottom:15px}.source-card h3,.source-heading{font-size:12px;margin:0 0 12px}.source-offer{display:flex;justify-content:space-between;gap:15px;padding:12px 8px;border-top:1px solid var(--line);font-size:11px}.source-offer>div:first-child{min-width:0;overflow-wrap:anywhere}.source-offer.chosen{background:#f0f5e9;border-radius:5px}.source-offer small,.source-file small{display:block;font-size:9px;line-height:1.6;margin-top:5px;color:#7d8f6d}.source-price{text-align:right;flex-shrink:0}.source-price .pill{display:inline-block;margin-top:7px;font-size:8px}.source-warning{font-size:9px;line-height:1.65;margin:7px 8px 12px;color:#966747}.source-heading{margin-top:24px}.source-file{padding:13px;border:1px solid var(--line);border-radius:7px;font-size:11px}.source-hash{overflow-wrap:anywhere}.detail-tabs{overflow-x:auto}.detail-tabs button{white-space:nowrap}
@media(min-width:1031px){.topbar{height:60px}main{padding-top:24px}.page-heading{margin-bottom:18px}.page-heading .eyebrow{margin-bottom:7px}h1{font-size:28px;margin-bottom:7px}.evidence-strip{padding:9px 14px;margin-bottom:16px}.kpi-grid{margin-bottom:20px}.kpi{padding-top:13px;padding-bottom:13px}.kpi-number{font-size:29px;margin:7px 0 9px}.detail-header{padding:20px 24px 16px}.detail-body{padding-top:16px;padding-bottom:16px;min-height:0}.line-table td{font-size:11px;padding-top:10px;padding-bottom:10px}.line-table td small{font-size:9px}.line-table th{font-size:8px}.quote-totals{margin-top:10px;font-size:11px}.sourcing-note{margin-top:12px}.sourcing-note strong,.sourcing-note p{font-size:10px}.document-footnote{margin-top:8px}.decision-area{padding:13px 24px}.decision-area textarea{min-height:42px;padding:7px 10px}.decision-area label{font-size:10px}.queue-card-title{font-size:13px}.queue-card-ref{font-size:11px}.queue-card-price{font-size:16px}}
@media(max-width:1030px){.sidebar-bottom>.icon-button{display:block;margin-left:0}.sidebar-bottom{flex-direction:column;gap:10px}}

@media(max-width:520px){.kpi-number{font-size:18px;letter-spacing:-.5px}}
/* Owner case handling shares the desk's bounded form and decision styles. */
.review-copy { width: 100%; min-width: 0; }
.intake-card { display: block; }
.review-label { display: grid; gap: 7px; margin: 14px 0; color: var(--muted, #61736c); font-size: 12px; }
.review-label input, .review-label textarea { box-sizing: border-box; width: 100%; border: 1px solid #d6dfd8; border-radius: 8px; padding: 10px 12px; color: #172925; background: #fff; font: inherit; resize: vertical; }
.clarification-preview { padding: 16px; border-left: 3px solid #b8872e; background: #faf7ed; line-height: 1.65; }
.review-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }
.reconciliation-form { max-width: 720px; }

.sms-review{margin:0 24px 16px;padding:12px 14px;border:1px solid #dde5d3;border-radius:7px;background:#f3f6ed;font-size:10px;color:#53694b;line-height:1.65}.sms-review strong{font-size:11px}.sms-review p{font-size:10px;line-height:1.65;margin:6px 0 0;color:#66795a}

.tag.memory { background: #eef4ff; color: #1d3f8a; border-radius: 999px; padding: 1px 8px; font-size: 11px; margin-left: 6px; }
.tag.judge { background: #fff4e0; color: #8a5a00; border-radius: 999px; padding: 1px 8px; font-size: 11px; margin-left: 6px; }

.try-panel{margin-bottom:18px}.try-form{display:grid;gap:10px;padding:0 20px 18px}.try-form textarea{width:100%;font:inherit;padding:10px;border-radius:10px;border:1px solid #d6dcd9;resize:vertical}.try-row{display:flex;gap:10px}.try-row input{flex:1;font:inherit;padding:9px 10px;border-radius:10px;border:1px solid #d6dcd9}

.safety-note { border: 1px solid #c2410c; background: #fff7ed; color: #7c2d12; border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: 13px; }
.safety-note strong { display: block; margin-bottom: 4px; }
.safety-note p { margin: 2px 0; }
/* 1080p desktop: keep Approve & release on screen. Compact "Play the buyer" row; the
   document preview scrolls inside the panel instead of pushing the decision below the fold. */
@media(min-width:1200px){.try-panel{display:grid;grid-template-columns:minmax(220px,.5fr) 2fr;align-items:center}.try-panel .panel-heading{padding:14px 20px}.try-panel .panel-heading p{display:none}.try-panel .tiny-label{display:none}.try-form{grid-template-columns:1fr auto;padding:12px 20px 12px 0;gap:8px}.try-form textarea{resize:none;height:40px;min-height:40px;padding:9px 10px}.try-row input{min-width:240px}.try-form #try-result{grid-column:1/-1;margin:0}.try-form #try-result:empty{display:none}}
@media(min-width:1200px) and (min-height:900px){.detail-body{max-height:calc(100vh - 800px);min-height:200px;overflow-y:auto}}
@media(min-width:1200px) and (min-height:900px){#detail-content:has(#sms-review:not([hidden])) .detail-body{max-height:calc(100vh - 940px);min-height:120px}}

/* Judge views use the same session, snapshot and local-only browser assets. */
.sidebar{background:linear-gradient(172deg,#11251f 0%,#1c362d 58%,#213b30 100%)}
.sidebar::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#e4b95a,#8eac89 60%,#2c5241)}
.nav-item{position:relative;min-height:41px;transition:background .18s,color .18s,transform .18s}
.nav-item:hover{background:#ffffff13;color:#fff;transform:translateX(2px)}
.nav-item.active{background:#ffffff1a;box-shadow:inset 3px 0 var(--amber)}
.page-heading .eyebrow{color:#8a7350}
.focus-view .kpi-grid{display:none}
.focus-view .evidence-strip{margin-bottom:18px}
.view-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:124px;padding:26px 30px;margin-bottom:18px;border-radius:14px;overflow:hidden;color:#f7faf5;background:linear-gradient(118deg,#18362d,#244b3a 70%,#355942);box-shadow:0 14px 32px #1d39231c}
.view-hero::after{content:"";position:absolute;width:340px;height:340px;right:-86px;top:-210px;border:1px solid #c7dda229;border-radius:50%;box-shadow:0 0 0 54px #d7ebb611,0 0 0 110px #d7ebb609;pointer-events:none}
.view-hero>div,.view-hero>.offline-badge{position:relative;z-index:1}
.view-hero .eyebrow{color:#e0c47c;margin-bottom:9px}
.view-hero h2{font-size:25px;font-weight:520;letter-spacing:-.7px;margin:0 0 7px}
.view-hero p{font-size:11px;color:#c2d3c5;line-height:1.6;margin:0;max-width:660px}
.hero-stat{display:flex;flex-direction:column;min-width:155px;border-left:1px solid #ffffff42;padding-left:24px}
.hero-stat strong{font-size:42px;font-weight:450;letter-spacing:-2px;line-height:1}
.hero-stat span{font-size:9px;letter-spacing:.6px;color:#c3d7c4;margin-top:8px;text-transform:uppercase}
.pipeline-legend{display:flex;flex-wrap:wrap;gap:9px 20px;margin:0 0 14px;padding:0 5px;color:#657767;font-size:10px}
.pipeline-legend span{display:flex;align-items:center;gap:6px}
.legend-dot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#babeb0}
.legend-dot.awaiting{background:#d0aa58}.legend-dot.moving{background:#7899b4}.legend-dot.complete{background:#6ca382}.legend-dot.stopped{background:#b27663}
.pipeline-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start}
.pipeline-column{background:#eff2eb;border:1px solid #e1e7dc;border-radius:12px;min-width:0;min-height:350px;padding:11px}
.pipeline-column-heading{display:flex;align-items:center;gap:7px;padding:7px 5px 2px}
.pipeline-stage-number{display:grid;place-items:center;width:23px;height:23px;flex:none;border-radius:6px;background:#dfe8d9;color:#52705b;font-size:9px;font-weight:700}
.pipeline-column-heading h3{font-size:12px;letter-spacing:-.15px;font-weight:650;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pipeline-stage-count{margin-left:auto;background:#fff;color:#6e7d69;border-radius:5px;padding:3px 5px;font-size:9px;font-variant-numeric:tabular-nums}
.pipeline-column-caption{font-size:9px;line-height:1.45;color:#83917e;margin:7px 5px 12px;min-height:26px}
.pipeline-cards{display:grid;gap:9px;max-height:500px;overflow-y:auto;padding:1px}
.pipeline-card{display:flex;flex-direction:column;gap:5px;width:100%;min-width:0;padding:10px;text-align:left;background:#fff;border:1px solid #e4e9df;border-left:3px solid #d3b467;border-radius:9px;box-shadow:0 3px 8px #1e40200a;color:#253c30}
.pipeline-card:hover{background:#fffdfa;box-shadow:0 7px 20px #28452a1a}
.pipeline-card.pipeline-worker{border-left-color:#779ab2}.pipeline-card.pipeline-receipt{border-left-color:#7cab86}.pipeline-card.pipeline-stopped{border-left-color:#c1866f}.pipeline-card.pipeline-intake{border-left-color:#a28aad}
.pipeline-card-kind{font-size:8px;color:#81927b;letter-spacing:.8px;font-weight:650}
.pipeline-card strong{font-size:11px;line-height:1.4;overflow-wrap:anywhere}
.pipeline-card-ref{font-size:9px;color:#6c806e;overflow-wrap:anywhere}
.pipeline-card-status{display:block;align-self:flex-start;border-radius:4px;background:#faf2dc;color:#846629;padding:4px 6px;font-size:8px;line-height:1.4}
.pipeline-card-status.worker{background:#eaf1f7;color:#5b7a91}.pipeline-card-status.receipt{background:#e8f3e8;color:#537c5b}.pipeline-card-status.stopped{background:#fbefea;color:#925e4a}
.pipeline-card-value{font-size:13px;font-weight:650;letter-spacing:-.2px}
.pipeline-card-foot{font-size:8px;color:#98a496;line-height:1.45;overflow-wrap:anywhere}
.pipeline-empty{border:1px dashed #d4ded0;border-radius:8px;background:#f7f8f5;padding:18px 9px;color:#9da99b;font-size:9px;text-align:center}
.view-disclaimer{font-size:10px;line-height:1.6;color:#85927e;margin:14px 3px 0}
.gate-ribbon{display:flex;align-items:center;gap:8px;background:linear-gradient(90deg,#e9eee4,#f1f4eb);border:1px solid #dce6d5;border-radius:7px;padding:4px 10px;margin-bottom:5px;color:#49624e}
.gate-symbol{display:grid;place-items:center;width:20px;height:20px;flex:none;background:#456b52;color:#fff;border-radius:5px;font-size:11px}
.gate-ribbon>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}.gate-ribbon strong{font-size:10px}.gate-ribbon>div span{font-size:9px;color:#788d78}
.gate-state{font-size:8px;letter-spacing:1px;color:#788d78;margin-left:auto;white-space:nowrap}
.offline-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;border:1px solid #e3c7807a;background:#ffffff14;color:#f8dd9c;padding:8px 10px;font-size:9px;font-weight:700;letter-spacing:.8px;text-align:center;line-height:1.3}
.story-shell{padding:0}.story-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 21px}
.story-topline>div:first-child{display:flex;flex-direction:column;gap:5px}.mini-label{font-size:9px;letter-spacing:1.2px;color:#879885;font-weight:700}.story-topline strong{font-size:13px;color:#304d39}
.story-controls{display:flex;gap:8px}.story-controls button{white-space:nowrap;padding:9px 13px}.story-controls .primary{min-width:126px}
.story-progress{height:5px;background:#e9eee7}.story-progress>span{display:block;height:100%;width:0;background:linear-gradient(90deg,#d2a955,#6f9a76);transition:width .25s}
.story-layout{display:grid;grid-template-columns:minmax(230px,.42fr) minmax(0,1fr);min-height:460px}
.story-steps{list-style:none;padding:12px;margin:0;border-right:1px solid #e8ede5;max-height:485px;overflow-y:auto;background:#fafbf8}
.story-steps li{margin:0}.story-step{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;border-radius:8px;background:transparent;padding:10px;color:#516553}
.story-step:hover{background:#edf2e9}.story-step.active{background:#e9f0e5;box-shadow:inset 3px 0 #779b78}
.story-step-index{font-size:10px;line-height:20px;color:#9eae9c;font-variant-numeric:tabular-nums;flex:none}.story-step.active .story-step-index{color:#467051}
.story-step-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.story-step-copy small{font-size:8px;color:#98a698;letter-spacing:.8px}.story-step-copy strong{font-size:10px;line-height:1.35;font-weight:600}
.story-focus{padding:43px 42px;display:flex;flex-direction:column;align-items:flex-start;min-width:0;background:radial-gradient(circle at 90% 10%,#f1f5e7 0%,transparent 37%),#fff}
.story-phase{font-size:9px;letter-spacing:1.5px;color:#8d774d;font-weight:700;background:#faf2e0;border:1px solid #eee3c8;border-radius:5px;padding:6px 8px}
.story-focus h3{font-size:27px;font-weight:520;letter-spacing:-.7px;line-height:1.2;margin:18px 0 11px;max-width:680px}
.story-focus>p{font-size:13px;line-height:1.7;color:#5c7063;margin:0 0 25px;max-width:700px}
.story-evidence{background:#eff4ed;border-left:3px solid #78a17c;border-radius:5px;padding:15px 18px;width:100%;max-width:680px}
.story-evidence span{font-size:9px;letter-spacing:1px;color:#66836d;font-weight:700}.story-evidence p{font-size:11px;line-height:1.6;margin:8px 0 0;color:#405b49;overflow-wrap:anywhere}
.story-meta{display:flex;gap:20px;flex-wrap:wrap;margin-top:auto;padding-top:23px;color:#9aa79b;font-size:9px;font-variant-numeric:tabular-nums}
.mockup-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.mockup-panel{padding:0 20px 17px}.mockup-panel-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;padding:20px 1px 14px}.mockup-panel-heading h3{font-size:14px;margin:7px 0 0;font-weight:600}.mockup-tag{background:#faf1dc;color:#927033;font-size:8px;letter-spacing:.8px;padding:6px 8px;border-radius:5px}
.phone-frame{margin:auto;max-width:370px;border:5px solid #203b32;border-radius:23px;background:#e9e8df;overflow:hidden;box-shadow:0 16px 34px #1b35231c}.phone-header{display:flex;align-items:center;gap:10px;background:#23483c;color:#fff;padding:15px}.phone-avatar{display:grid;place-items:center;background:#ddb45c;color:#214239;border-radius:50%;width:34px;height:34px;font-size:17px;font-weight:700}.phone-header strong{display:block;font-size:11px}.phone-header small{display:block;font-size:8px;color:#bcd3c6;margin-top:3px}.phone-menu{margin-left:auto;font-size:20px;color:#c0d6c8}.phone-chat{min-height:280px;padding:19px;background:radial-gradient(circle at 14% 5%,#f4f0e5,transparent 60%),#e7e9df}.chat-time{text-align:center;color:#899389;font-size:8px;letter-spacing:.9px;margin:0 0 20px}.chat-bubble{border-radius:11px;padding:13px 14px;max-width:82%;font-size:11px;line-height:1.55;color:#334739;box-shadow:0 2px 4px #22352612}.chat-bubble small{display:block;font-size:8px;color:#91a092;margin-top:7px}.chat-bubble.inbound{background:#fff;border-top-left-radius:3px}.chat-bubble.outbound{background:#d9ebd7;margin-left:auto;border-top-right-radius:3px}.chat-divider{text-align:center;font-size:8px;letter-spacing:.5px;color:#9a8c68;margin:23px 0}.phone-compose{background:#f9faf6;border-top:1px solid #dfe6dc;color:#a8b5a8;font-size:10px;padding:13px 17px}.phone-compose span{float:right;color:#567c64}.mockup-footnote{font-size:9px;line-height:1.6;color:#879788;margin:13px 2px 0}
.chat-actions{display:flex;justify-content:flex-end;gap:6px;margin:4px 0 5px}.chat-actions span{background:#f9fcfa;border:1px solid #d5e4d3;color:#4b7860;border-radius:5px;padding:6px 9px;font-size:8px}.chat-document{display:flex;align-items:center;gap:8px;width:82%;margin-left:auto;background:#d9ebd7;border-radius:8px;border-top-right-radius:3px;padding:9px 11px;color:#3c5d46}.chat-document strong{display:block;font-size:9px}.chat-document small{display:block;margin-top:3px;font-size:8px;color:#779680}
.mail-frame{background:#fff;border:1px solid #e0e7df;border-radius:10px;min-height:397px;box-shadow:0 10px 26px #26412b10;overflow:hidden}.mail-toolbar{display:flex;justify-content:space-between;background:#f2f5f0;border-bottom:1px solid #e6ece4;padding:15px 18px;color:#718172;font-size:10px}.mail-content{padding:21px 24px}.mail-pretitle{font-size:8px;color:#ab9668;letter-spacing:.6px}.mail-content h4{font-size:17px;letter-spacing:-.3px;margin:10px 0 17px}.mail-sender{display:flex;align-items:center;gap:8px;border-bottom:1px solid #eef1eb;padding-bottom:14px;margin-bottom:17px}.mail-avatar{display:grid;place-items:center;background:#e9eee4;color:#456e52;width:29px;height:29px;border-radius:50%;font-weight:700}.mail-sender strong{display:block;font-size:10px}.mail-sender small{display:block;font-size:8px;color:#9da99c;margin-top:3px}.mail-sender>span:last-child{margin-left:auto;font-size:8px;color:#9ca99d}.mail-content p{font-size:10px;line-height:1.65;color:#5a6c5f;margin:0 0 11px}.mail-attachment{display:flex;align-items:center;gap:10px;margin-top:18px;padding:11px;border:1px solid #e9ede6;border-radius:7px;background:#f9faf6}.pdf-icon{font-size:8px;font-weight:700;background:#ba6955;color:#fff;padding:7px 5px;border-radius:3px}.mail-attachment strong{display:block;font-size:10px}.mail-attachment small{display:block;font-size:8px;color:#97a497;margin-top:3px}.mail-attachment>span:last-child{margin-left:auto;color:#8d9b8d}
@media(max-width:1400px){.pipeline-board{grid-template-columns:repeat(3,minmax(0,1fr))}.pipeline-column{min-height:250px}.pipeline-cards{max-height:390px}}
@media(max-width:810px){.view-hero{padding:22px;min-height:110px}.view-hero h2{font-size:20px}.pipeline-board{grid-template-columns:repeat(2,minmax(0,1fr))}.gate-state{display:none}.story-layout{grid-template-columns:1fr}.story-steps{max-height:210px;border-right:0;border-bottom:1px solid #e8ede5}.story-focus{min-height:330px;padding:27px}.mockup-layout{grid-template-columns:1fr}}
@media(max-width:540px){.view-hero{flex-direction:column;align-items:flex-start;gap:13px}.hero-stat{border-left:0;border-top:1px solid #ffffff42;padding:10px 0 0;width:100%}.hero-stat strong{font-size:29px}.pipeline-board{grid-template-columns:1fr}.pipeline-column{min-height:0}.pipeline-cards{max-height:300px}.gate-ribbon>div span{display:none}.story-topline{align-items:flex-start;flex-direction:column}.story-controls{width:100%;justify-content:space-between}.story-controls button{min-width:0;padding:8px;font-size:9px}.story-focus h3{font-size:20px}.offline-badge{font-size:8px}.mockup-panel{padding-left:12px;padding-right:12px}}
.dataset-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:10px;margin:0 0 16px}.dataset-summary>div{display:flex;align-items:baseline;gap:7px;padding:12px 15px;border:1px solid #dce6d6;border-radius:8px;background:#f8faf3}.dataset-summary strong{font-size:22px;color:#34573c}.dataset-summary span{font-size:9px;color:#7b8b72}.dataset-impact{padding:22px 26px 8px;border-top:1px solid #e4eadf}.dataset-impact-heading h3{margin:8px 0;font-size:20px}.synthetic-financial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:15px 0}.synthetic-financial-grid>div{display:flex;flex-direction:column;gap:9px;padding:15px;border:1px solid #e0e7d7;border-radius:9px;background:#f7f9f2}.synthetic-financial-grid span{font-size:10px;color:#75866b}.synthetic-financial-grid strong{font-size:22px;color:#35553a}.dataset-statuses{display:flex;flex-wrap:wrap;gap:7px}.dataset-statuses>span{font-size:9px;background:#edf2e7;border-radius:5px;padding:7px;color:#61755c}.reconciliation-formula{font-size:10px;line-height:1.7;color:#7c8a70}.message-row{width:100%;text-align:left;background:#fff;color:inherit}.message-row>div{max-width:88%}.message-row p{white-space:normal;line-height:1.6}.message-row small{font-size:9px;color:#8b9984}.timeline p,.source-file p{white-space:pre-line}.timeline-attachment{display:block;font-size:10px;color:#47744d;margin-top:8px;overflow-wrap:anywhere}.synthetic-photo{display:block;max-width:100%;max-height:340px;object-fit:contain;border:1px solid #dde6d6;border-radius:8px;margin-top:10px}
@media(max-width:810px){.dataset-summary{grid-template-columns:repeat(3,1fr)}.synthetic-financial-grid{grid-template-columns:repeat(2,1fr)}.dataset-summary>div{padding:10px}.dataset-summary strong{font-size:18px}}
.dataset-summary{grid-template-columns:repeat(5,minmax(0,1fr))}.synthetic-financial-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dataset-summary>div,.synthetic-financial-grid>div{min-width:0}.dataset-summary span,.synthetic-financial-grid strong,.reconciliation-formula{overflow-wrap:anywhere}
@media(max-width:810px){.dataset-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.synthetic-financial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dataset-summary>div{flex-direction:column;gap:5px}}
@media(max-width:540px){.dataset-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.synthetic-financial-grid{grid-template-columns:minmax(0,1fr)}.dataset-impact{padding-left:16px;padding-right:16px}.synthetic-financial-grid strong{font-size:20px}}
