.sa74{box-sizing:border-box!important;background:linear-gradient(160deg,#0d3328,#032019 75%)!important;color:#f9edc9!important;border-right:1px solid #8b7540!important;padding:26px 18px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#8b7540 #08271e}
.sa74-brand{display:block;color:#e9cd80!important;font:48px Georgia,serif;text-decoration:none;padding:0 16px 14px}.sa74-brand small{display:block;font:10px sans-serif;letter-spacing:4px;padding-top:8px}.sa74-role{border:1px solid #87723e;border-radius:10px;color:#f0d58b;padding:9px 14px;margin:0 12px 24px;font:600 13px system-ui}
.sa74 nav{display:block!important}.sa74 details{border-bottom:1px solid #345245;margin-bottom:10px;padding-bottom:10px}.sa74 summary{display:flex;align-items:center;gap:12px;cursor:pointer;list-style:none;padding:13px 12px;font:700 17px system-ui;color:#f4dda0}.sa74 summary::-webkit-details-marker{display:none}.sa74 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7}.sa74-chevron{margin-left:auto;transition:transform .15s}.sa74 details[open] .sa74-chevron{transform:rotate(180deg)}.sa74 .nav-item{display:block!important;margin:3px 0!important;padding:11px 12px 11px 46px!important;font:500 14px/1.4 system-ui!important;color:#c4d1c5!important;text-decoration:none;border:1px solid transparent!important;border-radius:9px!important;white-space:normal!important}.sa74 .nav-item:hover{background:#183d2f!important;color:#fff0ba!important}.sa74 .nav-item.active{background:linear-gradient(100deg,#5b542d,#2c4028)!important;border-color:#a68d48!important;color:#ffe6a0!important;font-weight:700!important}.sa74-lobby{display:block;padding:18px 12px;color:#e6cd85;text-decoration:none;font:14px system-ui}
.sa74-standalone{background:#05231b!important;color:#f6edce}.sa74-standalone>.sa74{position:fixed!important;inset:0 auto 0 0!important;width:280px!important;height:100dvh!important;z-index:1000!important}.sa74-standalone>main{box-sizing:border-box;margin-left:280px!important;width:calc(100% - 280px)!important;max-width:none!important;padding:30px!important}.sa74-standalone>#sidebar{display:none!important}.sa74-standalone #actions{left:280px!important}.sa74-toggle{display:none}.sa74-okey [data-ov-main]{display:none!important}.sa74-slots .ov-legacy{display:none!important}.sa74-okey .ov-legacy{display:block!important;border:0!important;margin-top:0!important}.sa74-root .fs-admin-entry,.sa74-root .bk-admin-entry,.sa74-root .ac-admin-entry{display:none!important}
@media(max-width:900px){.sa74-standalone>.sa74{transform:translateX(-100%);width:min(310px,88vw)!important;transition:transform .2s}.sa74-standalone.sa74-open>.sa74{transform:translateX(0);box-shadow:0 0 0 100vmax #0008}.sa74-standalone>main{margin-left:0!important;width:100%!important;padding:76px 14px 100px!important}.sa74-standalone #actions{left:0!important}.sa74-toggle{display:flex;align-items:center;gap:12px;position:fixed;top:12px;right:14px;z-index:1001;background:#12382a;color:#f5d98c;border:1px solid #b89a4d;border-radius:10px;padding:10px 14px;font:600 16px system-ui}.sa74{padding:20px 12px!important}}
@media(prefers-reduced-motion:reduce){.sa74,.sa74-chevron{transition:none!important}}
@media(min-width:1200px){body.sa74-root .app-shell>.sidebar.sa74{width:280px!important}body.sa74-root .app-shell>.main-wrap{margin-left:280px!important}}

/* Persistent superadmin shell; embedded pages keep only their content. */
.sa75-host{margin:0;background:#05231b;overflow:hidden;color:#f6edce}
.sa75-host>.sa74{position:fixed!important;inset:0 auto 0 0!important;width:280px!important;height:100dvh!important;z-index:1000!important}
#sa75-content{position:fixed;inset:0 0 0 280px;width:calc(100% - 280px);height:100dvh;border:0;background:#05231b}
body.sa75-embedded #main-menu,body.sa75-embedded #sidebar,body.sa75-embedded .menu-scrim,body.sa75-embedded .mobile-menu,body.sa75-embedded>.sa74-toggle{display:none!important}
body.sa75-embedded .app-shell .main-wrap{margin-left:0!important;width:100%!important}
body.sa75-embedded>main{margin-left:auto!important;width:100%!important;max-width:none!important}
body.sa75-embedded #actions{left:0!important}
@media(max-width:900px){.sa75-host>.sa74{transform:translateX(-100%);width:min(310px,88vw)!important;transition:transform .2s}.sa75-host.sa74-open>.sa74{transform:translateX(0);box-shadow:0 0 0 100vmax #0008}.sa75-host #sa75-content{left:0;top:64px;width:100%;height:calc(100dvh - 64px)}}

.sa77-logout-bottom{position:sticky;bottom:-20px;background:#08291f;padding:14px 0 22px;border-top:1px solid #87723e;margin-top:18px}.sa77-logout-bottom button,.sa77-logout-top{background:#163e30;color:#f4da95;border:1px solid #9c844a;border-radius:8px;padding:10px 16px;cursor:pointer;font:600 14px system-ui}.sa77-logout-bottom button{width:100%;text-align:left}.sa77-logout-top{margin:0 10px 0 0;white-space:nowrap}.sa77-logout-bottom button:disabled{opacity:.5}

/* V77: one visual system for authenticated Superadmin content only. */
body.sa75-embedded{--font:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;--ink:#f6edda;--muted:#b8c6bb;--white:#0b3025;--cream:#031c17;--line:#716641;--gold:#dabc72;--green:#8bdfaf;color-scheme:dark;background:radial-gradient(ellipse at 60% 0,#0b3025,transparent 65%),#031c17!important;color:#f6edda!important;font-family:var(--font)!important}
.sa75-embedded :is(main,.main-wrap,.content,.page-content,.app-shell,.analytics114,.reports){background:transparent!important;color:inherit!important;font-family:var(--font)!important}
.sa75-embedded :is(h1,h2,h3,h4,button,input,select,textarea,label,table,.kpi strong,.report-card strong){font-family:var(--font)!important}
.sa75-embedded :is(h1,h2,h3,h4){color:#f6e5b2!important;font-weight:750!important}
.sa75-embedded :is(.panel,.kpi,.report-card,.report-section,.an-panel,.an-kpis article,.modal,.modal-card,.dialog,.settings-card,.settings-section,.admin-card,.config-card,.player-card,.pool-card,.global-settings,.explanation,.table-wrap,.oc-savebar){background:linear-gradient(135deg,#12382c,#06261e)!important;color:#f6edda!important;border-color:#887442!important;border-radius:14px}
.sa75-embedded :is(.topbar,.toolbar,#actions,.modal-header,.modal-footer){background:#08271f!important;color:#f6edda!important;border-color:#716641!important}
.sa75-embedded :is(th,thead,tfoot,.an-group){background:#163b2e!important;color:#f5e7c5!important;border-color:#355446!important}
.sa75-embedded :is(td,.data-table td){color:#f1ead5;border-color:#355446!important}
.sa75-embedded :is(.muted-text,.help,.hint,.note,.report-note,.report-card small,.report-card span,.report-section small,.an-heading p,.an-heading>span,.an-kpis small,.an-panel header p,.an-footnote,.analytics114 td small){color:#b8c6bb!important}
.sa75-embedded :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),select,textarea){background:#09291f!important;color:#f6edda!important;border:1px solid #6d846f!important;border-radius:9px}
.sa75-embedded input::placeholder,.sa75-embedded textarea::placeholder{color:#aebfb1!important;opacity:1}
.sa75-embedded :is(button,.btn):not(.gold):not(.danger):not(.danger-ghost):not(.person-link){color:#f4dda0;border-color:#8b7848}
.sa75-embedded :is(.btn.outline,.icon-btn,.filters button,.settings-links a){background:#153a2d!important;color:#f4dda0!important;border-color:#8b7848!important}
.sa75-embedded :is(.gold,.btn.gold){background:linear-gradient(#ffe4a1,#c9a34f)!important;color:#14251b!important;border-color:#dbbd78!important}
.sa75-embedded :is(.positive,.an-up){color:#88e4af!important}.sa75-embedded :is(.negative,.an-down){color:#ffa49d!important}
.sa75-embedded :is(.danger-ghost,.area-reset-warning){background:#4c2529!important;color:#ffd1c7!important;border-color:#c6776b!important}
.sa75-embedded :is(.report-notice,.oc-scopes,.oc-original,.oc-visibility){background:#243d27!important;color:#f3dfa6!important;border-color:#9a874a!important}
.sa75-embedded :is(input[type=checkbox],input[type=radio]){accent-color:#e4c778}
.sa75-embedded :is(button,a,input,select,textarea):focus-visible{outline:2px solid #ffe69f!important;outline-offset:3px}
.sa75-embedded .journal-stake77>td{background:#123e2d!important}.sa75-embedded .journal-payout77>td{background:#53272d!important}
.sa75-embedded :is(.bk-admin,.bk-admin-content,.fs-admin,.fs-admin-content,.ac-admin-tabs,.catalog-card,.config-section){background:#092c22!important;color:#f6edda!important;border-color:#887442!important}
.sa75-embedded :is(.bk-admin-content,.fs-admin-content) :is(fieldset,section){background:#10362a!important;border-color:#887442!important;color:#f6edda!important}

/* V79: finish the legacy administration surfaces; never affect player pages. */
body.sa75-embedded :is(.tenant-filter,.journal-filters,.tenant-banner,.hy-branch,.hy-account,.permission-grid fieldset,.player-cash-form,.robot-scope,.robot-profile,.robot-stats>div,.cc-savebar,.cc-original,.performance-metrics>div,.area-reset-cards>section){background:#0d3026!important;color:#f6edda!important;border-color:#7d7047!important}
body.sa75-embedded :is(.player-group>header,.hy-branch-title,.panel-header,.modal-head,.modal-foot){background:#183f31!important;color:#f6e4b4!important;border-color:#496348!important}
body.sa75-embedded :is(.notice,.hy-policy,.robot-note,.console-preview-label,.oc-text-list button,.oc-box-list>button,.cc-message-list button){background:#163b2e!important;color:#e8e9cd!important;border-color:#65734a!important}
body.sa75-embedded :is(.oc-text-list button.selected,.oc-box-list>button.selected,.cc-message-list button.active){background:#3b4829!important;color:#ffe2a0!important;border-color:#b89b53!important}
body.sa75-embedded :is(.tenant-filter label,.journal-filters label,.tenant-filter>span,.journal-filters>span,.permission-grid legend,.hy-counts,.hy-account-title p,.hy-more>p,.hy-no-children,.hy-sync-state,.player-booking-dates,.player-account-metrics,.finance-kpis .kpi small,.finance-kpis .weekly-period,.platform-name,.topbar small,.panel-header p,.person small,.form-grid label,.form-grid small){color:#c7d7c8!important}
body.sa75-embedded :is(.hy-more summary,.hy-branch-title strong,.hy-metric strong,.player-group>header strong,.player-group>header span,.tenant-summary a,.text-link){color:#f3d88e!important}
body.sa75-embedded :is(.hy-values,.hy-more,.hy-children,.player-group,.player-account,.history-participants>div){border-color:#496348!important}
body.sa75-embedded :is(.badge.muted,.count,.robot-chip,.robot-badge,.fleet-status span){background:#254638!important;color:#e2ead8!important;border-color:#587360!important}
body.sa75-embedded .badge.green{background:#185239!important;color:#bdffd2!important;border-color:#3e895d!important}
body.sa75-embedded .badge.gold-badge{background:#4b4425!important;color:#ffe4a1!important;border-color:#99834c!important}
body.sa75-embedded :is(.area-reset-error:not([hidden]),.robot-exit-values .penalty){background:#51272b!important;color:#ffd3cb!important;border-color:#bf7667!important}
body.sa75-embedded :is(.weekly-change.up){color:#8be6b0!important}body.sa75-embedded :is(.weekly-change.down){color:#ffaaa2!important}
body.sa75-embedded :is(.tenant-filter,.journal-filters,.hy-account,.hy-branch,.notice) a:not(.btn){color:#f3d88e!important}
