/* Hashmark (phase 3) - Club office in the mockups' look: docs/design/app-a-c-screens.html, screen "Club office".
   Every rule starts with html[data-site] (the look; the website and the app). siteui.css has the frame and the shared tokens.
   The club screen draws its own page (club.js clubShellLook, only with siteLook()): .cbx-top is the black bar, #cbMain
   holds .cbx-side (the tabs) and .cbx-page (the page head, then the tab). clubtasks.js draws the board (.ct-kan),
   clubgear.js the table (.gr-tbl). The other tabs keep their markup: their cards, rows, chips and buttons are restyled here. */
@media screen {
html[data-site][data-ui="a"] {
  --cbx-okbg: #e6f3e8; --cbx-oktx: #1f6a2f; --cbx-badbg: #fbe7e2; --cbx-badtx: #a3260f; --cbx-bluebg: #e9edfc; --cbx-bluetx: #1a3aa8; --cbx-tag: #e8e5dd;
}
html[data-site][data-ui="a"][data-theme="dark"] {
  --cbx-okbg: #16281a; --cbx-oktx: #9be3a6; --cbx-badbg: #2e1914; --cbx-badtx: #ff9c8a; --cbx-bluebg: #16203d; --cbx-bluetx: #9fb4ff; --cbx-tag: #22262b;
}

/* ---------- the page: the A tokens again (theme.css gives #cbMain the Club Colors ones) ---------- */
html[data-site][data-ui="a"] #cbMain.cbx-main {
  --bg: #f6f5f1; --panel: #ffffff; --surf: #ffffff; --surf2: #f0eee8; --soft: #f0eee8; --soft-2: #e8e5dd;
  --line: #e0ddd4; --line-2: #cfcabd; --ink-line: #e0ddd4; --muted: #5c5952;
  --hs: none; --rc: var(--r); --rcs: var(--rs);
}
html[data-site][data-ui="a"][data-theme="dark"] #cbMain.cbx-main {
  --bg: #0c0d0f; --panel: #141619; --surf: #141619; --surf2: #1b1e22; --soft: #1b1e22; --soft-2: #22262b;
  --line: #262a30; --line-2: #3a3f47; --ink-line: #262a30; --muted: #9a978f;
}
html[data-site][data-ui="a"][data-theme="dark"] .ld.cbx:has(#cbMain) { background: var(--bg); }
html[data-site][data-ui="a"] .ld.cbx:has(#cbMain), html[data-site][data-ui="a"] .ld.cbx { min-height: 100vh; overflow: visible; background: var(--bg); }

/* ---------- the black bar (as siteui.css header.top) ---------- */
html[data-site][data-ui="a"] .cbx-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 14px; background: var(--s-top); color: var(--s-toptx); border-bottom: 1px solid var(--s-topln); box-sizing: border-box; }
html[data-site][data-ui="a"] .cbx-mk { width: 28px; height: 28px; flex: none; }
html[data-site][data-ui="a"] .cbx-club { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; min-height: 0; border: 1px solid var(--s-topln); border-radius: var(--rb); background: transparent; color: var(--s-toptx); box-shadow: none; font-weight: 400; text-align: left; line-height: 1.15; max-width: 260px; flex: none; cursor: default; }
html[data-site][data-ui="a"] .cbx-club[hidden] { display: none; }
html[data-site][data-ui="a"] .cbx-club.cbx-more { cursor: pointer; }
html[data-site][data-ui="a"] .cbx-club.cbx-more::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid var(--s-topmu); border-bottom: 1.5px solid var(--s-topmu); transform: rotate(45deg); margin: -3px 2px 0 6px; flex: none; }
html[data-site][data-ui="a"] .cbx-club:hover { border-color: var(--s-topln); }
html[data-site][data-ui="a"] .cbx-club.cbx-more:hover { border-color: var(--s-topmu); }
html[data-site][data-ui="a"] .cbx-crest { width: 30px; height: 30px; border-radius: 8px; background: var(--s-blue); color: #fff; font: 800 14px/1 var(--s-hf); display: grid; place-items: center; flex: none; }
html[data-site][data-ui="a"] .cbx-cn { min-width: 0; }
html[data-site][data-ui="a"] .cbx-cn b { display: block; font-size: 13.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-site][data-ui="a"] .cbx-cn small { display: block; color: var(--s-topmu); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[data-site][data-ui="a"] .cbx-areas { display: flex; gap: 2px; align-items: center; margin-left: 8px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
html[data-site][data-ui="a"] .cbx-areas::-webkit-scrollbar { display: none; }
html[data-site][data-ui="a"] .cbx-areas button { display: flex; gap: 7px; align-items: center; padding: 8px 12px; min-height: 36px; border: 0; border-radius: var(--rb); background: transparent; box-shadow: none; color: var(--s-topmu); font: 600 14px/1.1 'Barlow', system-ui, sans-serif; white-space: nowrap; flex: none; }
html[data-site][data-ui="a"] .cbx-areas button:hover { color: var(--s-toptx); background: var(--s-topon); }
html[data-site][data-ui="a"] .cbx-areas button.on { color: var(--hi); background: var(--s-topon); cursor: default; }
html[data-site][data-ui="a"] .cbx-ico { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; display: block; }
html[data-site][data-ui="a"] .cbx-sp { flex: 1 1 auto; }
html[data-site][data-ui="a"] .cbx-top button:not(.cbx-club):not(.lang-menu button) { color: var(--s-toptx); }
html[data-site][data-ui="a"] .cbx-top .nt-bell { width: 34px; min-width: 34px; height: 34px; min-height: 0; padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; color: var(--s-topmu); display: grid; place-items: center; }
html[data-site][data-ui="a"] .cbx-top .nt-bell[hidden] { display: none; }
html[data-site][data-ui="a"] .cbx-top .nt-bell:hover { color: var(--s-toptx); background: var(--s-topon); }
html[data-site][data-ui="a"] .cbx-top .lang-btn { min-height: 34px; padding: 4px 9px; border: 1px solid var(--s-topln); border-radius: var(--rb); background: transparent; box-shadow: none; color: var(--s-toptx); font-size: 13px; }
html[data-site][data-ui="a"] .cbx-top .lang-btn:hover { border-color: var(--s-topmu); background: transparent; }
html[data-site][data-ui="a"] .cbx-top .cbx-back { min-height: 34px; padding: 5px 12px; border: 1px solid var(--s-topln); border-radius: var(--rb); background: transparent; box-shadow: none; color: var(--s-toptx); font: 600 13.5px/1 'Barlow', system-ui, sans-serif; }
html[data-site][data-ui="a"] .cbx-top .cbx-back:hover { border-color: var(--s-topmu); background: var(--s-topon); }
html[data-site][data-ui="a"] .cbx-me { width: 30px; height: 30px; border-radius: 50%; background: var(--s-blue); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; }

/* ---------- the body: the tabs as a sidebar, the page ---------- */
html[data-site][data-ui="a"] #cbMain.cbx-main { max-width: 1080px; padding: 28px max(16px, 3vw) 48px; }
html[data-site][data-ui="a"] #cbMain.cbx-main:has(> .cbx-side) { max-width: none; width: 100%; padding: 0; margin: 0; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0; flex: 1 0 auto; align-items: stretch; }
html[data-site][data-ui="a"] .ld.cbx:has(#cbMain), html[data-site][data-ui="a"] .ld.cbx { display: flex; flex-direction: column; }
html[data-site][data-ui="a"] .cbx-side { background: var(--s-side); border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; min-height: calc(100vh - 57px); box-sizing: border-box; }
html[data-site][data-ui="a"] .cbx-side .cbx-h { font: 700 11px/1.3 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 14px 10px 6px; color: var(--s-mu2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-site][data-ui="a"] .cbx-side button { display: flex; gap: 10px; align-items: center; padding: 7px 10px; min-height: 0; border: 0; border-radius: var(--rs); background: transparent; box-shadow: none; color: var(--muted); font: 500 14px/1.25 'Barlow', system-ui, sans-serif; text-align: left; text-transform: none; letter-spacing: 0; }
html[data-site][data-ui="a"] .cbx-side button:hover { background: var(--soft); color: var(--ink); }
html[data-site][data-ui="a"] .cbx-side button.on { background: var(--ink-bg, var(--ink)); color: var(--hi); }
html[data-site][data-ui="a"][data-theme="dark"] .cbx-side button.on { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
html[data-site][data-ui="a"] .cbx-side .lbl { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[data-site][data-ui="a"] .cbx-page { position: relative; min-width: 0; padding: 24px 28px 48px; }
html[data-site][data-ui="a"] .cbx-page::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 119px, var(--s-deco) 119px 120px); -webkit-mask: linear-gradient(#000, transparent 260px); mask: linear-gradient(#000, transparent 260px); pointer-events: none; }
html[data-site][data-ui="a"] .cbx-page > * { position: relative; z-index: 1; }

/* the page head: eyebrow, the tab's name, the line under it; the tab's buttons on the right */
html[data-site][data-ui="a"] .cbx-ph { display: flex; align-items: flex-end; gap: 12px 16px; margin-bottom: 18px; flex-wrap: wrap; }
html[data-site][data-ui="a"] .cbx-pt { min-width: 0; flex: 1 1 240px; }
html[data-site][data-ui="a"] .cbx-eyb { font: 700 12px/1.2 'Barlow Condensed', 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .cbx-h1 { margin: 8px 0 0; font: 800 40px/1 var(--s-hf); text-transform: uppercase; letter-spacing: 0; color: var(--ink); overflow-wrap: anywhere; }
html[data-site][data-ui="a"] .cbx-sub { margin-top: 8px; font-size: 14px; color: var(--muted); }
html[data-site][data-ui="a"] .cbx-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: flex-end; margin-left: auto; }
html[data-site][data-ui="a"] .cbx-acts:empty { display: none; }
html[data-site][data-ui="a"] .cbx-acts > button { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; padding: 9px 15px; font-size: 14px; }
html[data-site][data-ui="a"] .cbx-acts > button .cbx-ico { width: 16px; height: 16px; }

/* ---------- the parts every tab uses (club.js clubCss and the tab files) ---------- */
html[data-site][data-ui="a"] .cbx #cbMain .cb-tabbody { gap: 16px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: none; padding: 16px 18px; gap: 8px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-card h2 { font: 700 16px/1.25 'Barlow', system-ui, sans-serif; text-transform: none; letter-spacing: -.01em; margin: 0 0 2px; color: var(--ink); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-card h3 { letter-spacing: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .ld-k { font: 700 11px/1.3 'Barlow', sans-serif; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 4px; }
html[data-site][data-ui="a"] .cbx #cbMain .ld-k.cb-gap { margin-top: 14px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-row { border-top: 1px solid var(--line); padding: 11px 0; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-row:first-child { border-top: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-main b { font-size: 14.5px; font-weight: 600; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-meta { font-size: 13px; color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-line { font-size: 14px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-small { font-size: 13px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-chip,
html[data-site][data-ui="a"] #modal .cb-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border: 0; border-radius: 99px; background: var(--cbx-tag); color: var(--muted); white-space: nowrap; line-height: 1.2; }
html[data-site][data-ui="a"] .cbx #cbMain .tt-tag { border-radius: 99px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-btns { gap: 8px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-btns button { min-height: 36px; padding: 6px 13px; font-size: 13.5px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-err { border: 1px solid var(--cbx-badbg); background: var(--cbx-badbg); color: var(--cbx-badtx); border-radius: var(--rs); font-weight: 600; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.cb-note, .ac-note) { border: 1px solid var(--line); background: var(--soft); color: var(--ink); border-radius: var(--rs); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-offer { border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); box-shadow: none; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-link { color: var(--muted); font-weight: 600; text-underline-offset: 3px; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-link { border: 0; background: transparent; box-shadow: none; padding: 4px 0; border-radius: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-link:hover { color: var(--ink); background: transparent; }
html[data-site][data-ui="a"] .cbx #cbMain .cb-total b { font: 800 30px/1 var(--s-hf); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-period { box-shadow: none; }
html[data-site][data-ui="a"] .cbx #cbMain .seg { display: inline-flex; gap: 3px; background: var(--soft); border: 1px solid var(--line); border-radius: calc(var(--rb) + 3px); padding: 3px; }
html[data-site][data-ui="a"] .cbx #cbMain .seg button { border: 0; background: transparent; box-shadow: none; padding: 6px 12px; min-height: 0; border-radius: var(--rb); font-weight: 600; font-size: 13px; color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .seg button:hover { color: var(--ink); }
html[data-site][data-ui="a"] .cbx #cbMain .seg button.on { background: var(--ink-bg, var(--ink)); color: var(--hi); }
html[data-site][data-ui="a"][data-theme="dark"] .cbx #cbMain .seg button.on { box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-site][data-ui="a"] .cbx #cbMain .ac-badge { border-radius: 99px; border: 0; font-size: 12px; padding: 4px 10px; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-filters, .cd-filters, .cf-filters) button.on { background: var(--ink-bg, var(--ink)); color: var(--hi); }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-filters) button { min-height: 34px; font-size: 13px; font-weight: 600; background: var(--panel); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-hit, html[data-site][data-ui="a"] .cbx #cbMain .ld-opt { border-radius: var(--rs); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-link { border: 1px solid var(--line); border-radius: var(--rs); background: var(--soft); font: 400 12.5px/1.4 var(--s-mono); }
html[data-site][data-ui="a"] .cbx #cbMain table:not(.gr-tbl) th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain table:not(.gr-tbl) :is(th, td) { border-top-width: 1px; border-color: var(--line); }

/* the views inside a tab (Documents, Commitments, Bin) as page tabs; the filter rows as quiet buttons, the chosen one ink */
html[data-site][data-ui="a"] .cbx #cbMain :is(.cd-views, .cf-views) { gap: 2px; border-bottom: 1px solid var(--line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.cd-views, .cf-views) button { min-height: 0; padding: 10px 14px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px; background: transparent; box-shadow: none; color: var(--muted); font: 600 14px/1.25 'Barlow', system-ui, sans-serif; white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.cd-views, .cf-views) button:hover { color: var(--ink); border-bottom-color: var(--line-2); }
html[data-site][data-ui="a"] .cbx #cbMain :is(.cd-views, .cf-views) button.on { color: var(--ink); border-bottom-color: var(--ink); background: transparent; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-filters, .cd-filter, .cf-filter, .cmm-filters) button { min-height: 34px; padding: 5px 12px; border: 1px solid var(--line); border-radius: var(--rb); background: var(--panel); box-shadow: none; color: var(--muted); font: 600 13.5px/1.2 'Barlow', system-ui, sans-serif; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-filters, .cd-filter, .cf-filter, .cmm-filters) button:hover { color: var(--ink); border-color: var(--line-2); }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-filters, .cd-filter, .cf-filter, .cmm-filters) button.on { background: var(--ink-bg, var(--ink)); color: var(--hi); border-color: transparent; }
html[data-site][data-ui="a"][data-theme="dark"] .cbx #cbMain :is(.ct-filters, .cd-filter, .cf-filter, .cmm-filters) button.on { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-site][data-ui="a"] .cbx #cbMain .cb-tabbody > div:empty { display: none; }
html[data-site][data-ui="a"] .cbx #cbMain .ac-badge { background: var(--cbx-tag); color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .ac-badge.paid { background: var(--cbx-okbg); color: var(--cbx-oktx); }
html[data-site][data-ui="a"] .cbx #cbMain .ac-badge.trial { background: var(--cbx-bluebg); color: var(--cbx-bluetx); }
html[data-site][data-ui="a"] .cbx #cbMain .ac-badge.ended { background: var(--cbx-badbg); color: var(--cbx-badtx); }
html[data-site][data-ui="a"] .cbx #cbMain .tt-tag { border: 0; background: var(--cbx-tag); color: var(--muted); font-size: 11.5px; font-weight: 700; padding: 3px 8px; }

/* ---------- Tasks: the board (clubtasks.js ctBoardTasks) ---------- */
html[data-site][data-ui="a"] .cbx #cbMain #ct-tasks.ct-board { background: transparent; border: 0; padding: 0; gap: 10px; }
html[data-site][data-ui="a"] .cbx #cbMain #ct-tasks.ct-board > h2 { display: none; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-seg button { white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-acts { justify-content: flex-start; margin: 0 0 6px; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kan { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kc { border: 1px solid var(--line); border-radius: var(--r); padding: 12px; min-height: 200px; background: transparent; display: flex; flex-direction: column; gap: 8px; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kc h3 { display: flex; justify-content: space-between; margin: 0; padding: 4px 4px 2px; font: 700 13px/1.2 'Barlow', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kt { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rs); padding: 12px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kt > b { font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kt.dn { opacity: .75; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-ks { font-size: 13px; color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kt .ct-notes { font-size: 13px; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-km { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 6px; font-size: 12.5px; color: var(--muted); min-width: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-av { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff; flex: none; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-av + .ct-av { margin-left: -2px; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-pill, .gr-pill) { display: inline-flex; align-items: center; font-size: 11.5px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: var(--cbx-tag); color: var(--muted); white-space: nowrap; line-height: 1.2; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-km .ct-pill { margin-left: auto; }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-pill, .gr-pill).ok { background: var(--cbx-okbg); color: var(--cbx-oktx); }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-pill, .gr-pill).bad { background: var(--cbx-badbg); color: var(--cbx-badtx); }
html[data-site][data-ui="a"] .cbx #cbMain :is(.ct-pill, .gr-pill).blue { background: var(--cbx-bluebg); color: var(--cbx-bluetx); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kb { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kb button { min-height: 30px; padding: 3px 10px; font-size: 12.5px; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kb button.ghost { color: var(--muted); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-kb button.ghost:hover { color: var(--ink); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-pick { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-pick .ct-lab { margin: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .ct-empty { padding: 18px; border: 1px dashed var(--line-2); border-radius: var(--r); }
html[data-site][data-ui="a"] .cbx #cbMain .ct-board .ct-bin { border-top: 0; margin-top: 2px; padding-top: 0; }

/* ---------- Equipment: the table (clubgear.js gearTableHtml) ---------- */
html[data-site][data-ui="a"] .cbx #cbMain .gr-lcard { padding: 0; gap: 0; overflow: hidden; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh h2 { margin: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh .gr-counts { margin: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh .cb-btns { margin: 0 0 0 auto; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh .gr-filters { margin: 0 0 0 auto; flex: 0 1 560px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lh .gr-filters :is(input, select) { min-height: 36px; padding: 6px 10px; font-size: 13.5px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-lcard #grRows > .muted { padding: 16px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-twrap { overflow-x: auto; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tr:last-child td { border-bottom: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tbody tr:hover td { background: var(--soft); }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-ti b { font-weight: 500; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-ti .cb-chip { margin-left: 4px; vertical-align: 1px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tc { font: 400 12.5px/1 var(--s-mono); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-ts { white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl :is(.gr-tk, .gr-to) { width: 1%; white-space: nowrap; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tk { padding-right: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tick { min-height: 0; min-width: 0; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tick input { width: 16px; height: 16px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-to button { min-height: 30px; padding: 3px 11px; font-size: 13px; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; align-items: start; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-code { font-family: var(--s-mono); font-weight: 400; }
html[data-site][data-ui="a"] .cbx #cbMain .gr-hint { border: 1px solid var(--line); border-radius: var(--rs); background: var(--soft); }

/* ---------- iPads and small laptops: the areas and the tabs as icons ---------- */
@media (max-width: 1100px) {
  html[data-site][data-ui="a"] .cbx-areas button { padding: 8px 10px; }
  html[data-site][data-ui="a"] .cbx-areas button:not(.on) .tn-l { display: none; }
  html[data-site][data-ui="a"] .cbx-cn { display: none; }
  html[data-site][data-ui="a"] .cbx-club { padding: 4px 8px 4px 4px; }
  html[data-site][data-ui="a"] #cbMain.cbx-main:has(> .cbx-side) { grid-template-columns: 64px minmax(0, 1fr); }
  html[data-site][data-ui="a"] .cbx-side :is(.lbl, .cbx-h) { display: none; }
  html[data-site][data-ui="a"] .cbx-side button { justify-content: center; padding: 9px 0; }
  html[data-site][data-ui="a"] .cbx-side .cbx-ico { width: 18px; height: 18px; }
  html[data-site][data-ui="a"] .cbx-page { padding: 20px 18px 40px; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kc:last-child { grid-column: 1 / -1; min-height: 0; }
}
/* ---------- phones: the tabs in a row under the bar, the board as one column, the table as cards ---------- */
@media (max-width: 700px) {
  html[data-site][data-ui="a"] .cbx-top { gap: 8px; padding: 0 10px; min-height: 52px; }
  html[data-site][data-ui="a"] .cbx-areas { display: none; }
  html[data-site][data-ui="a"] .cbx-club { max-width: none; flex: 1 1 auto; min-width: 0; }
  html[data-site][data-ui="a"] .cbx-cn { display: block; }
  html[data-site][data-ui="a"] .cbx-sp { display: none; }
  html[data-site][data-ui="a"] .cbx-me { display: none; }
  html[data-site][data-ui="a"] .cbx-top .lang-btn { padding: 4px 7px; }
  html[data-site][data-ui="a"] #cbMain.cbx-main:has(> .cbx-side) { display: flex; flex-direction: column; }
  html[data-site][data-ui="a"] .cbx-side { flex-direction: row; overflow-x: auto; min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); padding: 6px 10px; gap: 4px; scrollbar-width: none; position: sticky; top: 52px; z-index: 40; }
  html[data-site][data-ui="a"] .cbx-side::-webkit-scrollbar { display: none; }
  html[data-site][data-ui="a"] .cbx-side button { flex: none; padding: 8px 12px; min-height: 40px; }
  html[data-site][data-ui="a"] .cbx-side .lbl { display: inline; }
  html[data-site][data-ui="a"] .cbx-side .cbx-ico { width: 15px; height: 15px; }
  html[data-site][data-ui="a"] .cbx-page { padding: 16px 12px 40px; }
  html[data-site][data-ui="a"] .cbx-h1 { font-size: 32px; }
  html[data-site][data-ui="a"] .cbx-acts { margin-left: 0; justify-content: flex-start; width: 100%; }
  html[data-site][data-ui="a"] .cbx-acts > button.primary { flex: 1 1 auto; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-seg { width: 100%; overflow-x: auto; scrollbar-width: none; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-seg button { flex: 1 0 auto; min-height: 36px; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kan { grid-template-columns: 1fr; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kc { min-height: 0; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kgrid { grid-template-columns: 1fr; }
  html[data-site][data-ui="a"] .cbx #cbMain .ct-kb button { min-height: 36px; }
  html[data-site][data-ui="a"] .cbx #cbMain .cb-card { padding: 14px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-lcard { padding: 0; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-lh .gr-filters { flex-basis: 100%; margin: 0; }
  /* the table as cards: name and pills on top, code, with and since under it */
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl thead { display: none; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl, html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tbody { display: block; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tr { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tr:has(.gr-tk) { padding-left: 46px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tr:last-child { border-bottom: 0; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl td { display: block; padding: 0; border: 0; width: auto; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl :is(.gr-tk, .gr-to) { width: auto; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl tbody tr:hover td { background: transparent; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tk { position: absolute; left: 14px; top: 12px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tk .gr-tick input { width: 20px; height: 20px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-ti { order: 1; flex: 1 1 50%; min-width: 0; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-to { order: 2; margin-left: auto; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-to button { min-height: 36px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tw { order: 3; flex: 1 1 100%; font-size: 13.5px; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tc { order: 4; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-ts { order: 5; font-size: 13px; color: var(--muted); }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tq { order: 6; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl .gr-tl { order: 7; }
  html[data-site][data-ui="a"] .cbx #cbMain .gr-tbl td:empty { display: none; }
}
}
