/* A command surface, not a second circuit: existing facts and gates remain authoritative. */
#system-navigation{margin:14px 0}.bl-system-console{display:grid;grid-template-columns:232px minmax(0,1fr);gap:22px;align-items:center;padding:16px;border:1px solid #28556b;border-radius:22px;background:radial-gradient(ellipse at 15% 40%,#0c3449aa,transparent 70%),#061725;box-shadow:inset 0 1px #9be6ff10}.bl-system-wheel{position:relative;width:232px;height:232px;border-radius:50%;background:#020e18;box-shadow:0 0 0 1px #2d78924d,0 0 24px #1aabed18;isolation:isolate}.bl-system-sector{position:absolute;width:calc(50% - 3px);height:calc(50% - 3px);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;color:#c6e9f5;border:1px solid #2c6078;background:linear-gradient(145deg,#12384d,#081e30);cursor:pointer;padding:12px;font-family:inherit}.bl-sector-0{top:0;left:0;border-radius:100% 5px 5px 5px;padding-right:23px;padding-bottom:22px}.bl-sector-1{top:0;right:0;border-radius:5px 100% 5px 5px;padding-left:23px;padding-bottom:22px}.bl-sector-2{bottom:0;right:0;border-radius:5px 5px 100% 5px;padding-left:23px;padding-top:22px}.bl-sector-3{bottom:0;left:0;border-radius:5px 5px 5px 100%;padding-right:23px;padding-top:22px}.bl-system-sector small{font-size:9px;letter-spacing:1px;color:#80bdd6}.bl-system-sector strong{font-size:12px;overflow-wrap:normal}.bl-system-count{font-size:10px;color:#8cb4c9}.bl-system-sector[aria-pressed=true]{border-color:#65d7ff;background:linear-gradient(145deg,#165e7c,#0a2a41);box-shadow:inset 0 0 22px #36bfff24,0 0 13px #25bcff32}.bl-system-sector[data-state=complete] .bl-system-count{color:#62e7b7}.bl-system-sector:disabled{opacity:.4;cursor:default}.bl-system-core{position:absolute;z-index:2;left:50%;top:50%;transform:translate(-50%,-50%);height:88px;width:88px;border-radius:50%;border:2px solid #69daff;background:radial-gradient(circle,#14445b,#041725);box-shadow:0 0 0 7px #04111e,0 0 25px #48c9ff50;color:#ecfbff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;font-family:inherit}.bl-system-core small{font-size:7px;letter-spacing:1px;color:#96cce0}.bl-system-core strong{font-size:11px;max-width:76px;line-height:1.2}.bl-system-core span{font-size:9px;color:#83d9fa}.bl-system-context h3{font-size:18px;margin:0 0 6px}.bl-system-context>p{font-size:12px;color:#abc9d9;line-height:1.5;margin:0 0 12px}.bl-system-context>small{display:block;color:#7c9faf;font-size:10px;margin-top:10px}.bl-system-steps{display:grid;gap:6px}.bl-system-step{display:flex;align-items:center;gap:9px;text-align:left;background:#0a2435;border:1px solid #284c60;border-radius:10px;min-height:42px;padding:8px 10px;color:#cbe5f0;font-family:inherit;cursor:pointer}.bl-system-step>span{color:#75d5ee;font-size:11px;min-width:16px}.bl-system-step strong{font-size:12px;flex:1}.bl-system-step small{font-size:9px;color:#8fbcce}.bl-system-step[aria-current=step]{border-color:#5dcfff;background:#103b51}.bl-system-step:disabled{opacity:.45;cursor:default}.bl-system-console button:focus-visible{outline:3px solid #b6f1ff;outline-offset:3px}
/* Retain the native picker as an accessible alternative, folded by default. */
.bl-stage-navigation{display:none!important}#system-navigation~.bl-progress-wrap{margin:10px 0 16px}
@media(max-width:600px){.bl-system-console{grid-template-columns:1fr;gap:14px;padding:14px}.bl-system-wheel{width:206px;height:206px;justify-self:center}.bl-system-core{width:78px;height:78px}.bl-system-context h3{font-size:16px}.bl-system-steps{gap:5px}.bl-system-step{min-height:40px}.bl-system-context>small{font-size:9px}.bl-system-context>p{margin-bottom:9px}.bl-system-sector strong{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bl-system-console *{scroll-behavior:auto}}
.bl-decision-receipt{border:1px solid #35647a;border-radius:10px;background:#0b2839;margin:10px 0;padding:0 12px}.bl-decision-receipt>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:44px;padding:9px 0;font-size:12px;color:#d5edf7}.bl-decision-receipt>summary>span{flex:1}.bl-decision-receipt>summary>small{color:#7ad7fb;font-size:10px}.bl-decision-receipt[open]>label{display:block;padding-bottom:10px}.bl-decision-receipt[open]>summary>small{visibility:hidden}
.bl-system-console[hidden],.bl-system-receipt[hidden]{display:none!important}.bl-system-receipt{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:12px;border:1px solid #4d92b0;border-radius:12px;background:linear-gradient(120deg,#12364b,#081e2d);color:#d8f1fc;font-family:inherit;cursor:pointer;box-shadow:0 0 12px #2fbbff16}.bl-system-receipt span{flex:1;font-size:12px}.bl-system-receipt small{font-size:10px;color:#78d7fa;white-space:nowrap}
.bl-dimensions{display:flex;gap:8px;margin-bottom:12px}.bl-dimensions button{flex:1;border:1px solid #31566c;background:#0b2436;color:#9dc6d9;border-radius:12px;min-height:42px;font:inherit;font-size:13px;cursor:pointer}.bl-dimensions button[aria-pressed=true]{color:#ebfaff;border-color:#61d1fa;background:linear-gradient(135deg,#12577a,#103448);box-shadow:0 0 12px #3ac3ff25}
#system-navigation{position:relative}.bl-dimensions{padding-right:52px}.bl-dimensions button{flex:none;padding:0 18px}.bl-wallet-launcher{position:absolute;right:14px;top:68px;z-index:3;width:38px;height:38px;display:grid;place-items:center;border:1px solid #59b6d2;border-radius:11px;color:#a8edff;background:linear-gradient(145deg,#184358,#0a2638);box-shadow:0 0 13px #39c6fc24;cursor:pointer}.bl-wallet-launcher svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.bl-wallet-launcher[aria-pressed=true]{color:#a2f3cc;border-color:#64d7a3}.bl-system-context{padding-top:5px}.bl-portfolio-mode .bl-system-console{grid-template-columns:1fr;padding-top:52px}.bl-system-wheel[hidden]{display:none!important}.bl-portfolio-mode .bl-system-context{padding-top:0}#current-loop>.bl-prospect-wallet{width:100%;max-width:none;margin:16px 0 0}#current-loop>.bl-prospect-wallet[hidden]{display:none!important}
#system-navigation.bl-console-collapsed .bl-wallet-launcher{top:0;right:0}
.bl-workspace-overlay{width:min(760px,calc(100vw - 24px));max-height:calc(100dvh - 36px);margin:auto;padding:40px 12px 12px;border:1px solid #67d6f6;border-radius:22px;background:#071c2b;color:#e2f3ff;box-shadow:0 0 30px #39bff54d,0 24px 80px #0009;overflow:auto;overscroll-behavior:contain}.bl-workspace-overlay::backdrop{background:#020b16bd;backdrop-filter:blur(5px)}.bl-workspace-overlay>.bl-workspace{margin:0;outline:none}.bl-workspace-close{position:sticky;display:block;top:0;margin:-30px 0 6px auto;z-index:5;width:36px;height:36px;border:1px solid #4b839a;border-radius:50%;background:#102e40;color:#c8edff;font-size:25px;line-height:1;cursor:pointer}.bl-workspace-close:focus-visible{outline:3px solid #b5f1ff;outline-offset:2px}body:has(.bl-workspace-overlay[open]){overflow:hidden}@media(max-width:600px){.bl-workspace-overlay{width:calc(100vw - 16px);max-height:calc(100dvh - 24px);padding:38px 8px 8px;border-radius:18px}}
.bl-six-sector{inset:0!important;width:100%!important;height:100%!important;border-radius:50%!important;border:0!important;padding:0!important;display:block!important;background:linear-gradient(145deg,#164458,#0b2437)}.bl-sector-label{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;pointer-events:none;width:74px}.bl-six-sector .bl-sector-label strong{font-size:10px;line-height:1.2;white-space:nowrap}.bl-six-sector .bl-sector-label small{font-size:8px}.bl-six-sector .bl-system-count{font-size:8px}.bl-six-sector[aria-pressed=true]{background:linear-gradient(145deg,#227da0,#0b3148);box-shadow:inset 0 0 28px #48d2ff55}.bl-six-sector[data-state=complete]{background:linear-gradient(145deg,#174b58,#0a293b)}.bl-six-sector[data-state=complete][aria-pressed=true]{background:linear-gradient(145deg,#207d8b,#105267)}.bl-six-sector:focus-visible{outline:none;filter:brightness(1.6)}.bl-system-wheel{box-shadow:0 0 0 1px #54c9e8,0 0 24px #1aabed28}.bl-portfolio-mode .bl-system-wheel{justify-self:center}@media(max-width:600px){.bl-six-sector .bl-sector-label strong{font-size:9px}.bl-sector-label{width:66px}.bl-system-core{height:70px;width:70px}}

/* The core keeps one unbroken stage name, independent of generic button padding. */
#system-navigation .bl-system-core{box-sizing:border-box;width:88px;height:88px;min-width:88px;min-height:88px;padding:7px!important;gap:5px;line-height:1.15;flex-shrink:0}
#system-navigation .bl-system-core strong{display:block;width:100%;max-width:none;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-size:10px;line-height:1.2;text-align:center}
#system-navigation .bl-system-core small{font-size:7px;line-height:1;letter-spacing:.8px;white-space:nowrap}
#system-navigation .bl-system-core span{font-size:9px;line-height:1;white-space:nowrap}
@media(max-width:600px){#system-navigation .bl-system-core{width:84px;height:84px;min-width:84px;min-height:84px;padding:6px!important;gap:5px}}

/* History/dimension access belongs to the current-turn header. */
.bl-loop-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 12px}
.bl-loop-heading>div:first-child{min-width:0}
.bl-loop-heading>#loop-state{grid-column:1/-1;justify-self:start}
#loop-turns-slot .bl-dimensions{margin:0;display:flex}
#loop-turns-slot .bl-dimensions button{min-height:36px;padding:8px 12px;font-size:12px;white-space:nowrap;border-radius:12px}
@media(max-width:380px){.bl-loop-heading h2{font-size:19px}#loop-turns-slot .bl-dimensions button{padding:7px 9px;font-size:11px}}

/* Shared navigation language for turns and permanent portfolio. */
#loop-turns-slot .bl-dimensions{padding-right:0}
#loop-turns-slot .bl-context-launcher,#system-navigation .bl-context-launcher{box-sizing:border-box;min-height:48px;border:1px solid #59b6d2;border-radius:12px;background:linear-gradient(145deg,#12374c,#092234);color:#b7e9f5;box-shadow:0 0 10px #39c6fc18;transition:border-color .18s,background .18s,box-shadow .18s}
#loop-turns-slot .bl-context-launcher[aria-pressed=true],#system-navigation .bl-context-launcher[aria-pressed=true]{color:#b9f8db;border-color:#64d7a3;background:linear-gradient(145deg,#11433e,#092a30);box-shadow:0 0 12px #48d7a325}
#system-navigation .bl-wallet-launcher{width:60px;height:48px;padding:5px 4px;gap:2px;align-content:center}
#system-navigation .bl-wallet-launcher svg{width:21px;height:21px}
#system-navigation .bl-wallet-caption{font:600 9px/1.1 system-ui;white-space:nowrap;color:inherit;letter-spacing:0}
#loop-turns-slot .bl-context-launcher{font-size:12px;padding:8px 12px}

#loop-turns-slot .bl-dimensions .bl-context-launcher{min-height:48px}

/* Both permanent navigation controls share the same header row. */
#loop-turns-slot .bl-dimensions{gap:7px;align-items:center}
#loop-turns-slot .bl-dimensions .bl-context-launcher{position:static;display:grid;justify-items:center;align-content:center;gap:2px;width:60px;height:48px;min-height:48px;padding:5px 4px}
#loop-turns-slot .bl-wallet-launcher svg{width:21px;height:21px}
#loop-turns-slot .bl-context-caption,#loop-turns-slot .bl-wallet-caption{font:600 9px/1.1 system-ui;white-space:nowrap;letter-spacing:0;color:inherit}
#loop-turns-slot .bl-turns-icon{font:22px/21px system-ui;color:inherit}
@media(max-width:380px){.bl-loop-heading{gap:8px}.bl-loop-heading h2{font-size:18px}#loop-turns-slot .bl-dimensions{gap:5px}#loop-turns-slot .bl-dimensions .bl-context-launcher{width:54px}}
