/* fin.png master: presentation only; existing gates, data and Guard remain authoritative. */
.graphite-portal{--gp-bg:#030b0d;--gp-card:#081316;--gp-raised:#102024;--gp-text:#e8eef0;--gp-muted:#afbec6;--gp-line:#183035;--gp-accent:#00dca6;--analytics-bg:#030b0d;--analytics-card:#081316;--analytics-border:#183035;--crisp-bg:#030b0d;--crisp-card:#081316;--crisp-border:#183035;font-family:Arial,Helvetica,sans-serif;background:#030b0d;font-size:13px}
body.graphite-portal,.graphite-portal .dashboard-main,.graphite-portal :is(#tab-execution,#tab-dashboard,#tab-settings){background:#030b0d}
.graphite-portal>header{height:48px;min-height:48px;padding:6px 18px;gap:16px;background:linear-gradient(110deg,#030c0e,#071214);border-color:#13272c}
.graphite-portal>header .fire-glow,.graphite-portal>header .fire-glow img{width:25px;height:25px}
.graphite-portal>header h1{font-size:14px;letter-spacing:-.3px}.graphite-portal>header h1 span{color:#f4cf38;background:#003b2e;font-size:9px}
.graphite-search{width:min(35vw,400px);max-width:100%;min-width:0}.graphite-search input{font-size:12px;border-radius:5px;padding:7px 45px 7px 28px;background:#071419}.graphite-search>i{left:10px;top:10px;font-size:11px}
.graphite-search:after{content:'Ctrl K';position:absolute;right:7px;top:7px;padding:1px 5px;background:#122126;border-radius:3px;font-size:10px;color:var(--gp-muted);pointer-events:none}
.graphite-portal>header .tw-theme-toggle{width:32px;height:32px;min-width:32px;padding:0;font-size:0;border-radius:6px;border:1px solid #14262c;background:#0a171c}.graphite-portal>header .tw-theme-toggle:before{content:'\f185';font:15px 'Font Awesome 6 Free';font-weight:900;color:#afbec6}.graphite-portal>header #notificationButton{padding:7px;border-radius:6px;background:#0a171c;border-color:#14262c}
.gp-account summary{display:flex;align-items:center;gap:8px;font-size:12px;padding:4px}.gp-avatar{border:1px solid #00a87b;border-radius:50%;padding:7px;background:#0b3129;color:#b2e5d8}.gp-account summary>.fa-chevron-down{font-size:10px;margin-left:6px}
.graphite-portal .terminal-sidebar{position:sticky;top:48px;width:174px;height:calc(100dvh - 48px);padding:12px 10px 8px;gap:6px;background:linear-gradient(135deg,#061014,#030b0d);border-color:#14272b;scrollbar-width:thin}
.graphite-portal .terminal-sidebar .nav-button{padding:6px 8px;gap:9px;min-height:32px;border-radius:6px;font-size:12px;line-height:1.3}.gp-nav-group i{font-size:13px;width:16px}.graphite-portal .gp-nav-group h2{padding:8px 9px 3px;font-size:10px;color:#a1b3bc}.graphite-portal .terminal-sidebar .nav-active{box-shadow:inset 0 0 12px #00dca633,0 0 9px #00dca61a}
.gp-more summary{cursor:pointer;font-size:11px;color:var(--gp-muted);padding:8px;border:1px solid #193035;border-radius:5px}.gp-more:not([open])>.nav-button{display:none}.gp-more[open]{display:block}.gp-pro{padding:8px 10px;gap:2px;background:linear-gradient(110deg,#0a211c,#061513);border-radius:8px}.gp-pro strong{font-size:12px;color:#d5eee8}.gp-pro small{font-size:10px}.gp-pro small:last-child{display:none}
.graphite-portal .dashboard-workspace{padding:12px;max-width:1600px}.graphite-portal #tab-execution>.execution-guard-home{padding:16px!important;margin:0!important;background:radial-gradient(ellipse at 22% 90%,#00281d66,transparent 50%),#061012!important;border:1px solid #15332f!important;border-radius:11px}
.graphite-portal #tab-execution .guard-launch-heading{margin:0 0 16px;gap:12px}.graphite-portal #tab-execution .guard-launch-brand{gap:20px}.graphite-portal #tab-execution .guard-launch-brand>i{width:52px;height:52px;font-size:26px;border-radius:10px;background:linear-gradient(135deg,#005b43,#00291f);box-shadow:inset 0 0 12px #00dca64d,0 0 9px #00dca61a}
.graphite-portal #tab-execution .guard-launch-brand h1{font-size:19px;letter-spacing:-.4px}.graphite-portal #tab-execution .guard-launch-motto{font-size:12px}.graphite-portal #guardHomeStatus{font:11px/1.4 Arial,sans-serif;padding:10px 12px;max-width:240px;background:#061818}
.graphite-portal #tab-execution .guard-launch-buttons{grid-template-columns:1.2fr 1fr 1fr;gap:14px}.graphite-portal #tab-execution .guard-launch-buttons>:is(button,a){min-height:112px;padding:20px 16px 30px 78px;gap:5px;border-radius:9px;background:linear-gradient(135deg,#081617,#050f11);border-color:#153334}
.graphite-portal #tab-execution .guard-launch-buttons>:first-child{background:radial-gradient(ellipse at bottom,#005f3c44,transparent 80%),#002319;border-color:#00dca6;box-shadow:inset 0 0 15px #00dca62e,0 0 10px #00dca614}
.graphite-portal #tab-execution .guard-launch-buttons>:before{left:14px;top:20px;width:48px;height:48px;font-size:23px;border-radius:9px;background:#0a2422;box-shadow:inset 0 0 12px #00dca614}.graphite-portal #tab-execution .guard-launch-buttons strong{font-size:14px;line-height:1.3}.graphite-portal #tab-execution .guard-launch-buttons small{font-size:11px;line-height:1.5}.graphite-portal #tab-execution .guard-launch-buttons span{position:absolute;bottom:10px;left:14px;padding:3px 6px;border-radius:4px;background:#0c2727;font-size:9px;color:#b8d7d3}.graphite-portal #tab-execution .guard-launch-buttons>:first-child span{background:#004c36;color:#00edb3}
.graphite-portal #tab-execution .guard-launch-buttons>:after{content:'›';position:absolute;right:12px;top:36px;display:grid;place-items:center;width:20px;height:20px;background:#102226;border-radius:50%;color:#b3d4cc;font-size:20px}
.gp-rules{margin-top:8px;font-size:11px;color:var(--gp-muted)}.gp-rules>summary{cursor:pointer;min-height:24px;padding:4px}.gp-rules:not([open])>.guard-live-snapshot{display:none!important}.graphite-portal #tab-execution .guard-live-snapshot{margin:4px 0 8px;padding:8px}
.graphite-portal #tab-execution .execution-alerts{margin-top:4px;gap:8px}.graphite-portal #tab-execution .execution-alerts #tradingWindowBar{background:#081416;padding:5px 8px;min-height:28px}.graphite-portal #tab-execution #highImpactNewsButton{padding:5px 9px}.graphite-portal #desktopLaunchStatus:empty{display:none}
.graphite-portal #gp-dashboard{margin-top:12px}.gp-metrics{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(145px,1.12fr);gap:6px;margin:0 0 12px}.gp-metric{padding:9px 10px;gap:9px;border-radius:8px;background:linear-gradient(130deg,#0b181d,#071417);min-height:56px}.gp-metric>i{display:block!important;padding:6px;font-size:17px;background:#11232b;border-radius:6px}.graphite-portal .gp-metric span{font-size:11px;line-height:1.3;margin-bottom:3px}.gp-metric strong{font-size:17px;line-height:1.2}.gp-date strong{font-size:11px;font-weight:500}
.gp-overview{grid-template-columns:1.04fr 1fr;gap:12px}.gp-panel{padding:10px;border-radius:10px;background:linear-gradient(120deg,#09171b,#061215);border-color:#163034}.gp-panel>header{margin-bottom:8px;min-height:26px}.gp-panel h2{font-size:13px}.gp-panel button,.gp-panel select{font-size:11px;padding:5px 7px;background:#0b1d23;border-color:#1b333b}.gp-panel select{max-width:165px}.gp-recent{font-size:12px!important}.gp-recent th{background:#10232b;font-size:11px;padding:6px}.gp-recent td{padding:5px 6px;font-size:11px;border-color:#14282c}.gp-recent td>button{text-decoration:none;color:#c3d5dc}.gp-result{font-size:10px;padding:3px 7px;background:#005340;color:#5aefd0}.gp-result.gp-negative{background:#a8202b;color:#fff}.gp-photos button,.gp-no-photo{width:28px;height:24px}.gp-balance{font-size:11px;margin-bottom:4px}.gp-curve-total{font-size:20px}.gp-curve svg{height:160px;min-height:0}.graphite-portal .gp-curve-caption{font-size:11px;line-height:1.4}.gp-empty{font-size:12px;padding:24px 12px}
@container (max-width:650px){.gp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.gp-date{grid-column:1/-1}.gp-overview{grid-template-columns:minmax(0,1fr)}}
@media(min-width:901px){.graphite-portal .gp-metrics{grid-template-columns:repeat(4,minmax(0,1fr)) minmax(125px,1.12fr)}.graphite-portal .gp-date{grid-column:auto}.graphite-portal .gp-overview{grid-template-columns:1.04fr 1fr}}
@media(max-width:1100px) and (min-width:901px){.graphite-portal .terminal-sidebar{width:164px}.graphite-portal .dashboard-workspace{padding:10px 12px}.graphite-portal #tab-execution>.execution-guard-home{padding:14px!important}.graphite-portal #tab-execution .guard-launch-buttons{gap:12px}.graphite-portal #tab-execution .guard-launch-buttons>:is(button,a){padding:22px 16px 30px 66px;min-height:110px}.graphite-portal #tab-execution .guard-launch-buttons>:before{width:43px;height:46px;left:12px}.graphite-portal #tab-execution .guard-launch-buttons strong{font-size:13px}.gp-metric{padding:7px;gap:6px}.gp-metric>i{font-size:15px;padding:5px}.gp-metric strong{font-size:16px}.gp-date strong{font-size:10px}}
@media(max-width:900px){.graphite-portal .terminal-sidebar{position:fixed;width:220px;top:48px;height:calc(100dvh - 48px)}.graphite-portal .gp-overview{grid-template-columns:minmax(0,1fr)}.graphite-portal #tab-execution .guard-launch-buttons>:is(button,a){padding:72px 14px 34px;min-height:175px}.graphite-portal #tab-execution .guard-launch-buttons>:before{top:12px}.graphite-portal #tab-execution .guard-launch-buttons>:after{top:26px}.graphite-portal #tab-execution .guard-launch-brand{gap:12px}.graphite-portal #guardHomeStatus{max-width:175px}.graphite-search{width:min(32vw,320px)}}
@media(max-width:600px){.graphite-portal>header{height:auto;flex-wrap:wrap;gap:6px;padding:8px 10px}.graphite-portal>header>div{min-width:0}.graphite-portal>header>div:first-child{gap:5px}.graphite-portal>header h1{font-size:12px}.graphite-search{order:3;flex-basis:100%;width:100%}.graphite-portal .terminal-sidebar{top:100px;height:calc(100dvh - 100px)}.graphite-portal>header .gp-account summary{font-size:11px;gap:5px}.graphite-portal>header .gp-avatar{display:none}.graphite-portal #tab-execution .guard-launch-heading{flex-wrap:wrap}.graphite-portal #tab-execution .guard-launch-buttons{grid-template-columns:minmax(0,1fr)}.graphite-portal #tab-execution .guard-launch-buttons>:is(button,a){min-height:112px;padding:20px 26px 32px 78px}.graphite-portal #tab-execution .guard-launch-buttons>:before{top:20px}.graphite-portal #tab-execution .guard-launch-buttons>:after{top:35px}.graphite-portal .gp-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.graphite-portal .gp-date{grid-column:1/-1}.gp-panel select{max-width:145px}.graphite-portal #notificationPanel{top:100px}}
@media(prefers-reduced-motion:reduce){.graphite-portal *{scroll-behavior:auto!important}}
.gp-provenance{font-size:11px;color:var(--gp-muted);margin-top:6px}.gp-provenance summary{cursor:pointer;padding:5px 0}.gp-provenance:not([open])>:not(summary){display:none}.gp-provenance button{margin-top:5px}.graphite-portal .terminal-sidebar .nav-button{gap:7px;padding-inline:5px}.graphite-portal .terminal-sidebar .nav-button>span{white-space:nowrap}.graphite-portal .gp-recent td,.graphite-portal .gp-recent th{padding-inline:4px}.graphite-portal .gp-recent .gp-photos{gap:3px}
/* Keep operational warnings visible without recreating the old tall launcher. */
@media(min-width:901px){.graphite-portal #tab-execution>.execution-guard-home{display:grid;grid-template-columns:minmax(150px,.75fr) minmax(0,2fr);column-gap:12px}.graphite-portal #tab-execution .guard-launch-heading,.graphite-portal #tab-execution .guard-launch-buttons,.graphite-portal #desktopLaunchStatus{grid-column:1/-1}.gp-rules{align-self:center}.graphite-portal #tab-execution .execution-alerts{margin-top:8px}.gp-rules[open]{grid-column:1/-1}.gp-rules[open]+.execution-alerts{grid-column:1/-1}}
.gp-readiness{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 8px;width:260px;max-width:100%;min-width:0}.graphite-portal #tab-execution .gp-readiness #guardHomeStatus{padding:2px 0;border:0;background:none;border-radius:0;font-size:11px;max-width:100%}.gp-readiness .gp-rules{position:relative;grid-column:auto;margin:0}.gp-readiness .gp-rules summary{min-height:24px;padding:3px;font-size:11px;white-space:nowrap}.gp-readiness .gp-rules[open]>.guard-live-snapshot{position:absolute;right:0;top:24px;z-index:30;width:min(350px,80vw);background:#08191a!important;box-shadow:0 10px 25px #000a;display:flex!important;flex-wrap:wrap}.graphite-portal #tab-execution .gp-readiness .execution-alerts{grid-column:1/-1;margin:0;min-width:0}.gp-readiness #tradingWindowLabel{font-size:11px}.gp-readiness #highImpactNewsPanel,.gp-readiness #tradingHoursEditor{grid-column:1/-1}.graphite-portal #tab-execution .gp-readiness #tradingWindowBar{padding:4px 6px;border-radius:6px}.graphite-portal #tab-execution .gp-readiness #highImpactNewsButton{padding:4px 6px}.graphite-portal #tab-execution .gp-readiness .guard-live-snapshot{grid-column:auto}
@media(max-width:700px){.gp-readiness{width:100%}.graphite-portal #tab-execution .guard-launch-heading{flex-wrap:wrap}.gp-readiness .gp-rules[open]>.guard-live-snapshot{right:0}}
@media(min-width:901px) and (max-width:1100px){.graphite-portal>header{height:44px;min-height:44px}.graphite-portal .terminal-sidebar{top:44px;height:calc(100dvh - 44px)}.graphite-portal .dashboard-workspace{padding-block:8px}.graphite-portal #tab-execution>.execution-guard-home{padding:12px 17px!important}.graphite-portal #tab-execution .guard-launch-buttons>:is(button,a){min-height:106px}.gp-readiness{gap:2px 8px}.gp-readiness .gp-rules summary{min-height:20px;padding:1px 3px}.gp-metric{min-height:52px}}
.gp-balance-summary{display:grid;gap:2px;margin-bottom:4px}.gp-balance-summary strong{display:block;line-height:1.2}.gp-provenance .gp-curve-total{font-size:14px}.gp-curve svg{display:block;block-size:110px;height:110px}.graphite-portal .gp-recent td{padding-block:2px}
