/* Droppy's palette and CTA, with Mako typography and a compact account shell. */
body[data-workspace-design="3"]{--ink:#10121d;--paper:#fbfbfd;--surface:#fff;--line:#e7e8ef;--muted:#676b80;--blue:#3874ff;--purple:#575bf7;--accent-deep:#4e50dd;--accent-soft:#f0f1ff;--chart-secondary:#9aabff;--companion-surface:#eef0ff;--companion-line:#dfe3ff;--urgency-ink:#91400c;--urgency-today:#ffd2a3;--urgency-soon:#ffe4c5;--urgency-week:#fff0de;--urgency-later:#fff7ed;--urgency-expired:#ffc18a;--cta:radial-gradient(circle at 78% 12%,rgba(115,126,255,.62),transparent 34%),linear-gradient(118deg,#4776ff 0%,#575bf7 58%,#4e50dd 100%);background:var(--paper);color:var(--ink);color-scheme:light}
.mako-header{position:sticky;top:0;z-index:8;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(48px,1fr);gap:20px;align-items:center;padding:16px 30px;border-bottom:1px solid var(--line);background:var(--surface)}
.mako-header-space{display:flex;gap:22px;align-items:center;min-width:0}.mako-header .brand{display:flex;gap:9px;align-items:center;color:var(--ink);font-size:29px;font-weight:900;letter-spacing:-1px;flex:none}.mako-header .brand img{display:block!important;width:30px;height:23px}
.mako-header .today-workspace{display:block;min-width:0}.mako-header .today-workspace strong{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:300px}.mako-header #workspace-choice{font-size:12px;max-width:220px}
body[data-workspace-design="3"] .mako-header #navigation{position:static;transform:none;display:flex;flex-direction:row;gap:5px;margin:0;padding:4px;border:1px solid var(--line);border-radius:15px;background:var(--paper)}.mako-header #navigation[hidden]{display:none!important}
body[data-workspace-design="3"] .mako-header #navigation a{display:flex;align-items:center;gap:8px;padding:9px 15px;border:0;border-radius:11px;color:var(--muted);font-size:14px;font-weight:750;white-space:nowrap}
body[data-workspace-design="3"] .mako-header #navigation a[aria-current="page"]{color:var(--accent-deep);background:var(--surface);box-shadow:0 2px 6px #10121d0b}.mako-header #navigation a:hover{color:var(--blue)}
.mako-header #account-holder{position:relative;justify-self:end;margin:0}.mako-header .profile{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);border:1px solid var(--line);font-size:15px;font-weight:750}
.mako-header .account-menu{top:52px;bottom:auto;left:auto;right:0;width:280px;max-width:calc(100vw - 28px);padding:17px;border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:0 12px 45px #10121d18}.mako-header .account-menu h2{font-size:17px}.mako-header .account-menu .account-eyebrow,.mako-header .account-identity{display:none}.mako-header .account-menu h2::after{content:attr(data-email);display:block;font-size:12px;font-weight:500;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.mako-header .account-options button,.mako-header .account-logout{color:var(--ink);font-size:14px;background:transparent}
body.mako-signed-in[data-workspace-design="3"] main:not(.mako-today),body.mako-signed-in[data-workspace-design="3"] .mako-today{width:100%;max-width:1440px;margin:0 auto;padding:24px 30px 36px}.today-intro{margin-bottom:16px;padding:0}.today-greeting{margin:0;color:var(--muted);font-size:14px}.today-intro h1{font-size:30px;letter-spacing:-.7px}.today-section-head{margin-bottom:12px}.today-section-head h2{font-size:21px;font-weight:750}
.today-cards{gap:16px}.today-card{padding:23px;border-color:var(--line);border-radius:19px;background:var(--surface);color:var(--ink)}.today-card-featured{background:linear-gradient(135deg,var(--surface),var(--accent-soft));border:1px solid var(--line);border-left:3px solid var(--blue)}.today-card-title{line-height:1.25;letter-spacing:-.6px;font-weight:800}.today-card-summary{font-size:14px;color:var(--muted);line-height:1.5;margin-top:9px}.today-card-body{gap:20px}.today-action{font-size:13px;color:var(--accent-deep);margin-top:20px}.today-metric{color:var(--accent-deep);letter-spacing:-1px}.today-card-featured .today-metric{color:var(--accent-deep)}.today-metric-label,.today-period,.today-urgency{color:var(--muted);}.today-urgency{margin-top:5px}.today-urgency.is-urgent{font-weight:800}.today-card-top{margin-bottom:16px}.today-measurement{border-color:var(--line)!important}.today-card>.today-icon,.today-row>.today-icon{color:var(--blue)}.today-card:hover,.today-row:hover{border-color:var(--blue);box-shadow:0 5px 22px #4776ff0c}
.today-row{border:1px solid var(--line);border-radius:15px;background:var(--surface);padding:16px 19px}.today-row h3{font-size:16px;color:var(--ink)}.today-row-metric{color:var(--accent-deep)}.today-library-controls{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;color:var(--muted);font-size:13px}.today-library-controls select{padding:9px 13px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--ink);font-size:14px}
.today-opportunity{display:flex;gap:22px;align-items:center;background:var(--accent-soft);border:1px solid var(--line);border-radius:12px;padding:12px 16px;margin:0 0 20px}.today-opportunity-item{gap:9px}.today-opportunity-item+div{padding-left:20px;border-color:var(--line)}.today-opportunity-item>.today-icon{width:24px;height:24px;background:none;border-radius:0;color:var(--blue)}.today-opportunity-item>.today-icon svg{width:20px;height:20px}.today-opportunity strong{font-size:17px;letter-spacing:-.25px}.today-opportunity-item span:not(.today-icon){font-size:12px}
body[data-workspace-design="3"] .primary,body[data-workspace-design="3"] .sf-primary-button,body[data-workspace-design="3"] .sf-question-send{background:var(--cta);border:1px solid rgba(87,91,247,.98);border-radius:14px;color:#fff;font-weight:800;box-shadow:0 8px 20px rgba(65,70,190,.2),inset 0 1px 1px rgba(255,255,255,.3),inset 0 -1px 1px rgba(39,42,123,.16);transition:box-shadow .15s,filter .15s,transform .15s}
body[data-workspace-design="3"] .primary:hover,body[data-workspace-design="3"] .sf-primary-button:hover,body[data-workspace-design="3"] .sf-question-send:hover{filter:brightness(1.05);box-shadow:0 10px 25px rgba(65,70,190,.26);transform:translateY(-1px)}body[data-workspace-design="3"] button:disabled{opacity:.5;transform:none!important;cursor:default}body[data-workspace-design="3"] :focus-visible{outline:3px solid var(--blue);outline-offset:3px}
body[data-workspace-design="3"] .sf-dialog{width:calc(100vw - 40px);max-width:1540px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:20px auto;border:1px solid var(--line);background:var(--paper)}.sf-dialog>.dialog-head{min-height:52px;padding:10px 18px;background:var(--surface);border-color:var(--line)}.sf-dialog #dialog-content{padding:16px;scrollbar-gutter:auto}.sf-dialog>.dialog-head h2,.sf-finding{color:var(--ink)}
.sf-dossier{grid-template-columns:minmax(0,1fr) clamp(360px,29vw,440px);gap:16px;align-items:start}.sf-dossier-main{gap:12px}.sf-insight-hero,.sf-section-card,.sf-companion-panel{border-color:var(--line);border-radius:18px;background:var(--surface)}.sf-insight-hero{padding:18px 20px;background:linear-gradient(135deg,var(--surface),var(--accent-soft))}.sf-scope{margin-bottom:12px}.sf-headline{font-size:clamp(30px,2.3vw,34px);letter-spacing:-.8px;line-height:1.17}.sf-summary{font-size:14px;margin-top:9px;color:var(--muted)}.sf-section-card{padding:16px 20px}.sf-section-heading{margin-bottom:10px}.sf-section-icon,.sf-type-badge{background:var(--accent-soft);color:var(--accent-deep)}.sf-date-badge,.sf-primary-metric>span,.sf-comparison-row,.sf-comparison figcaption,.sf-concentration figcaption,.sf-timeline figcaption{color:var(--muted)}.sf-primary-metric>strong,.sf-ratio-value>strong{font-size:46px;color:var(--accent-deep)}.sf-comparison-row>strong,.sf-comparison-row.is-primary>strong{font-size:23px;color:var(--ink)}.sf-track{height:10px;background:var(--line)}.sf-track>span{background:linear-gradient(90deg,var(--blue),var(--purple))}.sf-comparison-row:nth-child(2) .sf-track>span{background:var(--chart-secondary)}.sf-comparison figcaption{background:var(--accent-soft);padding:8px 10px;margin-top:12px}.sf-comparison-row{padding:6px 0}.sf-ratio-blocks>.is-filled{background:var(--cta)}.sf-ratio-blocks>span{background:var(--line)}.sf-facts>div{background:var(--paper);border-color:var(--line)}.sf-facts dd{color:var(--ink)}.sf-facts dt,.sf-provenance,.sf-limitations{color:var(--muted)}
.sf-action-panel{background:var(--surface);border-color:var(--line)}.sf-action-copy{font-size:17px;line-height:1.4}.sf-action-heading,.sf-action-heading h2{color:var(--accent-deep)}.sf-action-controls{gap:8px}.sf-primary-button{font-size:13px;padding:11px 17px;min-height:42px}.sf-companion-panel{position:sticky;top:0;padding:17px;display:flex;flex-direction:column;gap:10px;height:calc(100dvh - 132px);max-height:calc(100dvh - 132px);min-height:0;background:var(--companion-surface);border-color:var(--companion-line)}.sf-companion-head{flex-direction:row;align-items:center;gap:10px;margin:0;flex:none}.sf-companion-mascot{width:76px;height:82px;margin:0}.sf-companion-head h2{font-size:23px;margin:0;color:var(--ink)}.sf-companion-head p{font-size:12px;color:var(--muted)}
.sf-chat-messages{min-height:0;overflow:auto;overscroll-behavior:contain;flex:1;scrollbar-width:thin}.sf-chat-welcome p{color:var(--muted);font-size:13px;line-height:1.5;margin:8px 0 14px}.sf-chat-suggestion{display:block;text-align:left;width:100%;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--accent-deep);padding:10px 12px;font-size:13px;margin:7px 0}.sf-chat-turn{padding:9px 0;font-size:13px;line-height:1.6}.sf-chat-question{background:var(--accent-soft);border-radius:13px;padding:10px 12px;margin:0 0 10px;color:var(--ink);white-space:pre-wrap}.sf-chat-reply{padding:0 3px;color:var(--ink)}.sf-chat-reply p{margin:8px 0}.sf-chat-progress,.sf-chat-historical,.sf-chat-status{font-size:12px;color:var(--muted);margin:4px 0}.sf-chat-status:empty{display:none}.sf-chat-form{display:flex;align-items:flex-end;gap:8px;border:1px solid var(--companion-line);border-radius:14px;background:var(--surface);padding:8px;flex:none}.sf-chat-form textarea{width:100%;min-height:44px;max-height:120px;resize:vertical;border:0;border-radius:0;padding:5px;background:transparent;color:var(--ink);font-size:13px;line-height:1.5}.sf-chat-form .sf-question-send{width:37px;height:37px;flex:none;border-radius:11px;font-size:21px}.sf-chat-memory{font-size:12px;flex:none;color:var(--muted);max-height:min(220px,28dvh);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.sf-chat-memory summary{cursor:pointer;padding:3px 0}.sf-memory-entry,.sf-memory-proposal{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:12px;margin:10px 0;color:var(--ink);font-size:12px}.sf-memory-entry{background:var(--surface);border-color:var(--companion-line)}.sf-memory-title{display:block;font-size:13px;line-height:1.4}.sf-memory-note{margin:6px 0 12px;line-height:1.5}.sf-memory-footer{display:grid;gap:10px}.sf-memory-meta{display:block;color:var(--muted);font-size:11px;line-height:1.5}.sf-memory-controls .sf-memory-button{min-height:32px;padding:6px 11px;border:1px solid var(--line);border-radius:9px;background:var(--surface);color:var(--muted);font-size:12px;line-height:1.4;font-weight:700;cursor:pointer}.sf-memory-controls .sf-memory-button:hover{color:var(--accent-deep);border-color:var(--accent-deep)}.sf-memory-controls[hidden]{display:none}.sf-memory-controls{display:flex;gap:8px;flex-wrap:wrap}.sf-memory-controls .sf-primary-button{min-height:34px;padding:6px 10px}.sf-memory-edit{display:grid;gap:8px;margin-top:12px}.sf-memory-edit label{display:grid;gap:4px}.sf-memory-edit input,.sf-memory-edit textarea,.sf-memory-entry textarea{font-size:12px;background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:8px;border-radius:8px;max-width:100%;width:100%}.sf-chat-proof{font-size:11px;color:var(--muted);margin:9px 0}.sf-chat-proof summary{cursor:pointer;color:var(--accent-deep)}.sf-mobile-chat-toggle,.sf-mobile-chat-close{display:none}
.mako-preferences{display:grid;gap:18px;max-width:480px}.mako-preferences label{display:grid;gap:7px;font-size:14px}.mako-preferences select{padding:11px;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);font-size:14px}.mako-preferences .primary{justify-self:start;padding:11px 20px}.mako-preferences p{margin:0}
html[data-theme="dark"] body[data-workspace-design="3"]{--ink:#f1f3ff;--paper:#10121d;--surface:#1b1e2c;--line:#34394b;--muted:#b5bbce;--blue:#83a7ff;--purple:#a1a5ff;--accent-deep:#a8adff;--accent-soft:#262942;--chart-secondary:#657fc0;--companion-surface:#24283f;--companion-line:#3d4262;--urgency-ink:#ffcf9b;--urgency-today:#65391d;--urgency-soon:#50331e;--urgency-week:#3e2d22;--urgency-later:#2e2622;--urgency-expired:#794321;color-scheme:dark}
body[data-workspace-design="3"] dialog:not(.sf-dialog){background:var(--surface);color:var(--ink);border-color:var(--line)}body[data-workspace-design="3"] input,body[data-workspace-design="3"] textarea,body[data-workspace-design="3"] select{color:var(--ink);border-color:var(--line)}.sf-followup{background:var(--surface);color:var(--ink);border-color:var(--line)}.sf-followup input,.sf-followup textarea,.sf-followup select{background:var(--paper)}
@media(max-width:1050px){.mako-header{padding:14px 20px;gap:12px}.mako-header .today-workspace strong{max-width:190px;font-size:12px}.mako-header-space{gap:15px}.sf-dossier{grid-template-columns:minmax(0,1fr) 360px}.sf-headline{font-size:30px}.sf-action-controls{width:auto;max-width:none}}
@media(max-width:760px){.mako-header{grid-template-columns:1fr 44px;gap:10px;padding:12px 16px}.mako-header .brand{font-size:25px}.mako-header .today-workspace strong{max-width:200px}.mako-header #navigation{grid-column:1/-1;grid-row:2;justify-self:center}.mako-header #account-holder{grid-column:2;grid-row:1}body.mako-signed-in[data-workspace-design="3"] .mako-today,body.mako-signed-in[data-workspace-design="3"] main:not(.mako-today){padding:20px 16px 30px;width:100%;margin:0}.today-card,.today-card-featured{padding:19px}.today-row{padding:15px;flex-wrap:wrap}.today-row h3{flex-basis:100%;font-size:15px}.today-opportunity{flex-wrap:wrap;gap:10px}.today-opportunity-item+div{border:0;padding:0}
body[data-workspace-design="3"] .sf-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.sf-dialog #dialog-content{padding:12px 12px 86px}.sf-dossier{grid-template-columns:1fr}.sf-headline{font-size:28px}.sf-insight-hero{padding:17px}.sf-section-card{padding:16px}.sf-primary-metric>strong{font-size:44px}.sf-action-panel{position:sticky;bottom:-74px;z-index:3;box-shadow:0 -6px 20px #10121d0c}.sf-action-body{gap:10px}.sf-action-controls{flex-direction:row;width:100%;align-items:center;justify-content:space-between}.sf-action-controls .sf-primary-button{width:auto}.sf-action-copy{font-size:15px}.sf-companion-panel{display:none}.sf-mobile-chat-toggle{display:block;position:sticky;bottom:8px;z-index:4;margin:12px 0 0 auto;background:var(--accent-soft);color:var(--accent-deep);border:1px solid var(--line);border-radius:12px;padding:11px 17px;font-weight:800}.sf-dialog.is-chat-open .sf-companion-panel{position:fixed;display:flex;z-index:6;inset:55px 0 116px;height:auto;max-height:none;border-radius:0;padding:16px;background:var(--companion-surface)}.sf-dialog.is-chat-open .sf-action-panel{position:fixed;z-index:7;bottom:0;left:0;right:0;border-radius:0;margin:0;padding:12px 16px;max-height:116px}.sf-dialog.is-chat-open .sf-action-panel .sf-section-heading{display:none}.sf-dialog.is-chat-open .sf-mobile-chat-toggle{display:none}.sf-mobile-chat-close{display:block;align-self:flex-end;color:var(--accent-deep);font-size:13px}.sf-chat-messages{max-height:none;min-height:0}.sf-chat-memory{max-height:160px}.sf-companion-mascot{width:60px;height:65px}}
@media(max-width:430px){.mako-header .today-workspace strong{max-width:150px;font-size:11px}.mako-header-space{gap:12px}.today-measurement{min-width:0}.sf-scope{gap:8px}.sf-type-badge{font-size:10px}.sf-action-controls{flex-wrap:wrap}.sf-followup{padding:18px}.mako-header .profile{width:36px;height:36px}}
@media(prefers-reduced-motion:reduce){body[data-workspace-design="3"] *,body[data-workspace-design="3"] *::before,body[data-workspace-design="3"] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.mako-number{white-space:nowrap;overflow-wrap:normal;word-break:normal}.sf-primary-metric>strong,.today-metric,.today-row-metric{overflow-wrap:normal;word-break:normal}.sf-explanation{margin:0 0 12px;color:var(--muted);font-size:12px;line-height:1.45}
.today-financial-summary{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:36px;align-items:center;background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:4px 4px 25px;margin:0 0 24px}.today-financial-summary .today-opportunity-item{gap:16px}.today-financial-summary .today-opportunity-item+div{border:0;padding-left:0}.today-financial-summary .today-opportunity-copy,.today-financial-summary .today-priority-copy{display:flex;flex-direction:column;gap:8px}.today-potential-label{margin:0;color:var(--muted);font-size:15px;font-weight:600}.today-financial-summary .today-money{font-size:clamp(36px,3.5vw,56px);line-height:1.08;letter-spacing:-1px;color:var(--accent-deep);font-weight:800}.today-financial-summary .today-priority-title{font-size:clamp(20px,1.6vw,27px);line-height:1.25;letter-spacing:-.6px}.today-financial-summary .today-caption{font-size:13px;color:var(--muted);line-height:1.45}.today-financial-summary .today-icon{width:42px;height:42px;border-radius:50%;background:var(--accent-soft);color:var(--accent-deep);flex:none}.today-financial-summary .today-icon svg{width:23px;height:23px}.today-money .mako-number,.today-financial-metric .mako-number,.today-row-metric .mako-number,.sf-potential-amount .mako-number{font:inherit!important;color:inherit!important;letter-spacing:inherit;line-height:inherit;font-variant-numeric:tabular-nums}.today-financial-metric{white-space:nowrap;letter-spacing:-.5px}.sf-potential-panel{background:var(--accent-soft);border-color:var(--companion-line)}.sf-potential-amount{display:block;font-size:clamp(30px,3vw,42px);line-height:1.15;letter-spacing:-.5px;color:var(--accent-deep);margin:6px 0 10px}.sf-potential-explanation{font-size:13px;line-height:1.55;color:var(--ink);margin:0 0 8px}.sf-potential-period{color:var(--muted);font-size:12px}
@media(min-width:761px){.today-card-featured .today-card-body:has(.today-financial-metric){grid-template-columns:minmax(0,1fr) minmax(250px,28%)}}
@media(max-width:760px){.today-financial-summary{grid-template-columns:1fr;gap:20px;padding:2px 0 20px}.today-financial-summary .today-money{font-size:clamp(31px,8.6vw,45px);letter-spacing:-1px}.today-financial-summary .today-priority-title{font-size:19px}.today-financial-summary .today-opportunity-item{gap:12px}.today-financial-summary .today-opportunity-item>.today-icon{width:35px;height:35px}.today-financial-summary .today-caption{font-size:12px}.sf-potential-amount{font-size:32px}}
.mako-preferences-dialog{width:min(480px,calc(100vw - 32px))}.mako-theme-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 0 18px;border-bottom:1px solid var(--line);font-size:15px}.mako-theme-switch{display:block;position:relative;width:84px;height:48px;padding:4px;border:2px solid var(--line);border-radius:999px;background:var(--paper);box-shadow:inset 0 1px 2px #10121d0a;cursor:pointer;flex:none}.mako-theme-thumb{display:grid;place-items:center;width:36px;height:36px;background:var(--surface);border-radius:50%;color:var(--muted);box-shadow:0 2px 5px #10121d18;transition:transform .18s}.mako-theme-thumb svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.mako-theme-switch[aria-checked="true"] .mako-theme-thumb{transform:translateX(32px);color:var(--accent-deep)}.mako-preferences [role="status"]{color:var(--muted);font-size:12px}.mako-preferences [role="status"]:empty{display:none}
@media(max-width:760px){.sf-dialog.is-chat-open .sf-dossier{animation:none!important;transform:none!important;will-change:auto}.sf-dialog.is-chat-open #dialog-content{overflow:hidden}.sf-dialog.is-chat-open .sf-companion-panel{inset:57px 0 132px}.sf-dialog.is-chat-open .sf-action-panel{height:132px;max-height:none;overflow:hidden}.sf-dialog.is-chat-open .sf-action-description .sf-assignment{display:none}.sf-dialog.is-chat-open .sf-action-copy{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.sf-dialog.is-chat-open .sf-action-controls{gap:8px;flex-wrap:nowrap}.sf-dialog.is-chat-open .sf-action-body{gap:8px}}

/* Each chart uses the same two accent families and the dossier's validated scope. */
.sf-analysis-panel{background:var(--surface)}.sf-ratio-value>span{color:var(--muted)}.sf-chart-unit{display:block;margin-top:4px}.sf-facts:empty{display:none}.sf-support-panel>.sf-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.sf-analysis-panel>.sf-primary-metric{margin:0 0 12px}.sf-analysis-panel>small{display:block;margin-top:8px;color:var(--muted);font-size:12px}.sf-period-icon{font-family:system-ui,sans-serif}
.sf-gap-track{position:relative;height:16px;overflow:hidden;border-radius:8px;background:var(--accent-soft);margin-top:18px}.sf-gap-fill{position:absolute;top:0;height:100%;background:var(--cta)}.sf-gap-zero{position:absolute;left:50%;height:100%;width:2px;background:var(--muted)}.sf-gap-axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:7px}.sf-gap-axis>span:nth-child(2){position:absolute;left:50%;transform:translateX(-50%)}.sf-gap-axis{position:relative}.sf-matched-gap .sf-primary-metric{margin:4px 0 12px}
.sf-period-summary{padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:var(--paper);align-self:center}.sf-period-heading{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.sf-period-icon{font-size:23px;color:var(--blue);line-height:1}.sf-period-summary .sf-timeline-window{margin:14px 0;gap:12px;font-size:13px;font-weight:750;white-space:nowrap;color:var(--ink)}.sf-period-summary .sf-timeline-line{height:3px;min-width:20px;background:var(--chart-secondary)}.sf-period-summary figcaption{margin-top:0;font-size:11px}
.sf-capacity-summary{padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:var(--paper);align-self:center}.sf-capacity-heading{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:13px}.sf-capacity-heading>strong{color:var(--accent-deep);font-size:28px;line-height:1.2;white-space:nowrap}.sf-capacity-track{height:14px;margin:14px 0 10px}.sf-capacity-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px;color:var(--muted);font-size:12px}.sf-capacity-total>strong{margin-left:auto;color:var(--ink);font-size:17px;white-space:nowrap}.sf-capacity-summary figcaption{margin-top:10px;font-size:11px}
.sf-price-distribution{margin:0}.sf-distribution-labels{display:flex;gap:18px;align-items:baseline;flex-wrap:wrap;margin-bottom:18px}.sf-distribution-label{display:grid;gap:5px;flex:1;min-width:110px}.sf-distribution-label>strong{color:var(--ink);font-size:27px;font-weight:800;line-height:1.1}.sf-distribution-label.is-primary>strong{font-size:46px;color:var(--accent-deep);letter-spacing:-1.2px}.sf-distribution-label>span{font-size:12px;line-height:1.45;color:var(--muted)}.sf-distribution-track{display:flex;height:18px;border-radius:9px;overflow:hidden;background:var(--line)}.sf-distribution-segment{display:block;height:100%;background:var(--cta)}.sf-distribution-segment[data-series="1"]{background:var(--chart-secondary)}.sf-distribution-segment[data-series="2"]{background:var(--line)}.sf-price-distribution figcaption{margin-top:13px;color:var(--muted);font-size:12px;line-height:1.5}.sf-rate-change .sf-comparison-row:first-child .sf-track>span{background:var(--chart-secondary)}.sf-rate-change .sf-comparison-row:nth-child(2) .sf-track>span{background:var(--cta)}
.sf-calendar-day.is-empty{background:var(--cta)}.sf-calendar-day.is-studied{background:var(--accent-soft);border-color:var(--companion-line)}

/* Urgency alone uses a complementary orange, stronger as the deadline approaches. */
.sf-urgency-badge[data-urgency="UNDEMONSTRATED"]{background:var(--paper);color:var(--muted)}
.today-urgency[data-urgency="LATER"],.sf-urgency-badge[data-urgency="LATER"]{background:var(--urgency-later);color:var(--urgency-ink)}
.today-urgency[data-urgency="THIS_WEEK"],.sf-urgency-badge[data-urgency="THIS_WEEK"]{background:var(--urgency-week);color:var(--urgency-ink)}
.today-urgency[data-urgency="TWO_THREE_DAYS"],.sf-urgency-badge[data-urgency="TWO_THREE_DAYS"]{background:var(--urgency-soon);color:var(--urgency-ink)}
.today-urgency[data-urgency="TODAY"],.sf-urgency-badge[data-urgency="TODAY"]{background:var(--urgency-today);color:var(--urgency-ink)}
.today-urgency[data-urgency="EXPIRED"],.sf-urgency-badge[data-urgency="EXPIRED"]{background:var(--urgency-expired);color:var(--urgency-ink)}

/* Retained dossiers use the same V3 palette and full-height companion. */
body[data-workspace-design="3"] .analyst-dialog.decision-brief-dialog{width:calc(100vw - 40px);max-width:1540px;height:calc(100dvh - 40px);max-height:calc(100dvh - 40px);margin:20px auto;background:var(--paper);color:var(--ink);border-color:var(--line)}
body[data-workspace-design="3"] .decision-brief-dialog .dialog-head{position:relative;top:auto;right:auto;width:100%;height:auto;min-height:52px;padding:10px 18px;background:var(--surface);border-bottom:1px solid var(--line)}body[data-workspace-design="3"] .decision-brief-dialog .dialog-head h2{position:static;width:auto;height:auto;clip-path:none;white-space:normal;overflow:visible;font-size:15px;color:var(--ink)}body[data-workspace-design="3"] .decision-brief-dialog #dialog-content{height:calc(100% - 52px)}
body[data-workspace-design="3"] .decision-brief-dialog .analyst-columns{grid-template-columns:minmax(0,1fr) clamp(360px,29vw,440px);gap:16px;padding:16px;background:var(--paper)}body[data-workspace-design="3"] .decision-brief-dialog .analyst-analysis{padding:20px 24px;background:var(--surface);border:1px solid var(--line);border-radius:18px}
body[data-workspace-design="3"] .decision-brief-dialog .analyst-chat{background:var(--companion-surface);border:1px solid var(--companion-line);border-radius:18px;color:var(--ink)}body[data-workspace-design="3"] .decision-brief-dialog .analyst-chat-head{padding:17px 17px 8px}body[data-workspace-design="3"] .decision-brief-dialog .analyst-chat-head img{width:65px;height:72px}body[data-workspace-design="3"] .decision-brief-dialog .analyst-chat-head h3{color:var(--ink);font-size:23px}
body[data-workspace-design="3"] .analyst-welcome,body[data-workspace-design="3"] .analyst-nature,body[data-workspace-design="3"] .analyst-historical,body[data-workspace-design="3"] .analyst-thinking-copy,body[data-workspace-design="3"] .analyst-proposal small,body[data-workspace-design="3"] .analyst-version-detail{color:var(--muted)}body[data-workspace-design="3"] .analyst-welcome h4,body[data-workspace-design="3"] .analyst-answer-text strong{color:var(--ink)}
body[data-workspace-design="3"] .analyst-suggestion,body[data-workspace-design="3"] .analyst-citation{border-color:var(--companion-line);background:var(--surface);color:var(--accent-deep)}body[data-workspace-design="3"] .analyst-suggestion:hover,body[data-workspace-design="3"] .analyst-citation:hover{border-color:var(--blue);background:var(--accent-soft)}body[data-workspace-design="3"] .analyst-question,body[data-workspace-design="3"] .analyst-fact{background:var(--accent-soft);color:var(--ink)}body[data-workspace-design="3"] .analyst-answer-text li::marker{color:var(--blue)}
body[data-workspace-design="3"] .analyst-messages{padding:12px 17px 18px}body[data-workspace-design="3"] .analyst-composer{background:transparent;border-color:var(--companion-line);padding:12px 17px 17px}body[data-workspace-design="3"] .analyst-composer textarea{background:var(--surface);border-color:var(--companion-line);color:var(--ink);font-size:14px}body[data-workspace-design="3"] .analyst-version,body[data-workspace-design="3"] .analyst-test{background:var(--accent-soft);color:var(--muted)}
body[data-workspace-design="3"] .analyst-proposal,body[data-workspace-design="3"] .analyst-proof-highlight{background:var(--surface);border-color:var(--companion-line);box-shadow:none}body[data-workspace-design="3"] .analyst-proof-highlight>small,body[data-workspace-design="3"] .analyst-version button{color:var(--muted)}body[data-workspace-design="3"] .analyst-proof-row{border-color:var(--line)}body[data-workspace-design="3"] .analyst-thinking-dots i{background:var(--blue)}body[data-workspace-design="3"] .analyst-thinking-figure::before{background:radial-gradient(circle,var(--chart-secondary),transparent 70%)}
body[data-workspace-design="3"] .brief-memory,body[data-workspace-design="3"] .brief-memory-card p,body[data-workspace-design="3"] .brief-memory-card small{color:var(--muted)}body[data-workspace-design="3"] .brief-memory>summary,body[data-workspace-design="3"] .brief-memory-card h4{color:var(--ink)}body[data-workspace-design="3"] .brief-memory-card{background:var(--surface);border-color:var(--companion-line)}body[data-workspace-design="3"] .brief-memory-avatar,body[data-workspace-design="3"] .brief-memory-card.is-confirmed .brief-memory-avatar{background:var(--accent-soft);color:var(--accent-deep)}body[data-workspace-design="3"] .brief-memory-all{color:var(--accent-deep)}body[data-workspace-design="3"] .secondary{background:var(--accent-soft);border-color:var(--line);color:var(--accent-deep)}
body[data-workspace-design="3"] .v3-memo .v3-memo-primary{background:var(--cta);color:#fff;box-shadow:0 8px 20px rgba(65,70,190,.2)}.v3-memo-bar-row:first-child .v3-memo-bar-track>span{background:var(--chart-secondary)}.v3-memo-bar-row:last-child .v3-memo-bar-track>span,.v3-memo-ratio .v3-memo-bar-track>span{background:var(--cta)}
.v3-memo-details,.v3-memo-detail,.v3-memo-detail .v3-memo-facts,body[data-workspace-design="3"] .analyst-proof-host{color:var(--muted)}body[data-workspace-design="3"] .dialog-head #close{background:var(--paper);color:var(--ink);border:1px solid var(--line)}body[data-workspace-design="3"] .decision-brief-dialog .dialog-head #close{top:8px;right:12px}body[data-workspace-design="3"] .dialog-head #close:hover{background:var(--accent-soft);border-color:var(--blue)}body[data-workspace-design="3"] .decision-brief-dialog .dialog-head #close:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:760px){.sf-support-panel>.sf-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.sf-period-summary{padding:15px}.sf-period-summary .sf-timeline-window{font-size:12px;gap:8px}.sf-distribution-label.is-primary>strong{font-size:42px}body[data-workspace-design="3"] .analyst-dialog.decision-brief-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}body[data-workspace-design="3"] .decision-brief-dialog .analyst-columns{padding:0;gap:0}body[data-workspace-design="3"] .decision-brief-dialog .analyst-analysis,body[data-workspace-design="3"] .decision-brief-dialog .analyst-chat{border:0;border-radius:0}body[data-workspace-design="3"] .decision-brief-dialog .analyst-tabs{background:var(--surface);border-color:var(--line)}body[data-workspace-design="3"] .analyst-tab{color:var(--muted)}body[data-workspace-design="3"] .analyst-tab[aria-selected="true"]{color:var(--accent-deep);border-color:var(--blue)}}

/* One compact dossier card, with an optional square hotel thumbnail. */
.today-cards{grid-template-columns:1fr;gap:14px}
.today-card,.today-card-featured{min-height:0;padding:20px 24px;border-radius:22px}
.today-card-featured{border-left-width:1px}
.today-card.has-cover{display:grid;grid-template-columns:144px minmax(0,1fr);align-items:center;padding:20px;gap:24px;overflow:hidden}
.today-card-cover{position:relative;width:144px;height:144px;min-height:0;overflow:hidden;border-radius:25px;background:var(--accent-soft)}
.today-card-cover img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.today-card-content{display:flex;flex-direction:column;min-width:0;padding:0}
.today-card.has-cover .today-card-top{margin-bottom:12px}
.today-card .today-card-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,22%);gap:24px}
.today-card .today-card-title{font-size:24px;line-height:1.24;margin-bottom:8px}
.today-card .today-card-summary{font-size:14px;line-height:1.5;margin-bottom:12px}
.today-card .today-measurement{justify-content:center;border-left:1px solid var(--line);padding:0 16px 18px 24px}
.today-card .today-metric{font-size:30px}
.today-companion{display:flex;align-items:center;gap:22px;padding:28px 8px 20px;max-width:850px}
.today-companion>img{width:110px;height:110px;object-fit:contain;flex:none}
.today-companion-copy h2{font-size:22px;line-height:1.3;margin:0 0 6px;font-weight:650;letter-spacing:-.4px}
.today-companion-copy p{font-size:14px;line-height:1.5;color:var(--muted);margin:0 0 8px}
.today-library-link{display:inline-flex;align-items:center;min-height:40px;font-size:14px;font-weight:650;color:var(--accent-deep);text-decoration:none}
.today-library-link:hover{text-decoration:underline}
.today-library-link:focus-visible,.today-demo-controls select:focus-visible{outline:3px solid var(--blue);outline-offset:4px}
.today-suggestions{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--surface)}
.today-suggestions .today-row{border:0;border-bottom:1px solid var(--line);border-radius:0}
.today-suggestions .today-row:last-child{border-bottom:0}
.today-remaining{margin:12px 0}
.today-demo-controls{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:6px 0 18px}
.today-demo-controls label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:var(--muted)}
.today-demo-controls select{font:inherit;font-size:14px;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 35px 10px 12px;min-height:44px}
.today-demo-controls button{font-size:12px;min-height:44px}
@media(max-width:760px){
 .today-card.has-cover{display:grid;grid-template-columns:80px minmax(0,1fr);padding:16px;gap:16px;align-items:start}
 .today-card.has-cover .today-card-cover{width:80px;height:80px;min-height:0;border-radius:18px;flex:none}
 .today-card.has-cover .today-card-content{padding:0}
 .today-card .today-card-body{display:flex;gap:14px}
 .today-card .today-card-title{font-size:19px;letter-spacing:-.35px}
 .today-card .today-card-summary{font-size:13px}
 .today-card .today-measurement{border-left:0;border-top:1px solid var(--line);padding:12px 0 18px}
 .today-card .today-metric{font-size:26px}
 .today-companion{gap:12px;padding:24px 0 16px}
 .today-companion>img{width:80px;height:90px}
 .today-companion-copy h2{font-size:18px}
 .today-companion-copy p{font-size:13px}
 .today-demo-controls{align-items:start;flex-direction:column;gap:4px}
}
