/* Product compositions built on the approved semantic component system. */
body{--ink:var(--ds-ink);--muted:var(--ds-muted);--line:var(--ds-line);--green:var(--ds-accent);--paper:var(--ds-surface);--cream:var(--ds-canvas)}
.workspace-shell [hidden]{display:none!important}.workspace-shell{font-size:14px;line-height:1.5}.workspace-shell h1,.workspace-shell h2{font-family:var(--ds-display);font-weight:600;letter-spacing:-.025em}.workspace-shell h1{font-size:36px;line-height:1.15;margin:6px 0 12px}.workspace-shell h2{font-size:24px;line-height:1.25}.workspace-shell h3{font-size:16px;line-height:1.4}.workspace-shell .page-heading{margin:8px 0 24px;align-items:center;gap:20px}.workspace-shell .page-heading p{font-size:13px;color:var(--ds-muted);max-width:760px;line-height:1.6}.workspace-shell .eyebrow{font-size:10px;letter-spacing:.09em;color:var(--ds-accent)}.workspace-shell p{line-height:1.6}.workspace-shell .small-note,.workspace-shell .small-print{font-size:12px;line-height:1.6;color:var(--ds-muted)}.workspace-shell .outline-badge{font-size:10px;border:0;background:var(--ds-accent-soft);color:var(--ds-accent);padding:6px 10px}
.workspace-shell button,.workspace-shell input,.workspace-shell select,.workspace-shell textarea{font-family:var(--ds-font)}.workspace-shell button{border:1px solid var(--ds-line);border-radius:var(--ds-radius-sm);min-height:44px;padding:10px 14px;background:var(--ds-surface);color:var(--ds-ink);font-size:12px;font-weight:600;line-height:1.35}.workspace-shell button:where(:hover):where(:not(:disabled)){border-color:var(--ds-accent);background:var(--ds-soft)}.workspace-shell button:disabled{opacity:.5;cursor:not-allowed}.workspace-shell .primary-action,.workspace-shell .add-button{background:var(--ds-ink);color:white;border-color:var(--ds-ink)}.workspace-shell .primary-action:hover,.workspace-shell .add-button:hover{background:var(--ds-nav-active)}.workspace-shell .remove-button{color:var(--ds-danger);border-color:var(--ds-danger);background:var(--ds-danger-soft)}.workspace-shell .remove-button:hover{background:var(--ds-danger-soft);border-color:var(--ds-danger)}.workspace-shell a{color:var(--ds-accent)}.workspace-shell .brand{color:white}
.workspace-shell input:not([type=range]):not([type=checkbox]),.workspace-shell select,.workspace-shell textarea{min-height:44px;background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:var(--ds-radius-sm);color:var(--ds-ink);padding:10px 12px;font-size:13px;max-width:100%;min-width:0}.workspace-shell input[type=checkbox]{accent-color:var(--ds-accent);width:18px;height:18px;min-height:18px}.workspace-shell input[type=range]{accent-color:var(--ds-accent)}.workspace-shell label{font-size:12px;color:var(--ds-ink);gap:7px}.workspace-shell textarea{line-height:1.6}.workspace-shell .page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.workspace-shell .page-actions button{display:inline-flex;gap:8px;align-items:center}
.workspace-shell .scenario-section,.workspace-shell .surface-card,.workspace-shell .matrix-section,.workspace-shell .principles,.workspace-shell .strategy-section{padding:24px;border:1px solid var(--ds-line);border-radius:var(--ds-radius-card);background:var(--ds-surface);margin:0 0 22px;min-width:0}.workspace-shell .scenario-section h2,.workspace-shell .surface-card h2{margin-top:0}.workspace-shell .scenario-actions{gap:14px;align-items:end;flex-wrap:wrap;margin:18px 0}.workspace-shell .scenario-actions label{min-width:150px;max-width:100%;flex:1 1 170px}.workspace-shell .scenario-actions input,.workspace-shell .scenario-actions select{width:100%}.workspace-shell .workspace-subnav{display:flex;gap:4px;border:0;background:var(--ds-soft);padding:5px;border-radius:10px;margin:0 0 24px;flex-wrap:wrap}.workspace-shell .workspace-subnav button{border:0;background:transparent;color:var(--ds-muted);flex:1;white-space:normal}.workspace-shell .workspace-subnav button[aria-current=page]{background:var(--ds-surface);color:var(--ds-ink);box-shadow:0 1px 4px #132a3a12}.workspace-shell details>summary{cursor:pointer;min-height:44px;line-height:1.5;padding:12px 0;font-size:13px;font-weight:600}.workspace-shell details{border-radius:8px}.workspace-shell details[open]>summary{margin-bottom:12px}.workspace-shell :is(.access-warning,.period-summary){border:0;border-radius:8px;padding:12px 14px;background:var(--ds-caution-soft);color:var(--ds-caution);font-size:12px}.workspace-shell .period-summary{background:var(--ds-accent-soft);color:var(--ds-accent)}.workspace-shell .empty-state{border:1px dashed var(--ds-line);background:var(--ds-surface);padding:36px 24px;border-radius:16px;grid-column:1/-1}.workspace-shell .value-positive{color:var(--ds-positive)}.workspace-shell .value-negative{color:var(--ds-danger)}
.workspace-shell .analytics-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 22px}.workspace-shell .analytics-metrics article,.workspace-shell .metric-card{padding:20px;border:1px solid var(--ds-line);background:var(--ds-surface);border-radius:12px;min-width:0}.workspace-shell .metric-card>span,.workspace-shell .analytics-metrics article>span{font-size:12px;color:var(--ds-muted);display:block}.workspace-shell .metric-card>strong,.workspace-shell .analytics-metrics strong{font-size:26px;display:block;line-height:1.3;margin:9px 0;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.workspace-shell .metric-card>p,.workspace-shell .analytics-metrics article>p{font-size:11px;color:var(--ds-muted);margin:0}
/* Assets: compact readable rows, independent ownership and plan badges. */
#current-view .holdings-toolbar{display:flex;gap:12px;margin:18px 0;align-items:end;flex-wrap:wrap}#current-view .holdings-toolbar label:first-child{flex:1;min-width:200px}#current-view .holdings-toolbar input{width:100%}#current-summary{font-size:12px;color:var(--ds-muted)}#current-view .snapshot-settings{background:var(--ds-canvas);padding:0 14px;margin:12px 0}#current-view #current-position-form{padding:12px 0}.workspace-shell #current-positions .holdings-table{table-layout:fixed;min-width:820px;width:100%;font-size:12px}.workspace-shell #current-positions th,.workspace-shell #current-positions td{padding:14px 9px;line-height:1.5;border-bottom:1px solid var(--ds-line);background:none}.workspace-shell #current-positions th:first-child{width:34%;font-size:12px}.workspace-shell #current-positions th:last-child{width:54px}.workspace-shell #current-positions thead th{font-size:10px;text-transform:uppercase;letter-spacing:.035em;font-weight:600;color:var(--ds-muted);padding:10px 9px}.holding-identity{display:flex;align-items:center;gap:12px}.holding-identity>div{min-width:0}.holding-identity .ds-symbol{flex:none;overflow-wrap:anywhere;font-size:9px;padding:3px}.holding-membership{display:flex;gap:5px;flex-wrap:wrap;margin-top:6px}.holding-membership .ds-badge{font-size:9px;padding:3px 6px}#current-positions .holding-title{color:var(--ds-ink);text-decoration:none;font-weight:600}#current-positions .holding-title:hover{text-decoration:underline;color:var(--ds-accent)}#current-positions .holding-symbol{font-size:10px;line-height:1.6}.workspace-shell #current-positions .holding-menu-toggle{width:44px;height:44px;min-height:44px;display:grid;place-items:center;border:0;background:none}.workspace-shell .holding-action-menu{background:var(--ds-surface);border:1px solid var(--ds-line);box-shadow:var(--ds-shadow-dialog);border-radius:10px;width:210px;padding:6px}.workspace-shell .holding-action-menu button{min-height:44px;padding:12px;border:0;font-size:12px}.workspace-shell .holding-action-menu .remove-button{background:var(--ds-danger-soft)}
/* Shared financial tables retain horizontal scrolling when data really needs it. */
.workspace-shell .table-scroll{min-width:0;max-width:100%;overflow:auto;overscroll-behavior-x:contain}.workspace-shell table{border-collapse:collapse;font-size:12px;width:100%}.workspace-shell td,.workspace-shell th{padding:12px 10px;border-bottom:1px solid var(--ds-line);text-align:left;font-variant-numeric:tabular-nums}.workspace-shell th{font-weight:600}.workspace-shell thead th{font-size:11px;color:var(--ds-muted);background:var(--ds-soft)}.workspace-shell td small,.workspace-shell th small{display:block;font-size:10px;color:var(--ds-muted)}.workspace-shell tbody tr:hover{background:var(--ds-soft)}
/* Allocation, strategies and saved alternatives. */
.workspace-shell .workspace{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,1fr);gap:22px;margin:0 0 22px}.workspace-shell .allocation-panel{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:16px;padding:24px}.workspace-shell .overview{background:var(--ds-ink);color:white;border-radius:16px;border:0;padding:26px}.workspace-shell .overview h2{font-size:24px;color:white}.workspace-shell .overview .small-print,.workspace-shell .overview .overview-caption{color:#bdcbd0}.workspace-shell .overview .insight{background:var(--ds-nav-active);color:#e3eeed;border:0;border-radius:8px;padding:16px;text-align:center}.workspace-shell .step{display:none}.workspace-shell .section-heading{gap:12px;flex-wrap:wrap}.workspace-shell .tabs{border:0;background:var(--ds-soft);padding:4px;border-radius:8px;gap:4px;margin:18px 0}.workspace-shell .tabs button{background:transparent;border:0;color:var(--ds-muted)}.workspace-shell .tabs button[aria-selected=true]{background:var(--ds-surface);color:var(--ds-ink)}.workspace-shell .weight-row{padding:16px 0}.workspace-shell .weight-foot{font-size:11px;background:var(--ds-soft);border-radius:8px;padding:12px;gap:8px}.workspace-shell .asset-target-controls{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.workspace-shell .asset-target-controls label{padding:16px;border-radius:10px;background:var(--ds-soft)}.workspace-shell .strategy-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.workspace-shell .strategy-card{background:var(--ds-soft);border:1px solid var(--ds-line);border-radius:12px;padding:20px}.workspace-shell .strategy-boundary{border-radius:8px;background:var(--ds-accent-soft);color:var(--ds-accent);padding:14px}.workspace-shell .principles{grid-template-columns:1fr 1.4fr;gap:28px}.workspace-shell .notes textarea{width:100%;min-height:110px}.workspace-shell .amount-control{flex-wrap:wrap;max-width:100%}.workspace-shell .amount-control input{width:160px}.workspace-shell .allocation-bar-row{border-bottom:1px solid var(--ds-line);padding:16px 0}.workspace-shell .actual-bar{background:var(--ds-chart-actual)}.workspace-shell .target-bar{background:var(--ds-chart-target)}.workspace-shell .bar-track{background:var(--ds-soft);height:7px}.workspace-shell .actual-key{background:var(--ds-chart-actual)}.workspace-shell .target-key{background:var(--ds-chart-target)}.workspace-shell .asset-mix-items span{background:var(--ds-soft);border:0;border-radius:8px;padding:12px;font-size:12px}
/* Planned, Discover and Watching share card anatomy and evidence disclosure. */
.workspace-shell .security-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.workspace-shell .security-card{border:1px solid var(--ds-line);border-radius:14px;background:var(--ds-surface);padding:22px;min-width:0;box-shadow:none}.workspace-shell .security-card h2{font-family:var(--ds-display);font-size:23px;margin:10px 0;overflow-wrap:break-word}.workspace-shell .security-card h3{font-family:var(--ds-display);font-size:23px;margin:14px 0}.workspace-shell .security-ticker{font-size:13px;color:var(--ds-ink);font-weight:700}.workspace-shell .security-ticker>span{font-size:10px;font-weight:400;color:var(--ds-muted)}.workspace-shell .security-tags{gap:6px;display:flex;flex-wrap:wrap;margin:12px 0}.workspace-shell .security-tags>span:not(.ds-badge){background:var(--ds-soft);border:0;color:var(--ds-muted);padding:4px 8px;border-radius:20px;font-size:10px}.workspace-shell .security-tags .ds-badge{font-size:10px}.workspace-shell .instrument-badge{background:var(--ds-soft);color:var(--ds-muted);font-size:10px;padding:5px 8px}.workspace-shell .card-top{align-items:start;gap:8px}.workspace-shell .favorite-button{font-size:10px;padding:7px;min-height:36px}.workspace-shell .candidate-why{font-size:13px;line-height:1.6}.workspace-shell .candidate-risk{background:var(--ds-caution-soft);color:var(--ds-caution);padding:12px;border-radius:8px;font-size:12px;line-height:1.6}.workspace-shell .card-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:auto;padding-top:16px}.workspace-shell .card-actions button{padding:10px;font-size:11px}.workspace-shell .card-actions button:first-child{grid-column:1/-1}.workspace-shell .holding-target{background:var(--ds-soft);border:0;border-radius:10px;padding:14px;gap:8px;display:grid;grid-template-columns:1fr 90px}.workspace-shell .holding-target span{grid-column:1/-1;font-size:12px}.workspace-shell .holding-target input{width:100%}.workspace-shell #portfolio-summary{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:16px;padding:22px;margin:0 0 24px}.workspace-shell .selection-metrics{gap:18px}.workspace-shell .selection-metrics strong{font-size:25px}.workspace-shell .selection-metrics span{font-size:10px;color:var(--ds-muted)}.workspace-shell .asset-breakdown,.workspace-shell .planned-regions{gap:10px}.workspace-shell .asset-breakdown>div,.workspace-shell .planned-regions>div{background:var(--ds-soft);border-radius:8px;padding:12px;font-size:12px}.workspace-shell #portfolio-summary>p{font-size:12px}.workspace-shell .history-badge{font-size:11px;border:0;background:var(--ds-canvas);color:var(--ds-muted);border-radius:8px;padding:10px}
.workspace-shell .filter-panel{display:flex;flex-wrap:wrap;gap:12px;padding:18px;background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:12px;margin:0 0 18px;align-items:end}.workspace-shell .filter-panel label{flex:1 1 145px;min-width:0;max-width:none}.workspace-shell .filter-panel label:first-child{flex-basis:220px}.workspace-shell .filter-panel input,.workspace-shell .filter-panel select{width:100%}.workspace-shell .catalog-meta{font-size:12px;color:var(--ds-muted);gap:12px;margin:18px 0}.workspace-shell .research-method{background:var(--ds-surface);padding:12px 22px;border:1px solid var(--ds-line);margin-top:24px}.workspace-shell .research-context{background:none;border:0;padding:10px 0;font-size:13px}.workspace-shell .compact-investments{grid-template-columns:1fr}.workspace-shell .compact-investments .security-card{grid-template-columns:1.5fr 1fr;padding:18px}.workspace-shell .compact-investments .security-card h2{font-size:20px}
/* Research shows the decision summary first; sources stay one disclosure away. */
.workspace-shell #research-stars{padding:0;border:0;background:transparent}.workspace-shell #research-stars>h2,.workspace-shell #research-stars>.eyebrow,.workspace-shell #research-stars>p:not([role=status]){display:none}.research-hero{background:var(--ds-ink);color:white;border-radius:16px;padding:28px;margin-bottom:22px}.research-hero h2{color:white}.research-hero p{max-width:800px;color:#bdcbd0;font-size:13px}.research-pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:24px}.research-pillars>div{background:var(--ds-nav-active);padding:16px;border-radius:8px}.research-pillars strong,.research-pillars span{display:block;font-size:12px}.research-pillars span{font-size:11px;color:#cad7db;margin-top:7px}.workspace-shell #research-stars>details{background:var(--ds-surface);border:1px solid var(--ds-line);padding:8px 20px;margin-bottom:22px}.workspace-shell .research-stat{background:var(--ds-surface);border:1px solid var(--ds-line);border-bottom:0;border-radius:12px 12px 0 0;padding:20px 20px 0}.research-stat h3{margin:0;font-family:var(--ds-display);font-size:22px}.research-stat p{font-size:12px;color:var(--ds-muted)}.workspace-shell .research-filters{border:1px solid var(--ds-line);border-top:0;background:var(--ds-surface);border-radius:0 0 12px 12px;margin:0;padding:16px 20px;gap:20px;display:flex;align-items:center;flex-wrap:wrap}.workspace-shell .research-filters label{display:flex;align-items:center;gap:10px;min-height:44px}.workspace-shell #research-status{padding:14px 18px;border-radius:10px;background:var(--ds-accent-soft);font-size:12px;color:var(--ds-accent)}.workspace-shell #research-results{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.workspace-shell .research-candidate>p{font-size:12px}.workspace-shell .research-candidate>p:has(>strong){background:var(--ds-accent-soft);border-radius:8px;padding:14px}.workspace-shell .research-pass{font-size:10px;background:var(--ds-soft);color:var(--ds-accent);padding:5px 8px;border-radius:20px}.workspace-shell .research-evidence{background:var(--ds-soft);padding:0 14px;border:0;margin:14px 0}.workspace-shell .research-evidence p{font-size:12px}.workspace-shell .research-evidence h4{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--ds-accent);margin:20px 0 8px}.workspace-shell .evidence-content{padding-bottom:12px}.workspace-shell .research-candidate small{font:11px var(--ds-font);color:var(--ds-muted)}
/* Research and transaction dialogs. */
.workspace-shell dialog{background:var(--ds-surface);color:var(--ds-ink);border:1px solid var(--ds-line);border-radius:20px;box-shadow:var(--ds-shadow-dialog);max-width:min(860px,calc(100vw - 40px));max-height:90dvh;padding:26px}.workspace-shell dialog::backdrop{background:#132a3a70}.workspace-shell .dialog-heading{align-items:start;gap:16px;border-bottom:1px solid var(--ds-line);padding-bottom:18px}.workspace-shell .dialog-heading h2{font-size:28px;line-height:1.25;margin:8px 0}.workspace-shell .dialog-heading>button{flex:none;width:44px}.workspace-shell .detail-membership{display:flex;gap:6px;margin:14px 0}.workspace-shell .position-summary{background:var(--ds-canvas);border:0;border-radius:8px;padding:16px;margin:0 0 18px}.workspace-shell .position-summary h3{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ds-muted);margin:0 0 10px}.workspace-shell .position-summary p{font-size:12px;margin:6px 0}.detail-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.workspace-shell .detail-metrics .metric-card{border:0;padding:12px 0}.workspace-shell .detail-metrics strong{font-size:24px}.workspace-shell .market-notice{background:var(--ds-canvas);color:var(--ds-muted);padding:10px 12px;border:0;border-radius:6px;font-size:11px}.workspace-shell .research-detail{gap:22px;border-top:1px solid var(--ds-line);padding-top:20px}.workspace-shell .research-detail h3{font-size:13px}.workspace-shell .research-detail p{font-size:12px;color:var(--ds-muted)}.workspace-shell .trading-guide{background:var(--ds-canvas);padding:0 14px;border:0}.workspace-shell .dialog-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:space-between;border-top:1px solid var(--ds-line);padding-top:20px}.workspace-shell .source-line{font-size:11px;color:var(--ds-muted)}.workspace-shell .chart-ranges button[aria-pressed=true]{background:var(--ds-accent-soft);border-color:transparent;color:var(--ds-accent)}
/* Analytics and support. */
.workspace-shell #analytics-coverage{background:var(--ds-accent-soft);color:var(--ds-accent);border-radius:8px;padding:14px;font-size:12px}.workspace-shell #analytics-scope>p{font-size:12px}.workspace-shell #analytics-chart svg{width:100%;height:auto;display:block}.workspace-shell #analytics-chart>p{font-size:12px}.workspace-shell #analytics-content>h2{font-size:24px}.workspace-shell #analytics-search{display:block;width:min(100%,480px);margin-top:8px}.workspace-shell .analytics-jumps{position:sticky;top:0;z-index:5}.workspace-shell #analytics-content,.workspace-shell #analytics-holdings-section,.workspace-shell #analytics-ledger-section{scroll-margin-top:75px}.workspace-shell .guide-grid{gap:18px}.workspace-shell .guide-grid>article,.workspace-shell .guide-grid>section{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:12px;padding:22px}.workspace-shell #data-tools{display:grid;gap:22px;background:none;border:0;padding:0}.workspace-shell #data-tools>section,.workspace-shell #data-tools>.history-import,.workspace-shell #data-tools>details{margin:0;background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:12px;padding:22px}.workspace-shell #data-tools h2{margin-top:0}.workspace-shell #data-tools button{margin:4px}.account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.account-person{display:flex;align-items:center;gap:16px;margin:20px 0}.account-person strong{overflow-wrap:anywhere}.account-person p{margin:5px 0;font-size:12px;color:var(--ds-muted)}.account-avatar{width:50px;height:50px;display:grid;place-items:center;background:var(--ds-accent-soft);color:var(--ds-accent);font-weight:700;border-radius:50%;flex:none}.setup-checklist{list-style:none;padding:0}.setup-checklist li{display:flex;align-items:center;gap:10px;margin:10px 0}.setup-checklist button{border:0;text-align:left;background:none}.workspace-shell .account-grid .account-controls{display:flex;flex-wrap:wrap;gap:10px}.account-controls>span{overflow-wrap:anywhere}.workspace-shell .account-grid .account-controls>span{display:none}.workspace-shell footer{font-size:11px;gap:18px;padding-top:24px;flex-wrap:wrap}.workspace-shell #toast{background:var(--ds-ink);color:white;border-radius:10px;max-width:calc(100vw - 32px)}
@media(max-width:1200px){.workspace-shell .security-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .workspace{grid-template-columns:1fr 1fr}.workspace-shell .asset-target-controls{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell .analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .metric-card>strong{font-size:24px}}
@media(max-width:900px){.workspace-shell .workspace{grid-template-columns:1fr}.workspace-shell .overview{grid-row:1}.workspace-shell .research-pillars{grid-template-columns:1fr}.workspace-shell .account-grid{grid-template-columns:1fr}.workspace-shell #research-results{grid-template-columns:1fr}}
@media(max-width:760px){.workspace-shell h1{font-size:29px}.workspace-shell h2{font-size:22px}.workspace-shell .brand{color:var(--ds-ink)}.workspace-shell .app-nav [data-view=account]{display:none}.workspace-shell .app-nav button:hover{background:var(--ds-soft)}.workspace-shell .page-heading{display:block;margin:0 0 20px}.workspace-shell .page-heading .outline-badge{display:inline-block;margin-top:10px}.workspace-shell .page-actions{margin-top:16px}.workspace-shell .page-actions button{flex:1}.workspace-shell .scenario-section,.workspace-shell .surface-card,.workspace-shell .matrix-section,.workspace-shell .principles,.workspace-shell .strategy-section{padding:18px;margin-bottom:18px;border-radius:14px}.workspace-shell .analytics-metrics{gap:10px;margin-bottom:18px}.workspace-shell .analytics-metrics article{padding:16px 12px}.workspace-shell .analytics-metrics strong{font-size:22px}.workspace-shell .analytics-metrics article>span{font-size:11px}.workspace-shell .analytics-metrics article>p{font-size:10px}.workspace-shell .workspace-subnav{gap:3px;margin-bottom:18px}.workspace-shell .workspace-subnav button{font-size:11px;padding:9px 8px;flex:1 1 auto}.workspace-shell input:not([type=range]):not([type=checkbox]),.workspace-shell select,.workspace-shell textarea{font-size:16px}.workspace-shell .scenario-actions{gap:12px}.workspace-shell .scenario-actions label{flex:1 1 100%;min-width:0}.workspace-shell .scenario-actions>button{flex:1 1 140px}.workspace-shell .holdings-toolbar>button{width:100%}.workspace-shell #current-positions .holdings-table{display:block;min-width:0}.workspace-shell #current-positions .holdings-table tbody{display:block}.workspace-shell #current-positions .holdings-table thead{display:none}.workspace-shell #current-positions .holdings-table tr{display:grid;grid-template-columns:minmax(0,1fr) 44px;position:relative;border-bottom:1px solid var(--ds-line);padding:14px 0;gap:0 6px}.workspace-shell #current-positions .holdings-table th{width:auto;padding:0;border:0;grid-column:1;white-space:normal}.workspace-shell #current-positions .holdings-table td{padding:5px 0;border:0;grid-column:1}.workspace-shell #current-positions .holdings-table td:last-child{grid-column:2;grid-row:1;align-self:start}.workspace-shell #current-positions .holdings-table td[data-label="Market value"]{font-weight:600;padding-left:52px}.workspace-shell #current-positions .holdings-table td[data-label="Market value"]:before{display:none}.workspace-shell .holding-identity{align-items:start;gap:10px}.workspace-shell .holding-title{font-size:12px!important}.workspace-shell .holding-identity .ds-symbol{width:40px;height:40px}.workspace-shell .holding-expand{display:inline-block;padding:6px 0!important;min-height:44px;font-size:11px;border:0}.workspace-shell #current-positions .holdings-table tr.expanded td[data-label]{display:flex;justify-content:space-between;gap:14px}.workspace-shell #current-positions .holdings-table tr.expanded td[data-label]:before{content:attr(data-label);font-size:11px;color:var(--ds-muted)}.workspace-shell #current-positions .holdings-table tr.expanded td[data-label="Market value"]{padding-left:0}.workspace-shell #current-positions .holdings-table tr.expanded td[data-label="Market value"]:before{display:block}.workspace-shell .asset-target-controls{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.workspace-shell .asset-target-controls label{padding:12px}.workspace-shell .allocation-panel,.workspace-shell .overview{padding:18px}.workspace-shell .strategy-grid,.workspace-shell .principles{grid-template-columns:1fr}.workspace-shell .strategy-toolbar,.workspace-shell .strategy-cadence{display:grid;grid-template-columns:1fr;gap:14px}.workspace-shell .amount-control{display:grid;grid-template-columns:80px 1fr;width:100%}.workspace-shell .amount-control label{grid-column:1/-1}.workspace-shell .amount-control input{width:100%}.workspace-shell .allocation-bar-row{grid-template-columns:1fr;gap:12px}.workspace-shell .allocation-bar-label{gap:8px}.workspace-shell .security-grid{grid-template-columns:1fr}.workspace-shell .security-card{padding:18px}.workspace-shell .security-card h2{font-size:22px}.workspace-shell .card-actions button{min-height:44px}.workspace-shell .filter-panel{padding:14px;gap:10px}.workspace-shell .filter-panel label{flex:1 1 calc(50% - 10px)}.workspace-shell .filter-panel label:first-child{flex-basis:100%}.workspace-shell .filter-panel>button{flex:1}.workspace-shell .catalog-meta{flex-wrap:wrap}.workspace-shell .catalog-meta>span:last-child{display:none}.workspace-shell .selection-metrics{grid-template-columns:1fr 1fr;gap:18px}.workspace-shell .selection-metrics strong{font-size:23px}.workspace-shell .planned-regions{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell #portfolio-summary{padding:18px}.workspace-shell .compact-investments .security-card{grid-template-columns:1fr}.workspace-shell .research-hero{padding:22px}.workspace-shell .research-filters{display:grid;gap:10px;padding:14px}.workspace-shell .research-filters label{font-size:12px}.workspace-shell .research-filters select{width:100%}.workspace-shell .research-pillars{gap:8px;margin-top:16px}.workspace-shell dialog{max-width:100%;width:100%;max-height:96dvh;margin:auto 0 0;padding:20px 16px calc(20px + env(safe-area-inset-bottom));border-radius:20px 20px 0 0}.workspace-shell .dialog-heading h2{font-size:24px}.workspace-shell .detail-metrics{grid-template-columns:1fr 1fr;gap:12px}.workspace-shell .detail-metrics strong{font-size:22px}.workspace-shell .detail-metrics .metric-card{padding:8px 0}.workspace-shell .research-detail{grid-template-columns:1fr;gap:12px}.workspace-shell .dialog-actions>button{flex:1 1 140px}.workspace-shell .purchase-fields{grid-template-columns:1fr}.workspace-shell .purchase-fields label:first-child{grid-column:auto}.workspace-shell .guide-grid{grid-template-columns:1fr}.workspace-shell #toast{bottom:90px}.workspace-shell .setup-checklist li{align-items:center}.workspace-shell .setup-checklist button{font-size:12px}.workspace-shell .analytics-jumps{top:0}.workspace-shell #analytics-chart svg{min-height:200px}}
/* Auth uses the same fonts and form tokens before the workspace initializes. */
.account-locked{background:var(--ds-surface);color:var(--ds-ink);font-family:var(--ds-font)}.account-locked>.auth-story{position:fixed;inset:0 auto 0 0;width:42%;display:flex;flex-direction:column;justify-content:space-between;background:var(--ds-ink);color:white;padding:48px}.auth-story h2{font:600 clamp(30px,3.5vw,52px)/1.1 var(--ds-display);letter-spacing:-.03em;max-width:450px}.auth-story p{font-size:14px;line-height:1.7;color:#c2d0d5}.auth-story .eyebrow{font-size:10px;color:#b6d8d1;letter-spacing:.12em}.auth-brand{font-size:24px;color:white;text-decoration:none}.account-locked>.auth-form-panel{margin:0 0 0 42%;padding:70px max(30px,6vw);width:58%;max-width:none;min-height:100dvh;border:0;border-radius:0;background:var(--ds-surface);box-shadow:none}.auth-form-panel h1{font:600 clamp(30px,3.5vw,44px)/1.2 var(--ds-display);letter-spacing:-.025em;margin:70px 0 12px}.auth-form-panel p{color:var(--ds-muted);font-size:13px;line-height:1.6}.auth-form-panel form{display:grid;gap:18px;margin-top:28px}.auth-form-panel label{display:grid;gap:8px;font-size:12px}.auth-form-panel input{padding:12px;border:1px solid var(--ds-line);border-radius:8px;min-height:44px;width:100%;font:16px var(--ds-font)}.auth-form-panel button{padding:12px;min-height:44px;border:1px solid var(--ds-line);border-radius:8px;background:var(--ds-surface);color:var(--ds-ink);font:600 13px var(--ds-font)}.auth-form-panel button[type=submit]{background:var(--ds-ink);color:white}.auth-form-panel .account-error{color:var(--ds-danger)}.auth-form-panel a{color:var(--ds-accent);font-size:13px}.auth-form-panel :focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}.auth-form-panel .recovery-form{border-top:1px solid var(--ds-line);padding-top:20px}.auth-form-panel button:disabled{opacity:.5}.account-locked>.account-gate:not(.auth-form-panel){background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:16px;padding:30px}.account-gate h1{font-family:var(--ds-display)}
@media(max-width:760px){.account-locked>.auth-story{display:none}.account-locked>.auth-form-panel{margin:0;width:100%;padding:26px 20px;min-height:100dvh}.auth-form-panel h1{margin-top:56px}.auth-form-panel>p.small-note{background:var(--ds-accent-soft);color:var(--ds-accent);padding:16px;border-radius:12px}.auth-form-panel form{margin-top:28px}.auth-form-panel button{width:100%}}
.workspace-shell #portfolio-summary{color:var(--ds-ink)}.workspace-shell #portfolio-summary .selection-metrics strong,.workspace-shell #portfolio-summary .asset-breakdown strong,.workspace-shell #portfolio-summary .planned-regions strong{color:var(--ds-ink)}.workspace-shell #portfolio-summary .asset-breakdown span,.workspace-shell #portfolio-summary .planned-regions span,.workspace-shell #portfolio-summary p,.workspace-shell #portfolio-summary small{color:var(--ds-muted)}.workspace-shell #portfolio-summary .overallocated{color:var(--ds-danger)!important}.workspace-shell .asset-target-controls{grid-template-columns:repeat(6,minmax(0,1fr))}.workspace-shell .strategy-style{background:var(--ds-soft);border:1px solid var(--ds-line);border-radius:12px;padding:20px}.workspace-shell .dialog-actions .add-button{background:var(--ds-ink);color:white;border-color:var(--ds-ink)}.workspace-shell .dialog-actions .remove-button{background:var(--ds-danger-soft);color:var(--ds-danger);border-color:var(--ds-danger)}.workspace-shell .research-hero .eyebrow{color:#9bd7cd}.workspace-shell #portfolio-summary .selection-metrics{border-bottom:1px solid var(--ds-line)}.workspace-shell #portfolio-summary .asset-breakdown{border-bottom:1px solid var(--ds-line)}
@media(min-width:761px){.workspace-shell .app-nav [data-more][aria-current=page]{background:transparent}}
@media(max-width:1200px){.workspace-shell .asset-target-controls{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.workspace-shell .asset-target-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
.workspace-shell .filter-panel{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,3fr);align-items:end}.workspace-shell .filter-panel>label{min-width:0}.workspace-shell .catalog-extra{min-width:0}.workspace-shell .catalog-extra>summary{font-size:12px;min-height:32px;padding:0 0 8px;margin:0}.workspace-shell .catalog-extra-fields{display:flex;flex-wrap:wrap;gap:10px;align-items:end}.workspace-shell .catalog-extra-fields label{flex:1 1 130px}.workspace-shell .catalog-extra-fields button{flex:0 1 auto}.workspace-shell .planned-breakdown{margin-top:12px;border-top:1px solid var(--ds-line)}.workspace-shell .planned-layout{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-shell .planned-layout .candidate-why,.workspace-shell .planned-layout .candidate-risk,.workspace-shell .planned-layout .security-card>.small-note{display:none}.workspace-shell .planned-layout .security-card{display:flex;flex-direction:column}.workspace-shell .planned-layout .security-card h2{font-size:22px}.workspace-shell .planned-layout .card-actions{margin-top:14px}.workspace-shell .planned-layout .holding-target{margin-top:auto}.workspace-shell #portfolio-summary .selection-metrics{border:0;padding-bottom:0}
@media(max-width:760px){.workspace-shell .filter-panel{display:block}.workspace-shell .catalog-extra{margin-top:12px}.workspace-shell .catalog-extra>summary{padding:10px 0;min-height:44px}.workspace-shell .catalog-extra-fields{display:grid;grid-template-columns:1fr 1fr}.workspace-shell .catalog-extra-fields label:last-child{grid-column:1/-1}.workspace-shell .catalog-extra-fields label{width:100%}.workspace-shell .planned-layout{grid-template-columns:1fr}.workspace-shell .planned-layout .security-card h2{font-size:21px}.workspace-shell #holdings-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.workspace-shell #holdings-metrics article:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:4px 12px;align-items:center}.workspace-shell #holdings-metrics article:first-child strong{grid-column:2;grid-row:1/3;margin:0}.workspace-shell #holdings-metrics article:first-child p{grid-column:1}.workspace-shell #holdings-metrics article:not(:first-child) p{display:none}.workspace-shell #holdings-metrics article:not(:first-child){padding:12px}.workspace-shell #holdings-metrics article:not(:first-child) strong{margin:5px 0 0}}
.account-gate.auth-form-panel label{margin:0}.account-gate.auth-form-panel button{margin:0}.account-gate.auth-form-panel input{margin-top:0}.account-gate.auth-form-panel>[data-recover]{margin-top:12px}.account-gate.auth-form-panel>.eyebrow{margin-top:18px;font-size:10px;letter-spacing:.08em}.account-gate.auth-form-panel .small-note{margin-top:18px}
.workspace-shell .evidence-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.workspace-shell .evidence-content>section{padding:12px;background:var(--ds-surface);border-radius:8px;min-width:0}.workspace-shell .evidence-content h4{margin-top:0}.workspace-shell .evidence-content>section:nth-child(5){background:var(--ds-caution-soft)}.workspace-shell .evidence-content a{overflow-wrap:anywhere}.workspace-shell .evidence-content .candidate-risk{padding:0}.workspace-shell .evidence-content p:last-child{margin-bottom:0}@media(max-width:760px){.workspace-shell .evidence-content{grid-template-columns:1fr}}

/* Filter hierarchy: search first, aligned refinements below, actions last. */
.workspace-shell .catalog-filters.filter-panel{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}
.workspace-shell .catalog-extra{margin:0;border-top:1px solid var(--ds-line);padding-top:12px}
.workspace-shell .catalog-extra>summary{min-height:44px;padding:10px 0;font-size:12px}
.workspace-shell .catalog-extra-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-top:8px;align-items:end}
.workspace-shell .catalog-extra-fields label{grid-column:auto;min-width:0}
.workspace-shell .catalog-filter-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:10px}
.workspace-shell #analytics-coverage{margin:0 0 28px}
.workspace-shell #analytics-content>h2{margin:0 0 10px}
.workspace-shell #analytics-content>h2+.small-note{margin:0 0 24px}
/* Override generic button hover so sidebar text and icons stay readable. */
.workspace-shell .app-nav button:hover:not(:disabled),.workspace-shell .app-nav button:focus-visible{background:var(--ds-nav-active);color:#fff}
.workspace-shell .app-nav button:hover:not(:disabled) img,.workspace-shell .app-nav button:focus-visible img{filter:brightness(0) invert(1);opacity:1}
@media(max-width:1100px){.workspace-shell .catalog-extra-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-shell .catalog-extra-fields{gap:12px}.workspace-shell .catalog-filter-actions{justify-content:stretch}.workspace-shell .catalog-filter-actions button{flex:1}.workspace-shell .app-nav button:hover:not(:disabled),.workspace-shell .app-nav button:focus-visible{background:var(--ds-soft);color:var(--ds-ink)}.workspace-shell .app-nav button:hover:not(:disabled) img,.workspace-shell .app-nav button:focus-visible img{filter:brightness(.3)}}
@media(max-width:400px){.workspace-shell .catalog-extra-fields{grid-template-columns:minmax(0,1fr)}}

/* Keep primary actions readable on hover/focus, including dialog overrides. */
.workspace-shell button.add-button:hover:not(:disabled),.workspace-shell button.primary-action:hover:not(:disabled),.workspace-shell button.add-button:focus-visible,.workspace-shell button.primary-action:focus-visible{background:var(--ds-nav-active);color:#fff;border-color:var(--ds-nav-active)}
.workspace-shell #stars-results .membership-saved:disabled{background:var(--ds-accent-soft);color:var(--ds-accent);border-color:var(--ds-accent-soft);opacity:1;cursor:default}
.workspace-shell #stars-results [data-star=analysts]{margin-top:12px}
.workspace-shell #stars-results .security-tags{margin:10px 0}
.workspace-shell #stars-results [role=status]:empty{display:none}
.workspace-shell #stars-results [role=status]:not(:empty){margin-top:12px;font-size:12px;line-height:1.6}

/* Ballasset supplied wordmarks: white on navy, standard on light surfaces. */
.workspace-shell .brand picture{display:block;line-height:0}.workspace-shell .brand img{display:block;width:180px;height:auto;filter:none}.auth-brand img{display:block;width:min(250px,100%);height:auto}.auth-form-panel .auth-back{display:flex;align-items:center;flex-wrap:wrap;gap:16px;text-decoration:none}.auth-back img{width:180px;height:auto;display:block}
@media(max-width:1100px){.workspace-shell .brand img{width:152px}}
@media(max-width:760px){.workspace-shell .brand img{width:152px;height:auto;filter:none}}
