/* HC Snooker · Modern Blue Premium. Presentation only; application scripts are unchanged. */
:root:root {
  --bg:#f3f7fd; --surface:#ffffff; --surface-2:#f0f5fd;
  --fg:#14294b; --muted:#607493; --line:#e0e8f5;
  --felt:#2563eb; --felt-2:#1646b5; --felt-ink:#ffffff; --rail:#183f83;
  --run:#2563eb; --run-t:#eaf2ff; --accent:#146cba; --accent-t:#e8f4ff;
  --pause:#94600c; --pause-t:#fff5e2; --stop:#c33e50; --stop-t:#fff0f2;
  --promo:#4367bd; --promo-t:#edf1ff; --gold:#397bf2;
  --sidebar:#fff; --sidebar-ink:#1c355d; --sidebar-muted:#7183a1;
  --paper:#fff; --paper-ink:#17243b;
  --shadow:0 4px 24px rgba(29,68,133,.045); --r:20px;
  --blue-gradient:linear-gradient(135deg,#2f78f5 0%,#215de4 58%,#1943b1 100%);
  --nav-active:#edf3ff; --nav-ink:#215de0; --soft-blue:#eaf2ff;
  --f-display:"Manrope","IBM Plex Sans Thai",system-ui,sans-serif;
  color-scheme:light;
}
:root:root[data-theme="dark"] {
  --bg:#0c1629; --surface:#142139; --surface-2:#1c2d49;
  --fg:#ecf3ff; --muted:#a4b6d3; --line:#2a3c59;
  --felt:#397af3; --felt-2:#2358bc; --felt-ink:#fff; --rail:#40679f;
  --run:#93baff; --run-t:#21395d; --accent:#90ccff; --accent-t:#203b55;
  --pause:#f2ca81; --pause-t:#3d3321; --stop:#ffa8b3; --stop-t:#422a3a;
  --promo:#b4c8ff; --promo-t:#2a365c; --gold:#8bb8ff;
  --sidebar:#111e34; --sidebar-ink:#e7efff; --sidebar-muted:#91a6c6;
  --nav-active:#223d68; --nav-ink:#c1d7ff; --soft-blue:#21395d;
  --shadow:0 4px 24px rgba(0,6,20,.14); color-scheme:dark;
}
body {background:var(--bg);font-size:14px;letter-spacing:0}
::selection {background:#cde0ff;color:#133b83}
button {transition:background .18s,border-color .18s,box-shadow .18s,transform .18s}
button:not(:disabled):hover {filter:none}
button:focus-visible,input:focus-visible,select:focus-visible {outline:3px solid var(--gold);outline-offset:3px}
header.app {background:var(--sidebar);border-right:1px solid var(--line);box-shadow:4px 0 30px rgba(28,63,122,.02);padding-top:28px}
.hrow {padding-bottom:25px}
.brand b {font-size:17px;letter-spacing:-.035em;color:var(--sidebar-ink)}
.brand small {color:var(--sidebar-muted);font-size:11px}
.brand .mark {background:var(--blue-gradient);color:#fff;border-radius:13px;width:42px;height:44px;box-shadow:0 5px 13px #2563eb25}
.brand .mark:not(.has-logo)::before {font-size:19px;letter-spacing:-.07em}
.brand .mark.has-logo {background:#fff;box-shadow:0 2px 8px #1c4da118;border:1px solid var(--line)}
.nav-label {color:var(--sidebar-muted);font-size:9px;letter-spacing:.15em;padding-top:18px}
.tabs {gap:7px}
.tabs button {color:var(--muted);border-radius:12px;padding:13px 14px;min-height:47px;font-size:13px;gap:12px}
.tabs button[aria-selected="true"] {background:var(--nav-active);color:var(--nav-ink);font-weight:700;box-shadow:inset 3px 0 0 #397bf2}
.tabs button[aria-selected="true"]::after {background:#397bf2;width:6px;height:6px}
.tabs button:not([aria-selected="true"]):hover {background:var(--surface-2);color:var(--fg)}
.tabs .tb {background:var(--soft-blue);color:var(--nav-ink)}
.sidebar-bottom {padding:24px 4px 0}
.club-plaque {background:var(--surface-2);border:1px solid var(--line);border-radius:16px;padding:18px}
.club-plaque svg {color:var(--felt);width:26px;height:26px}
.club-plaque b {font-size:12px;font-weight:700;letter-spacing:.05em;color:var(--sidebar-ink);line-height:1.6}
.club-plaque small,.sidebar-sign {color:var(--sidebar-muted)}
.sidebar-sign {font-size:8px;letter-spacing:.08em;margin-top:17px}
.topbar {height:78px;background:var(--surface);border-bottom:1px solid var(--line)}
.topbar-path {font-size:12px}.topbar-path svg {color:var(--felt)}
.topbar-path b {font-weight:600}.topbar-path .slash {color:var(--muted)}
.clock {font-size:16px;font-weight:650;letter-spacing:.015em}
.theme-btn {border-radius:11px;width:36px;height:36px;background:var(--surface-2)}
.theme-btn:hover {border-color:#a8c7ff;color:var(--felt)}
.uchip .av {background:var(--soft-blue);color:var(--nav-ink);border:1px solid var(--line);border-radius:12px}
.mode-badge {color:var(--muted)}
main {padding-top:28px}
.dashboard-head {margin-bottom:23px;align-items:center}
.sthead {gap:17px;min-width:0}
.dashboard-title h1 {font-size:28px;line-height:1.4;font-weight:750;letter-spacing:-.035em;margin:0 0 4px}
.dashboard-title p {color:var(--muted);font-size:12px;margin:0;line-height:1.7}
:root:root .stcard.prncard {width:56px;height:56px;flex:none;padding:6px;border-radius:15px!important;background:var(--surface)!important;border:1px solid var(--line)!important;box-shadow:var(--shadow)!important;filter:none}
:root:root .stcard.prncard:hover {border-color:#93b7ff!important;background:var(--surface-2)!important;box-shadow:0 4px 16px #2563eb14!important;filter:none}
:root:root .prncard .prn {width:43px;height:43px}
.date-chip {border-radius:11px;background:var(--surface);padding:10px 13px;font-size:12px}
.btn {border-radius:11px;min-height:42px;font-size:13px;font-weight:600;background:var(--surface);border-color:var(--line)}
.btn:hover {border-color:#9ebbf0;background:var(--surface-2)}
.btn.primary {background:var(--blue-gradient);color:#fff;border-color:#2563eb;box-shadow:0 4px 12px #2563eb20}
.btn.primary:hover {background:linear-gradient(135deg,#236ce9,#1949c5);box-shadow:0 6px 16px #2563eb32}
.btn.sm {min-height:34px;border-radius:9px;font-size:12px}
#dashboardBook {min-height:46px;padding:0 18px;font-size:14px;border-radius:12px;gap:8px}
#dashboardBook svg {width:20px;height:20px;flex:none}
.strip {gap:16px;margin-bottom:24px}
.stat {padding:21px 21px 19px;border-radius:19px;border-color:var(--line);box-shadow:var(--shadow);gap:17px}
.stat .k {font-size:12px;font-weight:500;color:var(--muted)}
.stat-icon {width:35px;height:35px;border-radius:11px;background:var(--soft-blue);color:var(--nav-ink)}
.stat-icon svg {width:18px;height:18px}
.stat .v {font-size:clamp(26px,2.3vw,34px);font-weight:750;letter-spacing:-.045em}
.stat .stat-foot {font-size:11px}
.stat.revenue {background:linear-gradient(135deg,#153260,#1c4895);border-color:#234d94;box-shadow:0 8px 24px #163c8220}
.stat.revenue .k,.stat.revenue .stat-foot,.stat.revenue .rvl span {color:#c6d9fb}
.stat.revenue .stat-icon {background:#ffffff17;color:#e5efff}
.stat.revenue .v,.stat.revenue .rvl b {color:#fff}
.stat.revenue .rvl {border-color:#ffffff22;font-size:12px;padding-top:9px;margin-top:9px}
.stat.revenue .stat-foot .dot {background:#a7cbff}
.opsrow {padding-block:9px}.opsrow>span small {font-size:12px}.opsrow em {font-size:10px}.opsrow>b {font-size:22px}
:root:root .stat.posc {background:var(--blue-gradient);border:1px solid #2963e5;box-shadow:0 7px 23px #2563eb20;text-shadow:none;animation:none}
.stat.posc .k {font-size:12px}.stat.posc .stat-foot {color:#e1ecff!important}
.stat.posc .stat-icon {background:#ffffff1c!important;border-color:#ffffff25;color:#fff!important}
.stat.posc::after {display:none}.stat.posc .stat-head {padding-right:0}
.stat .posgo {border-radius:11px;background:#fff;color:#225bd3;box-shadow:0 4px 10px #0a2f891a;min-height:42px;font-size:13px;margin-top:auto}
.stat .posgo:hover {background:#edf4ff;filter:none}
:root:root #posBar .posbar {background:var(--blue-gradient);border:1px solid #3275ef;box-shadow:0 7px 24px #2563eb20;text-shadow:none;border-radius:18px}
#posBar .posbar-ic {background:#ffffff1f;color:#fff;border-color:#ffffff33;box-shadow:none;transform:none}
:root:root #posBar .posbar-go {color:#225bd3;box-shadow:none;border-radius:11px!important}
.table-section {padding:23px;border-radius:21px;box-shadow:var(--shadow);border-color:var(--line)}
.section-heading {margin-bottom:21px}.section-heading h2 {font-size:18px;font-weight:700}
.count-label {background:var(--surface-2);border:0;color:var(--muted);padding:4px 8px;font-size:10px;border-radius:7px}
.occupancy {font-size:11px}.occupancy-track {height:6px;background:var(--soft-blue)}
.occupancy-track i {background:linear-gradient(90deg,#79acff,#2563eb)}
.table-toolbar {margin-bottom:21px}
.table-filters {gap:5px}.table-filters button {min-height:36px;border-radius:10px;font-size:12px;padding:7px 12px}
.table-filters button[aria-pressed="true"] {background:var(--soft-blue);color:var(--nav-ink)}
.table-filters button:not([aria-pressed="true"]):hover {background:var(--surface-2);color:var(--fg)}
.search-field {background:var(--surface-2);border-color:transparent;border-radius:11px;width:190px}
.search-field input[type=text] {font-size:12px;min-height:36px}
.search-field:focus-within {border-color:#7faeff;box-shadow:0 0 0 3px #2563eb10}
.grid {gap:18px}
.grid .tcard {background:var(--surface);border:1px solid var(--line);border-radius:17px;box-shadow:0 3px 13px #173c7605;transform:none}
.grid .tcard:hover {border-color:#a6c4f7;box-shadow:0 7px 22px #1e4e9610}
.grid .tcard.running,.grid .tcard.running:hover {border:1px solid #82adfa;box-shadow:0 4px 18px #2563eb13;transform:none}
.grid .tcard.paused {border-color:#e6cf9e}.grid .tcard.booked {border-color:#b3c9f1}
.grid .tcard .felt {margin:0;border:0;border-radius:16px 16px 0 0;padding:18px 17px 16px;background:var(--surface-2);color:var(--fg);gap:8px}
.grid .tcard.running .felt,:root[data-theme="dark"] .grid .tcard.running .felt {background:var(--blue-gradient);color:#fff;border-radius:16px 16px 0 0}
.grid .tcard.paused .felt {background:var(--pause-t)}
.grid .tcard.booked .felt {background:var(--accent-t)}
.grid .tcard.running .felt::after {display:none}
.grid .tcard .tname {font-size:14px;gap:9px;color:var(--fg)}
:root:root .grid .tcard.running .tname,:root:root .grid .tcard.paused .tname {font-size:14px;gap:9px}
:root:root .grid .tcard.running .tname {color:#fff}
:root:root .grid .tcard.paused .tname {color:var(--fg)}
:root:root .grid .tcard .ball {background:var(--felt)!important;color:#fff!important;width:29px;height:29px;border-radius:10px;box-shadow:none;border:0;opacity:1}
:root:root .grid .tcard .ball span {font-size:13px;font-weight:750;color:inherit}
:root:root .grid .tcard.running .ball {background:#fff!important;color:#215de0!important;width:29px;height:29px;box-shadow:none}
:root:root .grid .tcard.running .ball span,:root:root .grid .tcard.paused .ball span {font-size:13px}
:root:root .grid .tcard.paused .ball {background:#94600c!important;color:#fff!important;width:29px;height:29px;box-shadow:none}
.grid .tcard .timer {font-size:34px;font-weight:700;letter-spacing:-.03em;margin-top:8px;line-height:1.2;text-shadow:none}
.grid .tcard .timer.idle {opacity:.38}
.grid .tcard .fmeta {font-size:11px;opacity:.85;max-width:100%;min-height:34px;padding-right:99px;line-height:1.6}
.grid .tcard .pill {font-size:10px;font-weight:600;padding:4px 8px;background:var(--soft-blue);color:var(--nav-ink)}
.grid .tcard.running .pill.running,:root[data-theme="dark"] .grid .tcard.running .pill.running {background:#ffffff26;color:#fff;font-size:10px;padding:4px 8px;border:1px solid #ffffff22}
.grid .tcard.running .pill.running::before {background:#fff;animation:none;box-shadow:none;width:5px;height:5px}
.grid .tcard.paused .pill {background:#f2e3c1;color:#7c520c}.grid .tcard.booked .pill {background:var(--soft-blue);color:var(--nav-ink)}
.grid .tcard .tbody {padding:16px 17px 0;font-size:12px;gap:9px;background:none}
.grid .tcard .tbody .kv b {font-size:12px;font-weight:600}
.grid .tcard.running .tbody {background:linear-gradient(180deg,var(--soft-blue),transparent 85%)}
.grid .tcard .kv.total {padding-top:12px;margin-top:2px;border-top:1px solid var(--line)}
.grid .tcard .kv.total>span:first-child {font-size:12px;font-weight:600}
.grid .tcard .kv.total span[data-tot],.grid .tcard.running .kv.total span[data-tot] {font-size:22px;font-weight:750;color:var(--fg)}
:root:root .grid .tcard .actions.a3 {gap:7px;padding:15px 13px 13px}
:root:root .grid .tcard .actions.a3 .ibtn {min-height:53px;font-size:11px;font-weight:600;border:1px solid var(--line);border-radius:11px;gap:5px;padding:9px 3px 7px;background:var(--surface)!important;color:var(--muted)}
:root:root .grid .tcard .actions.a3 .ibtn svg {width:21px;height:21px;stroke-width:1.8}
:root:root .grid .tcard .actions.a3 .ibtn.start:not(:disabled) {background:var(--blue-gradient)!important;color:#fff;border-color:#2563eb}
:root:root .grid .tcard .actions.a3 .ibtn.drink:not(:disabled) {background:var(--accent-t)!important;color:var(--accent);border-color:var(--line)}
:root:root .grid .tcard .actions.a3 .ibtn.stop:not(:disabled) {background:var(--soft-blue)!important;color:var(--nav-ink);border-color:var(--line)}
:root:root .grid .tcard .actions.a3 .ibtn:not(:disabled):hover {box-shadow:0 3px 10px #2563eb1c;border-color:#84aef2}
.grid .tcard .ibtn:disabled {opacity:.36;filter:none;cursor:not-allowed}
.grid .tcard .table-art.real {width:100px;height:67px;right:10px;bottom:13px;opacity:.8;filter:drop-shadow(0 4px 5px #183f8320);animation:none}
.grid .tcard.running .table-art.real {opacity:.95}
.table-art.real .snk-felt {fill:url(#snkFeltB)}.table-art.real .snk-cush {fill:#153e81}
.grid .tcard.promo .table-art {animation:none;filter:none}
.promo-badge {background:var(--promo-t);color:var(--promo);box-shadow:none;border:1px solid var(--line)}
.dashboard-bottom {gap:18px;margin-top:22px}
.insight-panel {padding:21px 23px;border-radius:19px;box-shadow:var(--shadow)}
.insight-head h2 {font-size:15px;font-weight:650}.text-link {font-size:11px;color:var(--nav-ink)}
.insight-row {font-size:12px;padding:12px 0}.insight-symbol {background:var(--soft-blue);color:var(--nav-ink);border-radius:10px}
.insight-text small {font-size:10px}.insight-amount {font-size:13px}.insight-empty {font-size:12px;padding:18px 0}
.dashboard-footer {color:var(--muted);gap:8px}#ruleNote {font-size:11px;line-height:1.8}
.panel,.tile,.shift,.tablewrap,.tcard2,.pcard {border-color:var(--line);border-radius:18px;box-shadow:var(--shadow)}
.panel {padding:24px}.panel h2 {font-size:18px}
input[type=text],input[type=number],input[type=password],input[type=email],input[type=date],input[type=month],input[type=time],select {background:var(--surface);border-color:var(--line);border-radius:11px;min-height:42px;font-size:14px}
input:focus,select:focus {border-color:#84aef2}
.seg {border-color:var(--line);background:var(--surface-2);border-radius:12px;gap:3px}
.seg button {border-radius:9px;font-size:13px;min-height:35px}
.seg button[aria-pressed="true"] {background:var(--felt);color:#fff}
.sheet {border-radius:24px;border-color:var(--line);box-shadow:0 28px 90px #0e285c38;padding:25px}
.shead {padding-bottom:14px;margin-bottom:4px}.shead h2 {font-size:21px}
.overlay {background:#0b204a82;backdrop-filter:blur(7px)}
.sum-hero,:root[data-theme="dark"] .sum-hero,.bk-sum {background:var(--blue-gradient);box-shadow:0 8px 24px #2563eb18}
.sum-hero .sh-ball,.bk-sum .sh-ball {color:#225bd3}
.accbar i {background:linear-gradient(90deg,#3d7ff4,#8cbbff)}
.acc-earn,.champ,.prize.p1 {background:var(--soft-blue);color:var(--nav-ink);border-color:var(--line)}
.stc-ic,.stcard-play {background:var(--blue-gradient);color:#fff;box-shadow:none}
.tourcard.open,.tourcard.run {background:linear-gradient(150deg,var(--soft-blue),var(--surface));border-color:var(--line)}
.tc-ic {background:var(--soft-blue);color:var(--nav-ink)}
.pill.run {background:var(--soft-blue);color:var(--nav-ink)}.tside.win {background:var(--felt);border-color:var(--felt)}
.grid .tcard.poscard {border-color:#96b8f1}.grid .tcard.poscard .felt {background:var(--blue-gradient)}
:root:root .grid .tcard.poscard .ball.posball {background:#fff!important;color:#225bd3!important}
.grid .tcard.poscard .pill.posp {background:#ffffff26;color:#fff}
:root:root .grid .tcard.poscard .posgo {background:var(--blue-gradient)!important;color:#fff;border-color:#2563eb}
.evrow {font-size:12px;padding:12px 2px}.evf button {border-radius:9px;font-size:11px;padding:6px 10px}
.evrow .evt,.evrow .evby {font-size:11px}
.login {background-color:var(--bg);background-image:radial-gradient(ellipse at 0 0,#a6c8ff55,transparent 52%),radial-gradient(ellipse at 100% 100%,#d4e4ff88,transparent 52%)}
.login::before {color:#2563eb04;bottom:-6%;right:3%;font-size:44vw}
.lcard {border-radius:26px;border:1px solid var(--line);padding:32px;box-shadow:0 20px 70px #17489415;gap:19px}
.lcard .brand b {color:var(--fg)}.lcard .brand small {color:var(--muted)}
.lhead {padding-bottom:23px}.lcard .btn.primary {min-height:46px}
.ubtn {background:var(--surface);border-color:var(--line);border-radius:13px;padding:15px}
.ubtn[aria-pressed="true"] {border-color:var(--felt);background:var(--soft-blue);box-shadow:0 0 0 3px #2563eb0a}
.keypad button {border-radius:12px;min-height:55px;background:var(--surface-2)}
.keypad button:hover {background:var(--soft-blue)}.pindots i.on {background:var(--felt);border-color:var(--felt)}
.toast {background:#193e80;color:#fff;border:1px solid #397bf255;box-shadow:0 7px 25px #0c2b6526}
/* Keep the optional dark mode in the same blue palette. */
:root[data-theme="dark"] .grid .tcard.running {background:var(--surface);border-color:#426fae;box-shadow:0 4px 18px #00000022}
:root[data-theme="dark"] .grid .tcard .tname {color:var(--fg)}
:root[data-theme="dark"] .grid .tcard.running .tbody {background:linear-gradient(180deg,var(--soft-blue),transparent 85%);font-size:12px}
:root[data-theme="dark"] .grid .tcard.running .tbody .kv>span:first-child,:root[data-theme="dark"] .grid .tcard.running .drow>span:first-child {color:var(--muted);font-size:12px}
:root[data-theme="dark"] .grid .tcard.running .tbody .kv b,:root[data-theme="dark"] .grid .tcard.running .drow b {color:var(--fg);font-size:12px}
:root[data-theme="dark"] .grid .tcard.running .kv.total {border-color:var(--line)}
:root[data-theme="dark"] .grid .tcard.running .kv.total>span:first-child {color:var(--fg);font-size:12px}
:root[data-theme="dark"] .grid .tcard.running .kv.total span[data-tot] {color:var(--fg);font-size:22px}
:root[data-theme="dark"] .grid .tcard.running .chip {color:var(--nav-ink);background:var(--soft-blue);border-color:var(--line)}
:root[data-theme="dark"] .grid .tcard.running .drow:hover {background:var(--surface-2)}
:root:root[data-theme="dark"] .grid .tcard .actions.a3 .ibtn.stop:not(:disabled):hover {background:var(--soft-blue)!important}
:root[data-theme="dark"] .login {background-image:radial-gradient(ellipse at 0 0,#295bc333,transparent 60%)}
@media(min-width:1700px) {.grid .tcard .timer{font-size:38px}.grid .tcard .table-art.real{width:114px;height:76px}}
@media(max-width:1250px) {.topbar{padding-inline:24px}.stat{padding:18px 16px}.grid{gap:14px}.table-section{padding:19px}.grid .tcard .felt{padding:16px 13px 14px}.grid .tcard .tbody{padding:14px 13px 0}.grid .tcard .table-art.real{width:78px;height:55px;right:4px;bottom:10px}.grid .tcard .fmeta{font-size:10px;padding-right:75px}.grid .tcard .timer{font-size:32px}.table-filters button{padding:7px 9px;font-size:11px}}
@media(max-width:1050px) {.stat .v{font-size:30px}.grid .tcard .table-art.real{width:95px;height:64px}.table-toolbar{flex-wrap:wrap}.search-field{width:100%}.dashboard-title h1{font-size:25px}}
@media(max-width:900px) {
  header.app{padding:15px 16px 0;gap:13px;border-right:0;border-bottom:1px solid var(--line);box-shadow:0 3px 16px #1b4a8a05}
  .hrow{padding:0}.brand .mark{width:36px;height:38px;border-radius:11px}.brand .mark:not(.has-logo)::before{font-size:17px}.brand b{font-size:16px}.brand small{font-size:10px}
  .tabs{gap:5px;padding-bottom:10px}.tabs button{min-height:38px;padding:8px 11px;font-size:11px;border-radius:10px;gap:7px}.tabs button[aria-selected="true"]{box-shadow:none}
  .topbar{height:58px;padding-inline:18px}.topbar-path{font-size:10px}.clock{font-size:13px}.theme-btn{width:30px;height:30px;border-radius:9px}
  main{padding:22px 16px 30px}.dashboard-head{margin-bottom:21px;gap:10px}.sthead{gap:10px}.dashboard-title h1{font-size:24px}.dashboard-title p{font-size:11px}
  :root:root .stcard.prncard{width:45px;height:45px;border-radius:12px!important}:root:root .prncard .prn{width:34px;height:34px}
  .strip{gap:12px;margin-bottom:21px}.stat{padding:18px;gap:14px}.stat .v{font-size:30px}.stat-icon{width:31px;height:31px}.stat .k{font-size:12px}.stat .stat-foot{font-size:10px}
  .table-section{padding:18px 14px;border-radius:18px}.table-toolbar{gap:12px;margin-bottom:18px}.table-filters button{font-size:11px;padding:6px 10px}.section-heading h2{font-size:16px}.occupancy{font-size:10px}
  .grid{gap:14px}.grid .tcard .timer{font-size:32px}.grid .tcard .felt{padding:16px 14px 14px}.grid .tcard .tbody{padding:14px 14px 0}.grid .tcard .table-art.real{width:86px;height:58px;right:8px;bottom:11px}
  .dashboard-bottom{gap:14px}.insight-panel{padding:18px}.insight-head h2{font-size:14px}.panel{padding:20px}.sheet{padding:21px}
}
@media(max-width:520px) {
  main{padding-inline:13px}.dashboard-head{align-items:center}.dashboard-title h1{font-size:22px}.dashboard-title p{max-width:185px;font-size:10px}.sthead{gap:7px}
  #dashboardBook{width:42px;height:42px;min-height:42px;padding:10px;border-radius:12px;gap:0}#dashboardBook svg{width:21px;height:21px;flex:none}:root:root .stcard.prncard{width:39px;height:39px}:root:root .prncard .prn{width:29px;height:29px}
  .stat{padding:16px 13px;border-radius:16px;gap:14px}.stat .v{font-size:27px}.stat .k{font-size:11px}.stat-icon{width:27px;height:27px;border-radius:9px}.stat-icon svg{width:15px;height:15px}.stat.revenue .rvl{font-size:11px}.opsrow>span small{font-size:11px}.opsrow>b{font-size:20px}.opsrow em{font-size:9px}.stat .posgo,.stat .memgo{font-size:11px;min-height:39px;gap:5px}.stat .posgo svg,.stat .memgo svg{width:15px;height:15px}.stat .stat-foot{font-size:9px;gap:4px}
  .table-section{padding:17px 12px}.table-filters{gap:3px}.table-filters button{font-size:10px;padding:6px 7px;gap:4px}.table-filters button span{font-size:9px}.occupancy{gap:6px}.count-label{font-size:9px;padding:4px 5px}.section-heading h2{gap:6px;font-size:15px}
  .grid{grid-template-columns:1fr;gap:16px}.grid .tcard .felt{padding:18px}.grid .tcard .timer{font-size:39px;margin-top:9px}.grid .tcard .fmeta{font-size:11px;padding-right:108px}.grid .tcard .table-art.real{width:110px;height:73px;right:13px;bottom:15px}
  .grid .tcard .tbody{padding:17px 18px 0}.grid .tcard .tbody .kv b{font-size:13px}.grid .tcard .kv.total span[data-tot]{font-size:24px}
  :root:root .grid .tcard .actions.a3{padding:17px 14px 14px;gap:8px}:root:root .grid .tcard .actions.a3 .ibtn{font-size:12px;min-height:56px}:root:root .grid .tcard .actions.a3 .ibtn svg{width:22px;height:22px}
  .dashboard-bottom{grid-template-columns:1fr}.insight-panel{padding:18px}.insight-head h2{font-size:14px}.text-link{font-size:10px}.lcard{padding:25px;border-radius:23px}.dashboard-footer{padding-inline:3px}
  .rhead{justify-content:flex-start;width:100%}.rrange{flex-wrap:wrap;width:100%}.rhead .seg{flex-wrap:wrap}.rhead input[type=date],.rhead input[type=month],.rhead select{max-width:100%;min-width:0}.rhead .rrange input{flex:1;width:0;min-width:120px}.row.between{gap:13px}
}
@media(prefers-reduced-motion:reduce) {*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}
@media print {html,body{background:#fff!important}.slip{box-shadow:none!important}}

/* Selected design: navy navigation, white workspace, solid blue actions. */
:root:root {
  --sidebar:#102746;--sidebar-ink:#f4f8ff;--sidebar-muted:#afc2dd;
  --nav-active:#2563eb;--nav-ink:#215de0;
  --blue-gradient:linear-gradient(135deg,#2563eb,#2563eb);
}
:root:root[data-theme="dark"] {
  --sidebar:#102039;--sidebar-ink:#f1f6ff;--sidebar-muted:#adc0dd;
  --nav-active:#2b61cc;--nav-ink:#c1d7ff;
}
header.app {border-right-color:#ffffff08;box-shadow:none}
header.app .brand b {color:var(--sidebar-ink);font-size:16px}
header.app .brand small {color:var(--sidebar-muted);font-size:10px}
header.app .brand .mark {border:1px solid #5489f566;box-shadow:none}
.nav-label {color:var(--sidebar-muted)}
.tabs button {color:#bccce2;font-size:13px}
.tabs button[aria-selected="true"] {background:var(--nav-active);color:#fff;box-shadow:0 5px 15px #00163222;font-weight:600}
.tabs button[aria-selected="true"]::after {background:#c4daff}
.tabs button:not([aria-selected="true"]):hover {background:#ffffff0c;color:#fff}
.tabs .tb {background:#ffffff20;color:#fff}
.club-plaque {background:#1b385e;border-color:#4c688d50}
.club-plaque svg {color:#9cc1ff}
.club-plaque b {color:#eaf2ff}
.club-plaque small,.sidebar-sign {color:var(--sidebar-muted)}
.stat.revenue {background:#102746;border-color:#102746}
.stat.revenue .rvl span {color:#bdd1ee}
:root:root .stat.posc {background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow);text-shadow:none;animation:none}
:root:root .stat.posc .k {color:var(--muted)!important;font-weight:500}
:root:root .stat.posc .v {color:var(--fg)!important}
:root:root .stat.posc .stat-foot {color:var(--muted)!important}
:root:root .stat.posc .stat-icon {background:var(--soft-blue)!important;color:var(--felt)!important;border:0}
.stat .posgo {background:var(--blue-gradient);color:#fff;border:1px solid #2563eb;box-shadow:0 4px 12px #2563eb18}
.stat .posgo:hover {background:#1d4ed8;color:#fff}
.dashboard-head {margin-bottom:20px}
.dashboard-title p {font-size:12px}
.start-time-card {
  width:100%;display:flex;align-items:center;gap:17px;text-align:left;
  padding:18px 22px;min-height:95px;margin:0 0 21px;border:1px solid var(--line);
  border-radius:19px;background:var(--surface);color:var(--fg);box-shadow:var(--shadow);
  font:inherit;transition:border-color .18s,box-shadow .18s;
}
.start-time-card:hover {background:var(--surface);border-color:#9cbcf5;box-shadow:0 6px 22px #1d4e9510}
.start-time-clock {width:51px;height:51px;color:var(--felt);opacity:.58;flex:none;background:transparent;fill:none}
.start-time-copy {display:grid;gap:4px;flex:1;min-width:0}
.start-time-title {font-size:16px;font-weight:600;color:var(--fg);letter-spacing:-.015em}
.start-time-note {font-size:12px;font-weight:400;color:var(--muted)}
.start-time-open {display:inline-flex;align-items:center;gap:9px;padding:9px 12px;border-radius:10px;
  background:var(--surface-2);color:var(--felt);font-size:12px;font-weight:500;flex:none}
.start-time-open svg {width:15px;height:15px}
/* The clock is an outline without an opaque icon tile. */
.start-time-card svg {fill:none}
.btn.primary:hover {background:#1d4ed8}
.pill.running {font-weight:500}
@media(max-width:900px) {
  header.app {border-bottom-color:#ffffff10}
  .tabs button[aria-selected="true"] {box-shadow:none}
  .start-time-card {min-height:88px;padding:17px 18px;gap:13px;margin-bottom:20px;border-radius:17px}
  .start-time-clock {width:43px;height:43px}
  .start-time-title {font-size:15px}
  .start-time-note {font-size:11px}
  .start-time-open {font-size:11px;padding:8px 10px;gap:6px}
}
@media(max-width:520px) {
  .start-time-card {padding:16px 14px;gap:11px;min-height:86px;margin-bottom:18px}
  .start-time-clock {width:39px;height:39px;opacity:.55}
  .start-time-title {font-size:14px}
  .start-time-note {font-size:11px;line-height:1.6;max-width:185px}
  .start-time-open {font-size:0;gap:0;padding:9px;background:var(--surface-2)}
  .start-time-open svg {width:16px;height:16px}
}
