/* Approved Ballasset foundation: workspace shell and Overview rollout. */
.workspace-shell{background:var(--ds-canvas);color:var(--ds-ink);font-family:Inter,sans-serif}
.workspace-shell>header{position:relative;background:var(--ds-canvas);border:0;min-height:80px;padding:16px 32px;margin-left:232px;justify-content:flex-end;gap:16px}
.workspace-shell .brand{position:fixed;top:24px;left:24px;z-index:31;color:white;display:flex;gap:12px;align-items:center;font-size:21px;text-decoration:none}.workspace-shell .brand img{width:30px;height:30px}.workspace-shell .brand small{display:block;font-size:9px;font-weight:400;margin-top:5px}.workspace-shell .header-note{display:none}
.workspace-shell .app-nav{position:fixed;inset:0 auto 0 0;width:232px;height:100dvh;background:var(--ds-ink);padding:106px 16px 20px;display:flex;flex-direction:column;gap:6px;border:0;z-index:30;overflow:auto}
.workspace-shell .app-nav button{display:flex;align-items:center;gap:12px;background:transparent;color:#d3dce2;border:0;border-radius:6px;padding:12px;min-height:46px;text-align:left;font:500 13px Inter,sans-serif;white-space:normal}.workspace-shell .app-nav button img{width:20px;height:20px;filter:brightness(0) invert(1);opacity:.8}.workspace-shell .app-nav button[aria-current=page]{background:var(--ds-nav-active);color:white}.workspace-shell .app-nav button:hover{background:#274457}.workspace-shell .app-nav [data-more]{margin-top:auto}
.workspace-shell>main{margin-left:232px;padding:16px 36px 40px;width:auto;max-width:none}.workspace-shell .header-actions{flex-wrap:wrap}.workspace-shell #save-status{font-size:11px}.workspace-shell .account-controls{font-size:12px}
.workspace-shell button:focus-visible,.workspace-shell a:focus-visible{outline:3px solid var(--ds-accent);outline-offset:3px}
#home-view h1,#home-view h2,.workspace-more h2{font-family:'Source Serif 4',Georgia,serif;font-weight:600;letter-spacing:-.03em}#home-view h1{font-size:38px;margin:7px 0}#home-view h2{font-size:24px;margin:0 0 12px}#home-view p{color:var(--ds-muted);line-height:1.6;font-size:13px}#home-view .eyebrow{font-size:10px;letter-spacing:.13em;color:var(--ds-muted)}#home-view .home-heading{align-items:center;margin:0 0 28px;gap:20px}#home-view .home-heading p{margin:0}.home-actions{display:flex;gap:8px}
#home-view button{border:1px solid var(--ds-line);border-radius:6px;background:var(--ds-surface);color:var(--ds-ink);font:500 12px Inter,sans-serif;min-height:44px;padding:10px 14px}#home-view .home-primary{background:var(--ds-ink);color:white;border-color:var(--ds-ink)}
#home-view .overview-metrics{gap:16px;margin:0 0 24px}#home-view .overview-metrics article{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:10px;padding:22px;box-shadow:none}#home-view .overview-metrics span{font-size:12px;color:var(--ds-muted)}#home-view .overview-metrics strong{font-size:28px;line-height:1.3;margin:12px 0 4px;font-weight:600;font-variant-numeric:tabular-nums}#home-view .overview-metrics p{font-size:11px;margin:0}
.home-main-grid{display:grid;grid-template-columns:minmax(250px,1fr) minmax(0,2fr);gap:22px;margin-bottom:24px}.home-plan,.overview-performance,.home-holdings{background:var(--ds-surface);border:1px solid var(--ds-line);border-radius:10px;padding:24px;min-width:0}.home-plan{display:flex;flex-direction:column;gap:12px}.home-plan h2{margin-top:8px!important}.home-plan p{margin:0}.home-target{display:flex;flex-direction:column;gap:6px;margin-top:12px}.home-target strong{font-size:32px}.home-target span{font-size:12px;color:var(--ds-muted)}.home-plan progress{width:100%;height:8px;accent-color:var(--ds-accent)}.home-plan progress::-webkit-progress-bar{background:var(--ds-soft);border-radius:8px}.home-plan progress::-webkit-progress-value{background:var(--ds-accent);border-radius:8px}.home-plan button:first-of-type{margin-top:auto}
#home-view .section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}#home-view .section-heading h2{margin:0}#home-view .chart-ranges{gap:4px;margin:16px 0}#home-view .chart-ranges button{padding:8px 10px;border-color:transparent;background:transparent}#home-view .chart-ranges button[aria-pressed=true]{background:var(--ds-ink);color:white}.home-method{border-top:1px solid var(--ds-line);padding-top:14px;font-size:12px;color:var(--ds-muted)}.home-method summary{cursor:pointer;min-height:32px}#home-performance-summary{font-size:12px!important;font-weight:500}#home-performance-chart{min-height:210px;display:grid;align-content:center}
.home-position-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-top:20px}#home-view .home-position{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid var(--ds-line);border-radius:0;padding:18px 0;min-width:0}.home-symbol{display:grid;place-items:center;flex-shrink:0;width:42px;height:42px;border-radius:10px;background:var(--ds-soft);font-size:10px;font-weight:600}.home-position-name{flex:1;min-width:0}.home-position-name strong{display:block;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.home-position small{display:block;font-size:10px;font-weight:400;color:var(--ds-muted);margin-top:5px}.home-position-value{font-variant-numeric:tabular-nums;font-size:13px;text-align:right;flex-shrink:0}.home-empty{padding:24px;grid-column:1/-1}.workspace-more{width:min(420px,calc(100% - 32px));border:1px solid var(--ds-line);border-radius:16px;background:var(--ds-surface);padding:24px}.workspace-more::backdrop{background:#132a3a77}.workspace-more>button{display:block;width:100%;text-align:left;min-height:48px;margin-top:8px}.more-close{float:right;font-size:22px}
@media(max-width:1100px){.workspace-shell>header{margin-left:200px;padding:16px}.workspace-shell .app-nav{width:200px}.workspace-shell>main{margin-left:200px;padding:16px 24px 40px}.home-main-grid{grid-template-columns:1fr}.overview-performance{grid-row:1}.home-position-grid{grid-template-columns:1fr}#home-view .overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-shell>header{margin-left:0;padding:14px 16px;min-height:76px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.workspace-shell .brand{position:static;color:var(--ds-ink);font-size:20px}.workspace-shell .brand img{filter:brightness(.3)}.workspace-shell .brand small{display:none}.workspace-shell .header-actions{margin:0;width:auto}.workspace-shell .header-actions>a,.workspace-shell .header-actions>button{display:none}.workspace-shell .account-controls{max-width:100%;margin:0}.workspace-shell .app-nav{inset:auto 0 0;width:100%;height:auto;min-height:70px;padding:7px 6px calc(7px + env(safe-area-inset-bottom));flex-direction:row;gap:2px;background:var(--ds-surface);border-top:1px solid var(--ds-line);overflow:visible}.workspace-shell .app-nav button{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:center;padding:6px 2px;color:var(--ds-muted);font-size:10px;min-height:50px}.workspace-shell .app-nav button img{filter:none;width:21px;height:21px}.workspace-shell .app-nav button[aria-current=page]{background:var(--ds-soft);color:var(--ds-ink)}.workspace-shell .app-nav [data-view=portfolio],.workspace-shell .app-nav [data-view=analytics]{display:none}.workspace-shell .app-nav [data-more]{margin:0}.workspace-shell>main{margin:0;padding:16px 16px 110px}#home-view h1{font-size:29px}#home-view .home-heading{display:block;margin-bottom:20px}.home-actions{margin-top:18px}.home-actions button{flex:1}#home-view .overview-metrics{gap:10px}#home-view .overview-metrics article{padding:16px 12px}#home-view .overview-metrics strong{font-size:23px}.home-plan,.overview-performance,.home-holdings{padding:18px}.home-main-grid{gap:16px}#home-view h2{font-size:22px}.home-position-grid{gap:0}.home-symbol{width:34px;height:34px}.home-position-value{font-size:12px}.home-position-value small{font-size:9px}.home-position-name strong{font-size:11px}#home-view .home-position{gap:8px}#home-view .chart-ranges button{padding:8px;min-height:44px}#home-performance-chart svg{min-height:180px}.workspace-shell .section-heading{flex-wrap:wrap}}
.workspace-shell .app-nav button span{background:none;color:inherit;padding:0;border-radius:0;font:inherit}.workspace-shell .brand{letter-spacing:0}.workspace-shell .brand small{letter-spacing:0;font-size:9px;white-space:normal;max-width:145px}
