/* Les Cours front office (Ilyas 04/11). Light only. Avoxify app system (as on the Rodd platform): Inter, white surfaces on a pale
   blue-grey ground, 1px borders, no resting shadows, radius 10 / 8 / 6. The clinic leads (logo, navy from /assets/brand.css as
   --accent on the primary action and the data that matters); Avoxify sits in the sidebar footer. Premium screens carry gold. */
@font-face { font-family: "Inter"; src: url("/assets/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
:root {
  --accent: #093451; --ground: #f6f7f9;
  --surface: #ffffff; --raised: #f5f6f8; --active: #eceef1; --hover: #f7f8fa;
  --border: #e5e7eb; --rule: #f0f1f3; --control: #d2d6dc;
  --text: #14171a; --text-2: #3c434d; --muted: #5d6470; --faint: #6b7280;
  --ok: #17734a; --ok-bg: #e4f4ec; --info-bg: #e7eef5;
  --warn: #9a4a08; --warn-bg: #fdf0e2; --hot: #b42318; --hot-bg: #fdecea;
  --premium: #8a6a1f; --premium-bg: #fbf5e6; --premium-line: #e8d8ad;
  --radius: 10px; --radius-s: 8px; --radius-xs: 6px; --gap: 16px;
  --side: 248px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ground); color: var(--text); }
body { font: 400 14px/1.5 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .err { color: var(--hot); }
svg.i { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* shell: sidebar on white, canvas on the ground */
.shell { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); min-height: 100vh; }
.shell.bare { display: block; }
.shell.bare .side, .shell.bare .mbar { display: none; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--surface); border-right: 1px solid var(--border); padding: 20px 12px 16px; display: flex; flex-direction: column; }
.side .client { padding: 2px 10px 16px; }
.side .client img { height: auto; max-height: 40px; max-width: 100%; display: block; }
.side .client b { font-size: 16px; color: var(--accent); }
.ngroup { margin-top: 14px; }
.ngroup > span { display: block; padding: 0 10px 6px; font-size: 12px; color: var(--faint); }
.nav a { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; border-radius: var(--radius-s); color: var(--text-2); font-weight: 500; }
.nav a:hover { background: var(--hover); color: var(--text); }
.nav a.on { background: var(--active); color: var(--text); }
.nav a .lbl { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav a .count { font-size: 12px; font-weight: 600; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--hot); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.nav a.prem .i { color: var(--premium); }
.nav a.locked { color: var(--faint); }
.nav a.locked .i { color: var(--premium); }
.pmark { display: inline-flex; color: var(--premium); flex: none; }
.pmark svg.i { width: 14px; height: 14px; fill: var(--premium-bg); }
.planbox svg.i { width: 12px; height: 12px; vertical-align: -1px; color: var(--premium); }
.side .pw { padding-top: 2px; }
.pbadge { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 4px; background: var(--premium-bg); color: var(--premium); font-size: 11px; font-weight: 600; white-space: nowrap; flex: none; }
.pbadge svg.i { width: 12px; height: 12px; }
.side .foot { margin-top: auto; padding: 16px 10px 0; display: grid; gap: 12px; }
.planbox { border: 1px solid var(--border); border-radius: var(--radius-s); padding: 10px 12px; font-size: 12px; color: var(--muted); }
.planbox b { display: block; color: var(--text); font-size: 13px; }
.planbox.demo { border-color: var(--premium-line); background: var(--premium-bg); color: var(--premium); }
.planbox.demo b { color: var(--premium); }
.me { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.me .who { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text-2); font-weight: 500; font-size: 12px; }
.linkbtn:hover { color: var(--text); text-decoration: underline; }
.powered { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.powered img { width: 16px; height: 16px; }
.powered b { color: var(--text); font-weight: 600; }
a.powered:hover b { text-decoration: underline; }
.mbar { display: none; }
.canvas { min-width: 0; }
.main { padding: 28px 32px 64px; max-width: 1360px; }

/* page head */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.head h1 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; display: flex; align-items: center; gap: 10px; }
.head p { margin: 4px 0 0; color: var(--muted); }
.head .acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.stamp { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.stamp i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.sample { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 9px 12px; border: 1px solid var(--premium-line); background: var(--premium-bg); color: var(--premium); border-radius: var(--radius-s); font-size: 13px; }

/* controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 34px; padding: 0 14px; border-radius: var(--radius-s); border: 1px solid var(--control); background: var(--surface); font-weight: 500; font-size: 13px; color: var(--text); white-space: nowrap; }
.btn:hover { background: var(--hover); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { filter: brightness(1.18); }
.btn.sm { height: 28px; padding: 0 10px; font-size: 12px; }
.btn.lg { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.done { background: var(--ok-bg); border-color: transparent; color: var(--ok); }
.btn:disabled { opacity: .55; cursor: default; }
.seg { display: inline-flex; border: 1px solid var(--control); border-radius: var(--radius-s); background: var(--surface); overflow: hidden; }
.seg button { height: 32px; padding: 0 12px; border: 0; border-right: 1px solid var(--control); background: none; font-size: 13px; font-weight: 500; color: var(--text-2); white-space: nowrap; }
.seg button:last-child { border-right: 0; }
.seg button.on { background: var(--active); color: var(--text); }
.input, input[type=date], input[type=search], input[type=email], select.input, textarea.input { height: 34px; border: 1px solid var(--control); border-radius: var(--radius-s); background: var(--surface); padding: 0 11px; min-width: 0; }
textarea.input { height: auto; padding: 9px 11px; resize: vertical; width: 100%; }
input::placeholder, textarea::placeholder { color: var(--faint); }
.search { position: relative; display: flex; align-items: center; flex: 1 1 260px; max-width: 420px; }
.search svg { position: absolute; left: 11px; color: var(--faint); }
.search input { width: 100%; padding-left: 34px; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.toolbar .sp { flex: 1; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* surfaces */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); min-width: 0; }
.card.pad { padding: 18px 20px; }
.ch { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px 12px; }
.ch h2 { margin: 0; font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.ch .meta { font-size: 13px; color: var(--muted); }
.ch a.more { font-size: 13px; color: var(--text-2); font-weight: 500; white-space: nowrap; }
.ch a.more:hover { color: var(--text); text-decoration: underline; }
.grid { display: grid; gap: var(--gap); }
.g-2-1 { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
.g-1-1 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.g-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; }
.g-5 .ag { grid-template-columns: 44px minmax(0, 1fr); padding: 8px 14px; }
.g-5 .ag > :last-child:not(.nm) { grid-column: 2; justify-self: start; }
.g-5 .ch { padding: 14px 14px 10px; }
.card > .sec { padding: 2px 20px 18px; border-top: 0; }
.stack { display: grid; gap: var(--gap); align-content: start; }
.mt { margin-top: var(--gap); }

/* KPI strip: one card split by dividers */
.kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: var(--gap); }
.kpi { padding: 16px 20px; border-left: 1px solid var(--rule); min-width: 0; }
.kpi:first-child { border-left: 0; }
.kpi small { display: block; color: var(--muted); font-size: 13px; }
.kpi .v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 4px; font-variant-numeric: tabular-nums; }
.kpi .v.lead { color: var(--accent); }
.kpi .v em { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.kpi .d { font-size: 13px; color: var(--muted); margin-top: 2px; }

/* tables */
.tw { overflow-x: auto; }
table.t { width: 100%; border-collapse: collapse; }
.t th { text-align: left; font-weight: 400; font-size: 12px; color: var(--muted); padding: 10px 12px; white-space: nowrap; }
.t td { padding: 11px 12px; border-top: 1px solid var(--rule); vertical-align: top; }
.t th:first-child, .t td:first-child { padding-left: 20px; }
.t th:last-child, .t td:last-child { padding-right: 20px; }
.t .r { text-align: right; font-variant-numeric: tabular-nums; }
.t tr.row { cursor: pointer; }
.t tr.row:hover td { background: var(--hover); }
.t tr.sel td { background: var(--active); }
.t td b { font-weight: 600; }
.t td .sub { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.t td.nw { white-space: nowrap; }
.t a.tel:hover { text-decoration: underline; }
.empty { padding: 28px 20px; color: var(--muted); text-align: center; }

/* pills */
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--active); color: var(--text-2); margin: 0 4px 4px 0; flex: none; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.info { background: var(--info-bg); color: var(--accent); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.hot { background: var(--hot-bg); color: var(--hot); }
.pill.solid { background: var(--accent); color: #fff; }
.lang { font-size: 12px; font-weight: 600; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }

/* queue (to handle) */
.queue { list-style: none; margin: 0; padding: 0; }
.qi { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 13px 20px; border-top: 1px solid var(--rule); }
.qi:hover { background: var(--hover); }
.qi .t1 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qi .t1 b { font-weight: 600; }
.qi .t1 .pill { margin: 0; }
.qi .t2 { margin-top: 3px; color: var(--text-2); }
.qi .t3 { margin-top: 3px; font-size: 13px; color: var(--muted); }
.qi .acts { display: flex; gap: 6px; }
.qi.handled .t1 b, .qi.handled .t2 { color: var(--muted); }

/* agenda (today's sessions) */
.agenda { list-style: none; margin: 0; padding: 0 0 6px; }
.ag { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 20px; border-top: 1px solid var(--rule); cursor: pointer; }
.ag:hover { background: var(--hover); }
.ag .tm { font-weight: 600; font-variant-numeric: tabular-nums; }
.ag .nm { min-width: 0; overflow-wrap: anywhere; }
.ag .nm small { display: block; font-size: 13px; color: var(--muted); }
.ag.past .tm, .ag.past .nm { color: var(--muted); }

/* bar list and columns */
.bars { display: grid; gap: 12px; padding: 4px 20px 18px; }
.bar-r { display: grid; grid-template-columns: 128px minmax(0, 1fr) 76px; gap: 12px; align-items: center; font-size: 13px; }
.bar-r .trk { height: 8px; background: var(--raised); border-radius: 4px; overflow: hidden; }
.bar-r .fill { height: 100%; background: var(--muted); border-radius: 4px; }
.bar-r .fill.hi { background: var(--accent); }
.bar-r .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--text-2); }
.cols { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding: 8px 20px 0; }
.cols .c { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.cols .c i { display: block; width: 100%; max-width: 34px; background: var(--muted); border-radius: 3px 3px 0 0; min-height: 1px; }
.cols .c i.hi { background: var(--accent); }
.cols .c span { font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.cols-x { display: flex; gap: 6px; padding: 6px 20px 16px; border-top: 1px solid var(--rule); }
.cols-x span { flex: 1; text-align: center; font-size: 12px; color: var(--muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* drawer */
.drawer-wrap { position: fixed; inset: 0; z-index: 30; background: rgba(17, 24, 39, .28); display: flex; justify-content: flex-end; }
.drawer { width: min(540px, 100%); height: 100%; background: var(--surface); box-shadow: -12px 0 32px rgba(17, 24, 39, .12); overflow-y: auto; }
.dh { position: sticky; top: 0; background: var(--surface); padding: 18px 22px 14px; border-bottom: 1px solid var(--border); z-index: 1; }
.dh .row1 { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.dh h2 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.dh p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.dh .tags { margin-top: 10px; }
.dh .acts { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.x { width: 32px; height: 32px; border-radius: var(--radius-s); border: 1px solid var(--border); background: var(--surface); display: inline-flex; align-items: center; justify-content: center; color: var(--text-2); flex: none; }
.x:hover { background: var(--hover); }
.db { padding: 4px 22px 28px; }
.sec { padding: 16px 0; border-top: 1px solid var(--rule); }
.sec:first-child { border-top: 0; }
.sec h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
.kv { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.summary { margin: 0; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.note-en { margin: 8px 0 0; font-size: 12px; color: var(--muted); }
audio { width: 100%; height: 40px; }
.tx { display: flex; flex-direction: column; gap: 8px; }
.turn { max-width: 88%; padding: 8px 12px; border-radius: var(--radius-s); background: var(--raised); font-size: 13px; line-height: 1.5; }
.turn.caller { align-self: flex-end; background: var(--info-bg); }
.turn small { display: block; font-size: 11px; color: var(--muted); margin-bottom: 1px; font-weight: 500; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--border); margin: 12px -22px -14px; padding: 0 22px; overflow-x: auto; }
.tabs button { height: 38px; padding: 0 10px; border: 0; background: none; color: var(--muted); font-weight: 500; white-space: nowrap; box-shadow: inset 0 -2px 0 transparent; } /* taste-skill-ignore: underline tab */
.tabs button.on { color: var(--text); box-shadow: inset 0 -2px 0 var(--text); } /* taste-skill-ignore: underline tab */
.notes { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.notes li { background: var(--raised); border-radius: var(--radius-s); padding: 9px 12px; font-size: 13px; }
.notes li small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.doc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-s); margin-bottom: 8px; font-size: 13px; }
.doc .sp { flex: 1; }
.alertbox { border-radius: var(--radius-s); padding: 10px 12px; font-size: 13px; background: var(--hot-bg); color: var(--hot); display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.alertbox.warn { background: var(--warn-bg); color: var(--warn); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.step { border: 1px solid var(--border); border-radius: var(--radius-s); padding: 8px 10px; font-size: 12px; color: var(--muted); background: var(--surface); text-align: left; }
.step b { display: block; color: var(--text); font-weight: 600; font-size: 13px; }
.step.on { border-color: var(--accent); background: var(--info-bg); }
.step.on b { color: var(--accent); }

/* chamber board */
.board { overflow: auto; max-height: calc(100vh - 210px); }
.bgrid { display: grid; grid-template-columns: 56px repeat(var(--cols), minmax(128px, 1fr)); min-width: 700px; }
.bgrid.one { min-width: 0; }
.lanesel .seg { width: 100%; }
.lanesel .seg button { flex: 1; }
.bhead { position: sticky; top: 0; z-index: 3; background: var(--surface); border-bottom: 1px solid var(--border); padding: 12px 12px 10px; border-left: 1px solid var(--rule); }
.bhead.tc { border-left: 0; }
.bhead b { display: block; font-weight: 600; }
.bhead small { color: var(--muted); font-size: 12px; }
.tcol { position: relative; }
.tcol span { position: absolute; right: 8px; transform: translateY(-50%); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lane { position: relative; border-left: 1px solid var(--rule); }
.hl { position: absolute; left: 0; right: 0; border-top: 1px solid var(--rule); }
.closed { position: absolute; left: 0; right: 0; background: var(--raised); } /* hours the chamber is not running: one tone step */
.blk { position: absolute; left: 6px; right: 6px; border-radius: 6px; background: var(--raised); border: 1px dashed var(--control); padding: 6px 8px; font-size: 12px; color: var(--muted); overflow: hidden; }
.appt { position: absolute; left: 6px; right: 6px; border-radius: 6px; background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--control); padding: 5px 8px; font-size: 12px; overflow: hidden; cursor: pointer; text-align: left; }
.appt:hover { border-color: var(--control); }
.appt b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding-right: 34px; }
.appt b.one { font-size: 12px; line-height: 1.5; }
.appt b.one .tm { font-weight: 400; }
.appt .tm { color: var(--muted); font-variant-numeric: tabular-nums; }
.appt .st { display: block; margin-top: 2px; color: var(--text-2); }
.appt.s-confirmed { border-left-color: var(--accent); }
.appt.s-requested { border-left-color: var(--warn); background: var(--warn-bg); }
.appt.s-checkedin { border-left-color: var(--ok); }
.appt.s-treatment { border-left-color: var(--ok); background: var(--ok-bg); }
.appt.s-completed { color: var(--muted); background: var(--raised); }
.appt.s-noshow { border-left-color: var(--hot); background: var(--hot-bg); }
.appt .emma { position: absolute; top: 5px; right: 6px; font-size: 11px; font-weight: 600; color: var(--accent); background: var(--info-bg); border-radius: 3px; padding: 0 4px; }
.buffer { position: absolute; left: 10px; right: 10px; background: var(--active); border-radius: 0; } /* the 5-min cleaning gap */
.nowline { position: absolute; left: 0; right: 0; border-top: 2px solid var(--hot); z-index: 2; pointer-events: none; }
.blegend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--muted); padding: 10px 16px; border-top: 1px solid var(--border); }
.blegend span { display: inline-flex; align-items: center; gap: 6px; }
.blegend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid var(--border); }

/* locked (live mode) */
.locked-page { max-width: 640px; margin: 6vh 0 0; }
.locked-page .card { padding: 28px; border-color: var(--premium-line); }
.locked-page h1 { font-size: 22px; margin: 14px 0 8px; }
.locked-page ul { margin: 14px 0 22px; padding-left: 18px; color: var(--text-2); line-height: 1.8; }

/* sign-in */
.auth { max-width: 420px; margin: 12vh auto 0; padding: 32px; }
.auth .logo { height: 44px; width: auto; display: block; margin-bottom: 28px; }
.auth h1 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
.auth form { display: grid; gap: 10px; margin-top: 20px; }
.auth input { height: 40px; }
.auth .note { margin: 14px 0 0; font-size: 13px; }
.auth .powered { margin-top: 26px; }
.auth-lang { position: fixed; top: 16px; right: 20px; }

@media (max-width: 1180px) { .g-2-1, .g-5 { grid-template-columns: 1fr; } .g-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 280px; z-index: 40; transform: translateX(-100%); transition: transform .2s ease; }
  .side.open { transform: none; box-shadow: 12px 0 32px rgba(17, 24, 39, .14); }
  .mbar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
  .mbar img { height: 28px; }
  .mbar .sp { flex: 1; }
  .main { padding: 20px 16px 48px; }
  .kpis { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .kpi { border-left: 0; border-top: 1px solid var(--rule); }
  .kpi:nth-child(-n+2) { border-top: 0; }
  .kpi:nth-child(even) { border-left: 1px solid var(--rule); }
  .g-1-1, .g-3 { grid-template-columns: 1fr; }
  .head h1 { font-size: 22px; }
  .t.collapse thead { display: none; }
  .t.collapse, .t.collapse tbody, .t.collapse tr, .t.collapse td { display: block; width: 100%; }
  .t.collapse tr { border-top: 1px solid var(--rule); padding: 10px 4px; }
  .t.collapse td { border: 0; padding: 2px 16px !important; }
  .t.collapse td.hm { display: none; }
  .qi { grid-template-columns: 1fr; padding: 12px 16px; }
  .ch { padding: 14px 16px 10px; }
  .bar-r { grid-template-columns: 96px minmax(0, 1fr) 60px; }
  .kv { grid-template-columns: 120px minmax(0, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .search { max-width: none; }
  .board { max-height: none; }
}
@media (prefers-reduced-motion: reduce) { .side { transition: none; } }
