/* Pitchsparrow · turf booking. Dark first ("floodlit night"), light theme on request.
   Type: Lexend for the interface, Anton for scoreboard numerals and times.
   Space: 4 px base (4 8 12 16 20 24 32 40 56). Radius: 4 cells and tags, 8 controls, 12 panels.
   One floating shadow for menus, windows and toasts; everything else uses borders and surface steps. */

:root {
  --f-ui: "Lexend", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --f-num: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", "Arial Narrow", sans-serif;
  --r1: 4px; --r2: 8px; --r3: 12px;
  --t1: 140ms; --t2: 200ms; --ease: cubic-bezier(.2, .7, .2, 1);
  --top-h: 64px; --tab-h: 64px;
  --pitch: #0F3D2E; --chalk: #F5F7F2; --whistle: #FF7A45;
  --board: #04100B;
  --toast-b: 16px;
}
:root, [data-theme="dark"] {
  color-scheme: dark;
  --bg: #06110D; --bg-2: #08160F; --inp: #050F0B;
  --sf: #0B1C15; --sf-2: #10261C; --sf-3: #163225;
  --line: rgba(245, 247, 242, .09); --line-2: rgba(245, 247, 242, .16); --chalkline: rgba(245, 247, 242, .34);
  --ink: #F5F7F2; --ink-2: #BCC8C0; --ink-3: #8E9E94; --ink-4: #5F7066;
  --acc: #FF7A45; --acc-h: #FF905F; --acc-ink: #1B0C04;
  --sel: #F5F7F2; --sel-ink: #0B1C15;
  --ok: #6DD39A; --ok-bg: rgba(109, 211, 154, .14);
  --warn: #F1C453; --warn-bg: rgba(241, 196, 83, .14);
  --bad: #F4848C; --bad-bg: rgba(244, 132, 140, .14);
  --info: #8CC2F4; --info-bg: rgba(140, 194, 244, .14);
  --off: #0D2219; --peak: #183D2D; --member: #1B4A36; --member-ink: #E9F2EC;
  --b-dawn: #20384A; --b-day: #1A3328; --b-peak: #3C7558; --b-late: #222B48;
  --lake: #12303B; --lake-t: #7FA9B8;
  --shadow: 0 18px 48px rgba(0, 0, 0, .5), 0 2px 6px rgba(0, 0, 0, .35);
  --scrim: rgba(1, 6, 4, .7);
  --toast: #F5F7F2; --toast-ink: #0B1C15;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BCC8C0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
}
[data-theme="light"] {
  color-scheme: light;
  --bg: #F3F5EF; --bg-2: #ECF0E8; --inp: #FFFFFF;
  --sf: #FFFFFF; --sf-2: #F0F3ED; --sf-3: #E3E9E1;
  --line: rgba(15, 61, 46, .12); --line-2: rgba(15, 61, 46, .2); --chalkline: rgba(15, 61, 46, .42);
  --ink: #0C1A14; --ink-2: #364A40; --ink-3: #56685E; --ink-4: #8A998F;
  --acc: #FF7A45; --acc-h: #FF6830; --acc-ink: #1B0C04;
  --sel: #0F3D2E; --sel-ink: #F5F7F2;
  --ok: #177A47; --ok-bg: #E0F2E6;
  --warn: #855800; --warn-bg: #FAEFCF;
  --bad: #B3303B; --bad-bg: #FBE5E6;
  --info: #22609E; --info-bg: #E2EDF9;
  --off: #FFFFFF; --peak: #E2EEE3; --member: #0F3D2E; --member-ink: #F5F7F2;
  --b-dawn: #D6E5EF; --b-day: #E9EEE6; --b-peak: #A9CDB5; --b-late: #D9DCEF;
  --lake: #D3E5EC; --lake-t: #3D6E80;
  --shadow: 0 18px 44px rgba(12, 26, 20, .16), 0 2px 6px rgba(12, 26, 20, .08);
  --scrim: rgba(12, 26, 20, .42);
  --toast: #0F3D2E; --toast-ink: #F5F7F2;
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23364A40' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
}

/* ── base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 14px/20px var(--f-ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; min-height: 100vh; }
body.modal-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
img, svg { display: block; }
table { border-collapse: collapse; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--sel); color: var(--sel-ink); }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r2); }
.muted { color: var(--ink-3); }
.sm { font-size: 13px; line-height: 18px; }
.num { font-variant-numeric: tabular-nums; text-align: right; }
.show-ph { display: none !important; }
kbd { display: inline-flex; align-items: center; font: 500 11px/16px var(--f-ui); padding: 1px 6px; border-radius: var(--r1); border: 1px solid var(--line-2); background: var(--sf-2); color: var(--ink-2); }
code { font-family: var(--f-ui); }
.eyebrow { font: 500 12px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.eyebrow .ic { width: 14px; height: 14px; }
.t-bad-t { color: var(--bad) !important; }
.t-ok-t { color: var(--ok) !important; }

/* ── scoreboard numerals */
span.sb { font-size: var(--sb); }
.sb { --sb: 26px; display: inline-flex; align-items: stretch; gap: 2px; font: 400 var(--sb)/1 var(--f-num); letter-spacing: 0; vertical-align: middle; }
.sb b { position: relative; font-weight: 400; min-width: .66em; padding: .16em .1em .12em; text-align: center; background: var(--board); color: #F5F7F2; border-radius: 3px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), inset 0 -1px 0 rgba(0, 0, 0, .5); }
.sb b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0, 0, 0, .55); }
.sb i { font-style: normal; display: flex; align-items: center; padding: 0 1px; color: var(--ink-3); }
.sb i.sp { width: .2em; }

/* ── buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf-2); color: var(--ink); font: 500 14px/1 var(--f-ui); white-space: nowrap; text-decoration: none; transition: background var(--t1) var(--ease), border-color var(--t1) var(--ease), color var(--t1), transform var(--t1); }
.btn:hover { background: var(--sf-3); border-color: var(--chalkline); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .48; cursor: not-allowed; transform: none; }
.btn .ic { width: 16px; height: 16px; }
.btn.pri { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); font-weight: 600; }
.btn.pri:hover { background: var(--acc-h); border-color: var(--acc-h); }
.btn.pri:disabled { background: var(--acc); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.quiet:hover { background: var(--sf-2); color: var(--ink); }
.btn.danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 45%, transparent); }
.btn.danger:hover { background: var(--bad-bg); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; gap: 6px; }
.btn.lg { height: 48px; padding: 0 22px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.icon-only { width: 40px; padding: 0; }
.btn.loading { cursor: progress; }
.spin { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ibtn { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r2); border: 1px solid transparent; background: transparent; color: var(--ink-2); text-decoration: none; transition: background var(--t1), color var(--t1); }
.ibtn:hover { background: var(--sf-2); color: var(--ink); }
.ibtn.sm { width: 32px; height: 32px; }
.ibtn:disabled, .ibtn.off { opacity: .4; pointer-events: none; }
.linkbtn { border: 0; background: none; padding: 0; margin-left: 10px; font-size: 13px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--ink); }

/* ── form controls */
.inp { width: 100%; height: 40px; padding: 0 12px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--inp); color: var(--ink); font-size: 14px; transition: border-color var(--t1), box-shadow var(--t1); }
.inp::placeholder { color: var(--ink-4); }
.inp:hover { border-color: var(--chalkline); }
.inp:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--line-2); }
.inp.sm { height: 32px; font-size: 13px; padding: 0 10px; }
.inp.num { text-align: right; font-variant-numeric: tabular-nums; }
textarea.inp { height: auto; padding: 10px 12px; resize: vertical; line-height: 20px; }
select.inp { appearance: none; padding-right: 34px; background-image: var(--chev); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
input[type="date"].inp { padding-right: 8px; }
.field { margin-bottom: 16px; min-width: 0; }
.field > label, .lbl { display: block; font: 500 13px/18px var(--f-ui); color: var(--ink-2); margin-bottom: 6px; }
.help { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--ink-3); }
.err { margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--bad); display: flex; gap: 6px; align-items: flex-start; }
.err .ic { width: 14px; height: 14px; margin-top: 1px; }
.has-err .inp, .money-in.bad .inp, .inp[aria-invalid="true"] { border-color: var(--bad); }
.money-in { position: relative; }
.money-in > span { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.money-in .inp { padding-left: 26px; }
.sel-l { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-3); }
.sel-l > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.sel-l .ic { width: 15px; height: 15px; }
.sel-l select { width: auto; min-width: 150px; }
.sel-l.col { flex-direction: column; align-items: flex-start; gap: 6px; }
.search-in { position: relative; }
.search-in .ic { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-3); pointer-events: none; }
.search-in .inp { padding-left: 34px; width: 250px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); cursor: pointer; margin-top: 12px; }
.check input { width: 18px; height: 18px; accent-color: var(--sel); margin: 0; }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf); flex-wrap: wrap; }
.seg button { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: 500 13px/1 var(--f-ui); white-space: nowrap; transition: background var(--t1), color var(--t1); }
.seg button:hover { color: var(--ink); background: var(--sf-2); }
.seg button[aria-pressed="true"] { background: var(--sel); color: var(--sel-ink); }
.seg button small { font-size: 12px; opacity: .7; }
.seg .ic { width: 15px; height: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { height: 30px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); font: 500 13px/1 var(--f-ui); transition: background var(--t1), color var(--t1); }
.chip:hover { border-color: var(--chalkline); color: var(--ink); }
.chip.on { background: var(--sel); color: var(--sel-ink); border-color: var(--sel); }
.chip:disabled { opacity: 1; cursor: default; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r2); background: var(--sf); }
.stepper button { width: 32px; height: 32px; border: 0; background: transparent; color: var(--ink-2); display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.stepper button:hover:not(:disabled) { background: var(--sf-2); color: var(--ink); }
.stepper button:disabled { opacity: .35; cursor: not-allowed; }
.stepper .ic { width: 15px; height: 15px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.switch { position: relative; width: 42px; height: 24px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--sf-3); padding: 0; flex: none; transition: background var(--t1); }
.switch i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink-3); transition: transform var(--t2) var(--ease), background var(--t1); }
.switch[aria-checked="true"] { background: var(--sel); border-color: var(--sel); }
.switch[aria-checked="true"] i { transform: translateX(18px); background: var(--sel-ink); }
.rcards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rc { position: relative; display: block; cursor: pointer; }
.rc input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rc span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 12px 14px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf); transition: border-color var(--t1), background var(--t1); }
.rc b { font-size: 14px; font-weight: 600; }
.rc small { font-size: 12px; line-height: 16px; color: var(--ink-3); }
.rc input:checked + span { border-color: var(--ink); background: var(--sf-2); box-shadow: inset 0 0 0 1px var(--ink); }
.rc input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ── tags, avatars, notes */
.tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: var(--r1); font: 500 12px/1 var(--f-ui); white-space: nowrap; background: var(--sf-3); color: var(--ink-2); }
.tag .ic { width: 13px; height: 13px; }
.t-ok { background: var(--ok-bg); color: var(--ok); }
.t-warn { background: var(--warn-bg); color: var(--warn); }
.t-bad { background: var(--bad-bg); color: var(--bad); }
.t-info { background: var(--info-bg); color: var(--info); }
.t-line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.tag.dim { opacity: .45; }
.av { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sf-3); color: var(--ink-2); font: 600 12px/1 var(--f-ui); flex: none; letter-spacing: .02em; }
.note { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: var(--r2); font-size: 13px; margin-top: 12px; }
.note .ic { width: 16px; height: 16px; margin-top: 2px; }
.note.warn { background: var(--warn-bg); color: var(--warn); }
.note.info { background: var(--info-bg); color: var(--info); margin: 0 0 16px; line-height: 19px; }
.fine { display: flex; gap: 6px; align-items: flex-start; font-size: 12px; line-height: 16px; color: var(--ink-3); margin-top: 12px; }
.fine .ic { width: 14px; height: 14px; margin-top: 1px; }
.alert { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 12px 14px; border-radius: var(--r2); margin-top: 14px; }
.alert.bad { background: var(--bad-bg); border: 1px solid color-mix(in srgb, var(--bad) 40%, transparent); }
.alert > .ic { color: var(--bad); margin-top: 1px; }
.alert b { font-size: 14px; display: block; margin-bottom: 2px; }
.alert p { font-size: 13px; color: var(--ink-2); }
.alert-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.refund-box { padding: 14px 16px; border-radius: 10px; background: var(--sf-2); border: 1px solid var(--line); margin: 4px 0 16px; }
.refund-box b { display: block; font: 400 28px/1.1 var(--f-num); letter-spacing: .01em; }
.refund-box.none b { color: var(--ink-2); }
.refund-box small { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.m-text { color: var(--ink-2); margin-bottom: 8px; }

/* ── panels, lists, tables */
.panel { background: var(--sf); border: 1px solid var(--line); border-radius: var(--r3); padding: 20px; min-width: 0; }
.panel.flush { padding: 0; overflow: hidden; }
.panel h2 { font: 600 18px/24px var(--f-ui); letter-spacing: -.01em; }
.panel h3 { font: 600 16px/22px var(--f-ui); margin-bottom: 6px; }
.ro-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ro-h h2 { font-size: 16px; line-height: 22px; }
.ro-h.pad { padding: 14px 16px 2px; }
.dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; font-size: 13px; line-height: 18px; }
.dl dt { color: var(--ink-2); }
.dl dd { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.dl .tot { border-top: 1px solid var(--line-2); padding-top: 10px; font-weight: 600; font-size: 15px; color: var(--ink); }
.dl .hl { color: var(--ok); font-weight: 600; }
.tbl-wrap { overflow-x: auto; }
.tbl { width: 100%; font-size: 13px; line-height: 18px; }
.tbl th { text-align: left; font: 500 12px/16px var(--f-ui); letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); padding: 12px 16px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; vertical-align: bottom; }
.tbl th small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; }
.tbl td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl td small { display: block; font-size: 12px; color: var(--ink-3); }
.tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: color-mix(in srgb, var(--sf-2) 60%, transparent); }
.tbl .num { text-align: right; }
.tbl th.num { text-align: right; }
.tbl td .ic { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; margin-right: 6px; color: var(--ink-3); }
.acts { text-align: right; white-space: nowrap; }
.acts > * + * { margin-left: 4px; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.pager-n { margin-right: auto; font-size: 13px; color: var(--ink-3); }
p.pager-n { padding: 10px 16px; border-top: 1px solid var(--line); }
.names { display: flex; flex-direction: column; margin: 12px 0; }
.names li { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.names.compact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin-top: 0; }
.names .av { width: 28px; height: 28px; font-size: 11px; }

/* ── empty states and skeletons */
.empty { display: grid; grid-template-columns: 120px 1fr; gap: 6px 20px; align-items: center; padding: 24px; border: 1px dashed var(--line-2); border-radius: var(--r3); }
.empty-art { grid-row: span 3; width: 120px; height: 64px; }
.ea-f { fill: var(--pitch); }
.ea-l { fill: none; stroke: rgba(245, 247, 242, .3); stroke-width: 1; }
.ea-i { fill: none; stroke: #F5F7F2; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.empty h3 { font: 600 16px/22px var(--f-ui); align-self: end; }
.empty p { color: var(--ink-3); font-size: 13px; line-height: 19px; max-width: 520px; }
.empty-a { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; align-self: start; }
.panel > .empty { border: 0; padding: 8px 0; }
.nf { padding: 40px 0; }
.sk { position: relative; overflow: hidden; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--line); }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--line), transparent); transform: translateX(-100%); animation: shimmer 1.1s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-row { height: 116px; margin-bottom: 10px; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 24px 0 160px; }
.sk-row i { display: block; height: 10px; border-radius: 4px; background: var(--line-2); }
.sk-row i:nth-child(1) { width: 34%; } .sk-row i:nth-child(2) { width: 58%; } .sk-row i:nth-child(3) { width: 22%; }
.sk-grid { height: 320px; }
.sk-grid i { display: none; }

/* ── shell */
.top { position: sticky; top: 0; z-index: 30; height: var(--top-h); background: var(--bg); border-bottom: 1px solid var(--line-2); }
.top-in { height: 100%; display: flex; align-items: center; gap: 24px; padding: 0 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo { width: 30px; height: 30px; }
.brand-n { font: 600 17px/1 var(--f-ui); letter-spacing: -.01em; }
.topnav { display: flex; gap: 4px; height: 100%; }
.topnav a { position: relative; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; transition: color var(--t1); }
.topnav a .ic { width: 16px; height: 16px; }
.topnav a kbd { display: none; }
.topnav a:hover { color: var(--ink); }
.topnav a.on { color: var(--ink); }
.topnav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--ink); }
.desk-v { display: flex; flex-direction: column; gap: 2px; padding-left: 20px; border-left: 1px solid var(--line-2); line-height: 1.2; }
.desk-v b { font-size: 14px; font-weight: 600; }
.desk-v span { font-size: 12px; color: var(--ink-3); }
.top-r { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.acct { border: 0; background: none; padding: 0; margin-left: 4px; border-radius: 50%; }
.acct .av { width: 34px; height: 34px; background: var(--sf-3); color: var(--ink); }
.acct:hover .av { box-shadow: 0 0 0 2px var(--line-2); }
.sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf); margin-right: 8px; }
.sw::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 6px; background: var(--sel); transition: transform var(--t2) var(--ease); }
.sw[data-on="desk"]::before { transform: translateX(100%); }
.sw button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 14px; border: 0; background: none; color: var(--ink-2); font: 500 13px/1 var(--f-ui); white-space: nowrap; transition: color var(--t2); }
.sw button[aria-pressed="true"] { color: var(--sel-ink); }
.sw .ic { width: 15px; height: 15px; }
.sw .sw-s { display: none; }
.sw.big { display: grid; width: 100%; margin: 0; }
.sw.big button { height: 40px; font-size: 14px; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 28px 32px 96px; }
main:focus { outline: none; }
.desk-shell { display: grid; grid-template-columns: 216px minmax(0, 1fr); min-height: calc(100vh - var(--top-h)); }
.rail { position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); display: flex; flex-direction: column; gap: 2px; padding: 20px 12px; border-right: 1px solid var(--line); background: var(--bg-2); overflow-y: auto; }
.rail-h { font: 500 12px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 10px; }
.rail a { position: relative; display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r2); color: var(--ink-2); text-decoration: none; font-weight: 500; transition: background var(--t1), color var(--t1); }
.rail a kbd { margin-left: auto; }
.rail a:hover { background: var(--sf-2); color: var(--ink); }
.rail a.on { background: var(--sf-2); color: var(--ink); }
.rail a.on::before { content: ""; position: absolute; left: -12px; top: 9px; bottom: 9px; width: 3px; border-radius: 0 2px 2px 0; background: var(--ink); }
.rail-foot { margin-top: auto; display: flex; gap: 10px; padding: 12px; font-size: 12px; line-height: 16px; color: var(--ink-3); border-top: 1px solid var(--line); }
.dotlive { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); flex: none; margin-top: 4px; }
.desk-shell > main { padding: 24px 32px 96px; min-width: 0; }
.tabbar { display: none; }

/* ── page header and toolbars */
.ph { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ph h1 { font: 600 28px/34px var(--f-ui); letter-spacing: -.02em; }
.ph-r { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.saved { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ok); }
.saved .ic { width: 15px; height: 15px; }
.crumbs { display: flex; align-items: center; gap: 12px; font-size: 13px; margin-bottom: 16px; color: var(--ink-3); }
.crumbs a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ic { width: 16px; height: 16px; }
.crumbs span::before { content: "/"; margin-right: 12px; color: var(--ink-4); }
.toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.tb-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.toolbar.tb-row { flex-direction: row; justify-content: flex-start; }
.wrapf { flex-wrap: wrap; }
.days { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: 6px; }
.day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 2px 6px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--sf); color: var(--ink-3); text-decoration: none; font: inherit; min-width: 0; transition: border-color var(--t1), background var(--t1); }
.day small { font-size: 11px; line-height: 14px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.day b { font: 400 22px/26px var(--f-num); color: var(--ink); font-weight: 400; }
.day:hover { border-color: var(--chalkline); }
.day.we small:first-child { color: var(--ink-2); }
.day.on { background: var(--sel); border-color: var(--sel); color: var(--sel-ink); }
.day.on b, .day.on small { color: var(--sel-ink); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-3); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line-2); }
.lg-off { background: var(--off); }
.lg-peak { background: var(--peak); }
.lg-sel { background: var(--sel); border-color: var(--sel) !important; }
.lg-taken { background: repeating-linear-gradient(135deg, var(--sf-3) 0 3px, transparent 3px 6px); }
.lg-block { background: repeating-linear-gradient(135deg, var(--warn-bg) 0 3px, transparent 3px 6px); border-color: color-mix(in srgb, var(--warn) 50%, transparent) !important; }
.lg-online { background: var(--sf-3); border-left: 3px solid var(--ink-2) !important; }
.lg-walkin { background: var(--info-bg); border-left: 3px solid var(--info) !important; }
.lg-phone { background: var(--warn-bg); border-left: 3px solid var(--warn) !important; }
.lg-member { background: var(--member); }
.lg-open { background: var(--sf-3); border-style: dashed !important; border-color: var(--ink-2) !important; }
.lg-in { background: var(--sf-3); box-shadow: inset -4px 0 0 var(--ok); }

