:root{color-scheme:light;--bg:#f5f7fa;--surface:#fff;--soft:#f8f9fb;--text:#17243b;--muted:#66738a;--line:#e2e7ef;--accent:#007bb8;--active:#edf3ff;--green:#187248;--green-bg:#edf8f1;--red:#b63b45;--red-bg:#fff0f0;--amber:#986315;--amber-bg:#fff7e7;--shadow:0 10px 40px #0d234b12}
:root[data-theme=dark]{color-scheme:dark;--bg:#111721;--surface:#19212e;--soft:#1d2837;--text:#edf2fb;--muted:#a8b5c9;--line:#2d394b;--accent:#91b5ff;--active:#243653;--green:#8ddbb0;--green-bg:#213b32;--red:#ffa4aa;--red-bg:#42282f;--amber:#ecc383;--amber-bg:#3b3426;--shadow:0 10px 40px #0003}
*{box-sizing:border-box}body{margin:0;font:1rem/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.52}a{color:var(--accent);text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--accent);outline-offset:3px}button,input,select,textarea{border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text)}button{padding:8px 13px;font-size:.875rem;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover:not(:disabled){background:var(--soft)}button.primary{background:#007bb8;border-color:#007bb8;color:white}button.primary:hover:not(:disabled){background:#00689d}button.danger{color:var(--red);border-color:var(--red)}input,select,textarea{padding:9px 11px;min-height:40px;max-width:100%}textarea{resize:vertical;min-height:88px}label{display:grid;gap:6px;font-size:.875rem;font-weight:550}small,.small{font-size:.8125rem}.muted{color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:1.65rem;font-weight:650;letter-spacing:-.04em}h2{font-size:1rem;font-weight:650}h3{font-size:.9375rem;font-weight:650}.shell{display:grid;grid-template-columns:214px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--surface);border-right:1px solid var(--line);display:flex;flex-direction:column;padding:27px 18px 20px}.brand{font-size:1.5rem;font-weight:750;letter-spacing:.12em;display:flex;gap:9px;align-items:center}.brand-mark{width:7px;height:23px;display:inline-block;background:#007bb8;border-radius:1px}.workspace-label{color:var(--muted);font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;margin:31px 10px 12px}.nav{display:grid;gap:6px}.nav a{display:flex;align-items:center;gap:11px;color:var(--muted);padding:10px 11px;border-radius:5px;font-size:.875rem;font-weight:550}.nav a.active{color:var(--accent);background:var(--active)}.nav a:hover{background:var(--soft)}.nav a.active:hover{background:var(--active)}.sidebar-foot{margin-top:auto;border-top:1px solid var(--line);padding:18px 10px 0;font-size:.8125rem;color:var(--muted)}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 34px;background:var(--surface);border-bottom:1px solid var(--line);gap:15px}.breadcrumb{font-size:.875rem;color:var(--muted)}.top-actions,.row{display:flex;align-items:center;gap:12px}.row.wrap{flex-wrap:wrap}.row.between{justify-content:space-between}.avatar{height:30px;width:30px;display:grid;place-items:center;background:var(--active);color:var(--accent);font-size:.75rem;font-weight:700;border-radius:50%}.icon{width:18px;height:18px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-button{padding:7px;border-color:transparent;background:transparent;min-height:32px}.copy{padding:4px;color:var(--muted);border:0;background:transparent;vertical-align:middle}.copy .icon{width:14px;height:14px}.content{padding:32px 34px 26px;max-width:1640px;margin:auto}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:26px}.page-heading p{color:var(--muted);font-size:.875rem;margin-top:4px}.filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.filters label{font-size:.75rem;color:var(--muted);gap:4px}.filters input,.filters select{font-size:.875rem;min-height:38px;padding:7px 10px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.metric{background:var(--surface);border:1px solid var(--line);border-radius:6px;padding:22px 23px}.metric-label{color:var(--muted);font-size:.875rem;display:flex;justify-content:space-between}.metric-value{font-size:1.8rem;font-weight:650;letter-spacing:-.04em;margin:12px 0 5px;font-variant-numeric:tabular-nums}.metric-note{font-size:.8125rem;color:var(--muted)}.card{border:1px solid var(--line);border-radius:6px;background:var(--surface);margin-bottom:22px;overflow:hidden}.card-head{padding:18px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}.card-body{padding:22px}.table-scroll{overflow:auto;overscroll-behavior-x:contain}table{width:100%;border-collapse:collapse;font-size:.875rem;text-align:left}th{font-size:.75rem;letter-spacing:.035em;font-weight:600;color:var(--muted);background:var(--soft);white-space:nowrap;padding:12px 19px}td{padding:16px 19px;border-top:1px solid var(--line);vertical-align:middle}tbody tr:hover{background:var(--soft)}th:first-child,td:first-child{padding-left:22px}th:last-child,td:last-child{padding-right:22px}.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}.provider-cell{display:flex;align-items:center;gap:11px;white-space:nowrap}.provider-icon{width:34px;height:34px;border:1px solid var(--line);border-radius:5px;background:var(--soft);font-size:.6875rem;font-weight:700;color:var(--muted);display:grid;place-items:center}.positive{color:var(--green)}.negative{color:var(--red)}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:4px;font-size:.75rem;padding:3px 7px;white-space:nowrap;color:var(--muted);background:var(--soft);border:1px solid var(--line)}.badge.good{color:var(--green);background:var(--green-bg);border-color:transparent}.badge.warn{color:var(--amber);background:var(--amber-bg);border-color:transparent}.badge.bad{color:var(--red);background:var(--red-bg);border-color:transparent}.live{font-size:.8125rem;color:var(--green);display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.dot{width:6px;height:6px;background:currentColor;border-radius:50%}.live.stale{color:var(--amber)}.footer-line{display:flex;justify-content:space-between;gap:15px;font-size:.75rem;color:var(--muted);padding:0 1px}.sample-banner{padding:9px 34px;background:var(--amber-bg);color:var(--amber);font-size:.8125rem;display:flex;justify-content:space-between;gap:15px;align-items:center}.sample-banner button{font-size:.75rem;min-height:26px;padding:3px 9px;background:transparent;border-color:currentColor;color:inherit}.notice{padding:13px 16px;border:1px solid var(--line);background:var(--soft);border-radius:5px;font-size:.875rem;color:var(--muted);margin-bottom:20px}.notice.warn{background:var(--amber-bg);color:var(--amber);border-color:transparent}.notice.bad{background:var(--red-bg);color:var(--red);border-color:transparent}.empty{text-align:center;padding:55px 24px;color:var(--muted)}.empty h2{color:var(--text);margin-bottom:7px}.empty p{font-size:.875rem;max-width:480px;margin:0 auto 15px}.tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:24px;overflow:auto}.tabs button{border:0;border-radius:0;padding:12px 0;background:transparent;color:var(--muted);white-space:nowrap;border-bottom:2px solid transparent}.tabs button.active{color:var(--accent);border-bottom-color:var(--accent)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.field-wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.stack{display:grid;gap:17px}.mono{font-family:ui-monospace,Consolas,monospace;font-size:.8125rem;overflow-wrap:anywhere}.id-cell{white-space:nowrap}.cell-sub{font-size:.75rem;color:var(--muted);margin-top:3px}.table-foot{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 22px;border-top:1px solid var(--line);font-size:.8125rem;color:var(--muted)}.switch{height:24px;width:42px;min-width:42px;padding:2px;border-radius:20px;background:var(--line);border:0;justify-content:flex-start}.switch span{display:block;width:18px;height:18px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002}.switch[aria-checked=true]{background:#007bb8;justify-content:flex-end}.switch:hover:not(:disabled){background:var(--muted)}.switch[aria-checked=true]:hover:not(:disabled){background:#00689d}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:22px}.definition{display:grid;grid-template-columns:155px 1fr;gap:12px;font-size:.875rem}.definition dt{color:var(--muted)}.definition dd{margin:0}.inline-input{width:105px;min-height:34px;padding:6px 8px}.login-wrap{min-height:100vh;display:grid;place-items:center;padding:25px}.login-card{width:420px;max-width:100%;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:34px;box-shadow:var(--shadow)}.login-card .brand{margin-bottom:35px}.login-card h1{margin-bottom:6px}.login-card form{margin-top:25px}.login-card p{font-size:.875rem;color:var(--muted)}dialog{background:var(--surface);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:26px;width:520px;max-width:calc(100vw - 32px);max-height:90vh;box-shadow:var(--shadow)}dialog::backdrop{background:#0c173c66}dialog h2{font-size:1.2rem;margin-bottom:7px}dialog p{font-size:.875rem;color:var(--muted);margin-bottom:20px}#toast{position:fixed;right:24px;bottom:24px;background:var(--text);color:var(--surface);padding:12px 18px;border-radius:6px;box-shadow:var(--shadow);font-size:.875rem;z-index:10;max-width:430px;display:none}#toast.visible{display:block}.busy{opacity:.65;pointer-events:none}.screen-reader{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.rate-notes{max-width:380px;font-size:.8125rem;white-space:normal;color:var(--muted)}.clickable{cursor:pointer}.pagination button{padding:6px 10px}.link-button{color:var(--accent);border:0;background:transparent;padding:0}.layout-pad{padding:20px 22px}.menu-toggle{display:none}
@media(min-width:1500px){.content{padding-top:40px}.metric-value{font-size:2.1rem}}
@media(max-width:1000px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:24px 12px}.topbar{padding:0 22px}.content{padding:25px 22px}.page-heading{align-items:flex-start;flex-direction:column}.metric{padding:18px}.metric-value{font-size:1.55rem}.sample-banner{padding:9px 22px}.two-col{grid-template-columns:1fr}}
@media(max-width:700px){.shell{grid-template-columns:1fr}.sidebar{position:static;height:auto;border-right:0;border-bottom:1px solid var(--line);padding:15px 18px;gap:12px}.sidebar .brand{font-size:1.125rem}.sidebar .workspace-label,.sidebar-foot{display:none}.nav{display:flex;gap:4px;overflow:auto}.nav a{font-size:.8125rem;padding:8px 10px}.topbar{height:55px;padding:0 18px}.content{padding:23px 16px}.top-actions{gap:5px}.top-actions .account-name{display:none}.metrics{grid-template-columns:1fr;gap:9px}.metric{padding:16px 18px}.metric-value{font-size:1.6rem;margin:6px 0}.metric-note{display:none}.metric-label{font-size:.8125rem}.form-grid{grid-template-columns:1fr}.sample-banner{padding:8px 16px;align-items:flex-start}.filters{width:100%}.filters label{flex:1}.footer-line{flex-direction:column;gap:5px}h1{font-size:1.4rem}.table-scroll td{padding-top:13px;padding-bottom:13px}.definition{grid-template-columns:110px 1fr}.card-head{padding:16px}.card-body{padding:17px}.tabs{gap:20px}}
[hidden]{display:none!important}
.nav-spacer{height:35px}.header-clock{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.month-value{display:block;padding:7px 10px;min-height:38px;font-size:.875rem;color:var(--text)}
@media(max-width:1000px){.topbar{height:auto;min-height:72px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.top-actions{flex-wrap:wrap}.header-clock{font-size:.75rem}}
@media(max-width:700px){.nav-spacer{display:none}.topbar{gap:8px}.header-clock{white-space:normal}}
@media(prefers-reduced-motion:no-preference){button{transition:background-color .12s,color .12s}}
.table-foot.pager-only{justify-content:flex-end}
.dashboard-heading{margin:0 0 11px;font-size:.875rem;color:var(--muted);font-weight:600}.attention-card{max-width:560px}
.admin-history{overflow-x:visible}.admin-history table{table-layout:fixed;font-size:.75rem}.admin-history th,.admin-history td{padding:9px 7px;white-space:normal;overflow-wrap:anywhere}.admin-history th:first-child,.admin-history td:first-child{padding-left:11px}.admin-history th:last-child,.admin-history td:last-child{padding-right:11px}.admin-history .id-cell,.admin-history .num{white-space:normal}.admin-history .copy{padding:2px}.admin-history th:nth-child(1){width:9%}.admin-history th:nth-child(2){width:8%}.admin-history th:nth-child(3){width:9%}.admin-history th:nth-child(4),.admin-history th:nth-child(5){width:11%}.admin-history th:nth-child(6),.admin-history th:nth-child(7){width:8%}.admin-history th:nth-child(8){width:7%}.admin-history th:nth-child(9){width:13%}.admin-history th:nth-child(10){width:8%}.admin-history th:nth-child(11){width:6%}.report-controls{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap;margin-bottom:10px}.report-controls label{color:var(--muted);font-size:.75rem;gap:4px}.report-presets{margin-bottom:20px}.report-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.credential-list dd{min-width:0}.credential-list .copy{margin-left:4px}
@media(max-width:1000px){.report-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.report-metrics{grid-template-columns:1fr}.admin-history table{font-size:.6875rem}.admin-history th,.admin-history td{padding:7px 3px}.report-controls>*{flex:1}}
.upstream-metrics{grid-template-columns:repeat(5,minmax(0,1fr))}
@media(max-width:1200px){.upstream-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.upstream-metrics{grid-template-columns:1fr}}
@media(max-width:1100px){
  .admin-history,.business-history{overflow:visible;padding:12px}.admin-history table,.admin-history tbody,.business-history table,.business-history tbody{display:block}
  .admin-history thead,.business-history thead{display:none}.admin-history tbody,.business-history tbody{display:grid;gap:11px}
  .admin-history tr,.business-history tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;border:1px solid var(--line);border-radius:5px;padding:13px;background:var(--surface)}
  .admin-history td,.business-history td{display:grid;grid-template-columns:1fr;align-content:start;gap:3px;border:0;padding:0!important;min-width:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
  .admin-history td::before,.business-history td::before{font-size:.6875rem;line-height:1.2;color:var(--muted);font-weight:600;letter-spacing:.025em}
  .admin-history td:nth-child(1)::before{content:'Business'}.admin-history td:nth-child(2)::before,.business-history td:nth-child(1)::before{content:'Provider'}
  .admin-history td:nth-child(3)::before,.business-history td:nth-child(2)::before{content:'Game name'}.admin-history td:nth-child(4)::before,.business-history td:nth-child(3)::before{content:'Player ID'}
  .admin-history td:nth-child(5)::before,.business-history td:nth-child(4)::before{content:'Round ID'}.admin-history td:nth-child(6)::before,.business-history td:nth-child(5)::before{content:'Bet amount'}
  .admin-history td:nth-child(7)::before,.business-history td:nth-child(6)::before{content:'Result amount'}.admin-history td:nth-child(8)::before,.business-history td:nth-child(7)::before{content:'Win / loss'}
  .admin-history td:nth-child(9)::before,.business-history td:nth-child(8)::before{content:'Time · IST'}.admin-history td:nth-child(10)::before{content:'Delivery'}
  .admin-history td:nth-child(11)::before{content:'Actions'}.admin-history td:nth-child(3),.business-history td:nth-child(2),.admin-history td:nth-child(9),.business-history td:nth-child(8),.admin-history td:nth-child(11){grid-column:1/-1}
  .admin-history td:nth-child(11),.admin-history td:nth-child(11) .row{display:flex;align-items:center}.admin-history td:nth-child(11)::before{margin-right:auto}
}

/* Compact application chrome and clear, zero-dependency action affordances. */
.workspace{min-width:0}.nav-spacer{height:30px}.topbar{height:52px;min-height:52px;padding:0 28px;flex-wrap:nowrap}.header-clock{font-size:.8125rem;color:var(--muted);font-variant-numeric:tabular-nums;white-space:nowrap}.top-actions{gap:10px}.account-menu{position:relative}.account-menu summary{list-style:none;display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);font-size:.8125rem;font-weight:600;cursor:pointer;user-select:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:hover,.account-menu[open] summary{background:var(--soft)}.account-menu summary .icon{width:16px;height:16px}.account-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:20;width:164px;padding:6px;border:1px solid var(--line);border-radius:6px;background:var(--surface);box-shadow:var(--shadow)}.account-popover button{width:100%;min-height:34px;justify-content:flex-start;padding:7px 9px;border:0;background:transparent}.account-popover button:hover{background:var(--soft)}.account-popover .icon{width:16px;height:16px}.account-menu-name{padding:6px 9px 9px;margin-bottom:4px;border-bottom:1px solid var(--line);color:var(--muted);font-size:.75rem;overflow-wrap:anywhere}.button-link,.link-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;width:max-content;min-height:34px;padding:6px 10px;border:1px solid var(--line);border-radius:5px;background:var(--surface);color:var(--text);font-size:.8125rem;font-weight:600;line-height:1.2}.button-link:hover,.link-button:hover{background:var(--soft);border-color:var(--muted)}.button-link.compact{min-height:30px;padding:4px 9px}.button-link .icon{width:16px;height:16px}
@media(max-width:1000px){.topbar{height:52px;min-height:52px;padding:0 22px;flex-wrap:nowrap}}
@media(max-width:700px){.topbar{height:48px;min-height:48px;padding:0 16px}.header-clock{font-size:.75rem}.account-menu summary{min-height:32px;padding:5px 8px}.account-menu summary span{display:none}.account-popover button span{display:inline}}
.catalogue-providers table,.catalogue-games table{font-size:.8125rem}.catalogue-providers th,.catalogue-providers td,.catalogue-games th,.catalogue-games td{padding:10px 12px}.catalogue-notes{max-width:320px;color:var(--muted);font-size:.75rem;white-space:normal;line-height:1.35}.catalogue-warning{color:var(--red);font-weight:600}.note-separator{color:var(--line)}.uid-cell{display:flex;align-items:center;gap:5px;white-space:nowrap}.uid-cell .copy{flex:0 0 auto}.rtp-alert{color:var(--red);font-weight:700}.cell-sub.inline{display:inline;margin-left:6px}.catalogue-providers th:nth-child(2),.catalogue-providers td:nth-child(2){width:70px;text-align:right}.catalogue-providers th:nth-child(3){width:145px}.catalogue-providers th:nth-child(5){width:105px}.catalogue-providers th:nth-child(6){width:85px}.catalogue-games th:nth-child(4){width:110px}.catalogue-games th:nth-child(6){width:105px}
@media(max-width:900px){.catalogue-providers{overflow-x:visible}.catalogue-providers table{min-width:0;table-layout:fixed;font-size:.75rem}.catalogue-providers th,.catalogue-providers td{padding:8px 5px}.catalogue-providers th{font-size:.6875rem}.catalogue-providers th:first-child,.catalogue-providers td:first-child{padding-left:9px}.catalogue-providers th:last-child,.catalogue-providers td:last-child{padding-right:9px}.catalogue-providers th:nth-child(1){width:25%}.catalogue-providers th:nth-child(2){width:8%}.catalogue-providers th:nth-child(3){width:13%}.catalogue-providers th:nth-child(4){width:25%;padding-left:9px}.catalogue-providers td:nth-child(4){padding-left:9px}.catalogue-providers th:nth-child(5){width:17%}.catalogue-providers th:nth-child(6){width:12%}.catalogue-providers .provider-icon{display:none}.catalogue-providers .provider-cell{white-space:normal}.catalogue-providers .catalogue-notes,.catalogue-providers td:nth-child(3){overflow-wrap:anywhere}.catalogue-providers button[data-provider]{padding:5px 6px;font-size:.75rem;white-space:nowrap}.catalogue-providers .row{gap:5px}.catalogue-games{overflow:auto}.catalogue-games table{min-width:980px}}
.access-status{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:.75rem;color:var(--muted)}.access-status::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--red)}.access-status.on{color:var(--green)}.access-status.on::before{background:var(--green)}.inline-rate-form{margin:0}.inline-rate-form label{gap:3px;font-weight:500}.rate-label,.access-label{font-size:.6875rem;color:var(--muted);font-weight:500}.inline-rate-fields{display:flex;align-items:center;gap:5px}.inline-rate-fields input{width:78px;min-height:32px;padding:5px 7px;font-size:.8125rem}.inline-rate-fields button{min-height:32px;padding:5px 8px;font-size:.75rem}.rate-stack{display:grid;gap:8px;min-width:145px}.provider-access-bar{display:grid;grid-template-columns:max-content max-content minmax(260px,1fr);align-items:start;gap:24px;padding:14px 22px;border-bottom:1px solid var(--line);background:var(--soft)}.provider-access-bar>div{display:grid;gap:5px}.provider-rate-editor{justify-self:end}.provider-rate-editor .inline-rate-form{display:inline-block;margin-left:8px}.business-catalogue{overflow:auto}.catalogue-providers.business-catalogue table{min-width:1160px;table-layout:auto}.catalogue-games.business-catalogue table{min-width:1080px}.catalogue-providers.business-catalogue th:nth-child(4){width:170px}.catalogue-providers.business-catalogue th:nth-child(5){width:110px}.catalogue-providers.business-catalogue th:nth-child(7){width:105px}.catalogue-providers.business-catalogue th:nth-child(8){width:85px}.catalogue-games.business-catalogue th:nth-child(6){width:110px}.catalogue-games.business-catalogue th:nth-child(7){width:105px}
@media(max-width:700px){.provider-access-bar{grid-template-columns:1fr 1fr;gap:12px;padding:12px 16px}.provider-rate-editor{grid-column:1/-1;justify-self:stretch}.provider-rate-editor .inline-rate-form{display:block;margin:6px 0 0}.inline-rate-fields input{width:92px}}
dialog.support-dialog{width:760px}#support-report-text,#issue-report-text{white-space:pre-wrap;overflow-wrap:anywhere;max-height:55vh;overflow:auto;padding:14px;border:1px solid var(--line);border-radius:5px;background:var(--soft);line-height:1.5}
.domain-alert-row{padding:14px 18px;border-bottom:1px solid var(--line);display:grid;gap:6px;overflow-wrap:anywhere}.domain-alert-row:last-child{border-bottom:0}.domain-alert-row .row{flex-wrap:wrap;gap:8px}.domain-alert-row strong{font-weight:600}
/* Per-business launch observation controls. */
.tracking-controls{padding:20px;margin-bottom:20px}.tracking-controls h2{margin:0}.tracking-controls form{margin:16px 0;align-items:flex-end}.tracking-controls form label{flex:1;max-width:360px}.tracking-controls .switch{flex-shrink:0}

