/* FLCash workspace: shared visual language, distinct desktop and touch layouts.
   Keep marketing yield/phone components scoped out of workspace overrides. */
.workspace-redesign { --workspace-border: rgba(210,225,242,.09); --workspace-fill: #121823; background: #0b1018; }
.workspace-redesign .site-bg, .workspace-redesign .cursor-aura { display:none; }
.workspace-redesign::before { display:none; }
.workspace-redesign :focus-visible { outline:2px solid #2ebac6; outline-offset:4px; }
.workspace-redesign button { touch-action:manipulation; }
.workspace-redesign .main { max-width:1500px; padding:28px 40px 70px; margin:0 0 0 218px; width:calc(100% - 218px); }
.workspace-redesign .site-header { position:fixed; inset:0 auto 0 0; width:218px; height:100dvh; max-width:none; padding:30px 18px 22px; display:flex; flex-direction:column; align-items:stretch; gap:0; border:0; border-right:1px solid var(--workspace-border); border-radius:0; background:#0e141e; box-shadow:none; backdrop-filter:none; z-index:80; }
.workspace-redesign .site-header::before, .workspace-redesign .site-header::after { display:none; }
.workspace-redesign .brand { padding:0 8px; gap:10px; flex:none; text-align:left; }
.workspace-redesign .brand-mark { width:36px; height:36px; min-width:36px; }
.workspace-redesign .brand strong { font-size:21px; }
.workspace-redesign .brand small { font-size:9px; line-height:1.7; letter-spacing:0; }
.rail-label { color:#7e8ca0; font-size:11px; margin:46px 12px 14px; }
.workspace-redesign .nav-list { display:flex; flex-direction:column; align-items:stretch; gap:5px; overflow:visible; width:100%; mask-image:none; padding:0; flex:none; }
.workspace-redesign .nav-item { display:flex; align-items:center; gap:12px; justify-content:flex-start; padding:13px 14px; width:100%; min-height:46px; margin:0; border:1px solid transparent; border-radius:9px; font-size:13px; font-weight:500; color:#9aa9bc; background:transparent; }
.workspace-redesign .nav-item::after { display:none; }
.workspace-redesign .nav-item.active { color:#f3f7ff; background:#1b2835; border-color:#29404c; }
.workspace-redesign .nav-item.active svg { color:#63d2d8; }
.workspace-redesign .nav-item:hover { background:#18222e; color:#eef6ff; }
.workspace-redesign .nav-item:nth-child(5) { margin-top:26px; }
.nav-item svg, .mobile-dock svg, .mobile-menu nav svg { width:19px; height:19px; flex-shrink:0; fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.workspace-redesign .header-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:auto; padding:24px 4px 0; width:100%; border-top:1px solid var(--workspace-border); }
.workspace-redesign .header-actions .language-switch { width:100%; justify-content:flex-start; margin:0 0 8px; }
.workspace-redesign .header-actions > .primary-button { display:none; }
.workspace-redesign #accountButton { width:100%; min-height:42px; justify-content:center; overflow:hidden; }
.workspace-bar { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-bottom:24px; margin-bottom:28px; border-bottom:1px solid var(--workspace-border); color:#77889e; font-size:12px; }
.workspace-breadcrumb { display:flex; align-items:center; gap:12px; }
.workspace-breadcrumb strong { color:#e6edf6; font-weight:500; }
.workspace-network { font-family:var(--font-data); font-size:11px; }
.workspace-redesign .site-footer { margin-left:218px; width:calc(100% - 218px); }
.workspace-redesign .tab-panel:not(#dashboard) { --radius-panel:14px; --radius-card:10px; }
.workspace-redesign .tab-panel:not(#dashboard) .page-hero { padding:0 0 26px; margin:0; text-align:left; max-width:800px; min-height:0; background:none; border:0; }
.workspace-redesign .tab-panel:not(#dashboard) .page-hero h2 { margin:8px 0 12px; font-size:clamp(25px,2.4vw,34px); letter-spacing:0; line-height:1.3; max-width:100%; }
.workspace-redesign .tab-panel:not(#dashboard) .page-hero p:not(.eyebrow) { color:#93a3b8; font-size:13px; line-height:1.85; max-width:70ch; margin:0; }
.workspace-redesign .tab-panel:not(#dashboard) h2 { letter-spacing:0; line-height:1.4; }
.workspace-redesign .tab-panel:not(#dashboard) .eyebrow { font-size:10px; letter-spacing:.06em; margin:0 0 7px; color:#6f8599; }
.workspace-redesign :is(.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.live-console,.connect-card,.api-guide,.faq-panel,.referral-panel,.fee-summary,.vault-chart-card,.nv-section) { background:var(--workspace-fill); box-shadow:none; border:1px solid var(--workspace-border); border-radius:14px; padding:24px; margin:0; min-width:0; }
.workspace-redesign :is(.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.connect-card,.faq-panel):hover { border-color:var(--workspace-border); }
.workspace-redesign .tab-panel:not(#dashboard) .section-heading { margin-bottom:20px; gap:16px; }
.workspace-redesign .tab-panel:not(#dashboard) :is(.section-heading,.panel-heading,.allocation-story header,.live-console-head) h2 { font-size:18px; margin:0; }
.workspace-redesign .tab-panel:not(#dashboard) :is(.section-sub,.details-note,.muted,.panel-heading p) { font-size:12px; line-height:1.8; color:#91a2b7; }
.strategy-overview { display:grid; gap:18px; margin-bottom:18px; }
.workspace-redesign .now-grid { gap:0; grid-template-columns:repeat(3,minmax(0,1fr)); }
.workspace-redesign .now-card { background:none; border:0; border-radius:0; padding:12px 24px 16px; box-shadow:none; }
.workspace-redesign .now-card:first-child { padding-left:0; }
.workspace-redesign .now-card + .now-card { border-left:1px solid var(--workspace-border); }
.workspace-redesign .now-card strong { font-size:36px; letter-spacing:0; font-weight:600; }
.workspace-redesign .now-card-accent strong { color:#68d6d6; }
.workspace-redesign .now-card small { font-size:11px; line-height:1.7; }
.workspace-redesign .now-verdict { border:0; border-top:1px solid var(--workspace-border); border-radius:0; padding:16px 0 0; background:none; margin:10px 0 0; font-size:12px; line-height:1.9; }
.workspace-redesign .allocation-rungs { margin:20px 0 12px; gap:12px; }
.workspace-redesign .allocation-rung { background:#172330; padding:16px; border-radius:10px; border:1px solid var(--workspace-border); box-shadow:none; }
.workspace-redesign .allocation-rung strong { font-size:25px; }
.workspace-redesign .allocation-story > .muted { margin-bottom:0; }
.strategy-analysis { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:18px 0; align-items:start; }
.strategy-analysis .simulation-output { grid-column:1 / -1; }
.workspace-redesign .edge-wrap, .workspace-redesign .ladder-wrap { min-height:180px; }
.workspace-guide { display:block; padding:0; margin:18px 0; background:var(--workspace-fill); border:1px solid var(--workspace-border); border-radius:14px; }
.workspace-guide > summary { padding:20px 24px; color:#bbc9d9; font-size:14px; cursor:pointer; }
.workspace-guide > summary::marker { color:#5d8c9a; }
.workspace-guide > :not(summary) { margin:0 20px 20px; }
.workspace-guide > .api-guide { border:0; padding:0; }
.workspace-redesign .how-panel { border:0; background:none; box-shadow:none; padding:10px 4px; }
.workspace-redesign .strategy-pillars { gap:12px; }
.workspace-redesign .strategy-pillars article { background:none; box-shadow:none; border:0; border-top:1px solid var(--workspace-border); padding:18px 4px; }
.workspace-redesign .operator-shell { padding:0; border:0; box-shadow:none; background:none; }
.workspace-redesign .operator-head { padding:14px 18px; border:1px solid var(--workspace-border); border-radius:10px; background:#102225; margin:0 0 18px; }
.workspace-redesign #live .operator-head { background:#231f17; }
.workspace-redesign .mode-status { gap:10px; }
.workspace-redesign .mode-status strong { font-size:12px; }
.workspace-redesign .mode-status span:not(.mode-status-dot) { font-size:11px; }
.workspace-redesign .mode-status-dot { width:6px; height:6px; }
.workspace-redesign [data-workspace-panel="simulation"] { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:18px; align-items:start; }
.workspace-redesign [data-workspace-panel="simulation"] > .sim-fold { grid-column:1 / -1; }
.workspace-redesign .market-table-head { display:none; }
.workspace-redesign .market-row { grid-template-columns:1fr 1fr; gap:10px; padding:18px; border:1px solid var(--workspace-border); border-radius:10px; margin-bottom:10px; background:#141e2b; }
.workspace-redesign .market-row.active { background:#152b32; border-color:#2c6268; }
.workspace-redesign .market-row > * { min-width:0; }
.workspace-redesign .market-row > :nth-child(2) { text-align:right; }
.workspace-redesign .market-row > :nth-child(3) { text-align:left; }
.workspace-redesign .market-row > :nth-child(3), .workspace-redesign .market-row > :nth-child(4) { display:none; }
.workspace-redesign .market-row > em { grid-column:1 / -1; text-align:right; justify-self:end; }
.workspace-redesign .market-asset { font-size:15px; }
.workspace-redesign #practice .market-detail-panel { grid-template-columns:minmax(0,1fr); min-width:0; gap:20px; padding-top:24px; }
.workspace-redesign #practice .market-detail-grid { min-width:0; grid-template-columns:repeat(auto-fit,minmax(min(176px,100%),1fr)); }
.workspace-redesign .practice-potential { padding:15px 0; margin:0; }
.workspace-redesign .market-rate-note { font-size:11px; line-height:1.8; }
.workspace-redesign .principal-control { background:none; border:0; padding:0 0 18px; margin-top:24px; }
.workspace-redesign .principal-field input { background:#0c121c; border:1px solid #2b3b4f; font-size:25px; height:56px; border-radius:9px; }
.workspace-redesign .principal-chips { gap:8px; }
.workspace-redesign .principal-chip { border-radius:7px; background:#1b2532; padding:8px 12px; }
.workspace-redesign .selected-result-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0; border-top:1px solid var(--workspace-border); }
.workspace-redesign .selected-result-grid article { padding:18px 8px; border:0; border-radius:0; background:none; box-shadow:none; }
.workspace-redesign .selected-result-grid article strong { font-size:25px; }
.workspace-redesign .selected-result-grid article:last-child { background:#132c30; border-radius:9px; }
.workspace-redesign .selected-result-grid article:last-child strong { color:#6ddddb; }
.workspace-redesign .selected-result-grid article small { font-size:10px; }
.workspace-redesign .sim-fold, .workspace-redesign .details-card { border:0; border-top:1px solid var(--workspace-border); border-radius:0; background:none; padding:15px 0; }
.workspace-redesign .mode-handoff { padding:20px 0; margin:20px 0 0; border:0; border-top:1px solid var(--workspace-border); background:none; box-shadow:none; }
.workspace-redesign .setup-progress { padding:0; margin:18px 0; gap:10px; }
.workspace-redesign .setup-progress li { background:none; border:0; padding:10px 4px; }
.workspace-redesign .setup-progress small { font-size:10px; }
.workspace-redesign .setup-next { margin:18px 0; padding:20px; border:1px solid #315258; background:#13262b; border-radius:12px; }
.workspace-redesign .verification-notice { margin:18px 0; padding:16px; border-radius:10px; background:#171f29; border-color:var(--workspace-border); }
.workspace-redesign .verification-notice p { font-size:12px; }
.workspace-redesign .live-management { display:grid; gap:18px; margin:18px 0; }
.workspace-redesign .live-status-grid { gap:12px; margin:0; grid-template-columns:repeat(2,minmax(0,1fr)); }
.workspace-redesign .live-status-grid article { background:#121c29; box-shadow:none; border:1px solid var(--workspace-border); border-radius:10px; padding:18px; }
.workspace-redesign .live-status-grid strong { font-size:20px; }
.workspace-redesign .live-layout { gap:18px; margin:0; }
.workspace-redesign .live-console.is-collapsed { display:none; }
.workspace-redesign .live-dashboard-grid { gap:14px; }
.workspace-redesign .live-dashboard-grid .vault-chart-card { padding:18px; }
.workspace-redesign .api-guide-steps { grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.workspace-redesign .guide-step { background:#111c28; border:1px solid var(--workspace-border); border-radius:12px; padding:18px; }
.workspace-redesign .guide-step-head h3 { font-size:15px; }
.workspace-redesign .guide-step-body p { font-size:12px; line-height:1.9; }
.workspace-redesign .tab-panel:not(#dashboard) .primary-button { background:#2ebac6; color:#071b20; box-shadow:none; border-color:transparent; border-radius:9px; }
.workspace-redesign .tab-panel:not(#dashboard) .ghost-button { border-radius:9px; }
.workspace-redesign .plan-card { background:#121c28; box-shadow:none; border:1px solid var(--workspace-border); border-radius:14px; }
.workspace-redesign #pricing > section + section, .workspace-redesign #academy > section + section, .workspace-redesign #vault > section + section { margin-top:20px; }
.workspace-redesign .faq-panel { max-width:900px; }
.workspace-redesign .faq-list details { border:0; border-bottom:1px solid var(--workspace-border); border-radius:0; background:none; }
.workspace-redesign .tab-panel:not(#dashboard) .reveal-on-scroll { opacity:1; transform:none; }
.mobile-dock, .mobile-sections { display:none; }
.mobile-menu:not([open]) { display:none; }
.mobile-menu { color:#eef6ff; background:#121c28; border:1px solid #334453; padding:24px; border-radius:22px 22px 0 0; width:100%; max-width:600px; margin:auto auto 0; max-height:85dvh; padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
.mobile-menu::backdrop { background:rgba(0,6,14,.72); }
.mobile-menu header { display:flex; align-items:center; justify-content:space-between; }
.mobile-menu h2 { font-size:20px; }
.mobile-menu header button { background:#243344; color:#cddae9; border:0; padding:10px 16px; border-radius:8px; }
.mobile-menu nav { display:grid; gap:8px; margin:24px 0; }
.mobile-menu nav button { display:flex; align-items:center; gap:16px; border:0; border-radius:10px; background:#192636; color:#e6edf6; padding:18px; text-align:left; }
.mobile-menu nav button span:last-child { margin-left:auto; }
.mobile-menu .language-switch { display:flex; justify-content:space-between; }
@media (min-width:1500px) { .workspace-redesign .main { margin-left:248px; width:calc(100% - 278px); } }
@media (max-width:1150px) and (min-width:761px) {
 .workspace-redesign .site-header { width:188px; padding-inline:12px; }
 .workspace-redesign .main { margin-left:188px; width:calc(100% - 188px); padding-inline:24px; }
 .workspace-redesign .site-footer { margin-left:188px; width:calc(100% - 188px); }
 .strategy-analysis, .workspace-redesign [data-workspace-panel="simulation"] { grid-template-columns:1fr; }
 .workspace-redesign .now-card { padding-inline:14px; }
 .workspace-redesign .now-card strong { font-size:28px; }
}
@media (max-width:760px) {
 .workspace-redesign .site-header { position:sticky; inset:0 0 auto; height:66px; width:100%; padding:10px 18px; flex-direction:row; justify-content:space-between; align-items:center; gap:12px; border:0; border-bottom:1px solid var(--workspace-border); }
 .workspace-redesign .brand { padding:0; }
 .workspace-redesign .brand small, .workspace-redesign .rail-label, .workspace-redesign .site-header .nav-list, .workspace-redesign .header-actions .language-switch { display:none; }
 .workspace-redesign .brand strong { font-size:19px; }
 .workspace-redesign .brand-mark { width:32px; height:32px; min-width:32px; }
 .workspace-redesign .header-actions { flex-wrap:nowrap; width:auto; margin:0; border:0; padding:0; gap:8px; }
 .workspace-redesign #accountButton { width:auto; min-height:36px; max-width:160px; padding:8px 12px; font-size:12px; }
 .workspace-redesign .owner-entry { font-size:10px; padding:6px; }
 .workspace-redesign .main { width:100%; margin:0; padding:24px 18px 28px; }
 .workspace-redesign .workspace-bar { display:none; }
 .workspace-redesign .site-footer { width:100%; margin:0; padding-bottom:calc(95px + env(safe-area-inset-bottom)); }
 .workspace-redesign .tab-panel:not(#dashboard) .page-hero { padding-bottom:22px; }
 .workspace-redesign .tab-panel:not(#dashboard) .page-hero h2 { font-size:25px; margin:5px 0 10px; }
 .workspace-redesign .tab-panel:not(#dashboard) .page-hero p:not(.eyebrow) { font-size:12px; line-height:1.8; }
 .mobile-dock { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); position:fixed; inset:auto 0 0; z-index:90; padding:8px 8px calc(8px + env(safe-area-inset-bottom)); background:#101a27; border-top:1px solid #2b394c; box-shadow:0 -8px 24px #050a1355; }
 .mobile-dock button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; border:0; background:none; color:#8192aa; border-radius:10px; min-height:48px; font-size:10px; padding:5px 0; }
 .mobile-dock button[aria-current="page"], .mobile-dock button.active { color:#73dcde; background:#1a303b; }
 .mobile-dock svg { width:20px; height:20px; }
 .mobile-sections { display:flex; position:sticky; top:66px; z-index:20; gap:4px; padding:7px 0 12px; margin:0 0 16px; background:#0b1018; }
 .mobile-sections button { flex:1; min-height:42px; font-size:12px; color:#91a3ba; background:#121d2a; border:1px solid transparent; border-radius:8px; }
 .mobile-sections button[aria-pressed="true"] { color:#e4f8fa; background:#203440; border-color:#355963; }
 .tab-panel[data-mobile-view="overview"] [data-mobile-group]:not([data-mobile-group="overview"]),
 .tab-panel[data-mobile-view="analysis"] [data-mobile-group]:not([data-mobile-group="analysis"]),
 .tab-panel[data-mobile-view="manage"] [data-mobile-group]:not([data-mobile-group="manage"]),
 .tab-panel[data-mobile-view="guide"] [data-mobile-group]:not([data-mobile-group="guide"]) { display:none; }
 .workspace-redesign .strategy-overview, .workspace-redesign .strategy-analysis { grid-template-columns:1fr; gap:14px; margin:0; }
 .workspace-redesign :is(.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.live-console,.connect-card,.faq-panel,.referral-panel,.vault-chart-card) { padding:20px; border-radius:14px; }
 .workspace-redesign .now-panel .section-heading { display:flex; flex-direction:column; align-items:stretch; gap:16px; }
 .workspace-redesign .now-head-tools { justify-content:space-between; }
 .workspace-redesign .now-grid { grid-template-columns:1fr 1fr; }
 .workspace-redesign .now-card-accent { grid-column:1 / -1; grid-row:1; background:#152b32; border-radius:10px; padding:20px; margin-bottom:16px; border:0!important; }
 .workspace-redesign .now-card-accent strong { font-size:46px; }
 .workspace-redesign .now-card:first-child { padding:8px 10px 8px 0; }
 .workspace-redesign .now-card:last-child { padding:8px 0 8px 14px; }
 .workspace-redesign .now-card:not(.now-card-accent) strong { font-size:24px; }
 .workspace-redesign .now-card span { font-size:11px; }
 .workspace-redesign .now-card small { font-size:10px; }
 .workspace-redesign .allocation-rungs { grid-template-columns:1fr; gap:10px; }
 .workspace-redesign .allocation-rung { padding:16px; }
 .workspace-redesign .allocation-rung strong { font-size:25px; }
 .workspace-redesign .allocation-story > .muted { font-size:11px; }
 .workspace-redesign .tab-panel:not(#dashboard) :is(.section-heading,.panel-heading,.allocation-story header,.live-console-head) h2 { font-size:16px; }
 .workspace-redesign .operator-head { padding:12px; margin-bottom:16px; }
 .workspace-redesign .mode-status span:not(.mode-status-dot) { font-size:10px; line-height:1.7; }
 .workspace-redesign [data-workspace-panel="simulation"] { display:flex; flex-direction:column; gap:14px; }
 .workspace-redesign [data-workspace-panel="simulation"] > * { width:100%; }
 .workspace-redesign .market-shell { padding:18px; }
 .workspace-redesign #assetSplitGrid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
 .workspace-redesign .market-row { display:flex; flex-direction:column; align-items:flex-start; gap:9px; padding:14px 10px; margin:0; min-width:0; }
 .workspace-redesign .market-row > :nth-child(2) { text-align:left; font-size:13px; }
 .workspace-redesign .market-row > :nth-child(3) { font-size:11px; }
 .workspace-redesign .market-row em { width:100%; text-align:left; font-size:10px; }
 .workspace-redesign .market-asset { font-size:14px; gap:7px; }
 .workspace-redesign .practice-potential { font-size:11px; gap:8px; padding-top:16px; }
 .workspace-redesign .market-rate-note { font-size:10px; margin:12px 0 0; }
 .workspace-redesign .selected-simulation .panel-heading { align-items:flex-start; flex-direction:column; gap:12px; }
 .workspace-redesign #runStrategyButton { width:100%; min-height:44px; }
 .workspace-redesign .principal-control { margin-top:18px; }
 .workspace-redesign .selected-result-grid article:last-child { grid-column:1 / -1; grid-row:1; margin-bottom:10px; padding:20px; }
 .workspace-redesign .selected-result-grid article:last-child strong { font-size:36px; }
 .workspace-redesign .selected-result-grid article:first-child { grid-column:1 / -1; border-bottom:1px solid var(--workspace-border); display:flex; align-items:center; gap:10px; padding:12px 0; }
 .workspace-redesign .selected-result-grid article:first-child small { margin-left:auto; }
 .workspace-redesign .selected-result-grid article:first-child strong { font-size:15px; }
 .workspace-redesign .selected-result-grid article strong { font-size:24px; }
 .workspace-redesign .setup-progress { display:grid; grid-template-columns:repeat(4,1fr); gap:5px; }
 .workspace-redesign .setup-progress li { flex-direction:column; align-items:center; text-align:center; padding:8px 0; gap:6px; }
 .workspace-redesign .setup-progress small { display:none; }
 .workspace-redesign .setup-progress strong { font-size:10px; }
 .workspace-redesign .setup-next { padding:18px; flex-direction:column; align-items:stretch; gap:14px; }
 .workspace-redesign #setupNextCta { min-height:44px; }
 .workspace-redesign #live[data-mobile-view="manage"] :is(.setup-progress,.setup-next,.verification-notice),
 .workspace-redesign #live[data-mobile-view="guide"] :is(.setup-progress,.setup-next,.verification-notice) { display:none; }
 .workspace-redesign .live-management { margin:0; }
 .workspace-redesign .live-status-grid, .workspace-redesign .live-layout, .workspace-redesign .live-dashboard-grid { grid-template-columns:1fr; }
 .workspace-redesign .live-status-grid { order:2; }
 .workspace-redesign .live-layout { order:1; }
 .workspace-redesign .workspace-guide > :not(summary) { margin:0 14px 16px; }
 .workspace-redesign .workspace-guide > summary { padding:18px; font-size:13px; }
 .workspace-redesign .api-guide-steps { grid-template-columns:1fr; }
 .workspace-redesign .guide-step { padding:14px; }
 .workspace-redesign .social-dock { bottom:calc(84px + env(safe-area-inset-bottom)); }
 .workspace-redesign .toast { bottom:calc(90px + env(safe-area-inset-bottom)); }
 .workspace-redesign .mode-handoff { flex-direction:column; align-items:stretch; gap:14px; }
 .workspace-redesign .mode-handoff span { font-size:12px; }
 .workspace-redesign .tab-panel:not(#dashboard) :is(input,select) { font-size:16px; }
 .workspace-redesign .tab-panel:not(#dashboard) :is(button,.primary-button,.ghost-button) { min-height:40px; }
 .workspace-redesign .guide-preview { max-height:calc(100dvh - 30px); }
 .workspace-redesign .auth-modal, .workspace-redesign .pay-modal { max-height:90dvh; overflow-y:auto; }
}
@media (prefers-reduced-motion:reduce) { .workspace-redesign *, .workspace-redesign *::before, .workspace-redesign *::after { scroll-behavior:auto!important; transition:none!important; animation:none!important; } }
/* Neutralize inherited marketing spacing and nested panel decoration. */
.workspace-redesign .nav-list { border:0; background:none; box-shadow:none; border-radius:0; }
.workspace-redesign .brand { filter:none; }
.workspace-redesign .brand strong { filter:none; text-shadow:none; }
.workspace-redesign .tab-panel:not(#dashboard) > .operator-shell { margin-top:0; }
.workspace-redesign .operator-head .mode-status { border:0; border-radius:0; padding:0; background:none; box-shadow:none; }
.workspace-redesign .workspace-panel.active { padding:0; }
.workspace-redesign .market-row { box-shadow:none; }
.workspace-redesign .market-row [data-label]::before { content:attr(data-label); display:block; margin-bottom:5px; font-size:10px; font-weight:400; color:#9badc1; }
.workspace-redesign .market-row > :nth-child(3) { color:#d6e8ee; font-size:15px; }
.workspace-redesign .market-row.active::before, .workspace-redesign .market-row::after { display:none; }
@media (max-width:760px) {
 .workspace-redesign .market-row [data-label]::before { font-size:9px; }
 .workspace-redesign .market-row > :nth-child(3) { font-size:14px; }
}
.workspace-redesign .operator-shell { margin:0; }
.workspace-redesign .brand > span:last-child { min-width:0; }
.workspace-redesign .brand small { white-space:nowrap; font-size:8px; }
@media (max-width:760px) {
 .workspace-redesign #practice .market-shell .section-heading { margin-bottom:12px; }
 .workspace-redesign #practice .market-row > em { display:none; }
 .workspace-redesign #practice .market-row { gap:8px; }
 .workspace-redesign #practice .market-asset > strong { font-size:16px; white-space:nowrap; }
 .workspace-redesign #practice .market-asset .asset-icon { width:28px; height:28px; flex:0 0 28px; }
 .workspace-redesign #practice .market-shell > .sim-fold { margin:10px 0 0; padding:12px 0 0; font-size:11px; }
 .workspace-redesign #strategy .now-card-accent strong { font-size:clamp(28px,9vw,42px); }
}
.workspace-redesign .tab-panel:not(#dashboard) > section,
.workspace-redesign :is(.operator-shell,.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.live-console,.live-layout,.api-guide,.faq-panel) { width:100%; }
.guide-step-detail > summary { list-style:none; cursor:pointer; }
.guide-step-detail > summary::-webkit-details-marker { display:none; }
.guide-step-detail > summary .guide-step-head { margin:0 0 16px; }
@media (max-width:760px) {
 .guide-step-detail > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; }
 .guide-step-detail > summary::after { content:'+'; color:#77c6cc; }
 .guide-step-detail[open] > summary::after { content:'−'; }
 .guide-step-detail > summary .guide-step-head { margin:0; }
 .guide-step-detail[open] > summary { margin-bottom:18px; }
}
.workspace-redesign :is(.operator-shell,.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.live-console,.connect-card,.workspace-guide)::before,
.workspace-redesign :is(.operator-shell,.now-panel,.allocation-story,.edge-panel,.ladder-panel,.simulation-output,.market-shell,.simulation-board,.live-console,.connect-card,.workspace-guide)::after { display:none; }
.workspace-redesign #pricing .plans-panel { width:100%; padding:24px 0; border:0; border-radius:0; background:none; box-shadow:none; }
.workspace-redesign #pricing .plans-panel::before { display:none; }
.workspace-redesign .fee-summary { gap:0; }
.workspace-redesign .fee-summary article { border:0; border-radius:0; background:none; box-shadow:none; padding:16px 24px; }
.workspace-redesign .fee-summary article + article { border-left:1px solid var(--workspace-border); }
@media (max-width:760px) {
 .workspace-redesign .fee-summary article { padding:18px 0; }
 .workspace-redesign .fee-summary article + article { border-left:0; border-top:1px solid var(--workspace-border); }
}
/* Explicit account actions stay visible; only the page list scrolls on short screens. */
.workspace-redesign [hidden] { display:none!important; }
.workspace-redesign .site-header { padding:22px 16px 16px; overflow:hidden; }
.workspace-redesign .brand { flex-shrink:0; }
.workspace-redesign .rail-account { display:grid; gap:8px; padding:16px 4px; margin-top:18px; border-block:1px solid var(--workspace-border); flex-shrink:0; min-width:0; }
.rail-account-label { font-size:10px; color:#92a4bb; }
.workspace-redesign .rail-account #accountButton { display:flex; width:100%; min-width:0; min-height:42px; justify-content:center; background:#2ebac6; color:#092027; border:0; border-radius:9px; font-weight:600; }
.workspace-redesign .rail-account #accountButton[data-logged-in] { color:#e5f4f8; background:#1c2c3c; justify-content:flex-start; }
.rail-account #accountButton span { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-logout { color:#b7c7da; font-size:12px; border:1px solid #2e4054; border-radius:8px; min-height:36px; background:transparent; }
.account-logout:hover { color:#fff; background:#253446; }
.workspace-redesign .rail-label { margin:20px 10px 12px; flex-shrink:0; }
.workspace-redesign .nav-list { flex:1 1 auto; min-height:0; overflow-y:auto; scrollbar-width:thin; padding-right:2px; }
.workspace-redesign .nav-item { flex-shrink:0; }
.workspace-redesign .nav-item:nth-child(5) { margin-top:0; }
.workspace-redesign .nav-item[data-tab="pricing"] { margin-top:15px; }
.workspace-redesign .header-actions { flex:0 0 auto; margin-top:16px; padding-top:14px; }
.workspace-redesign .main, .workspace-redesign .tab-panel, .workspace-redesign .tab-panel :is(article,section,header,footer,div,form,fieldset,dl) { min-width:0; }
.workspace-redesign .tab-panel :is(h1,h2,h3,h4,p,small,strong,span,dt,dd,a,button) { overflow-wrap:anywhere; }
.workspace-redesign .tab-panel :is(img,video,svg) { max-width:100%; }
.workspace-redesign .tab-panel :is(input,select,textarea,canvas) { max-width:100%; min-width:0; }
.workspace-redesign .tab-panel :is(.button-row,.panel-heading,.section-heading,.live-console-head) { flex-wrap:wrap; }
.workspace-redesign #portfolio { max-width:1320px; }
.workspace-redesign #portfolio > .page-hero { padding-bottom:18px; }
.portfolio-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap; margin-bottom:24px; }
.portfolio-heading h2 { font-size:clamp(20px,2vw,30px); margin:12px 0 8px; }
.portfolio-heading p { font-size:13px; color:#a5b6ca; margin:0; overflow-wrap:anywhere; }
.portfolio-private { color:#67cbd0; font-size:11px; }
.portfolio-toolbar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:20px; }
.portfolio-toolbar > span { color:#8095af; font-size:11px; }
.portfolio-toolbar .asset-switch button { min-height:40px; min-width:76px; border:0; border-radius:8px; background:none; color:#8fa4bd; padding:10px 18px; }
.portfolio-toolbar .asset-switch button[aria-pressed="true"] { background:#25424e; color:#99e8e8; }
.portfolio-kpis { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:18px 0; }
.portfolio-kpi { padding:22px; background:#141d2a; border:1px solid var(--workspace-border); border-radius:14px; }
.portfolio-kpi > span { font-size:12px; color:#91a7c2; }
.portfolio-kpi strong { display:block; font-family:var(--font-data); font-size:clamp(20px,2vw,31px); font-weight:600; line-height:1.4; margin:18px 0 10px; font-variant-numeric:tabular-nums; }
.portfolio-kpi strong small { font-size:11px; color:#8ba5bc; font-weight:500; white-space:nowrap; }
.portfolio-kpi p { font-size:10px; color:#8499b1; margin:0; line-height:1.7; }
.portfolio-kpi-main { background:#152c35; border-color:#2c5561; }
.portfolio-kpi-income strong { color:#78ddd9; }
.portfolio-note { font-size:12px; color:#90a3bb; line-height:1.8; }
.portfolio-grid { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:18px; margin-top:20px; align-items:start; }
.portfolio-card { padding:24px; background:#121c29; border:1px solid var(--workspace-border); border-radius:14px; }
.portfolio-card > header { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.portfolio-card h3 { font-size:15px; margin:0; }
.portfolio-card header > span { font-size:11px; color:#8096ad; }
.income-bars { height:190px; display:flex; align-items:flex-end; gap:clamp(2px,.5vw,6px); padding-top:20px; margin-top:15px; border-bottom:1px solid #304452; }
.income-bar-slot { flex:1 1 0; height:100%; display:flex; align-items:flex-end; min-width:0; }
.income-bar-slot i { display:block; width:100%; background:#39bfc5; border-radius:3px 3px 0 0; min-width:0; }
.income-bar-slot i.negative { background:#da7893; }
.income-axis { display:flex; justify-content:space-between; font-size:10px; color:#89a1b9; margin-top:12px; }
.portfolio-chart-placeholder { min-height:190px; display:grid; place-items:center; color:#8096ad; font-size:13px; }
.portfolio-daily { margin-top:18px; padding-top:14px; border-top:1px solid var(--workspace-border); font-size:12px; }
.portfolio-daily summary { cursor:pointer; color:#9eb2c8; }
.portfolio-payments { margin-top:16px; max-height:380px; overflow:auto; scrollbar-width:thin; }
.portfolio-payments > div { display:flex; align-items:center; justify-content:space-between; gap:16px; border-bottom:1px solid var(--workspace-border); padding:14px 0; font-size:12px; }
.portfolio-payments time { color:#9bafc6; }
.portfolio-payments strong { color:#7bd1d1; text-align:right; font-size:12px; font-variant-numeric:tabular-nums; }
.portfolio-allocation { display:flex; height:10px; border-radius:5px; overflow:hidden; margin:26px 0 20px; background:#1c2e41; }
.allocation-part-0 { background:#608eaf; }
.allocation-part-1 { background:#9c89d9; }
.allocation-part-2 { background:#38bdc2; }
.portfolio-breakdown { margin:0; }
.portfolio-breakdown > div { display:flex; justify-content:space-between; gap:16px; font-size:12px; padding:10px 0; }
.portfolio-breakdown dt { color:#9cacc0; display:flex; align-items:center; gap:8px; }
.portfolio-breakdown dt i { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.portfolio-breakdown dd { margin:0; text-align:right; }
.portfolio-estimate { display:grid; gap:9px; margin-top:20px; padding-top:20px; border-top:1px solid var(--workspace-border); }
.portfolio-estimate span { color:#94aac1; font-size:12px; }
.portfolio-estimate strong { font-family:var(--font-data); font-size:24px; font-weight:500; }
.portfolio-estimate small { color:#7e93ab; font-size:10px; line-height:1.8; }
.portfolio-positions { max-height:380px; overflow:auto; margin-top:16px; scrollbar-width:thin; }
.portfolio-positions article { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto; align-items:center; gap:10px; border-bottom:1px solid var(--workspace-border); padding:14px 0; font-size:11px; }
.portfolio-positions article strong { font-size:12px; }
.portfolio-positions article span { color:#95adbf; }
.portfolio-footnote { margin-top:24px; font-size:11px; color:#859ab3; line-height:1.8; }
.portfolio-warning { padding:14px 18px; color:#e0be82; background:#292619; border:1px solid #594b2c; font-size:12px; border-radius:10px; }
.portfolio-empty { padding:clamp(24px,5vw,64px); border:1px solid var(--workspace-border); border-radius:16px; background:#121f2c; text-align:center; }
.portfolio-empty-icon { font-size:36px; color:#52ccd1; }
.portfolio-empty h2, .portfolio-empty h3 { font-size:clamp(19px,2.5vw,28px); }
.portfolio-empty p { color:#92a8c0; font-size:13px; line-height:1.8; margin-bottom:26px; }
@media (max-width:1150px) {
 .portfolio-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .portfolio-grid { grid-template-columns:1fr; }
}
@media (max-width:760px) {
 .workspace-redesign .site-header { overflow:visible; padding:10px 14px; }
 .workspace-redesign .rail-account { display:flex; flex-direction:row; align-items:center; gap:6px; margin:0 0 0 auto; padding:0; border:0; min-width:0; }
 .workspace-redesign .rail-account-label { display:none; }
 .workspace-redesign .rail-account #accountButton { min-height:38px; padding:8px 10px; width:auto; max-width:124px; font-size:12px; }
 .workspace-redesign .rail-account #accountButton .tier-avatar { display:none; }
 .workspace-redesign .rail-account .account-logout { min-height:38px; padding:7px 8px; font-size:11px; flex-shrink:0; }
 .workspace-redesign .header-actions { margin:0; padding:0; flex:0 0 auto; }
 .workspace-redesign .header-actions:has(.owner-entry[hidden]) { display:none; }
 .workspace-redesign .main { padding-inline:clamp(12px,4vw,18px); }
 .portfolio-heading { margin-bottom:18px; gap:14px; }
 .portfolio-heading h2 { font-size:22px; }
 .portfolio-heading > div { width:100%; }
 .portfolio-heading > button { width:100%; }
 .portfolio-toolbar { gap:12px; }
 .portfolio-toolbar > span { width:100%; font-size:10px; }
 .portfolio-kpis { gap:10px; }
 .portfolio-kpi { padding:16px; }
 .portfolio-kpi-main { grid-column:1 / -1; }
 .portfolio-kpi-income { grid-column:1 / -1; }
 .portfolio-kpi strong { font-size:clamp(19px,5.5vw,28px); margin:12px 0 8px; }
 .portfolio-kpi-main strong { font-size:clamp(28px,9vw,40px); }
 .portfolio-kpi > span { font-size:11px; }
 .portfolio-card { padding:18px; }
 .portfolio-grid { gap:14px; margin-top:14px; }
 .portfolio-note { font-size:11px; }
 .portfolio-payments > div { gap:10px; font-size:10px; }
 .portfolio-payments strong { font-size:11px; }
 .portfolio-positions article { grid-template-columns:minmax(0,1.4fr) minmax(0,1fr) auto; gap:7px; }
 .workspace-redesign .tab-panel:not(#dashboard) .page-hero { margin-inline:0; }
}
@media (max-width:360px) {
 .workspace-redesign .brand strong { font-size:16px; }
 .workspace-redesign .brand-mark { width:27px; height:27px; min-width:27px; }
 .workspace-redesign .rail-account #accountButton { max-width:96px; }
 .workspace-redesign .site-header { gap:6px; }
 .workspace-redesign .now-head-tools { flex-wrap:wrap; }
 .workspace-redesign .principal-chips { flex-wrap:wrap; }
 .workspace-redesign .stat-strip strong { font-size:clamp(24px,9vw,34px); }
}
/* Boros: public research and private plans; execution stays in the local terminal. */
.boros-hero { max-width:920px; margin-bottom:28px; }
.boros-hero h2 { font-size:clamp(26px,3.4vw,44px); line-height:1.25; margin:15px 0; letter-spacing:0; }
.boros-hero > p { max-width:760px; color:#9cacbf; font-size:14px; line-height:1.9; }
.boros-mode { display:inline-block; color:#6cd2d3; font-size:12px; padding:8px 12px; border:1px solid #28454d; border-radius:8px; margin-top:8px; }
.boros-settings { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)) auto; align-items:end; gap:14px; padding:22px; background:var(--workspace-fill); border:1px solid var(--workspace-border); border-radius:14px; }
.boros-settings label { display:grid; gap:10px; color:#9bafc6; font-size:11px; }
.boros-settings input { width:100%; padding:12px; min-height:44px; background:#0e1723; color:#e8f1f5; border:1px solid #304455; border-radius:8px; }
.boros-settings button { min-height:44px; font-size:12px; }
.boros-status { color:#dfc18a; font-size:12px; line-height:1.7; min-height:22px; }
.boros-workspace { display:grid; grid-template-columns:minmax(230px,.8fr) minmax(0,2fr); gap:26px; align-items:start; margin-top:24px; }
.boros-workspace h3,.boros-guide > h3,.boros-saved > h3 { font-size:17px; margin:0 0 18px; }
.boros-pairs { display:grid; gap:9px; max-height:950px; overflow:auto; scrollbar-width:thin; padding-right:3px; }
.boros-pair { display:grid; gap:13px; text-align:left; background:#121c29; border:1px solid var(--workspace-border); border-radius:10px; padding:18px; color:#b7c9da; min-width:0; }
.boros-pair.selected { border-color:#3b838b; background:#152b34; }
.boros-pair > span { display:flex; flex-wrap:wrap; justify-content:space-between; gap:7px; font-size:11px; }
.boros-pair strong { font-size:17px; color:#f1f8fd; }
.boros-pair small { color:#849db3; font-size:10px; line-height:1.7; }
.boros-pair > span:last-child { color:#74d3d1; font-size:18px; align-items:baseline; }
.boros-pair > span:last-child small { width:100%; }
.boros-selected { padding-bottom:14px; border-bottom:1px solid var(--workspace-border); margin-bottom:20px; }
.boros-selected h3 { margin-bottom:12px; }
.boros-selected p { font-size:12px; color:#91a9c0; }
.boros-kpis { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.boros-kpis article { padding:19px; border:1px solid var(--workspace-border); border-radius:12px; background:#141e2b; }
.boros-kpis article:first-child { background:#152e35; border-color:#2e545e; }
.boros-kpis span { color:#90a9bf; font-size:11px; }
.boros-kpis strong { display:block; font-size:clamp(21px,2.2vw,29px); font-family:var(--font-data); margin-top:14px; line-height:1.4; font-variant-numeric:tabular-nums; }
.boros-detail > h3 { margin-top:30px; }
.boros-legs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.boros-legs article { display:grid; gap:10px; padding:18px; background:#131d29; border:1px solid var(--workspace-border); border-radius:12px; }
.boros-step { color:#63c8c9; font-family:var(--font-data); font-size:12px; }
.boros-legs strong { font-size:12px; font-weight:500; line-height:1.8; }
.boros-legs small { font-size:10px; color:#859fb6; line-height:1.7; }
.boros-legs p { margin:0; font-size:15px; }
.boros-cost-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin:25px 0; }
.boros-cost-grid details { border-top:1px solid var(--workspace-border); padding-top:16px; }
.boros-cost-grid summary,.boros-detail > details summary { font-size:12px; cursor:pointer; }
.boros-cost-grid dl > div { display:flex; justify-content:space-between; gap:12px; padding:9px 0; font-size:11px; }
.boros-cost-grid dt { color:#8ba3ba; }
.boros-cost-grid dd { margin:0; font-family:var(--font-data); font-size:11px; }
.boros-plan-action { border-top:1px solid var(--workspace-border); padding-top:20px; margin-top:22px; }
.boros-plan-action button { width:100%; }
.boros-guide { margin-top:42px; border-top:1px solid var(--workspace-border); padding-top:28px; }
.boros-guide-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; }
.boros-guide-grid h4 { font-size:13px; margin:12px 0; }
.boros-guide-grid p { font-size:12px; color:#90a6bb; line-height:1.9; }
.boros-links { display:flex; flex-wrap:wrap; gap:14px 24px; margin:24px 0; }
.boros-links a,.boros-detail a,.boros-status + p a { color:#72cdd1; font-size:12px; text-decoration:underline; text-underline-offset:4px; }
.boros-saved { margin-top:34px; }
.boros-saved article { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:15px; padding:18px 0; border-top:1px solid var(--workspace-border); }
.boros-saved strong { font-size:13px; }
.boros-saved p { color:#8ca4bb; font-size:11px; }
@media(max-width:1150px) {
 .boros-settings { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .boros-settings button { grid-column:1 / -1; }
 .boros-workspace { grid-template-columns:minmax(0,1fr); }
 .boros-pairs { grid-template-columns:repeat(2,minmax(0,1fr)); max-height:320px; }
 .boros-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .boros-hero > p { font-size:12px; }
 .boros-mode { font-size:10px; line-height:1.7; }
 .boros-settings { padding:16px; gap:14px 10px; }
 .boros-settings label { font-size:10px; }
 .boros-workspace { gap:24px; }
 .boros-pairs { display:flex; flex-direction:row; max-height:none; overflow:auto; padding-bottom:10px; scroll-snap-type:x mandatory; }
 .boros-pair { flex:0 0 82%; scroll-snap-align:start; }
 .boros-kpis article { padding:15px; }
 .boros-kpis strong { font-size:21px; }
 .boros-legs article { padding:14px; }
 .boros-legs strong { font-size:11px; }
 .boros-cost-grid,.boros-guide-grid { grid-template-columns:1fr; }
 .boros-guide-grid { gap:14px; }
 .boros-guide-grid article { padding-bottom:10px; border-bottom:1px solid var(--workspace-border); }
}
.boros-setup { width:min(900px,100%); margin:auto; padding:48px clamp(20px,5vw,60px); }
.boros-setup h1 { font-size:clamp(27px,4vw,42px); line-height:1.3; letter-spacing:0; }
.boros-setup h2 { font-size:21px; }
.boros-setup section { padding:24px 0; border-top:1px solid var(--workspace-border); margin-top:24px; }
.boros-setup p,.boros-setup li { font-size:14px; line-height:1.9; color:#a1b3c7; overflow-wrap:anywhere; }
.boros-setup a { color:#6cd1d3; }
.boros-setup .primary-button { color:#092027; }
.boros-setup pre { padding:18px; background:#121d2a; border-radius:10px; white-space:pre-wrap; overflow-wrap:anywhere; font-size:12px; }

.boros-comparison {border:1px solid var(--workspace-border);border-radius:12px;padding:18px;margin:20px 0;background:var(--workspace-fill);}
.boros-comparison summary {cursor:pointer;font-size:14px;}
.boros-comparison-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:18px 0;}
.boros-comparison-grid article {display:grid;gap:9px;min-width:0;overflow-wrap:anywhere;}
.boros-comparison-grid span,.boros-comparison-grid small {color:#91a2b7;font-size:11px;line-height:1.7;}
.boros-comparison-grid strong {font-size:24px;color:#68d6d6;}
@media(max-width:760px){.boros-comparison-grid{grid-template-columns:1fr;gap:14px;}.boros-comparison-grid article{border-top:1px solid var(--workspace-border);padding-top:12px;}}

.boros-workspace > section { min-width:0; max-width:100%; }

.boros-policy {grid-column:1/-1;}
.boros-settings select {min-width:0;width:100%;max-width:100%;background:#0f1722;color:#e6edf6;border:1px solid #344352;border-radius:8px;padding:12px;font:inherit;}
.boros-roll-facts {display:grid;gap:10px;font-size:12px;}
.boros-roll-facts>div {display:flex;justify-content:space-between;gap:12px;}
.boros-roll-facts dt {color:#91a2b7;}.boros-roll-facts dd{margin:0;text-align:right;}

/* Vault branch research: shared visual tokens, desktop table / mobile cards. */
.vault-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;border-bottom:1px solid var(--border,rgba(255,255,255,.08));padding-bottom:12px}
.vault-tabs button{border:1px solid transparent;background:transparent;color:var(--muted,#9daeb8);padding:12px 16px;border-radius:10px;cursor:pointer;font:inherit}
.vault-tabs button.active{background:var(--panel,#17232d);color:var(--text,#eef5f7);border-color:rgba(98,195,207,.3)}
[data-vault-panel][hidden]{display:none!important}
.arb-hero{max-width:850px;margin-bottom:24px}.arb-hero h2{font-size:clamp(25px,3.5vw,42px);line-height:1.2;margin:12px 0}.arb-hero p{color:var(--muted,#9daeb8);line-height:1.85}
.arb-meta{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.arb-meta strong{margin-left:8px}.arb-meta button{margin-left:auto}.arb-status{color:#d9bd7e;min-height:1.6em}
.arb-settings,.arb-detail{border:1px solid rgba(255,255,255,.07);background:var(--panel,#151c26);padding:22px;border-radius:16px;min-width:0}.arb-settings summary{cursor:pointer}.arb-form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}
.arb-form-grid label,.arb-filters label{display:grid;gap:8px;min-width:0;color:var(--muted,#9daeb8);font-size:12px}
.arb-form-grid input,.arb-filters select{min-width:0;width:100%;max-width:100%;padding:12px;background:var(--bg,#101720);color:var(--text,#eef5f7);border:1px solid rgba(255,255,255,.13);border-radius:9px;font:inherit}
.arb-filters{display:grid;grid-template-columns:1fr 1.3fr 1.6fr 2fr;gap:14px;align-items:end;margin:22px 0}.arb-filters .arb-check{display:flex;align-items:center;padding:12px 0;line-height:1.6}.arb-check input{width:16px;height:16px;accent-color:#2ebac6}
.arb-table-wrap{width:100%;max-width:100%;min-width:0;overflow-x:auto;border:1px solid rgba(255,255,255,.07);border-radius:14px}.arb-table{width:100%;border-collapse:collapse;font-size:12px}.arb-table th,.arb-table td{padding:15px 12px;border-bottom:1px solid rgba(255,255,255,.06);text-align:left;vertical-align:middle}.arb-table th{font-weight:500;color:var(--muted,#9daeb8);background:var(--panel,#151c26)}.arb-table tr.selected{background:rgba(46,186,198,.08)}.arb-table td span{display:block;line-height:1.8}.arb-long,.arb-positive{color:#6cd6ba}.arb-short{color:#e3b39c}.arb-table .compact{white-space:nowrap;padding:8px 10px}
.arb-detail{margin-top:24px;scroll-margin-top:25px}.arb-detail header{display:flex;justify-content:space-between;gap:20px;align-items:center}.arb-detail h3{font-size:clamp(18px,2vw,25px);line-height:1.4;margin:10px 0}.arb-quality{color:var(--muted,#9daeb8);font-size:12px}.arb-detail-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:28px}.arb-detail-grid>div{min-width:0}.arb-detail svg{width:100%;height:auto;display:block}.arb-history{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.arb-history small,.arb-history strong{display:block}.arb-history small{color:var(--muted,#9daeb8);margin-bottom:8px}.arb-history strong{font-size:clamp(16px,2vw,22px)}.arb-legs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;border-top:1px solid rgba(255,255,255,.07);padding-top:20px}.arb-legs p,.arb-legs small{color:var(--muted,#9daeb8);font-size:12px;line-height:1.8}
#perpArbitrageRoot{min-width:0;overflow-wrap:anywhere}#perpArbitrageRoot .portfolio-warning{margin-top:24px}#perpArbitrageRoot .boros-roll-facts dd{font-variant-numeric:tabular-nums}.arb-detail h4{font-weight:500;color:var(--muted,#9daeb8)}
@media(max-width:760px){.vault-tabs{gap:4px}.vault-tabs button{flex:1;padding:12px 8px;font-size:12px}.arb-meta{gap:16px;font-size:12px}.arb-meta button{width:100%;margin:0}.arb-form-grid,.arb-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.arb-filters .arb-check{grid-column:1/-1}.arb-settings,.arb-detail{padding:16px}.arb-detail header{display:block}.arb-detail-grid,.arb-legs{grid-template-columns:minmax(0,1fr)}.arb-table-wrap{border:0;overflow:visible}.arb-table,.arb-table tbody{display:block}.arb-table thead{display:none}.arb-table tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;background:var(--panel,#151c26);border:1px solid rgba(255,255,255,.07);border-radius:12px;margin-bottom:12px;padding:16px}.arb-table td{display:block;padding:0;border:0;min-width:0}.arb-table td::before{content:attr(data-label);display:block;font-size:10px;color:var(--muted,#9daeb8);margin-bottom:5px}.arb-table td:first-child{font-size:20px}.arb-table td:last-child{grid-column:1/-1}.arb-table td:last-child button{width:100%}.arb-table tr.selected{border-color:rgba(46,186,198,.4)}.arb-table td:nth-child(2){font-size:11px}}
/* Full-market explorer shares the workspace palette; tables become cards on phones. */
#arbitrageExplorerRoot{min-width:0;overflow-wrap:anywhere}.explorer-modes{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 26px}.explorer-modes button{border:1px solid var(--border,rgba(255,255,255,.1));border-radius:10px;padding:12px 17px;background:var(--panel,#151c26);color:var(--muted,#9daeb8);font:inherit;font-size:13px;cursor:pointer}.explorer-modes button[aria-pressed=true]{background:rgba(46,186,198,.12);color:var(--text,#eef5f7);border-color:rgba(46,186,198,.4)}
.explorer-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;padding:20px 0;border-block:1px solid rgba(255,255,255,.08)}.explorer-stats small,.explorer-stats strong{display:block}.explorer-stats small{font-size:11px;color:var(--muted,#9daeb8);margin-bottom:8px}.explorer-stats strong{font-family:Inter,sans-serif;font-size:clamp(19px,2vw,28px);font-variant-numeric:tabular-nums}
.explorer-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end;margin:24px 0 16px}.explorer-filter-grid label,.explorer-numeric label{display:grid;gap:8px;min-width:0;color:var(--muted,#9daeb8);font-size:12px}#arbitrageExplorerRoot input:not([type=checkbox]),#arbitrageExplorerRoot select{width:100%;min-width:0;box-sizing:border-box;padding:11px;background:var(--bg,#101720);color:var(--text,#eef5f7);border:1px solid rgba(255,255,255,.13);border-radius:8px;font:inherit}.explorer-filter-grid .primary-button{min-height:42px;font-size:13px}
.explorer-options{display:flex;flex-wrap:wrap;gap:14px;align-items:start}.explorer-options details{flex:1;min-width:180px;border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:13px;font-size:12px;background:var(--panel,#151c26)}.explorer-options details[open]{flex-basis:100%}.explorer-options summary{cursor:pointer}.explorer-venue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:13px;margin-top:20px}.explorer-venue-grid label{display:flex;gap:8px;align-items:center;min-width:0}.explorer-venue-grid input{accent-color:#2ebac6}.explorer-numeric{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.explorer-numeric span{display:flex;gap:8px}.explorer-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:20px;font-size:11px;color:var(--muted,#9daeb8)}.explorer-toolbar>span{margin-right:auto}.explorer-toolbar button{font-size:11px}.explorer-warning{color:#d9bd7e}.explorer-table{font-variant-numeric:tabular-nums;min-width:1700px}.explorer-table th{white-space:nowrap}.explorer-table td{min-width:100px;max-width:220px;white-space:nowrap}.explorer-table td:first-child{min-width:140px;white-space:normal}.explorer-table small{display:block;font-size:10px;color:var(--muted,#9daeb8);line-height:1.5;white-space:normal;max-width:220px}.explorer-table .explorer-warning{color:#d9bd7e}.explorer-table td:nth-child(3){min-width:160px}.explorer-pagination{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0;font-size:12px}.explorer-pagination label{display:flex;align-items:center;gap:8px}#arbitrageExplorerRoot .explorer-pagination input{width:85px}.explorer-table-wrap{overscroll-behavior-x:contain}#explorerDetail .arb-history{padding:24px 0 8px}#explorerDetail svg{color:var(--muted,#9daeb8)}
@media(max-width:760px){.explorer-modes{gap:6px}.explorer-modes button{flex:1;min-width:95px;padding:11px 7px;font-size:11px}.explorer-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.explorer-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.explorer-filter-grid label:first-child{grid-column:1/-1}.explorer-filter-grid button{grid-column:1/-1}.explorer-options details{min-width:0;flex-basis:100%}.explorer-numeric{grid-template-columns:minmax(0,1fr)}.explorer-table{min-width:0}.explorer-table td,.explorer-table td:first-child,.explorer-table td:nth-child(3){min-width:0;max-width:none;white-space:normal}.explorer-table td:first-child{grid-column:1/-1}.explorer-table td:nth-child(2){font-size:12px}.explorer-table td small{max-width:none}.explorer-toolbar>span{width:100%}.explorer-pagination{gap:8px}.explorer-pagination button{padding:9px;font-size:11px}.explorer-pagination label{order:3;width:100%;justify-content:center}.explorer-table-wrap{overflow:visible}.explorer-table td span{line-height:1.6}}
.explorer-asset{display:block;width:100%;padding:0;text-align:left;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer}.explorer-asset:hover strong{color:#6cd6ba}.explorer-table td[data-column=pair]{min-width:160px}.explorer-table td[data-column=spread],.explorer-table td[data-column=apr]{font-weight:600;font-size:14px;min-width:100px}.explorer-table td[data-column=spread]{color:#dfeaed}
@media(max-width:760px){.explorer-table td[data-column=pair],.explorer-table td[data-column=spread],.explorer-table td[data-column=apr]{min-width:0}.explorer-asset small{font-size:10px}.explorer-table td:first-child .explorer-asset{width:100%;padding:0}}

/* Public earnings overview shares the existing workspace surfaces. */
.overview-yields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-block:24px}
.overview-yield-card{min-width:0;padding:24px;border:1px solid rgba(255,255,255,.08);border-radius:var(--radius,16px);background:var(--panel,#111a25)}
.overview-yield-card header{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}
.overview-yield-card p{margin-block:14px 8px;overflow-wrap:anywhere}
.overview-value{display:block;font-size:clamp(32px,4.5vw,56px);line-height:1.15;color:var(--accent,#2ebac6);overflow-wrap:anywhere;padding-block:4px}
.overview-value small{font-size:clamp(14px,1.6vw,20px);font-weight:500;color:var(--muted,#9aa6b5)}
.overview-status{font-size:13px;color:var(--muted,#9aa6b5)}
.overview-note{max-width:760px;line-height:1.75;margin:20px 0 24px;overflow-wrap:anywhere}
.overview-vault-card{max-width:760px;margin-block:24px}
@media(max-width:760px){.overview-yields{grid-template-columns:minmax(0,1fr);gap:12px}.overview-yield-card{padding:20px}.overview-value{font-size:clamp(30px,9vw,44px)}}

/* Public yield charts: generous inset space, one metric, one chart. */
.public-yield-heading{max-width:820px;padding:12px 0 30px;min-width:0}
.public-yield-heading h2{font-size:clamp(28px,3.1vw,40px);line-height:1.25;margin:14px 0 16px;overflow-wrap:anywhere;text-wrap:balance}
.public-yield-heading>p:last-child{color:var(--muted);line-height:1.8;margin:0}
.public-yield-panel{max-width:1000px;min-width:0;padding:32px 36px 28px;border:1px solid rgba(255,255,255,.07);border-radius:var(--radius,16px);background:var(--panel,#111a25)}
.public-yield-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;margin-bottom:32px}
.public-yield-assets{display:flex;gap:8px;min-width:0}
.public-yield-assets button{min-width:76px;padding:12px 18px;border:1px solid transparent;border-radius:9px;background:transparent;color:var(--muted);font:600 14px Inter,sans-serif;cursor:pointer;line-height:1.3}
.public-yield-assets button[aria-pressed=true]{background:rgba(46,186,198,.10);border-color:rgba(46,186,198,.22);color:var(--text,#eef5f7)}
.public-yield-assets button:focus-visible{outline:2px solid var(--accent,#2ebac6);outline-offset:3px}
.public-yield-label{font-size:15px;line-height:1.6}
.public-yield-toolbar .overview-status{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.7}
.overview-status i{width:6px;height:6px;border-radius:50%;background:var(--accent,#2ebac6);flex-shrink:0}
.yield-metric p{margin:0 0 12px;color:var(--muted);font-size:14px;line-height:1.8}
.public-yield-panel .overview-value{font-family:Inter,sans-serif;font-size:clamp(40px,5vw,60px);line-height:1.2;font-variant-numeric:tabular-nums;padding:0;color:var(--text,#eef5f7)}
.public-yield-panel .overview-value small{font-size:14px;margin-left:10px;vertical-align:middle}
.yield-chart{margin:36px 0 0;min-width:0}
.yield-chart figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:13px;line-height:1.7;color:var(--muted);margin-bottom:24px}
.yield-chart figcaption strong{font:600 14px Inter,sans-serif;color:var(--accent,#2ebac6);white-space:nowrap}
.yield-plot{position:relative;padding:12px 14px 32px 56px;min-width:0}
.yield-plot svg{display:block;width:100%;height:210px;overflow:visible;color:var(--accent,#2ebac6)}
.yield-grid{stroke:rgba(255,255,255,.07);stroke-width:1;fill:none;vector-effect:non-scaling-stroke}
.yield-line{stroke:currentColor;stroke-width:2.5;fill:none;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.yield-endpoint{fill:currentColor}
.yield-axis-label{position:absolute;left:0;color:var(--muted);font:12px/1.5 Inter,sans-serif;font-variant-numeric:tabular-nums}
.yield-axis-label.axis-0{top:109px}.yield-axis-label.axis-1{top:196px}
.yield-x-axis{display:flex;justify-content:space-between;color:var(--muted);font:12px/1.5 Inter,sans-serif;margin-top:14px;gap:12px}
.yield-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px}
#strategyPublicOverview .overview-note,#vaultWorkspaceRoot>.overview-note{max-width:900px;margin:24px 8px 40px;font-size:12px;line-height:1.9}
@media(max-width:760px){.public-yield-heading{padding:12px 4px 26px}.public-yield-heading h2{font-size:28px}.public-yield-panel{padding:26px 24px 20px}.public-yield-toolbar{gap:16px;margin-bottom:28px}.public-yield-toolbar .overview-status{font-size:11px}.public-yield-assets{gap:4px}.public-yield-assets button{min-width:62px;padding:11px 13px;font-size:13px}.yield-chart{margin-top:30px}.yield-chart figcaption{font-size:12px;margin-bottom:20px}.yield-plot{padding-left:44px;padding-right:8px}.yield-plot svg{height:170px}.yield-axis-label{font-size:10px}.yield-axis-label.axis-0{top:89px}.yield-axis-label.axis-1{top:161px}.yield-x-axis{font-size:10px}.public-yield-panel .overview-value{font-size:44px}#strategyPublicOverview .overview-note,#vaultWorkspaceRoot>.overview-note{margin-inline:6px}}

.yield-plot svg{stroke:none}.public-yield-toolbar .overview-status[data-live=false] i{background:var(--muted)}

/* Consistent breathing room for framed content, including enlarged/narrow layouts. */
.workspace-redesign { --card-inset:24px; --tile-inset:20px; }
.workspace-redesign .site-footer { padding:44px 40px 52px; margin-top:48px; max-width:1500px; }
@media(min-width:1500px) {
  .workspace-redesign .site-footer { margin-left:248px; width:calc(100% - 278px); }
}
.workspace-redesign :is(.allocation-rung,.guide-step,.portfolio-card,.boros-pair,.boros-kpis article,.boros-legs article,.arb-card,.verification-notice) {
  padding:var(--tile-inset); min-width:0;
}
.workspace-redesign :is(.market-row,.live-status-grid article,.boros-settings,.boros-comparison,.arb-settings,.arb-detail) { padding:var(--card-inset); min-width:0; }
.workspace-redesign :is(.allocation-rungs,.strategy-analysis,.boros-kpis,.boros-legs,.arb-cards) { gap:16px; }
.workspace-redesign :is(.allocation-rung,.guide-step,.portfolio-card,.boros-pair,.boros-legs article,.arb-card) :is(p,small) { line-height:1.85; }
.workspace-redesign :is(.allocation-rung,.guide-step,.portfolio-card,.arb-card) h3 { line-height:1.55; text-wrap:balance; }
.workspace-redesign .guide-step-head { align-items:flex-start; gap:14px; }
.workspace-redesign :is(.section-heading,.panel-heading,.live-console-head,.boros-detail-head,.arb-detail header) { gap:16px 24px; }
.workspace-redesign .selected-result-grid article { padding:22px 18px; }
.workspace-redesign .now-card { padding:18px 24px; }
.workspace-redesign .now-card small { display:block; margin-top:10px; }
.workspace-redesign .now-card strong { line-height:1.3; }
.workspace-redesign .setup-progress { gap:14px; }
.workspace-redesign .setup-progress li { padding:12px 8px; }
@media(max-width:1150px) and (min-width:761px) {
  .workspace-redesign .site-footer { padding-inline:24px; }
  .workspace-redesign .now-card { padding-inline:18px; }
}
@media(max-width:760px) {
  .workspace-redesign { --card-inset:22px; --tile-inset:20px; }
  .workspace-redesign .site-footer { width:100%; margin:24px 0 0; padding:32px 24px calc(104px + env(safe-area-inset-bottom)); }
  .workspace-redesign .guide-step-head { gap:12px; }
  .workspace-redesign .market-row { gap:12px; }
  .workspace-redesign .selected-result-grid article:first-child { padding:18px 8px; flex-wrap:wrap; gap:10px 14px; }
  .workspace-redesign .selected-result-grid article:last-child { padding:22px; }
  .workspace-redesign .now-card:first-child { padding:14px 16px 14px 0; }
  .workspace-redesign .now-card:last-child { padding:14px 0 14px 18px; }
  .workspace-redesign .now-card-accent { padding:22px; }
  .workspace-redesign .setup-progress { gap:8px; }
  .workspace-redesign .setup-progress li { padding:12px 4px; }
}
.workspace-redesign .referral-ledger { gap:16px; }
.workspace-redesign .referral-ledger article { padding:20px; min-width:0; }
.workspace-redesign .referral-ledger article p { line-height:1.85; }
/* Subscription copy must expand its own rows instead of spilling into the next label. */
.workspace-redesign #planGrid .plan-card { grid-template-rows:auto auto auto auto auto 1fr auto; row-gap:16px; padding:26px 24px; }
.workspace-redesign #planGrid .plan-price { flex-wrap:wrap; gap:8px 12px; line-height:1.4; }
.workspace-redesign #planGrid :is(.plan-limit,.plan-freq,.plan-features) { line-height:1.85; }
.workspace-redesign #planGrid .plan-features { gap:12px; padding-top:18px; }
@media(min-width:761px) and (max-width:1000px) {
  .workspace-redesign .now-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
  .workspace-redesign .now-card-accent { grid-column:1/-1; grid-row:1; padding:20px 0; border-left:0; border-bottom:1px solid var(--workspace-border); }
}

/* Actual commission credits stay separate from lending capital and interest. */
.portfolio-commission { margin:20px 0; min-width:0; }
.portfolio-commission-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:24px 0; }
.portfolio-commission-metrics > div { min-width:0; }
.portfolio-commission-metrics dt { color:#91a7c2; font-size:12px; line-height:1.7; }
.portfolio-commission-metrics dd { margin:10px 0 0; font-family:var(--font-data); color:#78ddd9; font-size:clamp(20px,2vw,28px); line-height:1.4; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.portfolio-commission-metrics dd small { font-size:11px; color:#8ba5bc; white-space:nowrap; }
@media (max-width:600px) {
 .portfolio-commission-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px 16px; }
 .portfolio-commission-metrics > div:last-child { grid-column:1 / -1; padding-top:18px; border-top:1px solid var(--workspace-border); }
 .portfolio-commission-metrics dd { font-size:clamp(20px,5.5vw,28px); }
}

/* Signup and verification are separate actions; referral survives the signup path. */
.verification-entry { margin-top:22px; padding-top:20px; border-top:1px solid var(--workspace-border); }
.verification-actions { flex-wrap:wrap; gap:12px; }
.verification-referral { color:#91a7c2; }
.verification-referral strong { color:#78ddd9; font-family:var(--font-data); white-space:nowrap; }
#guidePreviewIndex { min-width:40px; text-align:center; white-space:nowrap; }
@media (max-width:600px) {
 .verification-actions { align-items:stretch; flex-direction:column; }
 .verification-actions > a { width:100%; min-width:0; text-align:center; white-space:normal; line-height:1.6; }
}
