:root{color:#f5f7fa;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#080a0f;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html,body,#root{width:100%;min-height:100%;margin:0}body{background:#080a0f;min-height:100vh}.app-shell{background:#080a0f;min-height:100vh;display:flex}.app-sidebar{background:#0c0f15;border-right:1px solid #1b1f29;flex-direction:column;width:250px;padding:26px 16px 18px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:12px;padding:0 10px 28px;display:flex}.brand-mark{color:#fff;background:#151a23;border:1px solid #343b49;border-radius:10px;place-items:center;width:36px;height:36px;font-size:15px;font-weight:800;display:grid}.brand-copy{flex-direction:column;gap:2px;display:flex}.brand-name{color:#f5f7fa;letter-spacing:.12em;font-size:13px;font-weight:800}.brand-product{color:#697180;letter-spacing:.16em;font-size:9px;font-weight:700}.sidebar-navigation{flex-direction:column;flex:1;gap:28px;display:flex}.navigation-section{flex-direction:column;gap:4px;display:flex}.navigation-label{color:#565e6d;letter-spacing:.14em;margin:0 10px 7px;font-size:9px;font-weight:800}.navigation-item{color:#8e96a5;cursor:pointer;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;width:100%;min-height:40px;padding:0 11px;font-size:13px;transition:background .15s,color .15s;display:flex}.navigation-item:hover{color:#e8ebef;background:#131720}.navigation-item.active{color:#fff;background:#181d27}.sidebar-footer{border-top:1px solid #1b1f29;padding:14px 10px 0}.connection-status{color:#697180;align-items:center;gap:8px;font-size:11px;display:flex}.status-dot{background:#45d483;border-radius:50%;width:7px;height:7px;box-shadow:0 0 10px #45d48373}.app-main{width:100%;min-height:100vh;margin-left:0}.app-header{background:#080a0fe0;border-bottom:1px solid #1b1f29;justify-content:space-between;align-items:center;min-height:82px;padding:18px 34px;display:flex}.header-eyebrow{color:#596170;letter-spacing:.15em;margin-bottom:4px;font-size:9px;font-weight:800;display:block}.app-header h1{color:#f5f7fa;margin:0;font-size:20px;font-weight:650}.header-user{align-items:center;gap:10px;display:flex}.user-avatar{color:#fff;background:#151a22;border:1px solid #303643;border-radius:50%;place-items:center;width:36px;height:36px;font-size:12px;font-weight:700;display:grid}.user-details{flex-direction:column;gap:2px;display:flex}.user-name{color:#e7eaf0;font-size:12px;font-weight:600}.user-role{color:#626b7b;font-size:10px}.dashboard{flex-direction:column;gap:24px;max-width:1600px;margin:0 auto;display:flex}.dashboard-intro{justify-content:space-between;align-items:flex-end;display:flex}.page-eyebrow,.panel-eyebrow{color:#596170;letter-spacing:.15em;font-size:9px;font-weight:800;display:block}.dashboard-intro h2{color:#f5f7fa;letter-spacing:-.025em;margin:6px 0 5px;font-size:25px;font-weight:650}.dashboard-intro p{color:#697180;margin:0;font-size:12px}.live-indicator,.round-status{color:#6f7786;letter-spacing:.12em;align-items:center;gap:7px;font-size:9px;font-weight:800;display:flex}.live-indicator span,.round-status span{background:#45d483;border-radius:50%;width:6px;height:6px;box-shadow:0 0 9px #45d48380}.stats-grid{grid-template-columns:repeat(4,1fr);gap:14px;display:grid}.stat-card,.dashboard-panel{background:#0d1016;border:1px solid #1c212b;border-radius:12px}.stat-card{padding:19px}.stat-card-top{justify-content:space-between;align-items:center;display:flex}.stat-label{color:#697180;letter-spacing:.1em;font-size:9px;font-weight:800}.stat-icon{color:#8d96a5;background:#12161e;border:1px solid #252b36;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.stat-value{color:#f3f5f8;letter-spacing:-.025em;margin-top:17px;font-size:23px;font-weight:650}.stat-description{color:#555e6e;margin-top:5px;font-size:10px}.dashboard-grid{grid-template-columns:1.25fr .75fr;gap:14px;display:grid}.dashboard-panel{overflow:hidden}.panel-header{border-bottom:1px solid #1c212b;justify-content:space-between;align-items:center;padding:18px 20px;display:flex}.panel-header h3{color:#e8ebef;margin:5px 0 0;font-size:13px;font-weight:600}.panel-action{color:#737c8c;cursor:pointer;background:0 0;border:0;padding:6px 9px;font-size:10px}.panel-action:hover{color:#fff}.game-panel{min-height:330px}.multiplier-display{flex-direction:column;align-items:center;padding:37px 20px 22px;display:flex}.multiplier-display span{color:#5d6675;font-size:10px}.multiplier-display strong{color:#f4f6f8;letter-spacing:-.05em;margin-top:4px;font-size:50px;font-weight:650}.game-track{height:70px;margin:0 24px;position:relative;overflow:hidden}.game-line{transform-origin:0;background:#252b35;height:1px;position:absolute;bottom:15px;left:0;right:0;transform:rotate(-4deg)}.game-point{background:#f2f4f7;border-radius:50%;width:9px;height:9px;position:absolute;top:-4px;right:18%;box-shadow:0 0 14px #ffffff59}.game-footer{border-top:1px solid #1c212b;grid-template-columns:repeat(3,1fr);margin-top:5px;display:grid}.game-footer div{padding:14px 20px}.game-footer div+div{border-left:1px solid #1c212b}.game-footer span{color:#555e6d;letter-spacing:.1em;font-size:8px;font-weight:800;display:block}.game-footer strong{color:#cbd0d8;margin-top:5px;font-size:11px;font-weight:600;display:block}.transaction-list{padding:4px 20px}.transaction{border-bottom:1px solid #181d25;align-items:center;gap:11px;padding:13px 0;display:flex}.transaction:last-child{border-bottom:0}.transaction-icon{color:#7c8594;border:1px solid #252b35;border-radius:7px;flex-shrink:0;place-items:center;width:30px;height:30px;display:grid}.transaction-info{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.transaction-info strong{color:#dfe3e8;font-size:11px;font-weight:600}.transaction-info span{color:#555e6d;font-size:9px}.transaction-amount{flex-direction:column;align-items:flex-end;gap:3px;display:flex}.transaction-amount strong{color:#d3d7dd;font-size:10px;font-weight:600}.transaction-amount.positive strong{color:#75d89c}.transaction-amount span{color:#555e6d;font-size:9px}.terminal-grid{grid-template-columns:repeat(4,1fr);gap:10px;padding:18px 20px 20px;display:grid}.terminal{color:#717a89;background:#10141b;border:1px solid #1d232d;border-radius:9px;flex-direction:column;gap:11px;padding:15px;display:flex}.terminal-status{color:#65ca91;letter-spacing:.1em;align-items:center;gap:6px;font-size:8px;font-weight:800;display:flex}.terminal-status span{background:currentColor;border-radius:50%;width:5px;height:5px}.terminal-status.offline{color:#777f8d}.terminal>div:last-child{flex-direction:column;gap:3px;display:flex}.terminal strong{color:#d9dde3;font-size:10px;font-weight:600}.terminal div span{color:#555e6d;font-size:9px}.cashier-page{flex-direction:column;gap:24px;max-width:1100px;margin:0 auto;display:flex}.cashier-heading{justify-content:space-between;align-items:flex-end;display:flex}.cashier-heading h2{color:#f5f7fa;letter-spacing:-.025em;margin:6px 0 5px;font-size:25px;font-weight:650}.cashier-heading p{color:#697180;margin:0;font-size:12px}.cashier-status{color:#687282;letter-spacing:.12em;align-items:center;gap:7px;font-size:9px;font-weight:800;display:flex}.cashier-status span{background:#45d483;border-radius:50%;width:6px;height:6px;box-shadow:0 0 10px #45d48380}.wallet-card{background:#0d1016;border:1px solid #202630;border-radius:14px;padding:28px}.wallet-card-header{align-items:center;gap:10px;display:flex}.wallet-card-header span{color:#697180;letter-spacing:.13em;font-size:9px;font-weight:800}.wallet-icon{color:#a1a9b7;background:#131720;border:1px solid #282e39;border-radius:9px;place-items:center;width:36px;height:36px;display:grid}.wallet-balance{align-items:baseline;gap:9px;margin-top:22px;display:flex}.wallet-balance small{color:#697180;font-size:13px;font-weight:700}.wallet-balance strong{color:#f5f7fa;letter-spacing:-.04em;font-size:42px;font-weight:650}.wallet-actions{gap:10px;margin-top:28px;display:flex}.wallet-action{color:#dce0e6;cursor:pointer;background:#151922;border:1px solid #2a303b;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-width:145px;height:42px;padding:0 18px;font-size:11px;font-weight:650;transition:background .15s,border-color .15s;display:inline-flex}.wallet-action:hover{background:#1a1f29;border-color:#39414e}.wallet-action.primary{color:#0b0d11;background:#e9ebee;border-color:#e3e6ea}.wallet-action.primary:hover{background:#fff}.transactions-card{background:#0d1016;border:1px solid #202630;border-radius:14px;overflow:hidden}.section-header{border-bottom:1px solid #1c212b;justify-content:space-between;align-items:center;padding:20px 22px;display:flex}.section-header h3{color:#e8ebef;margin:5px 0 0;font-size:13px;font-weight:600}.view-all{color:#7b8493;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;font-size:10px;display:inline-flex}.view-all:hover{color:#fff}.transaction-row{border-bottom:1px solid #181d25;align-items:center;gap:13px;min-height:72px;padding:12px 22px;display:flex}.transaction-row:last-child{border-bottom:0}.transaction-type{border:1px solid #252b35;border-radius:8px;flex-shrink:0;place-items:center;width:34px;height:34px;display:grid}.transaction-type.deposit{color:#68cd91}.transaction-type.withdrawal{color:#c4cad3}.transaction-details{flex-direction:column;flex:1;gap:4px;display:flex}.transaction-details strong{color:#dfe3e8;font-size:11px;font-weight:600}.transaction-details span{color:#555e6d;font-size:9px}.transaction-value{color:#d5d9df;font-size:11px;font-weight:600}.transaction-value.positive{color:#70d69a}body{background:var(--ui-bg);color:var(--ui-text);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;font-size:13px;line-height:1.5}button,a,input,select,textarea{accent-color:var(--ui-accent)}.app-header,.manager-header{border-color:var(--ui-border-soft);background:#0d0f10f5;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:18px;min-height:70px;padding-inline:clamp(18px,2.5vw,36px);display:grid}.header-navigation,.manager-navigation{justify-self:center;margin-left:0}.header-actions,.manager-header-actions{justify-self:end;margin-left:0}.header-navigation,.manager-navigation{gap:4px}.header-nav-item,.manager-nav-item{border-radius:var(--ui-radius-sm);min-height:36px;color:var(--ui-muted);font-size:12px;font-weight:550}.header-nav-item:hover,.manager-nav-item:hover{background:var(--ui-surface-raised);color:var(--ui-text)}.header-nav-item.active,.manager-nav-item.active{background:var(--ui-accent-soft);color:var(--ui-accent);border-color:#0000}.header-nav-item.active svg,.manager-nav-item.active svg{color:var(--ui-accent)}.app-shell,.manager-shell,.admin-shell{background:var(--ui-bg);color:var(--ui-text)}.app-main,.manager-main{background:var(--ui-bg)}.admin-header{border-color:var(--ui-border-soft);background:#0d0f10f5;height:70px;padding-inline:clamp(18px,2.5vw,36px);position:relative}.admin-header-left{gap:0}.admin-tabs{gap:3px;position:absolute;top:0;left:50%;transform:translate(-50%)}.admin-tab{color:var(--ui-muted);padding-inline:10px;font-size:11px}.admin-tab:hover{color:var(--ui-text-secondary)}.admin-tab.active{color:var(--ui-accent)}.admin-tab.active:after{background:var(--ui-accent)}.admin-main{background:var(--ui-bg)}.stat-card,.dashboard-panel,.wallet-card,.manager-metric-card,.manager-panel,.admin-stat-card,.admin-panel,.login-card{border-color:var(--ui-border-soft);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow)}.stat-card,.manager-metric-card,.admin-stat-card{padding:20px}.panel-header,.admin-panel-header{border-color:var(--ui-border-soft)}.page-eyebrow,.panel-eyebrow,.manager-eyebrow,.admin-page-kicker,.admin-panel-kicker,.cashier-dashboard-eyebrow{color:var(--ui-muted);letter-spacing:.09em;font-size:10px;font-weight:650}.dashboard-intro h2,.cashier-heading h2,.cashier-dashboard-header h1,.manager-page-heading h1,.admin-page-heading h2{color:var(--ui-text);letter-spacing:-.035em;font-weight:620}.dashboard-intro p,.cashier-heading p,.cashier-dashboard-header p,.manager-page-heading p,.admin-page-heading p{color:var(--ui-muted)}.admin-status-dot,.manager-status-dot.online,.status-dot,.live-indicator span,.round-status span,.cashier-status span{background:var(--ui-success);box-shadow:none}.transaction-amount.positive strong,.transaction-value.positive,.transaction-type.deposit{color:var(--ui-success)}.transaction-amount.positive span,.transaction-details span,.transaction-info span{color:var(--ui-muted)}.terminal,.seat-card,.wallet-action,.manager-quick-actions button{border-color:var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised)}.seat-card.selected,.seat-card.active{background:var(--ui-surface-hover);border-color:var(--ui-accent);box-shadow:inset 0 0 0 1px #c6ad7338}.seat-card:hover,.manager-quick-actions button:hover{background:var(--ui-surface-hover);border-color:#3a403f}.login-page{background:radial-gradient(circle at 50% 28%, #1a1d1c 0, #101212 42%, var(--ui-bg) 100%)}.login-submit,.manager-primary-button{border-radius:var(--ui-radius-sm);background:var(--ui-accent);color:#191812;border:1px solid #c6ad737a}.login-submit:hover,.manager-primary-button:hover{background:#d1bb88}.admin-settings-nav-item.is-active{border-color:var(--ui-border);background:var(--ui-surface-raised);color:var(--ui-text)}.admin-settings-nav-item.is-active .admin-settings-nav-icon{border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-accent)}.admin-reports-period button.active,.admin-users-pagination button.active,.history-filter-menu button.active{border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text)}.terminal-seat-item.selected{border-color:var(--ui-border);background:var(--ui-surface-hover)}.terminal-seat-item.selected .terminal-seat-number{background:var(--ui-surface);border-color:#3a403f}.wallet-card,.stat-card,.dashboard-panel,.manager-metric-card,.manager-panel,.admin-stat-card,.admin-panel{box-shadow:none}@media (width<=900px){.app-header,.manager-header{gap:10px;padding-inline:18px}}@media (width<=760px){.admin-header{padding-inline:14px}.admin-tabs{scrollbar-width:none;max-width:calc(100vw - 150px);overflow-x:auto}.admin-tabs::-webkit-scrollbar{display:none}}@media (width<=600px){.app-header,.manager-header{grid-template-columns:auto 1fr auto;gap:8px;padding-inline:12px}.header-navigation,.manager-navigation{justify-content:center;justify-self:center;margin:0}}.admin-dashboard-actions{align-items:center;gap:10px;display:flex}.admin-dashboard .admin-live-indicator.connected span{background:var(--ui-success)}.admin-dashboard-refresh{height:34px;min-height:34px;font-size:11px}.admin-dashboard-refresh:disabled{cursor:wait;opacity:.65}.admin-dashboard-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px;display:grid}.admin-dashboard-metrics>div{border:1px solid var(--ui-border-soft);border-radius:var(--ui-radius-md);background:var(--ui-surface-raised);min-width:0;padding:18px 14px}.admin-dashboard-metrics span,.admin-dashboard-metrics strong{display:block}.admin-dashboard-metrics span{color:var(--ui-muted);font-size:11px}.admin-dashboard-metrics strong{color:var(--ui-text);text-overflow:ellipsis;white-space:nowrap;margin-top:8px;font-size:clamp(14px,1.7vw,20px);font-weight:600;overflow:hidden}.admin-dashboard-transactions{margin-top:12px}.admin-dashboard-transaction{border-bottom:1px solid var(--ui-border-soft);justify-content:space-between;align-items:center;gap:14px;min-height:58px;display:flex}.admin-dashboard-transaction:last-child{border-bottom:0}.admin-dashboard-transaction>div{flex-direction:column;gap:3px;min-width:0;display:flex}.admin-dashboard-transaction strong{color:var(--ui-text-secondary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:600;overflow:hidden}.admin-dashboard-transaction span{color:var(--ui-muted);text-transform:capitalize;font-size:10px}.admin-dashboard .admin-status-row>strong{color:var(--ui-text);font-size:12px;font-weight:600}.admin-game-summary{margin-top:12px}.admin-dashboard-error{border-radius:var(--ui-radius-sm);color:#d9a09b;background:#c9827c14;border:1px solid #c9827c52;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;padding:12px 14px;font-size:12px;display:flex}.admin-dashboard-error button{color:var(--ui-text);cursor:pointer;font:inherit;background:0 0;border:0;flex:none;font-weight:600}.admin-spin{animation:.9s linear infinite admin-spin}@keyframes admin-spin{to{transform:rotate(360deg)}}@media (width<=700px){.admin-dashboard-metrics{grid-template-columns:1fr}.admin-dashboard-actions{justify-content:space-between;width:100%}}@media (width<=800px){.app-main{width:100%;margin-left:0}.app-content{padding:24px 0 44px}.wallet-balance strong{font-size:34px}}.app-main .app-content,.manager-main .manager-content,.admin-main .admin-content{box-sizing:border-box;width:min(1280px,100% - clamp(48px,8vw,128px));max-width:1280px;margin-inline:auto;padding:clamp(22px,3vw,34px) 0 48px}@media (width<=900px){.app-main .app-content,.manager-main .manager-content,.admin-main .admin-content{width:min(720px,100% - 48px);padding-top:24px}}@media (width<=600px){.app-main .app-content,.manager-main .manager-content,.admin-main .admin-content{width:calc(100% - 32px);padding-top:20px}}@media (width<=640px){.app-main{width:100%;margin-left:0}.app-header{padding:18px 20px}.app-content{padding:20px 0 32px}.cashier-heading{flex-direction:column;align-items:flex-start;gap:15px}.wallet-actions{flex-direction:column}.wallet-action{width:100%}.wallet-balance strong{font-size:30px}}.app-main .cashier-dashboard :is(.ledger-summary-card,.ledger-panel,.history-summary-card,.history-table-card,.profile-card,.seat-panel,.amount-panel),.manager-main :is(.manager-metric-card,.manager-panel,.manager-report-summary-card,.manager-terminal-info-card,.manager-terminal-action-card,.manager-manage-card),.admin-main .admin-content :is(.admin-stat-card,.admin-panel,.admin-user-summary-card,.admin-manager-summary-card,.admin-cashier-summary-card,.admin-terminal-summary-card,.admin-wallet-summary-card,.admin-wallet-total-card,.admin-report-summary-card,.admin-game-live-card,.admin-game-stat-card,.admin-game-config-card,.admin-report-panel,.admin-users-panel,.admin-settings-card,.admin-settings-service-card){background-color:#131617;background-image:none;border-color:#222727}:root,[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--ui-bg:#e4e3dd;--ui-surface:#ebeae4;--ui-surface-raised:#f1f0ea;--ui-surface-hover:#dedfd8;--ui-border:#cccec7;--ui-border-soft:#d8dad3;--ui-text:#242923;--ui-text-secondary:#4e5750;--ui-muted:#515c54;--ui-subtle:#59635b;--ui-accent:#6b5834;--ui-accent-contrast:#fff;--ui-accent-soft:#896f391f;--ui-focus:#81652e;--ui-success:#24754f;--ui-warning:#94620d;--ui-danger:#a84242;--ui-info:#315f91;--ui-disabled:#67747e;--ui-radius-sm:6px;--ui-radius-md:9px;--ui-radius-lg:12px;--ui-control-height:42px;--ui-nav-height:64px;--ui-table-row-height:48px;--ui-shadow:0 8px 22px #272a2412;--ui-shadow-overlay:0 18px 48px #1c201b2e;--app-bg:var(--ui-bg);--app-surface:var(--ui-surface);--app-text:var(--ui-text);--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--content-max:1440px;--font-body:Inter, "Segoe UI", system-ui, -apple-system, sans-serif;--font-mono:"SFMono-Regular", Consolas, "Liberation Mono", monospace;--text-xs:12px;--text-sm:14px;--text-md:15px;--text-lg:18px;--text-xl:24px;--text-2xl:30px;--motion-fast:.12s;--motion-normal:.18s;--motion-easing:cubic-bezier(.2, 0, 0, 1);--app-surface-2:var(--ui-surface-hover);--app-border:var(--ui-border);--app-muted:var(--ui-muted)}[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--ui-bg:#101315;--ui-surface:#171b1d;--ui-surface-raised:#1c2123;--ui-surface-hover:#242a2d;--ui-border:#30383c;--ui-border-soft:#262d30;--ui-text:#e9edef;--ui-text-secondary:#b8c1c5;--ui-muted:#929da2;--ui-subtle:#7f8b90;--ui-accent:#c6ad73;--ui-accent-contrast:#171410;--ui-accent-soft:#c6ad7321;--ui-focus:#ddc17e;--ui-success:#7fc39c;--ui-warning:#e2b45d;--ui-danger:#df8888;--ui-info:#89b5e0;--ui-disabled:#7f8b90;--ui-shadow:0 8px 24px #0000002e;--ui-shadow-overlay:0 18px 48px #0000006b;--app-bg:var(--ui-bg);--app-surface:var(--ui-surface);--app-text:var(--ui-text);--app-surface-2:var(--ui-surface-hover);--app-border:var(--ui-border);--app-muted:var(--ui-muted)}html,body,#root{background:var(--ui-bg);color:var(--ui-text)}body{font-family:var(--font-body);font-size:var(--text-md);font-synthesis:none;text-rendering:optimizelegibility;line-height:1.55}::selection{background:var(--ui-accent-soft);color:var(--ui-text)}.app-route-loading{min-height:100vh;padding:var(--space-6);background:var(--ui-bg);color:var(--ui-muted);font-size:var(--text-sm);place-items:center;display:grid}.not-found-page{min-height:100vh;padding:var(--space-6);background:var(--ui-bg);color:var(--ui-text);place-items:center;display:grid}.not-found-actions{position:fixed;top:18px;right:18px}.not-found-card{border:1px solid var(--ui-border-soft);border-radius:var(--ui-radius-lg);background:var(--ui-surface);width:min(100%,440px);box-shadow:var(--ui-shadow);padding:clamp(24px,5vw,40px)}.not-found-code{color:var(--ui-accent);font-size:var(--text-xs);letter-spacing:.12em;font-weight:750}.not-found-card h1{font-size:var(--text-2xl);letter-spacing:-.04em;margin:8px 0}.not-found-card p{color:var(--ui-muted);font-size:var(--text-sm);margin:0}.not-found-actions-row{gap:var(--space-2);margin-top:var(--space-6);flex-wrap:wrap;display:flex}.not-found-primary,.not-found-secondary{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);min-height:40px;font-size:var(--text-sm);cursor:pointer;justify-content:center;align-items:center;gap:8px;padding:0 13px;font-weight:650;text-decoration:none;display:inline-flex}.not-found-primary{border-color:var(--ui-accent);background:var(--ui-accent);color:#fff}.not-found-secondary{background:var(--ui-surface);color:var(--ui-text-secondary)}button,input,textarea,select{font:inherit}:focus-visible{outline:2px solid var(--ui-focus);outline-offset:2px}button:disabled,[aria-disabled=true]{cursor:not-allowed}[data-theme] .app-shell,[data-theme] .manager-shell,[data-theme] .admin-shell{background:var(--ui-bg);min-height:100vh;color:var(--ui-text)}[data-theme] .app-header,[data-theme] .manager-header,[data-theme] .admin-header{color:var(--ui-text);background:color-mix(in srgb, var(--ui-surface) 96%, transparent);border-color:var(--ui-border-soft);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}[data-theme] .app-content,[data-theme] .manager-content,[data-theme] .admin-content{width:min(var(--content-max), calc(100% - 48px));margin-inline:auto}.ui-page-header{justify-content:space-between;align-items:flex-end;gap:var(--space-5);min-width:0;display:flex}.ui-page-header-copy{min-width:0}.ui-page-header-copy h1{color:var(--ui-text);font-size:clamp(22px, 2vw, var(--text-2xl));letter-spacing:-.035em;margin:0;font-weight:680;line-height:1.2}.ui-page-header-copy p{max-width:680px;color:var(--ui-muted);font-size:var(--text-sm);margin:7px 0 0;line-height:1.55}.ui-page-header-eyebrow{color:var(--ui-muted);font-size:var(--text-xs);letter-spacing:.08em;margin-bottom:6px;font-weight:650;display:block}.ui-page-header-actions{align-items:center;gap:var(--space-2);flex:none;max-width:100%;display:flex}.ui-button{min-height:var(--ui-control-height);border-radius:var(--ui-radius-sm);font-size:var(--text-sm);text-align:center;white-space:nowrap;cursor:pointer;transition:background var(--motion-fast) var(--motion-easing), border-color var(--motion-fast) var(--motion-easing), color var(--motion-fast) var(--motion-easing), box-shadow var(--motion-fast) var(--motion-easing);border:1px solid #0000;justify-content:center;align-items:center;gap:8px;padding:0 14px;font-weight:650;line-height:1.2;text-decoration:none;display:inline-flex}.ui-button--primary{border-color:var(--ui-accent);background:var(--ui-accent);color:var(--ui-accent-contrast)}.ui-button--primary:hover:not(:disabled){background:color-mix(in srgb, var(--ui-accent) 88%, var(--ui-text))}.ui-button--secondary{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text-secondary)}.ui-button--secondary:hover:not(:disabled){background:var(--ui-surface-hover);color:var(--ui-text)}.ui-button--danger{border-color:var(--ui-danger);background:var(--ui-danger);color:#fff}.ui-button--danger:hover:not(:disabled){filter:brightness(.94)}.ui-button:disabled{cursor:not-allowed;opacity:.78}.ui-button-icon{flex:none;justify-content:center;align-items:center;display:inline-flex}.theme-toggle{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);min-width:40px;min-height:40px;color:var(--ui-text-secondary);cursor:pointer;transition:background var(--motion-fast) var(--motion-easing), color var(--motion-fast) var(--motion-easing), border-color var(--motion-fast) var(--motion-easing);justify-content:center;align-items:center;gap:7px;padding:0 9px;display:inline-flex}.theme-toggle:hover{border-color:var(--ui-muted);background:var(--ui-surface-hover);color:var(--ui-text)}.theme-toggle-label{font-size:var(--text-xs);font-weight:600}.login-theme-toggle{z-index:2;position:fixed;top:18px;right:18px}[data-theme=light] .login-page{background:radial-gradient(circle at 50% 24%, var(--ui-surface-raised) 0, var(--ui-surface) 48%, var(--ui-bg) 100%);color:var(--ui-text)}[data-theme=light] .login-card{border-color:var(--ui-border);background:var(--ui-surface);box-shadow:0 18px 44px #1f28321a}[data-theme=light] .login-brand-mark{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}[data-theme=light] .login-brand-copy span,[data-theme=light] .login-heading h1{color:var(--ui-text)}[data-theme=light] .login-brand-copy small,[data-theme=light] .login-eyebrow,[data-theme=light] .login-heading p,[data-theme=light] .login-security,[data-theme=light] .login-footer{color:var(--ui-muted)}[data-theme=light] .login-field label{color:var(--ui-text-secondary)}[data-theme=light] .login-input-wrapper{border-color:var(--ui-border);background:var(--ui-surface-raised);color:var(--ui-muted)}[data-theme=light] .login-input-wrapper:focus-within{border-color:var(--ui-focus);background:var(--ui-surface)}[data-theme=light] .login-input-wrapper input{color:var(--ui-text)}[data-theme=light] .login-input-wrapper input::placeholder{color:#707b87}[data-theme=light] .password-toggle{color:var(--ui-muted)}[data-theme=light] .password-toggle:hover{background:var(--ui-surface-hover);color:var(--ui-text)}[data-theme=light] .login-submit{color:#fff;background:#6b5834;border-color:#6b5834}[data-theme=light] .login-submit:hover{background:#59482b}[data-theme=light] .login-error{background:color-mix(in srgb, var(--ui-danger) 7%, var(--ui-surface));color:#8b3030;border-color:#e7b7b7}[data-theme=light] .login-footer a{color:#6b5834}[data-theme] .stat-card,[data-theme] .dashboard-panel,[data-theme] .wallet-card,[data-theme] .manager-metric-card,[data-theme] .manager-panel,[data-theme] .admin-stat-card,[data-theme] .admin-panel,[data-theme] .login-card{border-color:var(--ui-border-soft);border-radius:var(--ui-radius-lg);background:var(--ui-surface);box-shadow:var(--ui-shadow)}input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%}input:disabled,select:disabled,textarea:disabled,button:disabled{opacity:.82}[data-theme=light] .admin-shell{background:var(--ui-bg);color:var(--ui-text)}[data-theme=light] .admin-header,[data-theme=light] .admin-panel,[data-theme=light] .admin-stat-card,[data-theme=light] .admin-settings-card,[data-theme=light] .admin-report-panel,[data-theme=light] .admin-report-table-panel,[data-theme=light] .admin-game-section,[data-theme=light] .admin-game-config-card,[data-theme=light] .admin-modal,[data-theme=light] .admin-cashier-filter-panel,[data-theme=light] .admin-terminal-filter-panel,[data-theme=light] .admin-manager-filter-panel,[data-theme=light] .admin-rewards-page .admin-panel{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow)}[data-theme=light] .admin-brand-text strong,[data-theme=light] .admin-user-info strong,[data-theme=light] .admin-page-heading h1,[data-theme=light] .admin-page-header h1,[data-theme=light] .admin-settings-card-heading h2,[data-theme=light] .admin-panel h2,[data-theme=light] .admin-panel h3,[data-theme=light] .admin-stat-value,[data-theme=light] .admin-report-summary-card strong,[data-theme=light] .admin-rewards-page h2,[data-theme=light] .admin-rewards-page h3,[data-theme=light] .admin-table td,[data-theme=light] .admin-report-table td,[data-theme=light] .admin-rewards-table td,[data-theme=light] .admin-row-title,[data-theme=light] .admin-game-round-row,[data-theme=light] .admin-cashier-row,[data-theme=light] .admin-terminal-row,[data-theme=light] .admin-manager-row{color:var(--ui-text)}[data-theme=light] .admin-page p,[data-theme=light] .admin-page-header p,[data-theme=light] .admin-page-eyebrow,[data-theme=light] .admin-page-kicker,[data-theme=light] .admin-panel-kicker,[data-theme=light] .admin-stat-label,[data-theme=light] .admin-stat-detail,[data-theme=light] .admin-row-subtitle,[data-theme=light] .admin-settings-row-copy p,[data-theme=light] .admin-settings-field label,[data-theme=light] .admin-rewards-page p,[data-theme=light] .admin-table th,[data-theme=light] .admin-report-table th,[data-theme=light] .admin-rewards-table th,[data-theme=light] .admin-tab{color:var(--ui-muted)}[data-theme=light] .admin-tab:hover,[data-theme=light] .admin-tab.active{color:var(--ui-accent)}[data-theme=light] .admin-tabs,[data-theme=light] .admin-table,[data-theme=light] .admin-report-table,[data-theme=light] .admin-rewards-table,[data-theme=light] .admin-settings-row,[data-theme=light] .admin-cashier-row,[data-theme=light] .admin-terminal-row,[data-theme=light] .admin-manager-row{border-color:var(--ui-border-soft)}[data-theme=light] .admin-table th,[data-theme=light] .admin-report-table th,[data-theme=light] .admin-rewards-table th,[data-theme=light] .admin-table tr:hover,[data-theme=light] .admin-report-table tr:hover,[data-theme=light] .admin-rewards-table tr:hover{background:var(--ui-surface-hover)}[data-theme=light] .admin-shell input,[data-theme=light] .admin-shell select,[data-theme=light] .admin-shell textarea,[data-theme=light] .admin-rewards-filter-fields input,[data-theme=light] .admin-rewards-filter-fields select,[data-theme=light] .admin-rewards-fields input,[data-theme=light] .admin-rewards-report-dates input{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=light] .admin-shell button:not(.theme-toggle),[data-theme=light] .admin-shell .admin-primary-button,[data-theme=light] .admin-rewards-save button,[data-theme=light] .admin-rewards-filter-fields button{border-color:var(--ui-border)}[data-theme] .admin-shell :is(.admin-stat-card,.admin-panel,[class*=-summary-card],[class*=-settings-card],[class*=-filter-panel],[class*=-table-panel],[class*=-modal],[class*=-action-menu],[class*=-result],[class*=-empty],[class*=-list-header]){border-color:var(--ui-border-soft);background:var(--ui-surface);color:var(--ui-text)}[data-theme] .admin-shell :is([class*=-table],[class*=-list],[class*=-row],[class*=-settings-row],[class*=-filter-row]){border-color:var(--ui-border-soft)}.admin-shell :is(button,input,select,textarea){font:inherit}[data-theme=light] .admin-shell :is([class*=-search],[class*=-filter-row] input,[class*=-filter-row] select,[class*=-fields] input,[class*=-fields] select,[class*=-form] input,[class*=-form] select,[class*=-form] textarea){border-color:var(--ui-border);color:var(--ui-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fbfcfd}[data-theme=light] .admin-shell :is(.admin-panel,.admin-stat-card,.admin-settings-card,.admin-report-panel,.admin-report-table-panel,.admin-report-terminal-panel,.admin-game-section,.admin-game-config-card,.admin-game-stat-card,.admin-cashier-filter-panel,.admin-terminal-filter-panel,.admin-manager-filter-panel,.admin-wallet-filter-panel,.admin-users-panel,.admin-cashier-list,.admin-terminal-list,.admin-manager-list,.admin-wallet-list,.admin-modal,.admin-view-user-modal,.admin-wallet-detail-modal,.admin-rewards-page .admin-panel,[class*=-summary-card],[class*=-settings-card],[class*=-filter-panel],[class*=-table-panel]){border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text);box-shadow:var(--ui-shadow)}[data-theme=light] .admin-shell :is(.admin-dashboard,.admin-page,.admin-users-page,.admin-managers-page,.admin-cashiers-page,.admin-wallet-page,.admin-terminals-page,.admin-game-page,.admin-reports-page,.admin-settings-page,.admin-rewards-page,.admin-difficulty-report) :is(h1,h2,h3,h4,strong,td,label){color:var(--ui-text)}[data-theme=light] .admin-shell :is(.admin-page,.admin-dashboard,.admin-reports-page,.admin-game-page,.admin-settings-page,.admin-rewards-page) :is(p,small,.admin-page-eyebrow,.admin-page-kicker,.admin-panel-kicker,.admin-stat-label,.admin-stat-detail,.admin-row-subtitle,.admin-settings-row-copy p,.admin-settings-field label){color:var(--ui-muted)}[data-theme=light] .admin-shell :is(.admin-table,.admin-report-table,.admin-rewards-table,.admin-users-table,.admin-report-terminal-table){color:var(--ui-text-secondary)}[data-theme=light] .admin-shell :is(.admin-table th,.admin-report-table th,.admin-rewards-table th,.admin-users-table th,.admin-report-terminal-table th,.admin-list-header,.admin-wallet-list-header){border-color:var(--ui-border-soft);background:var(--ui-surface-hover);color:var(--ui-muted)}[data-theme=light] .admin-shell :is(.admin-table td,.admin-report-table td,.admin-rewards-table td,.admin-users-table td,.admin-report-terminal-table td,.admin-settings-row,.admin-cashier-row,.admin-terminal-row,.admin-manager-row,.admin-wallet-row,.admin-game-round-row){border-color:var(--ui-border-soft);color:var(--ui-text-secondary)}[data-theme=light] .admin-shell :is(.admin-search,.admin-cashier-search,.admin-terminal-search,.admin-manager-search,.admin-wallet-search,.admin-filter,.admin-cashier-filter,.admin-terminal-filter,.admin-manager-filter,.admin-wallet-filter,.admin-shell input,input,select,textarea){border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}[data-theme=light] .admin-shell :is(input,select,textarea)::placeholder{color:var(--ui-muted);opacity:1}[data-theme=light] .app-shell :is(.app-header,.cashier-wallet,.header-user,.header-logout){border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text-secondary)}[data-theme=light] .app-shell :is(.header-brand-copy span,.user-name,.cashier-wallet strong){color:var(--ui-text)}[data-theme=light] .app-shell :is(.header-brand-mark,.user-avatar){border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text)}[data-theme=light] .app-shell .header-nav-item{color:var(--ui-muted)}[data-theme=light] .app-shell .header-nav-item:hover,[data-theme=light] .app-shell .header-nav-item.active{border-color:var(--ui-border);background:var(--ui-accent-soft);color:var(--ui-accent)}[data-theme=light] .app-shell .header-logout:hover{border-color:var(--ui-danger);background:color-mix(in srgb, var(--ui-danger) 10%, var(--ui-surface));color:var(--ui-danger)}[data-theme] :is(.cashier-dashboard,.manager-dashboard,.admin-dashboard,.manager-page,.admin-page,.cashier-page){min-width:0}[data-theme] .admin-shell .admin-primary-button,[data-theme] .manager-shell .manager-primary-button,[data-theme] .app-shell .create-terminal-button{min-height:var(--ui-control-height);border:1px solid var(--ui-accent);border-radius:var(--ui-radius-sm);background:var(--ui-accent);color:var(--ui-accent-contrast);font-weight:650}[data-theme] .admin-shell .admin-primary-button:hover:not(:disabled),[data-theme] .manager-shell .manager-primary-button:hover:not(:disabled),[data-theme] .app-shell .create-terminal-button:hover:not(:disabled){border-color:var(--ui-accent);background:color-mix(in srgb, var(--ui-accent) 88%, var(--ui-text));color:var(--ui-accent-contrast)}[data-theme] .admin-shell :is(.admin-secondary-button,.admin-settings-secondary-button,.admin-game-secondary-button),[data-theme] .manager-shell .manager-secondary-button,[data-theme] .app-shell .refresh-terminals-button{border-color:var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);color:var(--ui-text-secondary)}[data-theme] .admin-shell :is(.admin-secondary-button,.admin-settings-secondary-button,.admin-game-secondary-button):hover:not(:disabled),[data-theme] .manager-shell .manager-secondary-button:hover:not(:disabled),[data-theme] .app-shell .refresh-terminals-button:hover:not(:disabled){border-color:var(--ui-muted);background:var(--ui-surface-hover);color:var(--ui-text)}[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status){border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text-secondary)}[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).active,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).completed,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).online,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).connected{border-color:color-mix(in srgb, var(--ui-success) 28%, var(--ui-border));background:color-mix(in srgb, var(--ui-success) 10%, var(--ui-surface));color:var(--ui-success)}[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).failed,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).error,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).disabled,[data-theme=light] .admin-shell :is(.admin-wallet-status,.admin-cashier-status,.admin-terminal-status,.admin-game-status,.admin-settings-status).offline{border-color:color-mix(in srgb, var(--ui-danger) 25%, var(--ui-border));background:color-mix(in srgb, var(--ui-danger) 8%, var(--ui-surface));color:var(--ui-danger)}[data-theme] :is(.admin-stat-value,.manager-metric-value,.cashier-amount-display,.seat-balance-large,.ledger-balance,.history-balance,.transaction-value,.manager-activity-amount){font-variant-numeric:tabular-nums lining-nums}[data-theme=dark] .admin-shell :is(input,select,textarea){--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.admin-shell [class*=table-wrap],.admin-shell [class*=table-wrapper],.admin-shell [class*=table-scroll]{overscroll-behavior-inline:contain;max-width:100%;overflow-x:auto}.terminal-sim-page{overflow-wrap:anywhere;min-width:0}.terminal-sim-top{gap:12px}.terminal-sim-top .theme-toggle{flex:none}@media (width>=901px){[data-theme] .terminal-sim-game .terminal-sim-multiplier{padding-block:24px 20px}[data-theme] .terminal-sim-events.is-empty{min-height:136px}}[data-theme] .terminal-sim-page,[data-theme] .terminal-sim-layout,[data-theme] .terminal-sim-intro,[data-theme] .terminal-sim-panel{width:100%;min-width:0}[data-theme] .terminal-sim-page{max-width:100%}[data-theme] .terminal-sim-layout,[data-theme] .terminal-sim-intro{max-width:1300px}[data-theme] .terminal-sim-panel{max-width:100%}[data-theme] .terminal-sim-page *{min-width:0}[data-theme] .terminal-sim-page input,[data-theme] .terminal-sim-page select{box-sizing:border-box;width:100%;max-width:100%}[data-theme=light] .terminal-sim-page{background:var(--ui-bg);color:var(--ui-text)}[data-theme=light] .terminal-sim-top{border-color:var(--ui-border)}[data-theme=light] .terminal-sim-brand,[data-theme=light] .terminal-sim-intro h1,[data-theme=light] .terminal-sim-panel-heading h2,[data-theme=light] .terminal-sim-round-meta b,[data-theme=light] .terminal-sim-multiplier strong,[data-theme=light] .terminal-sim-active-bet b,[data-theme=light] .terminal-sim-result b{color:var(--ui-text)}[data-theme=light] .terminal-sim-mark,[data-theme=light] .terminal-sim-panel,[data-theme=light] .terminal-sim-action-area,[data-theme=light] .terminal-sim-notice{border-color:var(--ui-border);background:var(--ui-surface)}[data-theme=light] .terminal-sim-notice{color:var(--ui-text-secondary)}[data-theme=light] .terminal-sim-mark{color:var(--ui-accent)}[data-theme=light] .terminal-sim-intro p,[data-theme=light] .terminal-sim-panel-heading p,[data-theme=light] .terminal-sim-hint,[data-theme=light] .terminal-sim-inline-hint,[data-theme=light] .terminal-sim-footer,[data-theme=light] .terminal-sim-event span,[data-theme=light] .terminal-sim-event time,[data-theme=light] .terminal-sim-round-meta span,[data-theme=light] .terminal-sim-multiplier small{color:var(--ui-muted)}[data-theme=light] .terminal-sim-form input,[data-theme=light] .terminal-sim-bet-form input{border-color:var(--ui-border);background:var(--ui-surface);color:var(--ui-text)}[data-theme=light] :is(.terminal-sim-form label,.terminal-sim-seats label,.terminal-sim-sync label,.terminal-sim-bet-form label){color:var(--ui-text-secondary)}[data-theme=light] .terminal-sim-phase{border-color:var(--ui-border);color:var(--ui-text-secondary)}[data-theme=light] .terminal-sim-round-meta{border-color:var(--ui-border-soft)}[data-theme=light] .terminal-sim-sync{border-color:var(--ui-border);background:var(--ui-surface-hover)}[data-theme=light] .terminal-sim-sync p,[data-theme=light] .terminal-sim-quiet{color:var(--ui-text-secondary)}[data-theme=light] .terminal-sim-secondary{border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-text-secondary)}[data-theme=light] .terminal-sim-event{border-color:var(--ui-border-soft)}[data-theme=light] .terminal-sim-auth{color:var(--ui-success)}[data-theme=light] .terminal-sim-auth span,[data-theme=light] .terminal-sim-active-bet b,[data-theme=light] .terminal-sim-result b{color:var(--ui-text)}[data-theme=light] .terminal-sim-auth small,[data-theme=light] .terminal-sim-active-bet small{color:var(--ui-muted)}[data-theme=light] .terminal-sim-event.event-ok span,[data-theme=light] .terminal-sim-result span,[data-theme=light] .terminal-sim-multiplier.is-running strong{color:var(--ui-success)}[data-theme=light] .terminal-sim-event.event-error span{color:var(--ui-danger)}[data-theme=light] .terminal-sim-error{background:color-mix(in srgb, var(--ui-danger) 7%, var(--ui-surface));color:#8b3030;border-color:#e7b7b7}.admin-mobile-menu-button{border:1px solid var(--ui-border);border-radius:var(--ui-radius-sm);background:var(--ui-surface);width:38px;height:38px;color:var(--ui-text-secondary);cursor:pointer;flex:none;justify-content:center;align-items:center;display:none}@media (width<=1100px){.admin-header{height:auto;min-height:64px;padding:10px 16px;position:relative}.admin-header-left{gap:12px;min-height:42px}.admin-tabs{scrollbar-width:thin;flex:1;position:static;overflow-x:auto;transform:none}.admin-tab{white-space:nowrap;min-height:38px}}@media (width<=760px){.app-header,.manager-header,.admin-header{min-height:60px;padding-inline:12px}[data-theme] .app-content,[data-theme] .manager-content,[data-theme] .admin-content{width:calc(100% - 24px)}.theme-toggle{width:44px;min-height:44px;padding:0}.theme-toggle-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.admin-header{justify-content:space-between;align-items:center;display:flex}.admin-header-left{flex:1;min-width:0}.admin-mobile-menu-button{display:inline-flex}.admin-header-right{flex-shrink:0;gap:8px}.admin-tabs{z-index:60;border:1px solid var(--ui-border);border-radius:var(--ui-radius-md);background:var(--ui-surface);max-height:min(70vh,520px);box-shadow:var(--ui-shadow-overlay);flex-direction:column;align-items:stretch;padding:8px;display:none;position:absolute;top:calc(100% + 6px);left:12px;right:12px;overflow-y:auto}.admin-tabs.is-open{display:flex}.admin-tab{border-radius:var(--ui-radius-sm);min-height:42px;font-size:var(--text-sm);justify-content:flex-start;padding-inline:12px}}@media (width<=480px){.login-theme-toggle{top:12px;right:12px}[data-theme] .app-content,[data-theme] .manager-content,[data-theme] .admin-content{width:calc(100% - 20px)}.admin-header-left{gap:8px}.admin-brand-text strong{font-size:12px}.admin-user-info{display:none}.admin-header-right{gap:5px}}@media (width<=600px){[data-theme] .ui-page-header{align-items:flex-start;gap:var(--space-3);flex-direction:column}[data-theme] .ui-page-header-actions{flex-wrap:wrap;width:100%}[data-theme] .ui-page-header-actions>.ui-button{max-width:100%}}@media (width<=560px){[data-theme] .terminal-sim-page{padding-inline:12px}[data-theme] .terminal-sim-top{flex-wrap:nowrap;gap:8px;height:auto;min-height:62px}[data-theme] .terminal-sim-brand{letter-spacing:.06em;white-space:nowrap;flex:0 auto;gap:7px;min-width:0;font-size:10px}[data-theme] .terminal-sim-brand small{display:none}[data-theme] .terminal-sim-connection{letter-spacing:.02em;white-space:nowrap;flex:0 auto;gap:5px;min-width:0;font-size:8px}[data-theme] .terminal-sim-connection-label{display:none}[data-theme] .terminal-sim-mark{flex:0 0 32px;width:32px;height:32px}[data-theme] .terminal-sim-layout,[data-theme] .terminal-sim-panel,[data-theme] .terminal-sim-panel-heading,[data-theme] .terminal-sim-event-list{width:100%;min-width:0;max-width:100%}[data-theme] .terminal-sim-panel-heading>div:nth-child(2){flex:1;min-width:0}[data-theme] .terminal-sim-events .terminal-sim-quiet{flex:none;margin-left:0}[data-theme] .terminal-sim-event{grid-template-columns:58px minmax(0,1fr)}}@media (width<=900px){[data-theme] .terminal-sim-layout{grid-template-columns:minmax(0,1fr)}[data-theme] .terminal-sim-intro{flex-direction:column;align-items:stretch}[data-theme] .terminal-sim-notice{width:100%;max-width:100%}}@media (width<=720px){.seat-management,.seat-overview,.terminal-seats-layout,.profile-layout,.ledger-summary,.history-summary,.manager-settings-grid,.manager-terminal-info-grid,.manager-report-summary,.admin-stat-grid,.admin-dashboard-grid,.admin-settings-layout{grid-template-columns:minmax(0,1fr)}.terminal-list,.terminal-sim-layout,.admin-table-wrap,.admin-report-table-wrap,.admin-rewards-table-wrap,.manager-report-table-wrap,.history-table-wrap,.ledger-table-wrap{overscroll-behavior-inline:contain;max-width:100%;overflow-x:auto}.admin-page-header,.admin-settings-header,.manager-page-heading,.cashier-dashboard-header,.history-header{align-items:flex-start;gap:var(--space-3);flex-wrap:wrap}.admin-page-header-actions,.admin-settings-header-actions,.manager-toolbar,.history-actions{flex-wrap:wrap;max-width:100%}.admin-modal,.terminal-modal,.profile-modal{width:min(100% - 24px,560px);max-height:calc(100dvh - 24px);overflow-y:auto}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}:root[data-theme]{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%;font-size:16px}:root[data-theme] body{font-family:var(--font-body);font-size:var(--text-md);font-synthesis:none;text-rendering:optimizelegibility;line-height:1.55}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page){color:var(--ui-text);font-family:var(--font-body);font-size:var(--text-md);line-height:1.5}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(p,li,dd,dt,blockquote,figcaption){line-height:1.55;font-size:max(14px,.93em)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(label,button,input,select,textarea,th,td,summary,[role=status],[role=alert]){line-height:1.45;font-size:max(14px,.93em)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(small,time,[class*=eyebrow],[class*=kicker],[class*=subtitle],[class*=detail],[class*=hint],[class*=meta],[class*=caption],[class*=-role],[class*=-label]:not(label)){line-height:1.45;color:var(--ui-muted)!important;font-size:max(12px,.8em)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) span:not(:where(h1 *,h2 *,h3 *,h4 *,.admin-stat-value,.manager-metric-value,.cashier-amount-display,.seat-balance-large,.ledger-balance,.history-balance,.transaction-value,.manager-activity-amount,.terminal-sim-multiplier,.admin-stat-value *,.manager-metric-value *,.cashier-amount-display *,.seat-balance-large *,.ledger-balance *,.history-balance *,.transaction-value *,.manager-activity-amount *,.terminal-sim-multiplier *)){line-height:1.4;font-size:max(13px,.86em)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(b,strong):not(:where(h1 *,h2 *,h3 *,h4 *,.admin-stat-value,.manager-metric-value,.cashier-amount-display,.seat-balance-large,.ledger-balance,.history-balance,.transaction-value,.manager-activity-amount,.terminal-sim-multiplier,.admin-stat-value *,.manager-metric-value *,.cashier-amount-display *,.seat-balance-large *,.ledger-balance *,.history-balance *,.transaction-value *,.manager-activity-amount *,.terminal-sim-multiplier *)){line-height:1.4;font-size:max(14px,.92em)!important}:root[data-theme] :is(.terminal-sim-page,.manager-shell,.app-shell,.admin-shell) :is(.terminal-sim-notice,.terminal-sim-empty,.terminal-sim-footer,.terminal-sim-connection,.terminal-sim-hint,.terminal-sim-expiry){line-height:1.5;font-size:max(13px,.88em)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(.login-brand-copy span,.header-brand-copy span,.manager-brand-copy span,.user-name,.manager-user-name,.cashier-wallet strong,.manager-wallet strong){color:var(--ui-text);line-height:1.35;font-size:14px!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(input,textarea,select)::placeholder{opacity:1;color:var(--ui-subtle)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) :is(h1,h2,h3,h4){color:var(--ui-text);font-family:var(--font-body);text-wrap:pretty;font-weight:650}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) h1{letter-spacing:-.025em;line-height:1.2;font-size:clamp(26px,2.2vw,32px)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.terminal-sim-page) h2{letter-spacing:-.015em;line-height:1.3;font-size:clamp(19px,1.7vw,22px)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.terminal-sim-page) h3{line-height:1.35;font-size:17px!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.terminal-sim-page) h4{line-height:1.4;font-size:15px!important}:root[data-theme] .login-page .login-heading h1{font-size:clamp(26px,2.2vw,30px)!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) svg.lucide{stroke-width:1.8px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:18px!important;height:18px!important}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) :is(.admin-tab,.manager-nav-item,.header-nav-item){min-height:42px;color:var(--ui-muted);line-height:1.3;font-size:13px!important}:root[data-theme] .admin-shell .admin-tab.active,:root[data-theme] .admin-shell .admin-tab:hover,:root[data-theme] .manager-shell .manager-nav-item.active,:root[data-theme] .manager-shell .manager-nav-item:hover,:root[data-theme] .app-shell .header-nav-item.active,:root[data-theme] .app-shell .header-nav-item:hover{color:var(--ui-accent)!important}:root[data-theme] .manager-shell :is(.manager-brand-copy small,.manager-user-role){opacity:1;color:var(--ui-muted)!important}:root[data-theme] :is(.admin-system-status,.admin-user-info span,.manager-user-role,.manager-brand-copy small,.user-role){opacity:1;line-height:1.35;color:var(--ui-muted)!important;font-size:12px!important}:root[data-theme] .admin-user-info strong{color:var(--ui-text)!important;font-size:14px!important}:root[data-theme] .admin-brand-text span{color:var(--ui-muted)!important;font-size:12px!important}:root[data-theme] .admin-user-avatar{font-size:12px!important}:root[data-theme=light] .manager-shell .manager-brand-mark{border:1px solid var(--ui-border);background:var(--ui-accent-soft);color:var(--ui-accent)}:root[data-theme] .manager-shell .manager-logout,:root[data-theme] .app-shell :is(.header-logout,.cashier-wallet){color:var(--ui-text-secondary)}:root[data-theme] .manager-shell .manager-logout:hover,:root[data-theme] .app-shell .header-logout:hover{color:var(--ui-danger)}:root[data-theme] .app-shell .header-nav-item.active svg{color:var(--ui-accent)!important}:is(:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) button:has(>svg.lucide:only-child),:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) a:has(>svg.lucide:only-child)){min-width:40px;min-height:40px}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) :is(input,select,textarea){color:var(--ui-text)}:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell,.login-page,.terminal-sim-page) :is(button,input,select,textarea):disabled{opacity:.82!important}:root[data-theme=light] .terminal-sim-page :is(.terminal-sim-notice,.terminal-sim-phase){color:var(--ui-text-secondary)}:root[data-theme=dark] .terminal-sim-page :is(.terminal-sim-hint,.terminal-sim-expiry,.terminal-sim-sync small,.terminal-sim-empty,.terminal-sim-footer,.terminal-sim-event time,.terminal-sim-round-meta span,.terminal-sim-multiplier small){color:var(--ui-muted)}:root[data-theme] .terminal-sim-page :is(.terminal-sim-notice svg,.terminal-sim-footer svg){color:var(--ui-warning)}@media (width<=600px){:root[data-theme] :is(.admin-shell,.manager-shell,.app-shell) :is(.admin-tab,.manager-nav-item,.header-nav-item){min-height:44px}}:root[data-theme=light] :is(.brand-mark,.stat-icon){border-color:var(--ui-border);background:var(--ui-surface-hover);color:var(--ui-accent)}:root[data-theme=light] .terminal-sim-page :is(.terminal-sim-mark,.terminal-sim-icon){border-color:var(--ui-border);background:var(--ui-accent-soft);color:var(--ui-accent)}
