.analytics .financial-number{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}.analytics #accounts td,.analytics #exceptions td{padding:10px 12px;border-bottom:1px solid var(--border)}.analytics #accounts tr:nth-child(even),.analytics #exceptions tr:nth-child(even){background:rgba(255,255,255,.025)}.analytics #accounts td:first-child{min-width:250px}.analytics #content .table-scroll{max-height:540px}.analytics #content .detail-table th{position:sticky;top:0;background:var(--panel2);z-index:1}.analytics #login input{min-width:240px}.analytics #sources,.analytics #warnings{margin:0}
html.analytics-page body.analytics:has(#login) .analytics-shell{min-height:0;align-content:start;grid-auto-rows:max-content} .analytics #login{align-items:end}.analytics #message{margin:12px 0 0} .analytics #content{min-width:0}

html.analytics-page body.analytics:has(#login) .analytics-shell{width:100%;grid-template-columns:minmax(0,1fr)}.analytics #content>.panel{min-width:0}.analytics #content .detail-table{min-width:1100px}.analytics #valuation .kpi strong{font-size:26px}.analytics #authPanel[hidden]{display:none!important}

/* Constrain nested grid tracks and scroll the tables, not the whole document. */
html.analytics-page body.analytics:has(#login) .analytics-shell{max-width:1700px;min-width:0;width:100%;box-sizing:border-box} .analytics:has(#login) #content{grid-template-columns:minmax(0,1fr);width:100%;min-width:0} .analytics:has(#login) #content>.panel{width:100%;max-width:100%;min-width:0;box-sizing:border-box} .analytics:has(#login) #content .table-scroll{display:block;width:100%;max-width:100%;min-width:0;overflow-x:auto;overflow-y:auto;scrollbar-width:auto;scrollbar-color:#52768d var(--panel2);scrollbar-gutter:stable} .analytics:has(#login) .financial-stock-scroll .detail-table{width:100%;min-width:1480px} .analytics:has(#login) .financial-stock-scroll td:first-child{min-width:245px;max-width:320px} .analytics .pricing-evidence{margin-top:8px;white-space:normal;font-size:12px;line-height:1.6} .analytics .pricing-evidence summary{cursor:pointer;color:var(--blue);font-weight:600} .analytics .pricing-evidence div{overflow-wrap:anywhere;color:var(--muted)}

/* Workspace-specific compact planning table. */
.financial-workspace [data-workspace][hidden]{display:none!important}
.financial-workspace .scenario-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;align-self:center;max-width:250px;line-height:1.3}
.financial-workspace .scenario-toggle input[type=checkbox]{width:16px;height:16px;min-width:16px;margin:0;accent-color:var(--blue)}
.financial-workspace #content .plan-table{min-width:960px;table-layout:fixed}
.financial-workspace .plan-table th,.financial-workspace .plan-table td{padding:8px 8px;vertical-align:top;font-size:13px;line-height:1.4}
.financial-workspace .plan-table th:first-child{width:25%}
.financial-workspace .plan-table th:last-child{width:21%}
.financial-workspace .plan-table th:nth-child(n+2):nth-child(-n+8){text-align:right}
.financial-workspace .plan-table td:nth-child(n+2):nth-child(-n+8){text-align:right;font-variant-numeric:tabular-nums}
.financial-workspace .plan-table td:first-child,.financial-workspace .plan-table td:last-child{overflow-wrap:anywhere}
.financial-workspace .plan-table details{margin-top:3px;font-size:12px}
.financial-workspace .plan-table summary{cursor:pointer;color:var(--blue)}
.financial-workspace .plan-evidence label{display:block;margin-top:6px}
.financial-workspace .plan-evidence input{width:100%;max-width:150px;min-width:0}
.financial-workspace #content .plan-scroll{max-height:65vh}
.financial-workspace .plan-table tr:nth-child(even){background:rgba(255,255,255,.025)}
.financial-workspace #planNote{font-size:13px;line-height:1.5}
