*{box-sizing:border-box}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;background:#f8fafc;color:#0f172a}button,select,input,textarea{font:inherit}button,select,input[type=checkbox],input[type=range]{cursor:pointer}button,select,input,textarea{transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background-color .16s ease,color .16s ease}button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid rgba(20,184,166,.25);outline-offset:2px}button:disabled,input:disabled,select:disabled,textarea:disabled{cursor:not-allowed;opacity:.64}.app-shell{display:flex;min-height:100vh}.auth-shell{display:grid;place-items:center;min-height:100vh;background:radial-gradient(circle at 50% 10%,rgba(20,184,166,.16),transparent 32%),#f8fafc;padding:28px}.auth-card{width:min(520px,100%);border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:28px;box-shadow:0 24px 70px #0f172a24}.auth-brand{display:flex;align-items:center;gap:10px;color:#0f172a;font-size:20px;font-weight:900;margin-bottom:22px}.auth-brand svg{color:#0f766e}.auth-brand-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.auth-brand-row .auth-brand{margin-bottom:0}.auth-secure-badge{display:inline-flex;align-items:center;gap:6px;border:1px solid #bfdbfe;border-radius:999px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:900;padding:6px 9px;white-space:nowrap}.auth-secure-badge svg{color:#2563eb}.auth-card h1{margin:0 0 10px}.auth-card>p:not(.eyebrow):not(.auth-hint){color:#475569;line-height:1.55}.auth-tabs{margin-top:18px}.auth-form{display:grid;gap:12px}.auth-form label{display:grid;gap:6px}.auth-form label span{color:#475569;font-size:13px;font-weight:900}.auth-form input{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:0 12px}.auth-error{border:1px solid #fecaca;border-radius:8px;background:#fef2f2;color:#991b1b;font-size:13px;font-weight:800;padding:10px 12px}.auth-mode-link{width:100%;min-height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f766e;font-weight:900;margin-top:12px}.auth-mode-link:hover{border-color:#14b8a6;background:#f0fdfa}.auth-hint{border-top:1px solid #e2e8f0;color:#64748b;font-size:13px;margin:18px 0 0;padding-top:14px}.hosted-auth-card{background:linear-gradient(180deg,#f0fdfadb,#fff0 170px),#fff}.hosted-auth-panel{display:grid;gap:12px;margin:22px 0}.hosted-auth-panel>div{display:grid;grid-template-columns:34px 1fr;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafceb;padding:13px}.auth-step-icon{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:8px;background:#ccfbf1;color:#0f766e}.hosted-auth-panel strong,.hosted-auth-panel span{display:block}.hosted-auth-panel strong{color:#0f172a;font-size:14px;margin-bottom:3px}.hosted-auth-panel span{color:#475569;font-size:13px;line-height:1.45}.hosted-auth-action{width:100%;text-decoration:none}.auth-switch-link{display:inline-flex;justify-content:center;width:100%;color:#0f766e;font-size:13px;font-weight:900;margin-top:14px;text-decoration:none}.auth-switch-link:hover{color:#115e59;text-decoration:underline}.sidebar{width:260px;flex:0 0 260px;background:#0f172a;color:#cbd5e1;padding:22px 16px}.brand,.sidebar button,.page-head,.panel-title,.labels,.lever{display:flex;align-items:center}.brand{gap:10px;color:#fff;margin-bottom:36px}.brand svg{color:#10b981}.sidebar nav{display:grid;gap:8px}.sidebar button{position:relative;gap:10px;width:100%;min-height:42px;border:1px solid transparent;border-radius:8px;background:transparent;color:inherit;padding:0 12px;transform:translate(0)}.sidebar button:hover{background:#94a3b81a;color:#fff;transform:translate(4px)}.sidebar button.active{background:#10b9811f;border-color:#10b9814d;color:#34d399}.sidebar button.active:before{position:absolute;left:-7px;width:3px;height:24px;border-radius:999px;background:#10b981;content:""}.workspace{flex:1;padding:28px;overflow:auto}.page-head{justify-content:space-between;gap:20px;margin-bottom:22px}.page-tools{display:flex;align-items:center;gap:10px}.eyebrow{margin:0 0 4px;color:#0f766e;font-size:12px;font-weight:800;text-transform:uppercase}.load-pill{display:inline-block;margin-top:8px;border:1px solid #cbd5e1;border-radius:999px;color:#475569;font-size:12px;font-weight:800;padding:5px 9px}.load-pill.remote{border-color:#86efac;background:#f0fdf4;color:#166534}.load-pill.error{border-color:#fed7aa;background:#fff7ed;color:#9a3412}h1,h2,p{margin-top:0}select{min-width:120px;height:38px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 10px}select:hover,input:hover,textarea:hover{border-color:#94a3b8}.asset-autocomplete{position:relative;width:min(360px,42vw)}.asset-autocomplete>label{display:block;color:#64748b;font-size:11px;font-weight:900;margin-bottom:4px;text-transform:uppercase}.asset-combobox{display:grid;grid-template-columns:auto minmax(92px,.7fr) minmax(120px,1fr);align-items:center;gap:8px;min-height:40px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:0 10px}.asset-combobox:focus-within{border-color:#14b8a6;box-shadow:0 0 0 3px #14b8a629}.asset-combobox svg{color:#0f766e}.asset-combobox input{min-width:0;border:0;background:transparent;color:#0f172a;font-weight:900;outline:0;padding:0}.asset-combobox input::-webkit-search-cancel-button{display:none}.asset-combobox span{overflow:hidden;color:#64748b;font-size:13px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.asset-autocomplete-menu{position:absolute;right:0;z-index:30;display:grid;gap:6px;width:min(440px,88vw);margin-top:6px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;padding:8px;box-shadow:0 18px 34px #0f172a29}.asset-autocomplete-menu button{display:grid;grid-template-columns:64px minmax(120px,1fr) minmax(100px,.8fr);align-items:center;gap:10px;width:100%;min-height:44px;border:1px solid transparent;border-radius:8px;background:transparent;color:#0f172a;padding:8px 10px;text-align:left}.asset-autocomplete-menu button:hover,.asset-autocomplete-menu button.highlighted{border-color:#99f6e4;background:#f0fdfa}.asset-autocomplete-menu button.selected{border-color:#14b8a6;background:#ccfbf1}.asset-autocomplete-menu strong{color:#0f172a}.asset-autocomplete-menu span,.asset-autocomplete-menu em{overflow:hidden;color:#475569;font-size:13px;font-style:normal;text-overflow:ellipsis;white-space:nowrap}.asset-autocomplete-empty{color:#64748b;font-size:12px;font-weight:800;padding:6px 8px 2px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:14px;margin-bottom:18px}.metric-grid.compact{grid-template-columns:repeat(4,minmax(130px,1fr))}.metric,.panel{border:1px solid #e2e8f0;border-radius:8px;background:#fff}.metric{padding:18px}.metric,.panel,.feed-item,.variable-card{box-shadow:0 1px 2px #0f172a0a}.metric span{display:block;color:#64748b;margin-bottom:10px}.metric strong{font-size:24px}.two-column{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:18px}.panel{padding:20px}.panel p{color:#475569;line-height:1.55}.panel-title,.labels{justify-content:space-between;gap:12px}.stack{display:grid;gap:10px}.opportunity-row{display:grid;grid-template-columns:90px 1fr 1fr 120px;align-items:center;gap:12px;width:100%;min-height:48px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;padding:0 12px;text-align:left}.opportunity-row:hover,.asset-row-rich:hover{border-color:#99f6e4;background:#f0fdfa;transform:translateY(-1px);box-shadow:0 8px 20px #0f172a14}.opportunity-row.rich{grid-template-columns:78px repeat(4,minmax(110px,1fr)) 120px}.opportunity-row span,.asset-table span{color:#475569}.opportunity-row em,.asset-table em{justify-self:end;color:#0f766e;font-size:12px;font-style:normal;font-weight:800}.feed-item{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:12px}.feed-item strong,.feed-item span{display:block}.feed-item span{color:#64748b;font-size:14px;margin-top:4px}.status{border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:800;padding:6px 10px}.football-field{position:relative;height:18px;margin:34px 0 12px;border-radius:999px;background:linear-gradient(90deg,#fecaca,#fef3c7,#bbf7d0)}.football-field span,.football-field strong{position:absolute;top:-6px;width:4px;height:30px;border-radius:999px}.football-field span{background:#0f172a}.football-field strong{background:#10b981}.labels{color:#64748b;font-size:13px}.fundamental-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.overview-page{display:grid;gap:18px}.overview-hero-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:18px}.scenario-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.scenario-strip span{border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#334155;font-size:13px;font-weight:900;padding:9px 10px;text-align:center}.overview-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:10px}.overview-actions .primary-action,.overview-actions .secondary-action{margin-top:0}.overview-price-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:14px}.current-price-reference{display:inline-grid;grid-template-columns:auto auto;align-items:baseline;gap:8px;width:fit-content;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155;margin-bottom:14px;padding:7px 11px}.overview-price-row .current-price-reference,.overview-price-row .thesis-override-price{margin-bottom:0}.current-price-reference.compact{margin-bottom:10px}.current-price-reference span{color:#64748b;font-size:12px;font-weight:900}.current-price-reference strong{color:#0f172a}.thesis-override-price{display:grid;gap:4px;justify-items:end;width:fit-content;max-width:320px;border:1px solid #99f6e4;border-left:4px solid #0f766e;border-radius:8px;background:#f0fdfa;color:#0f766e;margin:0 0 14px auto;padding:10px 12px;text-align:right}.thesis-override-price.negative{border-color:#fed7aa;border-left-color:#f97316;background:#fff7ed;color:#9a3412}.thesis-override-price span{font-size:12px;font-weight:900;text-transform:uppercase}.thesis-override-price strong{color:#0f172a;font-size:28px;line-height:1}.thesis-override-price em{font-size:13px;font-style:normal;font-weight:800}.asset-review-snapshot{display:grid;gap:12px}.asset-review-snapshot div{display:grid;gap:4px;border-left:3px solid #14b8a6;background:#f8fafc;padding:10px 12px}.asset-review-snapshot div.positive{border-left-color:#10b981;background:#f0fdf4}.asset-review-snapshot div.negative{border-left-color:#f97316;background:#fff7ed}.asset-review-snapshot span{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.asset-review-snapshot strong{color:#0f172a}.asset-review-snapshot p{color:#475569;font-size:14px;line-height:1.45;margin:0}.editorial-data-room{display:grid;gap:18px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:20px}.overview-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px;border-bottom:1px solid #e2e8f0;padding-bottom:16px}.overview-toolbar h2{margin:0 0 6px}.overview-toolbar p:last-child{max-width:760px;color:#475569;line-height:1.5;margin-bottom:0}.overview-toolbar .secondary-action{margin-top:0;white-space:nowrap}.editorial-variable-section{display:grid;gap:10px}.editorial-section-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 12px}.editorial-section-heading strong{color:#0f172a;font-size:16px}.editorial-section-heading span{color:#64748b;font-size:13px}.editorial-variable-grid{display:grid;grid-template-columns:repeat(3,minmax(220px,1fr));gap:12px}.editorial-variable-card{display:grid;gap:10px;min-height:220px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:13px}.editorial-variable-card.assumption{border-color:#99f6e4;background:#f0fdfa}.editorial-variable-card.overridden{border-color:#fdba74;background:#fff7ed}.editorial-variable-card.reference{background:#f8fafc}.editorial-variable-card-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:8px}.editorial-variable-card-head strong,.editorial-variable-card-head span{display:block}.editorial-variable-card-head span{color:#64748b;font-size:12px;font-weight:800;margin-top:2px}.editorial-variable-card-head em{border-radius:999px;background:#e2e8f0;color:#334155;font-size:11px;font-style:normal;font-weight:900;padding:5px 8px;text-transform:capitalize;white-space:nowrap}.editorial-card-badges{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end;gap:6px}.editorial-card-badges mark{border:1px solid #fed7aa;border-radius:999px;background:#ffedd5;color:#9a3412;font-size:11px;font-weight:900;line-height:1.2;padding:5px 8px}.editorial-variable-card.assumption .editorial-variable-card-head em{background:#ccfbf1;color:#0f766e}.editorial-variable-card.overridden .editorial-variable-card-head em{background:#fed7aa;color:#9a3412}.editorial-value-plate{display:grid;gap:6px;border:1px solid rgba(148,163,184,.35);border-radius:8px;background:#ffffffb8;padding:10px}.editorial-value-plate span{color:#64748b;font-size:12px;font-weight:900}.editorial-value-plate strong{color:#0f172a;font-size:22px}.overview-sector-reference{display:flex;flex-wrap:wrap;gap:6px}.overview-sector-reference span{border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-size:12px;font-weight:800;padding:5px 8px}.editorial-variable-card p{color:#475569;font-size:13px;line-height:1.45;margin:0}.lever{display:grid;grid-template-columns:minmax(130px,1fr) minmax(140px,1.4fr) 58px;gap:10px;min-height:42px}.lever span{color:#475569}.lever strong{text-align:right}.note-field{display:grid;gap:8px;margin-top:14px}.note-field span{color:#475569;font-weight:700}.note-field textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;padding:10px 12px;resize:vertical}.target-price{font-size:46px;font-weight:900;letter-spacing:0;margin-bottom:8px}.primary-action,.secondary-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;border-radius:8px;padding:0 14px}.primary-action:hover,.secondary-action:hover{transform:translateY(-1px);box-shadow:0 8px 18px #0f172a1a}.header-action{margin-top:0;white-space:nowrap}.primary-action{border:1px solid #0f766e;background:#0f766e;color:#fff}.primary-action.danger{border-color:#b91c1c;background:#b91c1c}.secondary-action{border:1px solid #cbd5e1;background:#fff;color:#334155;margin-top:10px}.secondary-action.danger{border-color:#fecaca;color:#b91c1c}.revert-baseline-action{cursor:pointer}.save-thesis-action{position:relative;overflow:hidden}.save-thesis-action.saving:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 0%,rgba(255,255,255,.22) 45%,transparent 80%);animation:actionSweep .9s ease-in-out infinite}.save-thesis-action.saved{animation:savedPop .42s ease-out;background:#0f766e}.save-thesis-action.error{border-color:#b91c1c;background:#b91c1c}.revert-baseline-action.reverting svg{animation:spinSoft .7s linear infinite}.revert-confirmation-details{margin-top:10px}.revert-confirmation-details summary{cursor:pointer;list-style:none}.revert-confirmation-details summary::-webkit-details-marker{display:none}.asset-table{display:grid;gap:10px}.toolbar-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:18px}.toolbar-row .metric{padding:14px}.alert-composer{display:grid;grid-template-columns:minmax(140px,1fr) minmax(150px,1fr) minmax(140px,.8fr) auto;gap:12px;align-items:end;margin-bottom:16px}.alert-composer label{display:grid;gap:8px}.alert-composer label span{color:#475569;font-weight:800}.alert-composer select,.alert-composer input{min-height:40px;width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:0 12px}.alert-summary-row{display:grid;grid-template-columns:repeat(2,minmax(160px,1fr));gap:12px;margin-bottom:12px}.inline-status{border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1e3a8a;font-weight:800;margin-bottom:12px;padding:10px 12px}.inline-status.error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.inline-status.saved{border-color:#99f6e4;background:#f0fdfa;color:#0f766e}.alert-rule-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;min-height:58px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;padding:10px 12px}.alert-rule-summary{display:grid;grid-template-columns:80px minmax(150px,1fr) minmax(110px,.7fr) 90px;align-items:center;gap:12px}.alert-rule-summary span{color:#475569}.alert-rule-summary em{justify-self:end;color:#0f766e;font-size:12px;font-style:normal;font-weight:800}.alert-rule-actions{display:inline-flex;align-items:center;gap:8px}.icon-action{width:40px;padding:0}.icon-action.danger{border-color:#fecaca;color:#b91c1c}.lab-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:18px;align-items:start}.lab-side{display:grid;gap:18px}.lab-layout.revert-reverting .target-price,.lab-layout.revert-done .target-price{animation:targetRevertPulse .52s ease-out}.revert-confirmation-card{display:grid;gap:12px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;margin-top:12px;padding:14px;animation:confirmSlideIn .18s ease-out}.revert-confirmation-card.reverting,.revert-confirmation-card.done{border-color:#99f6e4;background:#f0fdfa;color:#0f766e}.revert-confirmation-card strong,.revert-confirmation-card span{display:block}.revert-confirmation-card span{color:inherit;font-size:13px;line-height:1.45;margin-top:4px}.revert-confirmation-actions{display:flex;justify-content:flex-end;gap:8px}.revert-confirmation-actions .primary-action,.revert-confirmation-actions .secondary-action{margin-top:0}.segmented-control{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;padding:4px;margin-bottom:16px}.segmented-control.two{grid-template-columns:repeat(2,minmax(0,1fr))}.autosave-status{display:flex;justify-content:flex-end;margin-bottom:10px}.autosave-status span{border-radius:999px;background:#dcfce7;color:#166534;font-size:12px;font-weight:900;padding:6px 10px}.autosave-status.pending span{background:#fef3c7;color:#92400e}.autosave-status.saving span{background:#e0f2fe;color:#075985}.autosave-status.error span{background:#fee2e2;color:#991b1b}.consistency-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:10px;border:1px solid #facc15;border-left:4px solid #f59e0b;border-radius:2px;background:#fff;color:#1f2937;margin-bottom:14px;padding:12px 14px 12px 12px;box-shadow:0 1px 2px #0f172a14}.consistency-notice svg{color:#b45309;margin-top:2px}.consistency-notice div{display:grid;gap:4px}.consistency-notice strong{color:#111827;font-size:14px}.consistency-notice span{color:#374151;font-size:13px;font-weight:600;line-height:1.4}.consistency-notice span.info{color:#374151}.consistency-notice .secondary-action{margin-top:0;min-height:32px;border-color:#9ca3af;border-radius:2px;color:#111827;font-size:13px;font-weight:800}.segmented-control button{min-height:38px;border:0;border-radius:6px;background:transparent;color:#475569;font-weight:800}.segmented-control button.active{background:#fff;color:#0f766e;box-shadow:0 1px 4px #0f172a1f}.segmented-control button:hover{color:#0f766e}.variable-list{display:grid;gap:12px}.advanced-assumptions-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;width:fit-content;border:1px dashed #94a3b8;border-radius:8px;background:#f8fafc;color:#334155;font-weight:900;padding:0 14px}.advanced-assumptions-toggle:hover{border-color:#14b8a6;background:#f0fdfa;color:#0f766e}.advanced-assumptions-section{display:grid;gap:12px;border-top:1px solid #cbd5e1;margin-top:6px;padding-top:14px}.advanced-assumptions-head{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:10px 12px}.advanced-assumptions-head span,.advanced-assumptions-head strong{display:block}.advanced-assumptions-head span{color:#0f766e;font-size:12px;font-weight:900;text-transform:uppercase}.advanced-assumptions-head strong{color:#334155}.advanced-assumptions-head .secondary-action{min-height:32px;margin-top:0}.variable-card{display:grid;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:14px}.variable-card:hover{border-color:#99f6e4;background:#f0fdfa}.variable-head,.variable-controls,.variable-meta,.asset-row-rich{display:grid;align-items:center;gap:10px}.variable-head{grid-template-columns:minmax(0,1fr) auto}.variable-head strong,.help-panel strong{display:block}.variable-head span,.direct-edit-field span,.narrative-field span,.variable-meta,.asset-row-rich span{color:#64748b;font-size:13px}.variable-actions{display:inline-flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:8px}.auto-sync-control{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;cursor:pointer;padding:0 9px 0 7px}.auto-sync-control.enabled{border-color:#99f6e4;background:#f0fdfa;color:#0f766e}.auto-sync-control.manual{border-color:#fed7aa;background:#fff7ed;color:#9a3412}.auto-sync-control input{accent-color:#0f766e}.auto-sync-control span{color:inherit;font-size:12px;font-weight:900}.help-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#0f766e}.help-button:hover{border-color:#14b8a6;background:#ccfbf1;transform:scale(1.04)}.lock-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569;font-size:12px;font-weight:900;padding:0 10px}.lock-button:hover{border-color:#14b8a6;color:#0f766e}.variable-card.unlocked{border-color:#5eead4;background:#f0fdfa}.variable-card.locked{background:#f8fafc}.variable-card.financial-reference{gap:10px;background:#fff}.financial-reference-plate{display:grid;grid-template-columns:minmax(140px,.6fr) minmax(120px,1fr);align-items:center;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;padding:10px 12px}.financial-reference-plate span{display:block;color:#64748b;font-size:12px;font-weight:900}.financial-reference-plate strong{display:block;margin-top:2px;color:#334155;font-size:20px}.financial-reference-note{margin:0;color:#64748b;font-size:13px;line-height:1.45}.calculated-reference-row{display:flex;justify-content:space-between;gap:12px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#64748b;font-size:13px;padding:8px 10px}.calculated-reference-row span{font-weight:800}.calculated-reference-row strong{color:#334155}.reference-plate{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:12px}.reference-actions{display:flex;justify-content:flex-end}.reference-plate span{color:#64748b;font-size:12px;font-weight:900}.reference-plate strong{color:#0f172a;font-size:24px}.reference-bar{position:relative;height:8px;overflow:hidden;border-radius:999px;background:#e2e8f0}.reference-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#99f6e4,#14b8a6)}.reference-bar i{position:absolute;top:-3px;width:3px;height:14px;border-radius:999px;background:#0f766e;transform:translate(-50%)}.value-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:10px;border:1px solid #ccfbf1;border-radius:8px;background:#ffffffd1;padding:10px}.value-summary>div{border-radius:8px;padding:8px 10px}.value-summary .override-value{border:1px solid #99f6e4;background:#f0fdfa}.value-summary .editorial-value{border:1px solid #e2e8f0;background:#f8fafc}.value-summary span{display:block;color:#64748b;font-size:12px;font-weight:800}.value-summary strong{display:block;margin-top:2px}.value-summary .override-value strong{color:#0f766e}.value-summary .editorial-value strong{color:#475569}.value-summary em{justify-self:end;border-radius:999px;background:#e2e8f0;color:#334155;font-size:12px;font-style:normal;font-weight:900;padding:6px 9px}.variable-card.unlocked .value-summary em{background:#ccfbf1;color:#0f766e}.value-control-actions{grid-column:1 / -1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.revert-value-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;border:1px solid #99f6e4;border-radius:999px;background:#ecfeff;color:#0f766e;font-size:12px;font-weight:900;padding:0 10px}.revert-value-button:hover{border-color:#14b8a6;background:#ccfbf1}.value-revert-confirm{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;border:1px solid #fed7aa;border-radius:999px;background:#fff7ed;color:#9a3412;padding:5px 6px 5px 10px}.value-revert-confirm span{font-size:12px;font-weight:900}.value-revert-confirm .secondary-action,.value-revert-confirm .primary-action{min-height:28px;margin-top:0;padding:0 10px}.direct-edit-field{display:grid;gap:6px}.direct-edit-field input{width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:9px 10px}.capital-structure-editor{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;border:1px solid #ccfbf1;border-radius:8px;background:#fff;padding:10px}.capital-structure-editor label{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}.capital-structure-editor span{grid-column:1 / -1;color:#64748b;font-size:12px;font-weight:900}.capital-structure-editor input{min-width:0;width:100%;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;padding:8px 9px}.capital-structure-editor em{color:#64748b;font-style:normal;font-weight:900}.lever-strip{display:grid;grid-template-columns:minmax(160px,1fr) 72px;align-items:center;gap:10px;border:1px solid #ccfbf1;border-radius:8px;background:#fff;padding:10px}.lever-strip input[type=range]{width:100%;accent-color:#0f766e}.lever-strip input[type=range]:disabled{cursor:not-allowed;opacity:.55}.value-pill{justify-self:end;min-height:34px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#0f172a;font-weight:900;padding:0 10px}.value-pill:hover{border-color:#14b8a6;background:#ccfbf1}.precise-value-input{width:86px;justify-self:end;border:1px solid #14b8a6;border-radius:8px;background:#fff;color:#0f172a;font-weight:900;padding:7px 8px}.lever-strip output{justify-self:end;color:#0f172a;font-weight:900}.lever-delta{display:flex;justify-content:space-between;gap:10px;color:#64748b;font-size:13px}.lever-delta strong{color:#0f766e}.lever-delta strong.negative{color:#b91c1c}.text-action{justify-self:start;border:0;background:transparent;color:#0f766e;font-size:13px;font-weight:900;padding:0}.text-action:hover{color:#115e59;text-decoration:underline}.narrative-layer-inline{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:10px}.thesis-note-layer{display:grid;gap:8px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;margin-top:14px;padding:10px}.thesis-note-layer.focused{border-color:#14b8a6;background:#ecfeff;box-shadow:0 0 0 3px #14b8a61f}.thesis-note-layer textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;padding:9px 10px;resize:vertical}.narrative-layer-inline.overridden{border-color:#99f6e4;background:#f0fdfa}.narrative-layer-inline:focus-within{border-color:#14b8a6;background:#ecfeff;box-shadow:0 0 0 3px #14b8a61f}.narrative-layer-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.narrative-layer-title span{display:block;color:#64748b;font-size:12px;font-weight:900}.narrative-layer-title strong{color:#475569;font-size:14px}.narrative-layer-inline.overridden .narrative-layer-title strong{color:#0f766e}.narrative-layer-title .text-action{white-space:nowrap}.narrative-read-layer{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;width:100%;border:0;border-radius:6px;background:transparent;color:#475569;font-size:14px;font-weight:600;line-height:1.45;padding:2px 0;text-align:left;white-space:pre-wrap}.narrative-read-layer:hover{color:#0f172a}.narrative-layer-inline.overridden .narrative-read-layer{color:#0f766e}.narrative-layer-inline textarea{width:100%;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;padding:9px 10px;resize:vertical}.inline-confirm{display:grid;gap:8px;border:1px solid #fed7aa;border-radius:8px;background:#fff7ed;color:#9a3412;padding:12px}.inline-confirm span{font-size:13px;font-weight:700}.inline-confirm div{display:flex;justify-content:flex-end;gap:8px}.inline-confirm .secondary-action,.inline-confirm .primary-action{margin-top:0}.sector-reference-strip{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;border:1px solid #dbeafe;border-radius:8px;background:#eff6ff;padding:10px}.sector-reference-strip span{display:block;color:#1d4ed8;font-size:12px;font-weight:900}.sector-reference-strip strong{display:block;margin-top:2px;color:#1e3a8a}.variable-meta{grid-template-columns:repeat(3,max-content)}.variable-meta span{border-radius:999px;background:#e0f2fe;color:#075985;font-weight:800;padding:5px 8px}.mini-driver-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}.mini-driver-grid .metric{padding:12px}.floating-help{position:fixed;right:28px;top:28px;z-index:20;width:min(440px,calc(100vw - 32px));max-height:calc(100vh - 56px);overflow:auto;border:1px solid #99f6e4;border-radius:8px;background:#fff;box-shadow:0 18px 48px #0f172a38;padding:16px;animation:floatHelpIn .18s ease-out}.floating-help-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.floating-help-head strong{font-size:16px}.floating-help-head button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd5e1;border-radius:999px;background:#f8fafc;color:#334155}.floating-help p{margin:10px 0 14px}.floating-help dl{display:grid;gap:8px;margin:0}.floating-help dt{color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase}.floating-help dd{margin:0 0 8px;color:#334155}@keyframes floatHelpIn{0%{opacity:0;transform:translateY(-10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes actionSweep{0%{transform:translate(-100%)}to{transform:translate(100%)}}@keyframes savedPop{0%{transform:scale(.98)}55%{transform:scale(1.03)}to{transform:scale(1)}}@keyframes spinSoft{to{transform:rotate(360deg)}}@keyframes confirmSlideIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes targetRevertPulse{0%{transform:scale(.98)}45%{color:#0f766e;transform:scale(1.03)}to{transform:scale(1)}}.empty-state{border:1px dashed #cbd5e1;border-radius:8px;background:#f8fafc;padding:18px}.asset-row-rich{grid-template-columns:minmax(0,1fr) max-content;align-items:start;width:100%;min-height:58px;border:1px solid #e2e8f0;border-radius:8px;background:#f8fafc;color:#0f172a;padding:10px 12px;text-align:left}.asset-row-metrics{display:grid;grid-template-columns:70px repeat(6,minmax(82px,1fr)) minmax(86px,auto);align-items:center;gap:10px;min-width:0}.asset-row-metrics>*{min-width:0}.asset-row-metrics span{color:#64748b;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.asset-row-metrics em{justify-self:end;color:#0f766e;font-size:12px;font-style:normal;font-weight:800}.asset-row-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;max-width:280px}.asset-row-actions .primary-action,.asset-row-actions .secondary-action{min-height:32px;margin-top:0;padding:0 10px;font-size:12px;font-weight:800;white-space:nowrap}.asset-row-confirm{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:6px}.asset-row-confirm span{flex-basis:100%;color:#991b1b;font-size:12px;font-weight:900;text-align:right}.asset-row-confirm .secondary-action{min-height:30px;padding:0 9px;font-size:12px}.profile-form{display:grid;gap:14px;max-width:520px}.note-field input{width:100%;border:1px solid #cbd5e1;border-radius:8px;color:#0f172a;padding:10px 12px}@media (max-width: 900px){.app-shell{display:block}.sidebar{width:auto}.metric-grid,.two-column,.overview-hero-grid,.overview-toolbar,.fundamental-grid,.editorial-variable-grid,.lab-layout,.toolbar-row,.value-summary,.financial-reference-plate,.capital-structure-editor,.mini-driver-grid,.lever-strip,.alert-composer,.alert-summary-row,.alert-rule-row,.alert-rule-summary,.asset-row-rich,.asset-row-metrics{grid-template-columns:1fr}.page-head,.auth-brand-row,.page-tools{align-items:flex-start;flex-direction:column}.overview-actions{align-items:stretch;flex-direction:column}.asset-autocomplete{width:100%}.asset-autocomplete-menu{left:0;right:auto;width:100%}.asset-combobox,.asset-autocomplete-menu button{grid-template-columns:1fr}.opportunity-row,.opportunity-row.rich,.asset-row-rich{grid-template-columns:1fr;padding:12px}.opportunity-row em,.asset-table em,.asset-row-metrics em,.alert-rule-summary em{justify-self:start}.asset-row-actions,.asset-row-confirm,.revert-confirmation-actions{align-items:stretch;flex-direction:column;max-width:none}.asset-row-confirm span{text-align:left}.floating-help{right:16px;top:16px}}