/* ── sign in */
.login { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); min-height: 100vh; }
.login-art { position: relative; display: flex; flex-direction: column; gap: 28px; padding: 32px 48px 40px; color: #F5F7F2; background: repeating-linear-gradient(90deg, #07150F 0 72px, #091A13 72px 144px); border-right: 1px solid rgba(245, 247, 242, .12); overflow: hidden; }
.la-top { display: flex; align-items: center; gap: 10px; }
.la-top b { font: 600 18px/1 var(--f-ui); }
.la-series { margin-left: auto; font: 500 12px/1 var(--f-ui); letter-spacing: .14em; color: rgba(245, 247, 242, .6); padding: 6px 10px; border: 1px solid rgba(245, 247, 242, .2); border-radius: var(--r1); }
.la-kick { font: 500 12px/16px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 247, 242, .6); margin-bottom: 12px; }
.la-h { font: 400 64px/1 var(--f-num); text-transform: uppercase; letter-spacing: .005em; }
.la-pitch { max-width: 640px; border-radius: 10px; overflow: hidden; border: 1px solid rgba(245, 247, 242, .18); }
.la-board { display: flex; gap: 40px; flex-wrap: wrap; margin-top: auto; }
.la-board > div { display: flex; flex-direction: column; gap: 8px; }
.la-board small { font: 500 12px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 247, 242, .6); }
.la-board .sb { --sb: 40px; }
.la-board .sb i { color: rgba(245, 247, 242, .5); }
.la-board div > span:not(.sb) { font-size: 13px; color: rgba(245, 247, 242, .7); }
.login-form { display: flex; align-items: center; justify-content: center; padding: 40px 32px; }
.login-form form { width: 100%; max-width: 400px; }
.login-form h2 { font: 600 28px/34px var(--f-ui); letter-spacing: -.02em; }
.lead { color: var(--ink-2); margin: 8px 0 24px; line-height: 21px; }
.side-pick { border: 0; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.side-pick legend { font: 500 13px/18px var(--f-ui); color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.sp { position: relative; display: block; cursor: pointer; }
.sp input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sp span { display: grid; grid-template-columns: 28px 1fr; gap: 0 10px; padding: 12px 14px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf); transition: border-color var(--t1), background var(--t1); }
.sp .ic { grid-row: span 2; margin-top: 2px; color: var(--ink-3); width: 22px; height: 22px; }
.sp b { font-size: 15px; font-weight: 600; }
.sp small { font-size: 12px; color: var(--ink-3); }
.sp input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--sf-2); }
.sp input:checked + span .ic { color: var(--ink); }
.sp input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.or { display: flex; align-items: center; gap: 12px; margin: 22px 0 16px; font-size: 12px; color: var(--ink-3); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.login-form .fine { margin-top: 16px; }

/* ── pitch drawings */
.pitch { width: 100%; height: auto; }
.pitch .pf-bg { fill: #0A3123; }
.pitch .mw-a { fill: #0F3D2E; }
.pitch .mw-b { fill: #12452F; }
.pitch .pl { fill: none; stroke: rgba(245, 247, 242, .74); stroke-width: .42; }
.pitch .pl.faint { stroke-opacity: .25; }
.pitch .pl.net { stroke-dasharray: 1.1 .8; }
.pitch .pd { fill: rgba(245, 247, 242, .8); }
.pitch .goal { fill: rgba(245, 247, 242, .14); }
.pitch .strip { fill: #C2AE80; opacity: .38; }
.tk circle { stroke-width: .45; transition: stroke var(--t1); }
.tk.s0 circle { fill: #F5F7F2; stroke: #0A3123; }
.tk.s0 .tk-i { fill: #0B1C15; }
.tk.s1 circle { fill: #07150F; stroke: #F5F7F2; }
.tk.s1 .tk-i { fill: #F5F7F2; }
.tk-i { font: 600 2.15px/1 var(--f-ui); text-anchor: middle; letter-spacing: .02em; }
.tk-n { font: 500 2.05px/1 var(--f-ui); text-anchor: middle; fill: rgba(245, 247, 242, .92); paint-order: stroke; stroke: #0A3123; stroke-width: .55px; stroke-linejoin: round; }
.tk.me circle { stroke-width: .9; }
.tk.me .tk-n { font-weight: 700; fill: #FFFFFF; }
.tk.empty circle { fill: rgba(245, 247, 242, .05); stroke: rgba(245, 247, 242, .5); stroke-dasharray: .9 .7; }
.tk.empty .tk-i { fill: rgba(245, 247, 242, .6); font-size: 1.6px; font-weight: 500; }
.tk[data-pid] { cursor: grab; }
.tk.lift { cursor: grabbing; }
.tk.lift circle { stroke: #F1C453; stroke-width: .8; }
.tk.target circle { stroke: #F1C453; stroke-width: .9; stroke-dasharray: none; }
.tk[data-pid]:focus-visible circle { stroke: #F1C453; stroke-width: 1; }
.tk:focus { outline: none; }
.tk.arrive circle { animation: arrive 220ms var(--ease); }
@keyframes arrive { from { r: 1px; } }
.pitch.hero .tk-n { font-size: 2px; }
.site { width: 100%; height: auto; }
.site .sp-turf { fill: var(--pitch); stroke: rgba(245, 247, 242, .35); stroke-width: .5; }
.site .sp-box { fill: #0B2A1E; stroke: rgba(245, 247, 242, .45); stroke-width: .5; stroke-dasharray: 1.2 .8; }
.site .pl { fill: none; stroke: rgba(245, 247, 242, .5); stroke-width: .45; }
.site .strip { fill: #C2AE80; opacity: .45; }
.site .sp-t { font: 600 4.2px/1 var(--f-ui); fill: var(--ink-2); text-anchor: middle; }

/* ── area map */
.amap { width: 100%; height: auto; border-radius: var(--r2); }
.am-bg { fill: var(--sf-2); }
.am-lake { fill: var(--lake); }
.am-lt { font: italic 400 10px var(--f-ui); fill: var(--lake-t); }
.am-rd { fill: none; stroke: var(--line-2); stroke-width: 6; stroke-linecap: round; }
.am-rd.big { stroke-width: 10; }
.am-rd.thin { stroke-width: 3; }
.am-rn { font: 500 9.5px var(--f-ui); fill: var(--ink-3); letter-spacing: .04em; }
.pin-b { fill: var(--sf); stroke: var(--ink); stroke-width: 1.5; transition: fill var(--t1); }
.pin-t { font: 700 10px var(--f-ui); fill: var(--ink); text-anchor: middle; }
.pinm.hl .pin-b { fill: var(--sel); }
.pinm.hl .pin-t { fill: var(--sel-ink); }
.you-h { fill: var(--info-bg); }
.you-d { fill: var(--info); stroke: var(--sf); stroke-width: 2; }
.you-t { font: 600 11px var(--f-ui); fill: var(--info); }

/* ── venues */
.venues { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
.vlist { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vmap { position: sticky; top: calc(var(--top-h) + 20px); padding: 12px; background: var(--sf); border: 1px solid var(--line); border-radius: var(--r3); }
.vmap-n { display: flex; gap: 6px; font-size: 12px; line-height: 16px; color: var(--ink-3); margin-top: 10px; }
.vmap-n .ic { width: 14px; height: 14px; margin-top: 1px; }
.vrow { display: grid; grid-template-columns: 22px 104px minmax(0, 1fr) minmax(0, 270px) 96px; gap: 18px; align-items: center; padding: 16px 20px 16px 16px; background: var(--sf); border: 1px solid var(--line); border-radius: var(--r3); transition: border-color var(--t1); }
.vrow.hl { border-color: var(--chalkline); }
.vnum { font: 400 18px/1 var(--f-num); color: var(--ink-3); text-align: center; }
.vthumb { padding: 4px; border-radius: var(--r2); background: var(--bg-2); border: 1px solid var(--line); }
.vmain { min-width: 0; }
.vmain h3 { font: 600 17px/22px var(--f-ui); letter-spacing: -.01em; }
.vmain h3 a { text-decoration: none; }
.vmain h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.vmeta { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.vmeta b { color: var(--ink); font-weight: 600; }
.vtypes { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.am { display: flex; gap: 10px; color: var(--ink-3); }
.am li { display: flex; align-items: center; }
.am .ic { width: 16px; height: 16px; }
.am.wide { flex-wrap: wrap; gap: 8px 16px; margin-top: 12px; color: var(--ink-2); font-size: 13px; }
.am.wide li { gap: 6px; }
.vslots { min-width: 0; }
.vs-h { font-size: 12px; color: var(--ink-3); margin-bottom: 8px; }
.vs-h b { font: 400 16px/1 var(--f-num); color: var(--ink); margin-right: 2px; }
.vs-c { display: flex; flex-wrap: wrap; gap: 6px; }
.schip { display: inline-flex; white-space: nowrap; gap: 6px; height: 32px; padding: 0 10px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--ink); font: inherit; align-items: center; transition: border-color var(--t1), background var(--t1); }
.schip b { font: 400 15px/1 var(--f-num); font-weight: 400; letter-spacing: .02em; }
.schip small { font-size: 11px; color: var(--ink-3); }
.schip:hover { border-color: var(--chalkline); background: var(--sf-2); }
.schip.b-peak { background: var(--peak); }
.vprice { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.vprice small { font-size: 12px; color: var(--ink-3); }
.vprice b { font: 400 24px/1.1 var(--f-num); letter-spacing: .01em; font-weight: 400; }

/* ── venue page and slot grid */
.vhead { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: 32px; align-items: end; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line-2); }
.vname { font: 400 56px/1 var(--f-num); text-transform: uppercase; letter-spacing: .01em; margin-top: 4px; }
.vh-meta { display: flex; align-items: center; gap: 8px; color: var(--ink-2); margin-top: 12px; font-size: 14px; }
.vh-meta .ic { width: 16px; height: 16px; color: var(--ink-3); }
.vh-r { padding: 10px; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--line); }
.vh-cap { font-size: 12px; color: var(--ink-3); margin-top: 6px; text-align: center; }
.gridpanel { background: var(--sf); border: 1px solid var(--line); border-radius: var(--r3); padding: 16px; }
.gp-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.gp-h h2 { font: 600 16px/22px var(--f-ui); }
.gp-h p { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); }
.gp-h p .ic { width: 14px; height: 14px; }
.sg { --lab: 148px; --g: 3px; position: relative; display: grid; gap: var(--g); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.sg.horiz { grid-template-columns: var(--lab) repeat(var(--H), minmax(0, 1fr)); grid-template-rows: 24px 22px repeat(var(--P), 62px); }
.sg.m-desk.horiz { grid-template-rows: 24px 22px repeat(var(--P), 70px); }
.sg.vert { --lab: 62px; grid-template-columns: var(--lab) repeat(var(--P), minmax(0, 1fr)); grid-template-rows: 50px repeat(var(--H), 46px); }
.sg.vert.m-desk { --lab: 70px; grid-template-rows: 50px repeat(var(--H), 40px); }
.sg.vert.m-desk .span { padding: 0 10px; }
.sg.vert.m-desk .span b { font-size: 13px; }
.sg-corner { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 2px; font-size: 12px; line-height: 15px; color: var(--ink-3); }
.sg-corner b { color: var(--ink-2); font-weight: 600; }
.sg-band { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 0 8px; border-bottom: 2px solid var(--line-2); font: 500 11px/1 var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.sg-band span { overflow: hidden; text-overflow: ellipsis; }
.sg-band .ic { width: 13px; height: 13px; flex: none; }
.sg-band.b-peak { color: var(--ink); border-bottom-color: var(--chalkline); }
.sg-hr { font: 400 13px/22px var(--f-num); color: var(--ink-2); padding-left: 5px; border-left: 1px solid var(--line-2); letter-spacing: .03em; white-space: nowrap; }
.sg-hr sup { font: 500 9px/1 var(--f-ui); color: var(--ink-3); margin-left: 1px; }
.sg-hr.nx { color: var(--ink-3); }
.sg.vert .sg-hr { display: flex; flex-direction: column; justify-content: center; padding-left: 8px; border-left: 3px solid var(--line-2); line-height: 1.1; }
.sg.vert .sg-hr b { font: 400 14px/1 var(--f-num); font-weight: 400; color: var(--ink); }
.sg.vert .sg-hr small { font: 500 9px/1.2 var(--f-ui); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); margin-top: 3px; }
.sg.vert .sg-hr.b-peak { border-left-color: var(--chalkline); }
.sg.vert .sg-hr.b-late { border-left-color: var(--b-late); }
.sg.vert .sg-hr.b-dawn { border-left-color: var(--b-dawn); }
.sg-pitch { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 0 12px; border-radius: 6px; background: var(--sf-2); border-left: 3px solid var(--chalkline); }
.sg-pitch b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-pitch small { font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg.vert .sg-pitch { padding: 0 8px; border-left: 0; border-top: 3px solid var(--chalkline); }
.cell { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0; border-radius: var(--r1); border: 1px solid var(--line); background: var(--off); color: var(--ink-2); font: 400 14px/1 var(--f-num); letter-spacing: .03em; cursor: pointer; transition: background var(--t1), border-color var(--t1), color var(--t1); }
.cell.b-peak { background: var(--peak); color: var(--ink); }
.cell:hover { border-color: var(--chalkline); color: var(--ink); }
.cell.sel { background: var(--sel); border-color: var(--sel); color: var(--sel-ink); }
.cell.past { background: transparent; border: 1px dashed var(--line); color: var(--ink-4); cursor: default; }
.cell:focus-visible { outline-offset: 1px; position: relative; z-index: 2; }
.cell.dc { background: transparent; border-style: dashed; }
.cell.dc .c-plus { opacity: 0; transition: opacity var(--t1); display: flex; }
.cell.dc .c-plus .ic { width: 15px; height: 15px; }
.cell.dc:hover, .cell.dc:focus-visible { background: var(--sf-2); border-style: solid; }
.cell.dc:hover .c-plus, .cell.dc:focus-visible .c-plus, .cell.dc.sel .c-plus { opacity: 1; }
.cell.dc.sel { background: var(--sel); border-style: solid; }
.span { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 2px; min-width: 0; padding: 0 10px; border-radius: var(--r1); overflow: hidden; font-size: 12px; line-height: 15px; text-decoration: none; text-align: left; border: 1px solid transparent; font-family: var(--f-ui); }
.span b, .span small { display: block; width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.span b { font-weight: 600; }
.span b .ic { display: inline-block; width: 13px; height: 13px; vertical-align: -2px; margin-right: 3px; }
.span small { color: inherit; opacity: .75; }
.span.taken { background: repeating-linear-gradient(135deg, var(--sf-3) 0 5px, transparent 5px 10px); border-color: var(--line); color: var(--ink-3); }
.span.block { background: repeating-linear-gradient(135deg, var(--warn-bg) 0 5px, transparent 5px 10px); border-color: color-mix(in srgb, var(--warn) 45%, transparent); color: var(--warn); }
.span.mine { background: var(--member); color: var(--member-ink); border-color: var(--chalkline); }
.span.mine:hover { border-color: var(--ink); }
.span.open { background: var(--info-bg); color: var(--info); border-color: color-mix(in srgb, var(--info) 40%, transparent); }
.span.past { opacity: .5; }
.span.short { padding: 0; align-items: center; justify-content: center; text-align: center; }
.span.short b { text-align: center; }
.span.short b .ic { width: 14px; height: 14px; margin: 0; }
.span.open.short small { font: 400 12px/1 var(--f-num); letter-spacing: .03em; opacity: 1; }
.span.bk { background: var(--sf-3); color: var(--ink); border-left: 3px solid var(--ink-2); cursor: pointer; transition: border-color var(--t1), filter var(--t1); }
.span.bk:hover { filter: brightness(1.12); }
.span.bk.src-walkin { background: var(--info-bg); border-left-color: var(--info); }
.span.bk.src-phone { background: var(--warn-bg); border-left-color: var(--warn); }
.span.bk.src-member { background: var(--member); color: var(--member-ink); border-left-color: var(--member-ink); }
.span.bk.src-open { border: 1px dashed var(--ink-2); border-left: 3px solid var(--ink-2); }
.span.bk.in { box-shadow: inset -4px 0 0 var(--ok); }
.span.bk.ns { text-decoration: line-through; color: var(--bad); }
.span.bk.due small { color: var(--warn); opacity: 1; font-weight: 500; }
.span.bk.src-phone.due small { color: inherit; }
.span.bk.past { opacity: .62; }
button.span { font-size: 12px; }
.sg-now { position: absolute; z-index: 3; pointer-events: none; top: 52px; bottom: 0; width: 2px; background: var(--ink); left: calc(var(--lab) + var(--g) + (100% - var(--lab) - var(--g)) * var(--f)); }
.sg-now span { position: absolute; bottom: -17px; left: 50%; transform: translateX(-50%); padding: 1px 5px; border-radius: 3px; background: var(--ink); color: var(--bg); font: 400 11px/14px var(--f-num); letter-spacing: .04em; }
.sg.vert .sg-now { top: calc(50px + var(--g) + (100% - 50px - var(--g)) * var(--f)); left: var(--lab); right: 0; bottom: auto; width: auto; height: 2px; }
.sg.vert .sg-now span { top: 50%; bottom: auto; left: auto; right: 0; transform: translateY(-50%); }
.drag-badge { position: fixed; z-index: 80; pointer-events: none; padding: 6px 10px; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 12px; box-shadow: var(--shadow); white-space: nowrap; }
.drag-badge b { font: 400 14px/1 var(--f-num); letter-spacing: .03em; margin-right: 4px; }
.selbar { position: sticky; bottom: 16px; z-index: 20; display: flex; align-items: center; gap: 20px; margin-top: 16px; padding: 12px 14px 12px 16px; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--chalkline); box-shadow: var(--shadow); }
.selbar.idle { position: static; box-shadow: none; background: transparent; border: 1px dashed var(--line-2); color: var(--ink-3); font-size: 13px; gap: 10px; padding: 10px 14px; }
.selbar.idle > .ic { width: 16px; height: 16px; }
.selbar.idle .btn { margin-left: auto; }
.sel-sb { display: flex; align-items: center; }
.sel-sb .sb { --sb: 22px; }
.sel-to { font-size: 12px; color: var(--ink-3); margin: 0 8px; }
.sel-meta { display: flex; flex-direction: column; min-width: 0; }
.sel-meta b { font-size: 14px; font-weight: 600; }
.sel-meta span { font-size: 12px; color: var(--ink-3); }
.sel-price { margin-left: auto; text-align: right; }
.sel-price b { display: block; font: 400 26px/1 var(--f-num); letter-spacing: .01em; font-weight: 400; }
.sel-price small { font-size: 12px; color: var(--ink-3); }
.sel-a { display: flex; gap: 8px; }
.vinfo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; margin-top: 24px; }
.vinfo p { color: var(--ink-2); font-size: 13px; line-height: 19px; }
.tbl.rates td, .tbl.rates th { padding: 10px 12px; }
.tbl.rates td small { white-space: nowrap; }
.rules { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--ink-2); }
.rules li { display: flex; gap: 10px; align-items: flex-start; }
.rules .ic { width: 16px; height: 16px; color: var(--ink-3); margin-top: 2px; }

/* ── bookings list */
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line-2); margin-bottom: 20px; overflow: hidden; }
.tabs a { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; color: var(--ink-2); text-decoration: none; font-weight: 500; white-space: nowrap; }
.tabs a small { font-size: 12px; color: var(--ink-3); }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--ink); }
.tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--ink); }
.bk-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.fx-g { display: flex; align-items: center; gap: 12px; margin: 18px 0 8px; font: 500 12px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.fx-g:first-child { margin-top: 0; }
.fx-g::after { content: ""; flex: 1; height: 1px; background: var(--line-2); }
.fx { display: grid; grid-template-columns: 50px 64px minmax(0, 1fr) 130px 44px 124px 18px; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; margin-bottom: 8px; border-radius: 10px; background: var(--sf); border: 1px solid var(--line); text-decoration: none; transition: border-color var(--t1); }
.fx:hover { border-color: var(--chalkline); }
.fx.gone { opacity: .72; }
.fx-d { display: flex; flex-direction: column; align-items: center; padding: 6px 0 5px; border-radius: 6px; background: var(--board); color: #F5F7F2; }
.fx-d small { font-size: 10px; line-height: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.fx-d b { font: 400 22px/1.05 var(--f-num); font-weight: 400; }
.fx-t { font: 400 22px/1 var(--f-num); letter-spacing: .02em; }
.fx-t small { display: block; font: 400 12px/16px var(--f-ui); color: var(--ink-3); margin-top: 4px; letter-spacing: 0; }
.fx-m { min-width: 0; }
.fx-m b { display: block; font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-m small { display: block; font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-split small { font-size: 12px; color: var(--ink-3); display: block; margin-top: 4px; }
.mini-bar { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--ok); }
.fx-poll { text-align: center; }
.fx-poll b { display: block; font: 400 20px/1 var(--f-num); font-weight: 400; }
.fx-poll small { font-size: 11px; color: var(--ink-3); }
.fx-s { text-align: right; }
.fx-c { color: var(--ink-3); width: 16px; height: 16px; }
.rules-card h3 { margin-bottom: 12px; }
.ruler { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.ruler li { display: flex; flex-direction: column; padding-left: 12px; border-left: 3px solid var(--ok); }
.ruler li:nth-child(2) { border-color: var(--warn); }
.ruler li:nth-child(3) { border-color: var(--bad); }
.ruler b { font-size: 14px; }
.ruler span { font-size: 12px; color: var(--ink-3); }

/* ── booking detail */
.bhead { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-bottom: 16px; }
.bh-date { display: flex; flex-direction: column; align-items: center; padding: 8px 0 7px; border-radius: var(--r2); background: var(--board); color: #F5F7F2; }
.bh-date small { font-size: 11px; line-height: 14px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.bh-date b { font: 400 34px/1 var(--f-num); font-weight: 400; }
.bh-main { min-width: 0; }
.bh-main h1 { font: 600 26px/32px var(--f-ui); letter-spacing: -.02em; }
.bh-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; color: var(--ink-2); font-size: 13px; }
.bh-time { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: 300px; }
.bh-time .sb { --sb: 30px; }
.bh-time small { width: 100%; text-align: right; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.bh-acts { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.bh-acts:empty { display: none; }
.bd-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.bd-r, .bd-l { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.pp-h, .sp-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.pp-h h2, .sp-h h2 { font: 600 20px/26px var(--f-ui); letter-spacing: -.01em; }
.sp-h h2 small { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.pp-sb { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.pp-sb .sb { --sb: 24px; }
.pp-sb small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }
.pitchwrap { border-radius: var(--r2); overflow: hidden; border: 1px solid var(--line-2); background: #0A3123; }
.pitchwrap[data-drag=""] .tk[data-pid] { cursor: default; }
.pp-key { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 10px 0 14px; font-size: 12px; color: var(--ink-3); }
.pp-key span { display: inline-flex; align-items: center; gap: 6px; }
.pp-key i { width: 10px; height: 10px; border-radius: 50%; }
.pp-key .k0 { background: #F5F7F2; box-shadow: 0 0 0 1px var(--line-2); }
.pp-key .k1 { background: #07150F; box-shadow: inset 0 0 0 1.5px #F5F7F2; }
.pp-key .ke { border: 1px dashed var(--ink-3); }
.pp-me { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border-radius: var(--r2); background: var(--sf-2); margin-bottom: 12px; }
.pp-me > span { font-size: 13px; font-weight: 500; }
.votes { columns: 2; column-gap: 24px; }
.vt-h { break-after: avoid; font: 500 12px/16px var(--f-ui); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0 4px; }
.vt-h small { font-size: 12px; }
.vt { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.vt .av { width: 28px; height: 28px; font-size: 11px; }
.vt-n { flex: 1; min-width: 0; }
.vt-n b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-n small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-f, .sp-f { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.segbar { display: flex; gap: 2px; height: 10px; margin: 2px 0 14px; }
.segbar i { border-radius: 2px; background: var(--line-2); min-width: 3px; }
.segbar i.paid { background: var(--ok); }
.segbar i.me { background: var(--ink-3); }
.paylink { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 6px 6px 12px; border-radius: var(--r2); border: 1px dashed var(--line-2); margin-bottom: 10px; }
.pl-l { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-3); }
.pl-l .ic { width: 16px; height: 16px; }
.pl-l code { font-size: 13px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.payers { display: flex; flex-direction: column; }
.py { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.py .av { width: 30px; height: 30px; font-size: 11px; }
.py-n { min-width: 0; }
.py-n b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-st { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.py-st .ic { width: 13px; height: 13px; }
.py-st.ok { color: var(--ok); }
.py-a { font-weight: 600; font-variant-numeric: tabular-nums; }
.py.due .py-a { color: var(--ink-2); }
.py-x { display: flex; gap: 2px; justify-content: flex-end; min-width: 34px; }
.cancelp .eyebrow { margin-bottom: 26px; }
.cancelp p { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.ctl { position: relative; display: flex; height: 26px; margin-bottom: 6px; font: 500 11px/1 var(--f-ui); }
.ctl span { display: flex; align-items: center; padding-left: 8px; }
.ctl .c1 { flex: 50; background: var(--ok-bg); color: var(--ok); border-radius: 6px 0 0 6px; }
.ctl .c2 { flex: 30; background: var(--warn-bg); color: var(--warn); }
.ctl .c3 { flex: 20; background: var(--bad-bg); color: var(--bad); border-radius: 0 6px 6px 0; }
.ctl-now { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: var(--ink); }
.ctl-now b { position: absolute; top: -17px; left: 50%; transform: translateX(-50%); font: 600 10px/1 var(--f-ui); text-transform: uppercase; letter-spacing: .08em; }
.ctl-l { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 12px; font-size: 12px; color: var(--ink-3); }
.ser { display: flex; flex-direction: column; }
.ser li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.ser li a { text-decoration: none; color: var(--ink-2); }
.ser li a:hover { color: var(--ink); text-decoration: underline; }
.ser li.on a { color: var(--ink); font-weight: 600; }
.money .eyebrow, .series .eyebrow { margin-bottom: 12px; }

/* ── team */
.th-l { display: flex; align-items: center; gap: 16px; }
.crest { width: 52px; height: 60px; flex: none; }
.cr-a { fill: var(--pitch); stroke: var(--chalkline); stroke-width: 1.5; }
.cr-b { fill: none; stroke: rgba(245, 247, 242, .45); stroke-width: 1; }
.cr-t { font: 400 15px/1 var(--f-num); fill: #F5F7F2; text-anchor: middle; letter-spacing: .04em; }
.team-h .muted { font-size: 13px; margin-top: 4px; }
.team-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.tg-main { min-width: 0; }
.gchips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.gchips button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; border-radius: var(--r2); border: 1px solid var(--line-2); background: var(--sf); text-align: left; transition: border-color var(--t1), background var(--t1); }
.gchips button b { font-size: 13px; font-weight: 600; }
.gchips button small { font-size: 12px; color: var(--ink-3); }
.gchips button:hover { border-color: var(--chalkline); }
.gmore { align-self: center; padding: 0 6px; font-size: 13px; color: var(--ink-2); text-underline-offset: 3px; }
.gchips button[aria-selected="true"] { border-color: var(--ink); background: var(--sf-2); box-shadow: inset 0 0 0 1px var(--ink); }
.roster { padding-bottom: 8px; }
.rs { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto 32px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rs:last-child { border-bottom: 0; }
.rs .av { width: 30px; height: 30px; font-size: 11px; }
.rs-n { min-width: 0; }
.rs-n b { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-n small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-n .tag { height: 18px; font-size: 11px; padding: 0 6px; }
.skill, .att { display: inline-flex; gap: 2px; align-items: center; }
.skill i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-2); }
.skill i.on { background: var(--ink-2); }
.att i { width: 5px; height: 12px; border-radius: 1px; background: var(--line-2); }
.att i.on { background: var(--ok); }
.poll-start .empty { border: 0; padding: 4px 0; }

/* ── open games */
.games-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 20px; align-items: start; }
.glist { min-width: 0; }
.grow { display: grid; grid-template-columns: 82px minmax(0, 1fr) 150px 96px 124px; gap: 16px; align-items: center; padding: 14px 16px; margin-bottom: 8px; border-radius: 10px; background: var(--sf); border: 1px solid var(--line); transition: border-color var(--t1), box-shadow var(--t2); }
.grow.hl { border-color: var(--ink); box-shadow: 0 0 0 3px var(--line-2); }
.g-when small { display: block; font-size: 11px; line-height: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-when b { display: block; font: 400 24px/1.1 var(--f-num); font-weight: 400; letter-spacing: .02em; }
.g-main { min-width: 0; }
.g-main h3 { font: 600 15px/20px var(--f-ui); }
.g-note { font-size: 13px; color: var(--ink-2); margin-top: 4px; }
.g-note span { color: var(--ink-3); margin-left: 4px; white-space: nowrap; }
.g-note span::before { content: "· "; }
.dots { display: grid; grid-template-columns: repeat(7, 8px); gap: 4px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); }
.dots i.on { background: var(--ink-2); box-shadow: none; }
.g-sp small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.g-a { text-align: right; }
.postg h3 { margin-bottom: 4px; }
.pg-l { margin: 12px 0 0; }
.pg-l li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pg-l li:last-child { border-bottom: 0; }
.pg-l b { display: block; font-size: 13px; }
.pg-l small { display: block; font-size: 12px; color: var(--ink-3); }
.postg .btn { margin-top: 10px; }
.pg-l .btn { margin-top: 0; }
.seekers li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.seekers li:last-child { border-bottom: 0; }

/* ── settings */
.set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.set-grid .panel h3 { margin-bottom: 14px; }
.trow { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.trow:last-child { border-bottom: 0; }
.trow > span b { display: block; font-size: 14px; font-weight: 500; }
.trow > span small { display: block; font-size: 12px; color: var(--ink-3); line-height: 16px; margin-top: 2px; }

/* ── desk: sheet */
.datenav { display: flex; align-items: center; gap: 6px; }
.datenav .inp { width: 150px; }
.clockb { margin-left: 10px; }
.clockb .sb { --sb: 20px; }
.kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--line); }
.kpis > div { padding: 14px 18px; border-left: 1px solid var(--line); min-width: 0; }
.kpis > div:first-child { border-left: 0; }
.kpis small { display: block; font-size: 12px; color: var(--ink-3); }
.kpis b { display: block; font: 400 28px/1.2 var(--f-num); font-weight: 400; letter-spacing: .01em; margin: 2px 0; }
.kpis span { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpis a { color: var(--ink-2); text-underline-offset: 3px; }
.gridpanel.desk .gp-h { margin-bottom: 12px; }
.sheet-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.sheet-main { min-width: 0; }
.sheet-grid .desk-below { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.desk-below { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.arr-l li { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.arr-l li:last-child { border-bottom: 0; }
.arr-t { font: 400 18px/1 var(--f-num); letter-spacing: .03em; }
.arr-n { min-width: 0; }
.arr-n b { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr-n small { display: block; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.arr-n em.due { font-style: normal; color: var(--warn); }
.feed-l li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.feed-l li:last-child { border-bottom: 0; }
.fd-i { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; background: var(--sf-2); color: var(--ink-2); }
.fd-i .ic { width: 15px; height: 15px; }
.fd-t { min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-t b { color: var(--ink); font-weight: 500; }
.feed-l time { font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.dw-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px; margin-bottom: 16px; border-radius: var(--r2); background: var(--sf-2); }
.dw-top p { display: flex; flex-direction: column; margin-right: auto; }
.dw-top p b { font-size: 13px; }
.dw-top p span { font-size: 12px; color: var(--ink-3); }
.bk-sb, .dw-top .bk-sb { display: flex; align-items: center; }
.bk-sb .sb, .dw-top .sb { --sb: 20px; }
.dw-h { font: 500 12px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 20px 0 8px; }
.tl { display: flex; flex-direction: column; margin-bottom: 10px; }
.tl li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tl li time { color: var(--ink-3); font-variant-numeric: tabular-nums; width: 44px; flex: none; }
.tl li span { margin-right: auto; }
.collect { display: flex; flex-direction: column; gap: 10px; padding: 12px; margin: 12px 0; border-radius: var(--r2); background: var(--sf-2); }
.collect .lbl { margin: 0; }

/* ── desk: pricing */
.ribbon { display: grid; grid-template-columns: repeat(22, minmax(0, 1fr)); gap: 2px; margin: 4px 0 12px; }
.rb-h { display: flex; align-items: flex-end; height: 42px; padding: 0 0 5px 5px; border-radius: 3px; font: 400 12px/1 var(--f-num); color: var(--ink-2); background: var(--b-day); }
.rb-h b { font-weight: 400; }
.rb-h.b-dawn, .bk.b-dawn i { background: var(--b-dawn); }
.rb-h.b-peak, .bk.b-peak i { background: var(--b-peak); }
.rb-h.b-peak { color: var(--ink); }
.rb-h.b-late, .bk.b-late i { background: var(--b-late); }
.bk.b-day i { background: var(--b-day); box-shadow: inset 0 0 0 1px var(--line-2); }
.band-key { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--ink-2); }
.bk { display: inline-flex; align-items: center; gap: 6px; }
.bk i { width: 12px; height: 12px; border-radius: 2px; }
.bk b { font-weight: 600; color: var(--ink); }
.band-sel { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.band-sel select { min-width: 120px; }
.tbl.rate-ed td { padding: 10px 12px; vertical-align: top; }
.tbl.rate-ed th { padding: 10px 12px; }
.tbl.rate-ed td .money-in .inp { width: 118px; }
.tbl.rate-ed td .err { max-width: 160px; }
.tbl.rate-ed tbody th { text-transform: none; letter-spacing: 0; font: 600 14px/20px var(--f-ui); color: var(--ink); vertical-align: middle; border-bottom: 1px solid var(--line); }
.tbl.rate-ed tbody th small { color: var(--ink-3); font-weight: 400; font-size: 12px; }
.tbl.rate-ed tbody tr:last-child th { border-bottom: 0; }
.uplift { max-width: 320px; margin-top: 16px; }
.uplift .money-in { width: 160px; }
.uplift .field { margin-bottom: 0; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.panel + .panel { margin-top: 16px; }
.price-grid .panel + .panel, .desk-below .panel + .panel, .set-grid .panel + .panel, .bd-r .panel + .panel, .bd-l .panel + .panel, .col-side .panel + .panel, .eq-side .panel + .panel { margin-top: 0; }
.pchart { width: 100%; height: auto; }
.ch-g { stroke: var(--line); stroke-width: 1; }
.ch-a { font: 400 10px var(--f-ui); fill: var(--ink-3); }
.ch-l { fill: none; stroke-width: 2; stroke-linejoin: round; }
.ch-l.t-s7 { stroke: var(--ink); }
.ch-l.t-s5 { stroke: var(--info); }
.ch-l.t-box { stroke: var(--warn); }
.ch-l.dash { stroke-dasharray: 5 4; opacity: .5; }
.ch-lab { font: 600 11px var(--f-ui); }
.ch-lab.t-s7 { fill: var(--ink); }
.ch-lab.t-s5 { fill: var(--info); }
.ch-lab.t-box { fill: var(--warn); }
.chart-k { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.chart-k i { display: inline-block; width: 18px; height: 0; border-top: 2px solid var(--ink-2); margin-left: 8px; }
.chart-k i:first-child { margin-left: 0; }
.chart-k i.k-dash { border-top-style: dashed; opacity: .6; }
.clog li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.clog li:last-child { border-bottom: 0; }
.clog b { display: block; font-size: 13px; font-weight: 500; }
.clog small { display: block; font-size: 12px; color: var(--ink-3); }

/* ── desk: members, equipment, collection */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--line); }
.plan { padding: 16px 20px; border-left: 1px solid var(--line); }
.plan:first-child { border-left: 0; }
.plan > b { display: block; font: 400 34px/1.1 var(--f-num); font-weight: 400; }
.plan > b small { font: 400 13px var(--f-ui); color: var(--ink-3); }
.plan p { font-size: 13px; line-height: 18px; color: var(--ink-2); margin-top: 4px; }
.plan p.muted { color: var(--ink-3); font-size: 12px; margin-top: 8px; }
.mem { display: flex; align-items: center; gap: 10px; }
.mem b { display: block; font-size: 14px; font-weight: 500; }
.mem small { display: block; font-size: 12px; color: var(--ink-3); }
.mem .av { width: 30px; height: 30px; font-size: 11px; }
.use small { margin-top: 4px; }
.ubar { display: block; width: 120px; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.ubar i { display: block; height: 100%; background: var(--ink-2); }
.eq-grid, .col-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.eq-side, .col-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.stock { display: flex; gap: 1px; width: 140px; height: 8px; border-radius: 4px; overflow: hidden; background: var(--line); }
.stock i.f { background: var(--ok); }
.stock i.o { background: var(--warn); }
.stock i.d { background: var(--bad); }
.stock-n { display: block; font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.hire-l li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hire-l li:last-child { border-bottom: 0; }
.hire-l.done li { grid-template-columns: 30px minmax(0, 1fr); }
.h-q { font: 400 18px/1 var(--f-num); }
.hire small.late-t { color: var(--bad); font-weight: 500; }
.tbl.equip td:first-child { min-width: 170px; }
.tbl.equip td:first-child b { white-space: nowrap; }
.hire.late .h-q { color: var(--bad); }
.col-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding: 20px 24px; margin-bottom: 16px; border-radius: var(--r3); background: var(--sf); border: 1px solid var(--line); }
.ch-tot small { display: block; font: 500 12px/16px var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); margin-bottom: 10px; }
.ch-tot .sb { --sb: 40px; }
.ch-tot > span:not(.sb) { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-3); }
.mbar { display: flex; gap: 2px; height: 14px; border-radius: 4px; overflow: hidden; }
.mbar i, .mkey i { background: var(--ink-3); }
.mbar .m-upi, .mkey .m-upi { background: var(--info); }
.mbar .m-cash, .mkey .m-cash { background: var(--ok); }
.mbar .m-card, .mkey .m-card { background: var(--warn); }
.mkey { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 28px; margin: 14px 0 10px; }
.mkey li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.mkey i { width: 10px; height: 10px; border-radius: 2px; }
.mkey b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.tx tr.neg td { color: var(--bad); }
.tx tr.neg td small { color: var(--bad); opacity: .8; }
.denoms { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin-bottom: 14px; }
.dn { display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-2); }
.dn output { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-3); font-size: 12px; }
.drw { margin-bottom: 14px; }
.drawer.closed .btn { margin-top: 14px; }

/* ── windows: modal, drawer, sheet */
#layer:empty { display: none; }
.scrim { position: fixed; inset: 0; z-index: 50; background: var(--scrim); animation: fade var(--t2) var(--ease); }
.modal { position: fixed; z-index: 51; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: var(--sf); border: 1px solid var(--line-2); border-radius: var(--r3); box-shadow: var(--shadow); animation: pop var(--t2) var(--ease); }
.modal.narrow { width: min(470px, calc(100vw - 32px)); }
.modal.mid { width: min(760px, calc(100vw - 32px)); }
.modal.wide { width: min(980px, calc(100vw - 32px)); }
.modal.docm { width: min(720px, calc(100vw - 32px)); }
.modal.drawer { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: min(440px, 100vw); max-height: none; border-radius: 0; border-width: 0 0 0 1px; animation: slide var(--t2) var(--ease); }
.modal.palette { top: 12vh; transform: translateX(-50%); width: min(640px, calc(100vw - 32px)); max-height: 72vh; }
.modal.palette .m-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.modal.palette .m-b { padding: 8px 12px 12px; }
.modal.sheet-more { width: min(420px, calc(100vw - 32px)); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translate(-50%, calc(-50% + 8px)); } }
@keyframes slide { from { transform: translateX(24px); opacity: 0; } }
.modal.palette { animation: palin var(--t2) var(--ease); }
@keyframes palin { from { opacity: 0; transform: translate(-50%, 8px); } }
.m-h { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 20px 24px 14px; }
.m-ht { min-width: 0; }
.m-h h2 { font: 600 20px/26px var(--f-ui); letter-spacing: -.01em; }
.m-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.m-x { margin: -6px -8px 0 0; }
.m-b { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 2px 24px 20px; }
.m-f { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.m-f .fine { margin: 0 auto 0 0; }
.modal.drawer .m-f { justify-content: flex-start; }
.bk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.bk-sec { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.bk-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.bk-sec h3 { font: 600 14px/20px var(--f-ui); margin-bottom: 10px; }
.split-pick p { font-size: 13px; color: var(--ink-2); margin: 14px 0 8px; }
.split-pick p b { color: var(--ink); }
.split-pick .chip { height: 28px; font-size: 12px; padding: 0 10px; }
.rep { margin-top: 12px; }
.rep li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.rep li.skip { color: var(--ink-3); }
.rep li em { font-style: normal; color: var(--warn); font-size: 12px; }
.rep + .muted { margin-top: 8px; }
.gear li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.gear li:last-child { border-bottom: 0; }
.gear b { display: block; font-size: 13px; font-weight: 500; }
.gear small { display: block; font-size: 12px; color: var(--ink-3); }
.bk-sum { position: sticky; top: 0; padding: 16px; border-radius: 10px; background: var(--sf-2); border: 1px solid var(--line); }
.bk-where { display: flex; flex-direction: column; margin: 10px 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.bk-where b { font-size: 14px; }
.bk-where span { font-size: 12px; color: var(--ink-3); }
.bk-pay { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.hold { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--ink-3); }
.hold .ic { width: 14px; height: 14px; }
.hold b { font-variant-numeric: tabular-nums; color: var(--ink-2); }
.wk-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.wk-sum { padding: 16px; border-radius: 10px; background: var(--sf-2); border: 1px solid var(--line); }
.wk-sum .dl { margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.keys { display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; align-items: center; font-size: 13px; }
.keys dt { white-space: nowrap; }
.keys dd { color: var(--ink-2); }
.pal-in { position: relative; margin: 4px 0 8px; }
.pal-in .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--ink-3); }
.pal-in .inp { height: 48px; font-size: 16px; padding-left: 42px; }
#pal-res { max-height: 46vh; overflow-y: auto; }
.pal-g { font: 500 11px/16px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px 4px; }
.pal-i { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; border-radius: var(--r2); cursor: pointer; font-size: 14px; }
.pal-i .ic { width: 16px; height: 16px; color: var(--ink-3); }
.pal-i span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-i small { margin-left: auto; font-size: 12px; color: var(--ink-3); white-space: nowrap; }
.pal-i.on { background: var(--sf-2); box-shadow: inset 2px 0 0 var(--ink); }
.pal-empty { padding: 20px 12px; color: var(--ink-3); font-size: 13px; }
.pal-k { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); padding: 10px 4px 0; margin-top: 8px; border-top: 1px solid var(--line); }
.pal-k kbd + kbd { margin-left: -2px; }
.more-sw { padding: 4px 0 16px; }
.more-l { display: flex; flex-direction: column; }
.more-l a, .more-l button { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line); background: none; text-decoration: none; font: 500 15px/1 var(--f-ui); color: var(--ink); text-align: left; }
.more-l a span, .more-l button span { margin-right: auto; }
.more-l .ic { color: var(--ink-3); }
.menu { position: fixed; z-index: 70; min-width: 230px; max-width: 320px; max-height: 70vh; overflow-y: auto; padding: 6px; border-radius: 10px; background: var(--sf); border: 1px solid var(--line-2); box-shadow: var(--shadow); animation: fade var(--t1) var(--ease); }
.menu button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 36px; padding: 6px 10px; border: 0; border-radius: 6px; background: none; text-align: left; font-size: 13px; color: var(--ink); }
.menu button span { flex: 1; }
.menu button .ic { width: 16px; height: 16px; color: var(--ink-3); }
.menu button:hover, .menu button:focus-visible { background: var(--sf-2); outline: none; }
.menu button.danger, .menu button.danger .ic { color: var(--bad); }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.menu-h { padding: 8px 10px 6px; font-size: 12px; color: var(--ink-3); }

/* ── toasts and tooltips */
#toasts { position: fixed; z-index: 90; right: 20px; bottom: var(--toast-b); display: flex; flex-direction: column; gap: 8px; align-items: flex-end; pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; min-width: 280px; max-width: 440px; padding: 11px 10px 11px 14px; border-radius: 10px; background: var(--toast); color: var(--toast-ink); box-shadow: var(--shadow); font-size: 13px; line-height: 18px; pointer-events: auto; animation: tin var(--t2) var(--ease); }
.toast.out { opacity: 0; transform: translateY(6px); transition: opacity var(--t1), transform var(--t1); }
.toast.t-bad { box-shadow: inset 4px 0 0 #D9434E, var(--shadow); }
.toast.t-ok { box-shadow: inset 4px 0 0 #2E9E62, var(--shadow); }
.toast.t-live { box-shadow: inset 4px 0 0 #4D8FCF, var(--shadow); }
.toast-m { flex: 1; min-width: 0; }
.toast-m code { font-weight: 600; }
.toast-b { border: 0; background: none; padding: 4px 6px; border-radius: 4px; color: inherit; font: 600 13px/1 var(--f-ui); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.toast-b:hover { background: rgba(127, 127, 127, .16); }
.toast-x { border: 0; background: none; padding: 4px; border-radius: 4px; color: inherit; opacity: .6; display: flex; }
.toast-x:hover { opacity: 1; }
.toast-x .ic { width: 15px; height: 15px; }
@keyframes tin { from { opacity: 0; transform: translateY(8px); } }
@media (hover: hover) {
  [data-tip] { position: relative; }
  [data-tip]:hover::after { content: attr(data-tip); position: absolute; z-index: 45; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 5px 8px; border-radius: 6px; background: var(--ink); color: var(--bg); font: 500 12px/16px var(--f-ui); white-space: nowrap; pointer-events: none; }
  .top-r [data-tip]:hover::after { left: auto; right: 0; transform: none; }
}

/* ── printed documents */
.doc { background: #FFFFFF; color: #15201B; padding: 32px; border-radius: 6px; font: 400 13px/19px var(--f-ui); }
.docm .m-b { background: var(--sf-2); padding-top: 16px; }
.doc-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid #15201B; }
.doc-brand { display: flex; align-items: center; gap: 8px; }
.doc-brand .logo { width: 26px; height: 26px; }
.doc-brand b { font: 600 15px/1 var(--f-ui); }
.doc-t { text-align: right; }
.doc-t h1 { font: 400 26px/1 var(--f-num); text-transform: uppercase; letter-spacing: .02em; }
.doc-t p { font-size: 12px; color: #56635C; margin-top: 4px; }
.doc-2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 18px 0; }
.doc-2 h4 { font: 500 11px/14px var(--f-ui); text-transform: uppercase; letter-spacing: .08em; color: #56635C; margin-bottom: 4px; }
.doc-big { font: 400 26px/1.1 var(--f-num); }
.doc-tbl { width: 100%; font-size: 12px; }
.doc-tbl th { text-align: left; font: 500 11px/14px var(--f-ui); text-transform: uppercase; letter-spacing: .06em; color: #56635C; padding: 6px 0; border-bottom: 1px solid #15201B; }
.doc-tbl td { padding: 7px 0; border-bottom: 1px solid #DDE3DE; }
.doc-tbl td + td, .doc-tbl th + th { padding-left: 10px; }
.doc-tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.doc-tbl tfoot td { border-bottom: 0; padding: 4px 0; }
.doc-tbl tfoot tr:first-child td { padding-top: 10px; }
.doc-tbl tr.tot td { font-weight: 700; font-size: 14px; border-top: 2px solid #15201B; padding-top: 8px; }
.doc-n { margin-top: 18px; font-size: 11px; line-height: 16px; color: #56635C; }
.doc-sign { display: flex; gap: 48px; margin-top: 40px; }
.doc-sign span { width: 200px; padding-top: 6px; border-top: 1px solid #15201B; font-size: 11px; color: #56635C; }
#print-root { display: none; }
@media print {
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; }
  body { background: #FFFFFF; }
  .doc { padding: 0; }
  @page { margin: 14mm; }
}

/* ── narrower desktops */
@media (max-width: 1240px) {
  .vrow { grid-template-columns: 22px 96px minmax(0, 1fr) 96px; }
  .vslots { grid-column: 3 / 5; }
  .venues { grid-template-columns: minmax(0, 1fr) 320px; }
  .fx { grid-template-columns: 50px 60px minmax(0, 1fr) 120px 110px 18px; }
  .fx-poll { display: none; }
  .grow { grid-template-columns: 82px minmax(0, 1fr) 140px 110px; }
  .g-lv { display: none; }
  .kpis span { white-space: normal; }
}
@media (max-width: 1100px) {
  .sg.horiz .cell { font-size: 12px; }
  .sg { --lab: 120px; }
  .venues { grid-template-columns: minmax(0, 1fr); }
  .vmap { display: none; }
  .venues.map-open .vmap { display: block; position: static; order: -1; }
  .bk-layout, .games-grid { grid-template-columns: minmax(0, 1fr); }
  .team-grid, .bd-grid, .eq-grid, .col-grid, .price-grid, .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .sheet-grid .desk-below { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .desk-shell { grid-template-columns: 64px minmax(0, 1fr); }
  .rail a span, .rail a kbd, .rail-h, .rail-foot span:last-child { display: none; }
  .rail { padding: 16px 8px; }
  .rail a { justify-content: center; padding: 0; }
  .rail a.on::before { left: -8px; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis > div:nth-child(4) { border-left: 0; }
  .kpis > div:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 1100px) and (min-width: 761px) { .tb-row [data-act="map-toggle"].show-ph { display: inline-flex !important; } }

/* ── phones */
@media (max-width: 760px) {
  :root { --top-h: 56px; }
  body { font-size: 14px; }
  .hide-ph { display: none !important; }
  .show-ph { display: inline-flex !important; }
  span.show-ph { display: inline !important; }
  .top-in { padding: 0 12px; gap: 8px; }
  .topnav, .desk-v { display: none; }
  .brand-n { font-size: 16px; }
  .logo { width: 28px; height: 28px; }
  .top-r { gap: 2px; }
  .sw { margin-right: 2px; }
  .sw button { padding: 0 10px; gap: 5px; }
  .sw .sw-l { display: none; }
  .sw .sw-s { display: inline; }
  .sw.big .sw-l { display: inline; }
  .sw.big .sw-s { display: none; }
  .wrap, .desk-shell > main { padding: 16px 16px calc(var(--tab-h) + 40px); }
  .desk-shell { display: block; }
  .rail { display: none; }
  .tabbar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; z-index: 35; left: 0; right: 0; bottom: 0; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--bg-2); border-top: 1px solid var(--line-2); }
  .tabbar a, .tabbar button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 0; background: none; color: var(--ink-3); text-decoration: none; font: 500 11px/1 var(--f-ui); }
  .tabbar .ic { width: 20px; height: 20px; }
  .tabbar a.on { color: var(--ink); }
  .tabbar a.on::before { content: ""; position: absolute; top: -1px; left: 22%; right: 22%; height: 2px; background: var(--ink); }
  .ph { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 16px; }
  .ph h1 { font-size: 24px; line-height: 30px; }
  .ph-r { gap: 8px; }
  .ph-r .sel-l { flex: 1; min-width: 0; }
  .ph-r .sel-l select { min-width: 0; width: 100%; }
  .ph-r .sel-l > span { display: none; }
  .ph-r > .btn { flex: 1; }
  .days { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .day { padding: 5px 0 4px; }
  .day small { font-size: 10px; line-height: 12px; letter-spacing: .02em; }
  .day b { font-size: 20px; line-height: 24px; }
  .tb-row { align-items: flex-start; }
  .seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .seg:has(> :nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seg:has(> :nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seg button { padding: 0 8px; justify-content: center; }
  .pp-me .seg, .tb-row > .seg + .btn { width: auto; }
  .toolbar.tb-row { gap: 8px; }
  .search-in, .search-in .inp { width: 100%; }
  .search-in { flex: 1 1 100%; }
  .venues { display: flex; flex-direction: column; }
  .vrow { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "thumb main price" "slots slots slots"; gap: 12px; padding: 14px; }
  .vnum { display: none; }
  .vthumb { grid-area: thumb; align-self: start; }
  .vmain { grid-area: main; }
  .vprice { grid-area: price; align-self: start; }
  .vprice b { font-size: 20px; }
  .vslots { grid-area: slots; grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
  .vmain h3 { font-size: 16px; }
  .vtypes { margin: 6px 0 6px; }
  .vhead { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 16px; padding-bottom: 16px; }
  .vname { font-size: 40px; }
  .vh-r { max-width: 250px; padding: 8px; }
  .vh-cap { display: none; }
  .gridpanel { padding: 10px; margin: 0 -4px; }
  .gp-h { margin-bottom: 10px; }
  .sg.vert .cell { font-size: 15px; }
  .span { padding: 0 8px; }
  .sg.vert.m-desk { --lab: 56px; }
  .sg.vert.m-desk .span { padding: 0 5px; }
  .sg.vert.m-desk .span b { font-size: 12px; }
  .sg.vert.m-desk .span small { font-size: 11px; }
  .selbar.on { position: fixed; left: 10px; right: 10px; bottom: calc(var(--tab-h) + 10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "time price" "meta meta" "acts acts"; gap: 8px 12px; padding: 12px; }
  .selbar.on .sel-sb { grid-area: time; }
  .selbar.on .sel-price { grid-area: price; }
  .selbar.on .sel-meta { grid-area: meta; }
  .selbar.on .sel-a { grid-area: acts; }
  .selbar.on .sel-a .btn { flex: 1; }
  .selbar.on .sel-a .btn.pri { flex: 2; }
  .sel-sb .sb { --sb: 18px; }
  .sel-price b { font-size: 22px; }
  body:has(.selbar.on) .wrap, body:has(.selbar.on) .desk-shell > main { padding-bottom: calc(var(--tab-h) + 200px); }
  .selbar.idle { flex-wrap: wrap; }
  .vinfo { grid-template-columns: minmax(0, 1fr); }
  .tbl.rates thead { display: none; }
  .tbl.rates tbody, .tbl.rates tr { display: block; }
  .tbl.rates tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .tbl.rates tr:last-child { border-bottom: 0; }
  .tbl.rates th { grid-column: 1 / -1; padding: 0; border: 0; text-transform: none; letter-spacing: 0; font: 600 14px/20px var(--f-ui); color: var(--ink); }
  .tbl.rates td { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; border: 0; text-align: right; }
  .tbl.rates td::before { content: attr(data-label); color: var(--ink-3); text-align: left; }
  .tbl.rates td small { display: none; }
  .fx { grid-template-columns: 46px minmax(0, 1fr) auto; grid-template-areas: "d m s" "d t sp"; gap: 6px 12px; padding: 10px 12px 10px 10px; }
  .fx-d { grid-area: d; align-self: start; }
  .fx-t { grid-area: t; font-size: 18px; display: flex; align-items: baseline; gap: 6px; }
  .fx-t small { display: inline; margin: 0; }
  .fx-m { grid-area: m; }
  .fx-m b { font-size: 14px; }
  .fx-m small { font-size: 12px; }
  .fx-split { grid-area: sp; text-align: right; min-width: 90px; }
  .fx-s { grid-area: s; }
  .fx-c, .fx-poll { display: none; }
  .fx-split small { margin-top: 2px; }
  .bhead { grid-template-columns: 60px minmax(0, 1fr); gap: 12px 14px; }
  .bh-date b { font-size: 28px; }
  .bh-main h1 { font-size: 20px; line-height: 26px; }
  .bh-time { grid-column: 1 / -1; justify-content: flex-start; max-width: none; }
  .bh-time small { text-align: left; }
  .bh-time .sb { --sb: 24px; }
  .bh-acts .btn { flex: 1 1 auto; }
  .votes { columns: 1; }
  .pp-h h2, .sp-h h2 { font-size: 18px; line-height: 24px; }
  .pp-sb .sb { --sb: 20px; }
  .panel { padding: 16px; }
  .tk-n { display: none; }
  .tk-i { font-size: 2.6px; }
  .pp-me { flex-direction: column; align-items: stretch; }
  .pp-me .seg { display: grid; grid-template-columns: repeat(3, 1fr); }
  .py { grid-template-columns: 30px minmax(0, 1fr) auto auto; }
  .team-h .th-l { align-items: flex-start; }
  .rs { grid-template-columns: 30px minmax(0, 1fr) auto 32px; }
  .rs .att { display: none; }
  .grow { grid-template-columns: 68px minmax(0, 1fr); grid-template-areas: "w m" "w sp" "w a"; gap: 8px 12px; padding: 12px; }
  .g-when small { font-size: 10px; letter-spacing: .03em; }
  .g-when { grid-area: w; align-self: start; }
  .g-main { grid-area: m; }
  .g-sp { grid-area: sp; display: flex; align-items: center; gap: 10px; }
  .g-sp small { margin: 0; }
  .g-a { grid-area: a; text-align: left; }
  .g-a .btn { width: 100%; }
  .dots { grid-template-columns: repeat(14, 6px); gap: 3px; }
  .dots i { width: 6px; height: 6px; }
  .seekers li { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .seekers li .tag { display: none; }
  .set-grid { grid-template-columns: minmax(0, 1fr); }
  .trow { flex-wrap: wrap; }
  .datenav { flex-wrap: wrap; }
  .datenav .inp { flex: 1; width: auto; }
  .clockb { margin-left: auto; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpis > div { padding: 12px 14px; border-left: 0; border-top: 1px solid var(--line); }
  .kpis > div:nth-child(even) { border-left: 1px solid var(--line); }
  .kpis > div:first-child { grid-column: 1 / -1; border-top: 0; }
  .kpis > div:nth-child(n + 2):nth-child(odd) { border-left: 1px solid var(--line); }
  .kpis > div:nth-child(even) { border-left: 0; }
  .kpis b { font-size: 24px; }
  .gridpanel.desk .gp-h { display: none; }
  .desk-below, .sheet-grid .desk-below { grid-template-columns: minmax(0, 1fr); }
  .sheet-grid { grid-template-columns: minmax(0, 1fr); }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 14px; align-items: center; padding: 12px 16px; }
  .plan .eyebrow { grid-column: 1 / -1; }
  .plan > b { font-size: 28px; }
  .plan p:not(.muted) { display: none; }
  .plan p.muted { margin-top: 0; }
  .plan:first-child { border-top: 0; }
  .tbl.members thead, .tbl.equip thead, .tbl.tx thead { display: none; }
  .tbl.members, .tbl.members tbody, .tbl.equip, .tbl.equip tbody, .tbl.tx, .tbl.tx tbody { display: block; }
  .tbl.members tr, .tbl.equip tr, .tbl.tx tr { display: grid; gap: 6px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); align-items: center; }
  .tbl.members tr:last-child, .tbl.equip tr:last-child, .tbl.tx tr:last-child { border-bottom: 0; }
  .tbl.members td, .tbl.equip td, .tbl.tx td { padding: 0; border: 0; min-width: 0; }
  .tbl tbody tr:hover td { background: none; }
  .tbl.members tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "who st" "plan ren" "use use" "acts acts"; }
  .tbl.members td:nth-child(1) { grid-area: who; }
  .tbl.members td:nth-child(2) { grid-area: plan; color: var(--ink-2); }
  .tbl.members td:nth-child(3) { grid-area: use; }
  .tbl.members td:nth-child(4) { grid-area: ren; text-align: right; }
  .tbl.members td:nth-child(5) { grid-area: st; }
  .tbl.members td:nth-child(6) { grid-area: acts; text-align: left; }
  .tbl.equip tr { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "item rate" "stock stock" "acts acts"; }
  .tbl.equip td:nth-child(1) { grid-area: item; }
  .tbl.equip td:nth-child(2) { grid-area: rate; }
  .tbl.equip td:nth-child(3) { display: none; }
  .tbl.equip td:nth-child(4) { grid-area: stock; }
  .tbl.equip td:nth-child(5) { grid-area: acts; text-align: left; }
  .stock { width: 100%; }
  .tbl.tx tr { grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-areas: "t who amt" "t for how"; }
  .tbl.tx td:nth-child(1) { grid-area: t; text-align: left; align-self: start; color: var(--ink-3); }
  .tbl.tx td:nth-child(2) { grid-area: who; }
  .tbl.tx td:nth-child(3) { grid-area: for; color: var(--ink-3); font-size: 12px; }
  .tbl.tx td:nth-child(3) small { display: none; }
  .tbl.tx td:nth-child(4) { grid-area: how; text-align: right; font-size: 12px; color: var(--ink-3); }
  .tbl.tx td:nth-child(5) { grid-area: amt; font-weight: 600; }
  .tbl.tx td:nth-child(2) small { display: none; }
  .tbl.rate-ed thead { display: none; }
  .tbl.rate-ed, .tbl.rate-ed tbody { display: block; }
  .tbl.rate-ed tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl.rate-ed tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  .tbl.rate-ed td { padding: 0; border: 0; }
  .tbl.rate-ed td::before { content: attr(data-label); display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
  .tbl.rate-ed td .money-in .inp { width: 100%; }
  .ribbon { grid-template-columns: repeat(11, minmax(0, 1fr)); }
  .rb-h { height: 30px; }
  .col-hero { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .ch-tot .sb { --sb: 32px; }
  .mkey { grid-template-columns: repeat(2, auto); }
  .ro-h.pad .seg { width: 100%; }
  .denoms { grid-template-columns: minmax(0, 1fr); }
  .empty { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .empty-art { grid-row: auto; width: 96px; height: 52px; }
  .login { grid-template-columns: minmax(0, 1fr); }
  .login-art { padding: 20px 16px 24px; gap: 18px; border-right: 0; border-bottom: 1px solid rgba(245, 247, 242, .12); }
  .la-h { font-size: 40px; }
  .la-board { gap: 24px; }
  .la-board .sb { --sb: 28px; }
  .login-form { padding: 28px 16px 40px; }
  .rcards { grid-template-columns: minmax(0, 1fr); }
  .modal, .modal.narrow, .modal.mid, .modal.wide, .modal.docm, .modal.drawer, .modal.palette, .modal.sheet-more { left: 0; right: 0; top: auto; bottom: 0; transform: none; width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; border-width: 1px 0 0; animation: rise var(--t2) var(--ease); }
  .modal.drawer { height: auto; }
  .modal.palette { max-height: 88vh; }
  .modal.palette .m-b { padding-top: 16px; }
  @keyframes rise { from { transform: translateY(24px); opacity: 0; } }
  .m-h { padding: 18px 16px 10px; }
  .m-h::before { content: ""; position: absolute; top: 7px; left: 50%; width: 36px; height: 4px; margin-left: -18px; border-radius: 2px; background: var(--line-2); }
  .m-h h2 { font-size: 18px; line-height: 24px; }
  .m-b { padding: 2px 16px 16px; }
  .m-f { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
  .m-f .fine { width: 100%; order: 3; margin: 0; }
  .m-f .btn { flex: 1; }
  .m-f .btn.pri { flex: 2; }
  .bk-grid, .wk-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bk-sum { position: static; }
  .rep li { grid-template-columns: 82px minmax(0, 1fr) auto; }
  .rep li .tag { display: none; }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .keys { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .keys dd { margin-bottom: 8px; }
  .doc { padding: 18px; }
  .doc-2 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .doc-h { flex-direction: column; align-items: flex-start; }
  .doc-t { text-align: left; }
  .names.compact { grid-template-columns: minmax(0, 1fr); }
  #toasts { left: 12px; right: 12px; align-items: stretch; }
  .toast { min-width: 0; max-width: none; }
  .menu { max-width: calc(100vw - 16px); }
  .ctl-l { flex-direction: column; gap: 2px; }
}

/* ── motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}