@font-face{font-family:"Roboto Condensed";font-style:normal;font-weight:100 900;font-display:swap;src:url('/panel/fonts/roboto-condensed-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Roboto Condensed";font-style:normal;font-weight:100 900;font-display:swap;src:url('/panel/fonts/roboto-condensed-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{--bg:#fff;--surface:#fff;--soft:#f4f6f7;--text:#202b33;--muted:#596570;--line:#d8dfe3;--accent:#007bb8;--active:#eaf4fa;--bar:#2c3e50;--green:#176439;--green-bg:#eaf6ee;--red:#ae2835;--red-bg:#fff0f1;--amber:#805619;--amber-bg:#fff5df;--shadow:0 4px 16px #18293824}
:root[data-theme=dark]{--bg:#14202b;--surface:#1b2936;--soft:#223442;--text:#edf3f7;--muted:#b2c1cb;--line:#3b4e5d;--accent:#7dcbf4;--active:#29495d;--bar:#263c4d;--green:#9fe2b6;--green-bg:#203e30;--red:#ffb1b9;--red-bg:#422b33;--amber:#f4d198;--amber-bg:#413a2b;--shadow:0 4px 16px #0005}
body{font:14px/1.45 "Roboto Condensed","Arial Narrow",Arial,sans-serif}
button,input,select,textarea,.button-link,.link-button{border-radius:0;font-weight:400}
button{min-height:32px;padding:5px 11px;font-size:14px}
button.primary{background:#007bb8;border-color:#007bb8;color:#fff}
button.primary:hover:not(:disabled){background:#00689d;border-color:#00689d}
input,select,textarea{min-height:36px;padding:6px 8px;min-width:0}
label{font-size:14px;font-weight:400;gap:4px;min-width:0}
small,.small{font-size:12px}
h1{font-size:20px;line-height:1.3;font-weight:400;letter-spacing:0}
h2{font-size:16px;font-weight:400}h3{font-size:15px;font-weight:600}
.shell{grid-template-columns:178px minmax(0,1fr)}
.sidebar{padding:0}
.brand{min-height:48px;font-size:24px;line-height:1;font-weight:700;letter-spacing:.015em}
.sidebar .brand{padding:0 20px;background:#007bb8;color:#fff}
.brand-mark{display:none}.nav-spacer{height:12px}.nav{gap:1px}
.nav a{min-height:40px;padding:10px 16px;border-radius:0;border-left:3px solid transparent;color:var(--text);font-size:14px;font-weight:400}
.nav a.active,.nav a.active:hover{color:#fff;background:var(--bar);border-left-color:#0088cc}
.topbar{height:48px;min-height:48px;padding:0 18px;background:#007bb8;color:#fff;border:0;gap:12px}
.header-clock{font-size:13px;color:#fff}
.top-actions,.row{gap:9px}.icon{width:17px;height:17px}
.copy{min-height:24px;padding:4px}.copy .icon{width:13px;height:13px}
.live,.live.stale{font-size:13px;color:#fff}.dot{background:#94ffc1}.live.stale .dot{background:#ffe5a1}
.account-menu summary{min-height:30px;padding:4px 8px;border:1px solid #ffffff80;border-radius:0;background:transparent;font-size:13px;font-weight:400}
.account-menu summary:hover,.account-menu[open] summary{background:#ffffff18}
.account-menu summary:focus-visible{outline-color:#fff}
.account-popover{top:calc(100% + 5px);width:174px;padding:4px;border-radius:0;color:var(--text)}
.account-popover button{padding:6px 9px}
.content{padding:12px;width:100%;max-width:none}
.page-heading{align-items:center;gap:12px;margin-bottom:12px;padding:7px 10px;min-height:42px;background:var(--bar);color:#fff}
.page-heading>div:first-child{min-width:0;overflow-wrap:anywhere}
.page-heading p,.page-heading .filters label,.page-heading .month-value{color:#fff}
.page-heading :focus-visible{outline-color:#fff}
.page-heading .button-link{flex-shrink:0}
.filters{gap:9px;min-width:0}.filters label{font-size:12px;gap:3px}
.filters input,.filters select{font-size:14px;min-height:32px;padding:4px 7px}
.month-value{min-height:32px;padding:4px 0;font-size:14px}
.dashboard-heading{margin:0 0 7px;font-size:14px;font-weight:400}
.metrics{gap:12px;margin-bottom:14px}
.metric{border-radius:0;padding:12px 14px;min-width:0}
.metric-label{font-size:14px;gap:7px}
.metric-value{font-size:25px;font-weight:500;letter-spacing:0;margin:6px 0 0;overflow-wrap:anywhere}
.card{border-radius:0;margin-bottom:14px;min-width:0}
.card-head{padding:8px 10px;gap:10px;min-height:38px;background:var(--bar);color:#fff}
.card-head .muted{color:#e1eaf0}.card-head :focus-visible{outline-color:#fff}
.bulk-catalogue-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bulk-catalogue-tools>button{min-height:32px;padding:4px 10px}
.bulk-rate-form{display:flex;align-items:center;gap:8px;margin:0;flex-wrap:wrap}
.bulk-rate-form label{font-size:14px;font-weight:400;white-space:nowrap}
.bulk-rate-form input{width:94px;min-height:32px;padding:4px 7px}
.bulk-rate-form button{min-height:32px;padding:4px 10px}
.card-body{padding:14px}
table{font-size:14px}
th{font-size:12px;letter-spacing:0;font-weight:700;color:#fff;background:var(--bar);padding:6px 10px;border-right:1px solid #ffffff26}
td{padding:9px 10px}
th:first-child,td:first-child{padding-left:10px}th:last-child,td:last-child{padding-right:10px}
.provider-cell{gap:8px}.provider-icon{width:27px;height:27px;flex-shrink:0;border-radius:0;font-size:11px;font-weight:500}
.badge{border-radius:0;font-size:12px;padding:2px 5px}
.button-link,.link-button{min-height:30px;padding:4px 9px;font-size:13px;font-weight:400;line-height:1.3}
.button-link.compact{min-height:28px;padding:3px 8px}.button-link .icon{width:15px;height:15px}
.mono{font-size:12px}.cell-sub{font-size:12px;margin-top:2px}
.table-foot{gap:10px;padding:8px 10px;font-size:12px;flex-wrap:wrap}
.pagination{flex-wrap:wrap}.pagination button{min-height:28px;padding:3px 9px;font-size:13px}
.tabs{gap:0;margin-bottom:12px}
.tabs button{padding:8px 14px;background:var(--soft);color:var(--text)}
.tabs button.active{color:#fff;background:var(--bar);border-bottom-color:#0088cc}.tabs button:focus-visible{outline-offset:-3px}
.form-grid{gap:14px}.form-actions{gap:9px;margin-top:15px;flex-wrap:wrap}.stack{gap:13px}
.two-col{gap:14px}.attention-card{max-width:none}
.definition{grid-template-columns:145px minmax(0,1fr);gap:10px;font-size:14px}.definition dd{overflow-wrap:anywhere}
.inline-input{min-height:32px;padding:4px 7px}
.switch{min-height:24px;border-radius:20px;background:#687783}.switch span{box-shadow:none}
.switch[aria-checked=true]{background:#007bb8}.switch:hover:not(:disabled){background:#50606c}.switch[aria-checked=true]:hover:not(:disabled){background:#00689d}
.notice{padding:10px 12px;border-radius:0;font-size:13px;margin-bottom:12px;overflow-wrap:anywhere}
.empty{padding:35px 16px}.empty p{font-size:13px;margin-bottom:12px}
.login-wrap{background:var(--soft);border-top:6px solid #0088cc}
.login-card{width:380px;border-radius:0;padding:26px;box-shadow:none}.login-card .brand{color:var(--accent);margin-bottom:16px}
.login-card p{font-size:13px}.login-card form{margin-top:18px}
dialog{padding:20px;border-radius:0;max-width:calc(100vw - 24px);max-height:90dvh;overflow:auto}
dialog h2{font-size:20px}dialog p{font-size:13px;margin-bottom:15px}
#support-report-text,#issue-report-text{padding:12px;border-radius:0}
#toast{right:18px;bottom:18px;padding:10px 14px;border-radius:0;font-size:14px;z-index:30;max-width:min(430px,calc(100vw - 36px))}
.layout-pad{padding:12px}.report-controls{gap:9px;margin-bottom:9px}.report-controls label{font-size:12px}.report-presets{margin-bottom:12px}
.rate-notes{font-size:13px}.catalogue-providers table,.catalogue-games table{font-size:13px}
.catalogue-providers th,.catalogue-providers td,.catalogue-games th,.catalogue-games td{padding:8px 10px}
.catalogue-notes,.access-status,.rate-label,.access-label{font-size:12px}.rate-label,.access-label{font-weight:400}
.inline-rate-form label{font-weight:400}.inline-rate-fields input,.inline-rate-fields button{min-height:30px;padding:4px 6px;font-size:13px}
.provider-access-bar{gap:20px;padding:12px}
.admin-history table{font-size:13px}.admin-history th,.admin-history td{padding:8px 6px}
.admin-history th:nth-child(1),.admin-history th:nth-child(2){width:8%}
.admin-history th:nth-child(3){width:9%}.admin-history th:nth-child(4),.admin-history th:nth-child(5){width:11%}
.admin-history th:nth-child(6),.admin-history th:nth-child(7){width:7%}.admin-history th:nth-child(8){width:6%}
.admin-history th:nth-child(9){width:12%}.admin-history th:nth-child(10){width:11%}.admin-history th:nth-child(11){width:10%}
.admin-history td:nth-child(11) .row{flex-wrap:wrap;gap:6px}
.admin-history td:nth-child(11) button{white-space:nowrap;flex-shrink:0}
.admin-history .badge{white-space:normal;max-width:100%}
.domain-alert-row{padding:12px;gap:5px}.domain-alert-row .row{flex-wrap:wrap}.domain-alert-row strong{min-width:0;overflow-wrap:anywhere}.tracking-controls{padding:14px}
.tracking-controls form{margin:12px 0;flex-wrap:wrap}

@media(max-width:1000px){
  .shell{grid-template-columns:158px minmax(0,1fr)}.sidebar .brand{padding:0 14px}.nav a{padding:9px 12px}
  .topbar{height:48px;min-height:48px;padding:0 14px}
  .page-heading{flex-direction:row;align-items:center;flex-wrap:wrap}.two-col{gap:0}
}
@media(max-width:900px){
  .catalogue-providers{overflow-x:auto}.catalogue-providers table{min-width:640px;table-layout:auto}
  .catalogue-providers.business-catalogue table{min-width:1160px}
}
@media(max-width:700px){
  .shell{grid-template-columns:minmax(0,1fr)}.sidebar{padding:0;gap:0;min-width:0}.sidebar .brand{min-height:43px;font-size:22px;padding:0 12px}
  .nav{gap:0}.nav a{flex:0 0 auto;min-height:40px;padding:8px 10px;gap:6px;font-size:14px;border-left:0;border-bottom:2px solid transparent;white-space:nowrap}
  .nav a.active{border-bottom-color:#0088cc}.nav .icon{width:15px;height:15px}
  .topbar{height:43px;min-height:43px;padding:0 12px;gap:8px}.header-clock{font-size:12px;white-space:normal}
  .account-menu summary{padding:4px 6px}.content{padding:9px}.page-heading{gap:9px}
  .page-heading .filters{width:100%}.filters label{flex:1 1 130px}.filters input,.filters select{width:100%}
  .metrics{gap:8px}.metric{padding:10px 12px}.metric-value{font-size:24px;margin-top:4px}
  .card-head{flex-wrap:wrap}.card-head input{max-width:100%}.card-body{padding:12px}
  .definition{grid-template-columns:110px minmax(0,1fr)}.form-actions button{min-height:36px}
  .tabs button{padding:8px 11px}.report-controls>*{flex:1 1 130px;min-width:0}.report-controls input,.report-controls select{width:100%}
  .report-presets{flex-wrap:wrap}.provider-access-bar{gap:12px;padding:12px}
  .admin-history tr,.business-history tr{border-radius:0}.admin-history td,.business-history td{font-size:13px}
  .admin-history td::before,.business-history td::before{font-size:12px}
  .admin-history td .copy,.business-history td .copy{justify-self:start;width:auto;min-height:24px}
  .admin-history td:nth-child(11),.admin-history td:nth-child(11) .row{flex-wrap:wrap}
  .tracking-controls{padding:12px}.tracking-controls table{min-width:460px}.tracking-controls>.row{flex-wrap:wrap}
}
/* Upline periods reuse the existing report tables and controls. */
.upline-cutoff{margin:-8px 0 16px}
.upline-pricing{margin-top:16px}
.upline-pricing>summary{cursor:pointer;padding:12px 16px;font-weight:600}
.upline-detail-heading{margin-bottom:18px}
.upline-detail-heading h2{margin:12px 0 4px}
.upline-period{min-width:190px}

.history-search-form{margin:0;flex:1;min-width:260px;max-width:620px}.history-search-fields{display:flex;gap:6px;align-items:center}.history-search-fields input{min-width:0;flex:1}.history-search-fields button{flex-shrink:0}
