/* Shared REVERSAL identity; numeric trading results retain semantic colors. */
body.public-shell{--card:#1a1c1e;--card-2:#202225;--surface:#17191b;--line:#343638;--text:#f0f0ee;--accent:#cbb68b;--muted:#abb0b3;background:#101112;color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
.public-shell .card,.public-shell .hero,.public-shell .public-login-card,.public-shell .public-entry-hero{background:#1a1c1e;border-color:#343638;box-shadow:none;border-radius:16px}
.public-shell .public-entry-hero{padding:clamp(20px,3vw,42px)}
.public-shell .brand-mark{background:#28261f;color:#cfbd96;box-shadow:none;border:1px solid #504737;border-radius:10px}
.public-shell .eyebrow,.public-shell a{color:#cbb68b}.public-shell h1,.public-shell h2,.public-shell label,.public-shell .brand{color:#f0f0ee}
.public-shell .button-link,.public-shell nav a,.public-shell button,.public-shell .public-primary-cta{background:#292823;color:#ead9b9;border:1px solid #62563f;box-shadow:none}
body.public-shell .public-primary-cta{background:#cbb68b!important;color:#191a19!important;border-color:#cbb68b!important}
.public-shell .button-link:hover,.public-shell nav a:hover,.public-shell button:hover{background:#363128;border-color:#9f8b66}
.public-shell input,.public-shell select,.public-shell textarea,.public-shell details,.public-shell .notice{background:#131517;border-color:#414345;color:#eee}
.public-shell :is(input,select,textarea,button,a,summary):focus-visible{outline:2px solid #cbb68b;outline-offset:3px}
.public-shell .security-note{background:#1d2521;border-color:#44594b;color:#bed5c5}
.admin-shell .system-compact summary{display:flex;flex-wrap:wrap;gap:14px;align-items:center}.admin-shell .system-indicators{display:flex;flex-wrap:wrap;gap:8px;font-size:.78rem;color:var(--muted)}
.system-indicators [data-level=GREEN]{color:#93c7aa}.system-indicators [data-level=RED]{color:#efa6ac}.system-indicators [data-level=YELLOW]{color:#e2c88a}
.admin-shell .system-compact{background:#1a1c1e}.admin-shell [data-customer-summary] dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px}.admin-shell [data-customer-summary] dd{margin:4px 0;font-weight:650}
@media(max-width:480px){.public-shell .public-entry-hero{padding:20px}.public-shell .public-entry-actions{grid-template-columns:1fr}.public-shell .public-header{gap:12px}.public-shell .brand small{max-width:220px}.shadow-readiness li{overflow-wrap:anywhere}}
body.admin-shell,body.partner-shell{--card:#1a1c1e;--card-2:#202225;--surface:#17191b;--line:#343638;--accent:#cbb68b;--muted:#abb0b3;background:#101112;color:#f0f0ee}
body.admin-shell .card,body.partner-shell .card,body.admin-shell .hero,body.partner-shell .hero,body.admin-shell .pu-card,body.partner-shell .pu-card{background:#1a1c1e;border-color:#343638;box-shadow:none}
body.admin-shell button,body.partner-shell button{background:#292823;color:#ead9b9;border:1px solid #62563f}body.admin-shell button.danger,body.partner-shell button.danger{background:#84343d;color:#fff}
body.admin-shell nav a,body.partner-shell nav a,body.admin-shell .button-link,body.partner-shell .button-link,body.admin-shell details,body.partner-shell details,body.admin-shell th,body.partner-shell th{background:#222427;border-color:#343638;color:#ededeb}
body.admin-shell input,body.admin-shell select,body.admin-shell textarea,body.partner-shell input,body.partner-shell select{background:#131517;border-color:#414345}
body.admin-shell .brand-mark,body.partner-shell .brand-mark{background:#28261f;color:#cfbd96;box-shadow:none}
body.admin-shell .pu-card,body.partner-shell .pu-card{padding:22px;border:1px solid #343638;border-radius:12px;margin:18px 0;min-width:0}
body.admin-shell .pu-card table,body.partner-shell .pu-card table{min-width:0}body.admin-shell .pu-card td,body.admin-shell .pu-card th,body.partner-shell .pu-card td{overflow-wrap:anywhere}
body.admin-shell .eyebrow,body.partner-shell .eyebrow{color:#cbb68b}
body.admin-shell .health-primary,body.admin-shell .health-row{background:#191b1d;border-color:#343638}body.admin-shell .health-row:hover{background:#242628}body.admin-shell .health-row[data-health-level="RED"]{background:#291c1e}
body{scrollbar-color:#4c4f51 #161819;scrollbar-width:thin}
.customer-shell{--background:#101112;--surface:#1a1c1e;--surface-2:#222427;--line:#343638;--text:#f0f0ee;--muted:#abb0b3;--accent:#cbb68b;background:var(--background)}
.customer-shell .pu-sidebar,.customer-shell .pu-mobile-bar{background:#151719;border-color:var(--line)}
.customer-shell .pu-monogram{color:#cfbd96}.customer-shell .pu-monogram>span{color:#a9905e;background:#151719}
.customer-shell .pu-nav a[aria-current=page]{background:#2a2822;border-color:#504737;color:#ead9b9}
.customer-shell .pu-nav a:hover{background:#242628}.customer-shell .pu-avatar{background:#2c2b27;border-color:#5a503f;color:#ebdfc8}
.customer-shell .card,.customer-shell .hero,.customer-shell .cx-hero,.customer-shell .cx-trade,.customer-shell .platform-product-card,.customer-shell .pu-card,.customer-shell .pd-panel,.customer-shell .pd-kpi{background:#1a1c1e;border-color:var(--line);box-shadow:none}
.customer-shell button{background:#292823;color:#ead9b9;border:1px solid #62563f}.customer-shell button.secondary,.customer-shell .button-link{background:#252729;border-color:#414345;color:#eceeec}
.customer-shell .pu-menu-toggle{color:#f0f0ee}
.customer-shell input,.customer-shell select,.customer-shell textarea{background:#131517;color:#eeeeeb;border-color:#414345}
.customer-shell .pd-periods{background:#151719;border-color:#343638}.customer-shell .pd-period:hover,.customer-shell .pd-period.is-selected{background:#353027;color:#ead9b9}
.customer-shell .pd-period,.customer-shell .pd-view-modes a{background:#222427;border-color:#343638}
.customer-shell .pd-v2 .pd-context-bar,.customer-shell .pd-v2 .pd-controls-panel,.customer-shell .pj-filters,.customer-shell .cx-values>div,.customer-shell .cx-leg,.customer-shell .cx-empty{background:#191b1d;border-color:#343638}
.customer-shell .pd-v2 .pd-mode-tag,.customer-shell .pj-tab,.customer-shell details,.customer-shell th{background:#232629;border-color:#343638;color:#d9dddf}
.customer-shell .pd-v2 .pd-performance-svg text,.customer-shell .pd-caption,.customer-shell .pd-muted{fill:#abb0b3;color:#abb0b3}
.customer-shell .pu-card{margin:16px 0}.customer-shell .source-card:has(input:checked){background:#2a2822;border-color:#a9905e;outline:1px solid #a9905e}
.customer-shell .source-card input{accent-color:#cbb68b}.customer-shell .pu-sidebar-bottom{padding-top:12px}
.customer-shell .cx-choice{background:#1a1c1e;border-color:#343638}.customer-shell .cx-choice:has(input:checked){border-color:#a9905e;box-shadow:none}.customer-shell input[type=radio],.customer-shell input[type=checkbox]{accent-color:#cbb68b}
.customer-shell .pd-v2 .pd-issue-info{background:#222427;border-color:#414345}.pd-unit-control{display:flex!important;gap:4px;width:auto!important}.pd-unit-control a{background:#222427}.pd-unit-control a[aria-current=page]{background:#353027;color:#ead9b9}.shadow-modes{margin-bottom:20px}
.customer-shell .steps li,.customer-shell .checklist li,.customer-shell .onboarding-step,.customer-shell .choice-card,.customer-shell .tolerance-option,.customer-shell .cx-source,.customer-shell .empty-state{background:#1a1c1e;border-color:#343638;box-shadow:none}
.customer-shell .step-number,.customer-shell .pu-menu-toggle,.customer-shell .badge.neutral{background:#292c2e;color:#ddd}
.customer-shell .step-active{border-color:#807257!important;box-shadow:none!important}.customer-shell .progress-track{background:#222427}.customer-shell .progress-track span{background:#b4a27d}
.customer-shell .notice:not(.error):not(.success):not(.warning){background:#1e2022;border-color:#343638}.customer-shell .choice-card:has(input:checked),.customer-shell .tolerance-option:has(input:checked){box-shadow:none;border-color:#a9905e}
.customer-shell .pj-dialog{width:min(900px,calc(100% - 24px))!important;max-width:calc(100% - 24px)!important;max-height:calc(100dvh - 24px);margin:auto!important}
.customer-shell .pj-dialog-header,.customer-shell .pj-table-head,.customer-shell .pj-kpi,.customer-shell .pj-trade-card{background:#202325;border-color:#343638}
.customer-shell .pj-dialog.pj-drawer .pj-dialog-header{background:#202325!important;color:#f0f0ee}
.pd-display-controls{display:flex;align-items:start;justify-content:space-between;gap:16px;margin:0 0 18px;flex-wrap:wrap}
.pd-custom-period{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.pd-custom-period summary,.pd-privacy-control{display:inline-flex;align-items:center;min-height:44px;color:var(--accent,#cbb68b);font-size:.8rem}
.pd-custom-period form,.pd-calendar-controls{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-top:10px}
.pd-custom-period label,.pd-calendar-controls label{display:grid;gap:6px;font-size:.8rem;margin:0}.pd-custom-period input,.pd-calendar-controls input{width:auto;max-width:100%;min-height:44px}
.pd-custom-period button,.pd-calendar-controls button{width:auto;margin:0;min-height:44px}
.pd-view-modes{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid #343638;padding:0 0 12px;margin-bottom:18px}
.pd-view-modes a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px;border-radius:8px;font-size:.82rem;color:#bcc0c3}
.pd-view-modes a[aria-current=page]{background:#353027;color:#ead9b9}
.pd-metric-coverage{padding:12px 15px;border:1px solid #63573d;background:#27241e;border-radius:8px;font-size:.8rem;margin:0 0 16px!important;color:#dfceb0}
.pd-calendar{display:block;min-width:0}.pd-calendar-controls{margin-bottom:16px}.pd-calendar-total{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:.85rem;margin-bottom:18px!important}
.pd-calendar-week-group{display:block;margin:0 0 12px;padding:0;min-width:0;width:100%}.pd-calendar-week-group>.pd-calendar-week-total{position:static;display:flex;float:none;width:100%;box-sizing:border-box;grid-column:1/-1;padding:9px 8px;background:#202326;border-radius:0 0 6px 6px}.pd-calendar-day.pd-positive{border-color:#285d4b;background:#172c24;color:#6ce0b1}.pd-calendar-day.pd-negative{border-color:#61393f;background:#301f23;color:#ff949b}
.beta-subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.beta-subnav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #3c3d40;border-radius:8px;font-size:.82rem}.beta-subnav a[aria-current=page]{background:#373126;color:#ead9b9}.beta-offers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.beta-offer{display:flex;flex-direction:column;min-width:0;gap:12px}.beta-offer h2{font-size:1.4rem}.beta-offer .beta-offer-price{font-size:1.8rem;font-weight:700;color:var(--accent,#ddc89f)}.beta-offer .button-link{margin-top:auto;white-space:normal;text-align:center;line-height:1.6}.beta-annual{margin-top:24px}.beta-annual summary{padding:16px;cursor:pointer}.beta-checkout{max-width:760px;margin:0 auto}.beta-checkout .beta-offer-price{font-size:1.8rem;font-weight:700}.beta-checkout button{white-space:normal;line-height:1.6}.beta-checkout [data-checkout-status]{min-height:2em;line-height:1.6}.beta-checkout label{line-height:1.6}
.beta-offer p,.beta-offer h2{margin:0!important}.beta-offer .button-link{margin-top:10px}.beta-offer small{line-height:1.6}.beta-checkout .beta-purchase{margin-bottom:18px}
@media(max-width:900px){.beta-offers{grid-template-columns:1fr}.beta-subnav{gap:6px}.beta-subnav a{font-size:.78rem;padding:8px 10px}}
.pd-calendar-weekdays,.pd-calendar-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;min-width:0}.pd-calendar-weekdays{font-size:.7rem;color:#aab0b4;text-align:center;margin-bottom:6px}
.pd-calendar-day{display:flex;flex-direction:column;gap:9px;min-height:85px;min-width:0;padding:8px 5px;border:1px solid #35383b;border-radius:6px;background:#17191b;text-decoration:none;color:#adb2b5;font-size:.74rem;overflow-wrap:anywhere}
.pd-calendar-day strong{font-size:.73rem;line-height:1.5;overflow-wrap:anywhere}.pd-calendar-day small{font-size:.66rem;color:#aab0b4}.pd-calendar-day.is-outside{background:transparent;border-color:transparent}.pd-calendar-day.pd-up{border-color:#285d4b;background:#172c24;color:#6ce0b1}.pd-calendar-day.pd-down{border-color:#61393f;background:#301f23;color:#ff949b}
.pd-calendar-week-total{display:flex;justify-content:space-between;gap:8px;padding:9px 2px 15px;font-size:.72rem;color:#aab0b4}.pd-calendar-week-total strong{font-size:.74rem}
.pd-full-statistics .pd-secondary{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-full-statistics h3{font-size:1rem}
.customer-shell .pj-panel,.customer-shell .pj-open-card,.customer-shell .pj-dialog{background:#1a1c1e;border-color:var(--line)}
.pj-product-tools{display:flex;justify-content:flex-end;gap:12px;margin:0 0 18px}.pj-pagination{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:16px 0;color:var(--muted)}.pj-pagination>div{display:flex;gap:10px}.pj-pagination .button-link{min-width:90px}
.pj-filters .pj-filter-details{grid-column:1/-1;margin:0;padding:10px 12px;min-width:0}.pj-extra-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;padding-top:12px}.pj-extra-filters label{min-width:0}.beta-journal-workspace{min-width:0}.beta-journal-workspace .pd-chart-wrap{min-height:180px}.operations-bell svg{width:20px;height:20px;flex:none}
.calculator-page{max-width:1080px;margin:0 auto}.calculator-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr);gap:22px;align-items:start}
.calculator-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.calculator-fields label{display:grid;gap:6px;min-width:0;align-content:start}.calculator-fields small{font-weight:400;color:var(--muted);line-height:1.5}
.calculator-page input,.calculator-page select{width:100%;min-width:0}.calculator-page .calculator-specs{margin:20px 0;background:transparent;border-color:var(--line)}
.calculator-lot{font-size:2.5rem!important;color:var(--accent)}.calculator-results{display:grid;gap:18px;margin:24px 0 0}.calculator-results>div{display:grid;gap:5px;min-width:0}.calculator-results dt{color:var(--muted);font-size:.85rem}.calculator-results dd{margin:0;overflow-wrap:anywhere;font-weight:600}.calculator-note{font-size:.8rem;color:var(--muted);line-height:1.6;margin-top:20px}.calculator-error{color:#fa9299;line-height:1.6}
.release-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:20px;min-width:0}.release-toolbar nav{display:flex;gap:12px;flex-wrap:wrap}.release-toolbar a{display:inline-flex;min-height:44px;align-items:center}.operations-bell{border:1px solid #504737;border-radius:8px;padding:8px 12px;gap:5px;color:#ead9b9}.customer-shell .pu-sidebar{overflow-y:auto}.customer-shell .pu-card textarea{width:100%;box-sizing:border-box}.customer-shell .pu-card form{max-width:100%}.customer-shell .pu-card table{min-width:0}.customer-shell .pu-card td,.customer-shell .pu-card th{overflow-wrap:anywhere}
.customer-shell .grid:has(.analytics-table){grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr))}.customer-shell .pu-card table.analytics-table{min-width:440px}.customer-shell .pu-card .analytics-table th,.customer-shell .pu-card .analytics-table td{white-space:nowrap;overflow-wrap:normal}
.account-menu>button{color:#f0efed!important;background:#252729!important}.shadow-modes a{background:#232527!important;color:#d4d1c9!important;border-color:#494338!important}.shadow-modes a[aria-current="page"]{color:#d7c29c!important;border-color:#b9a47d!important}.admin-shell .table-wrap table.staff-key-value{min-width:0;width:100%;table-layout:fixed}.admin-shell .table-wrap table.staff-key-value th,.admin-shell .table-wrap table.staff-key-value td{white-space:normal;overflow-wrap:anywhere}
.analysis-periods{display:flex;gap:6px;flex-wrap:wrap;align-items:start;margin:0 0 22px;padding:12px;background:#202224;border:1px solid #414344;border-radius:12px}
.analysis-periods>a,.analysis-periods summary{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 12px;border-radius:8px;color:#dfdfdf;font-size:.82rem;cursor:pointer;box-sizing:border-box}
.analysis-periods>a[aria-current=page],.analysis-periods details[open]>summary{background:#514534;color:#fff1d6;font-weight:650}
.analysis-periods details{margin:0!important;padding:0!important;border:0!important;background:transparent!important;max-width:100%}.period-custom form{display:flex;gap:10px;flex-wrap:wrap;padding:12px 0}.period-custom label{display:grid;gap:6px;min-width:130px}.period-custom input{color-scheme:dark;max-width:100%}.period-custom button{align-self:end;width:auto;min-height:44px}
.account-service-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin:20px 0}.account-summary{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}.account-summary dt{color:#b9bdc0}.account-summary dd{margin:6px 0 0;font-weight:600}.account-service-grid .button-link{margin:10px 8px 0 0;white-space:normal}.release-avatar{border:1px solid #5c5344;border-radius:50%;width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center;background:#2e2a24;color:#eee0c5}
.pd-calendar-controls{align-items:center;justify-content:center;gap:12px}.pd-calendar-controls strong{color:#fff1d6;text-align:center;min-width:130px}.pd-calendar-controls a{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;color:#fff1d6;border-color:#74664e}.mt5-journal section[hidden]{display:none!important}.pd-timezone{display:block;margin-top:5px;color:#b0b5b7;font-size:.7rem}
@media(max-width:600px){.analysis-periods{gap:4px;padding:8px}.analysis-periods>a,.analysis-periods summary{padding:8px 10px;font-size:.76rem}.account-service-grid{grid-template-columns:1fr}.pd-calendar-controls{gap:6px}.pd-calendar-controls strong{min-width:112px}.period-custom form{flex-direction:column}.period-custom label{min-width:0}.period-custom input{width:100%}}
@media(max-width:900px){.calculator-layout{grid-template-columns:1fr}.calculator-result{order:-1}.pd-heading{align-items:start;flex-direction:column}.pd-periods{width:100%;justify-content:space-between}}
@media(max-width:600px){.pd-view-modes a{padding:8px 10px;font-size:.78rem}.pd-calendar-day{min-height:82px;padding:7px 3px;font-size:.72rem;gap:6px}.pd-calendar-day strong{font-size:.7rem}.pd-calendar-day small{font-size:.62rem}.pd-calendar-week,.pd-calendar-weekdays{gap:3px}.pd-calendar-weekdays{font-size:.63rem}.pd-custom-period form{align-items:stretch}.pd-custom-period label{flex:1;min-width:120px}.pd-custom-period button{width:100%}.calculator-fields{grid-template-columns:1fr}.pd-full-statistics .pd-secondary{grid-template-columns:1fr}}
