/* OfficeHQ prototype — shared design tokens and components. Mockup only. */
:root {
  --bg: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --ink: #111a2b;
  --ink-2: #3a4556;
  --muted: #677385;
  --line: #e2e6ec;
  --line-2: #d3d9e1;
  --accent: #2456d6;
  --accent-ink: #1b43a8;
  --accent-bg: #ebf1fd;
  --ok: #17784a;
  --ok-bg: #e6f4ec;
  --warn: #9a5b06;
  --warn-bg: #fdf3e1;
  --bad: #c0312a;
  --bad-bg: #fcebea;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(17, 26, 43, .06), 0 1px 1px rgba(17, 26, 43, .04);
  --shadow-lg: 0 12px 32px rgba(17, 26, 43, .14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 14px/1.5 var(--font); -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  height: 36px; padding: 0 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease);
}
.btn:hover { background: var(--surface-2); border-color: #bfc7d2; }
.btn:active { transform: translateY(1px); }
.btn i { font-size: 16px; }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: #22304a; }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.accent:hover { background: var(--accent-ink); }
.btn.danger { color: var(--bad); border-color: #efc5c2; }
.btn.danger:hover { background: var(--bad-bg); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: #eceff3; }
.btn.sm { height: 30px; padding: 0 10px; font-size: 13px; }
.btn.lg { height: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 500; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }

/* ---------- form controls ---------- */
.input, .select, .textarea {
  width: 100%; height: 36px; padding: 0 10px; border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); background: var(--surface);
}
.textarea { height: auto; padding: 10px; resize: vertical; min-height: 88px; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.input.num-in { width: 64px; text-align: center; }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 600; }
.switch { position: relative; width: 36px; height: 20px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; background: #c7ced8; border-radius: 99px; transition: background .15s var(--ease); }
.switch span::after { content: ""; position: absolute; left: 2px; top: 2px; width: 16px; height: 16px; background: #fff; border-radius: 50%; box-shadow: var(--shadow); transition: transform .15s var(--ease); }
.switch input:checked + span { background: var(--ok); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.radio-card {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-2);
  border-radius: var(--radius); cursor: pointer; background: var(--surface);
  transition: border-color .15s var(--ease), background .15s var(--ease);
}
.radio-card:hover { border-color: #aeb8c5; }
.radio-card input { margin: 3px 0 0; accent-color: var(--ink); }
.radio-card:has(input:checked) { border-color: var(--ink); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card b { display: block; }
.radio-card p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

/* ---------- chips, badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge i { font-size: 13px; }
.badge.learning { background: var(--accent-bg); color: var(--accent-ink); }
.badge.active { background: var(--ok-bg); color: var(--ok); }
.badge.paused { background: #eceff3; color: var(--ink-2); }
.badge.attention { background: var(--bad-bg); color: var(--bad); }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 12px; font-weight: 500; background: #eef1f5; color: var(--ink-2); white-space: nowrap; }
.chip.red { background: var(--bad-bg); color: var(--bad); }
.chip.blue { background: var(--accent-bg); color: var(--accent-ink); }
.chip.green { background: var(--ok-bg); color: var(--ok); }
.chip.amber { background: var(--warn-bg); color: var(--warn); }
.chip.removable button { border: 0; background: none; padding: 0; margin-left: 2px; cursor: pointer; color: inherit; display: inline-flex; }

/* ---------- cards / layout ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-h { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.card-h h2, .card-h h3 { margin: 0; font-size: 15px; font-weight: 600; }
.card-b { padding: 16px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: grid; gap: 16px; }
.stack.tight { gap: 8px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
h1.page { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.page-sub { margin: 4px 0 0; color: var(--muted); }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13px; }
.notice i { font-size: 18px; flex: none; margin-top: 1px; }
.notice.info { background: var(--accent-bg); color: var(--accent-ink); }
.notice.warn { background: var(--warn-bg); color: var(--warn); }
.notice.bad { background: var(--bad-bg); color: var(--bad); }
.notice.ok { background: var(--ok-bg); color: var(--ok); }

/* ---------- app shell ---------- */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); grid-template-rows: 56px minmax(0, 1fr); height: 100dvh; }
.topbar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; padding: 0 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -.01em; color: var(--ink); text-decoration: none; width: 200px; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; }
.brand small { font-weight: 500; color: var(--muted); font-size: 12px; }
.user { display: flex; align-items: center; gap: 8px; padding: 4px 8px; border-radius: 8px; }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: #dfe6f3; color: var(--accent-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.sidenav { background: var(--surface); border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.navlink { display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.navlink i { font-size: 18px; }
.navlink:hover { background: #f0f2f5; color: var(--ink); }
.navlink.on { background: var(--ink); color: #fff; }
.navlink .count { margin-left: auto; font-size: 12px; font-family: var(--mono); background: var(--bad-bg); color: var(--bad); border-radius: 99px; padding: 0 7px; }
.navlink.on .count { background: rgba(255,255,255,.18); color: #fff; }
.nav-foot { margin-top: auto; padding: 12px 12px 60px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.main { overflow-y: auto; min-height: 0; }
.main-inner { max-width: 1120px; margin: 0 auto; padding: 24px 24px 48px; display: grid; gap: 20px; }
.banner { display: flex; align-items: center; gap: 12px; padding: 10px 16px; font-size: 13px; font-weight: 500; }
.banner.paused { background: #e9ecf1; color: var(--ink-2); }
.banner.attention { background: var(--bad); color: #fff; }
.banner.attention .btn { background: #fff; color: var(--bad); border-color: #fff; }
.bottom-tabs { display: none; }

/* ---------- lists / tables ---------- */
.list { display: grid; grid-template-columns: minmax(0, 1fr); }
.li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.li .actions { flex-wrap: wrap; margin-left: auto; }
.li:last-child { border-bottom: 0; }
.li .ico { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; flex: none; background: #eef1f5; color: var(--ink-2); font-size: 16px; }
.li .ico.red { background: var(--bad-bg); color: var(--bad); }
.li .ico.blue { background: var(--accent-bg); color: var(--accent-ink); }
.li .ico.green { background: var(--ok-bg); color: var(--ok); }
.li .ico.amber { background: var(--warn-bg); color: var(--warn); }
.li .body { min-width: 0; flex: 1 1 220px; }
.li .t { font-weight: 500; }
.li .s { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.li.done { opacity: .55; }
.li.done .t { text-decoration: line-through; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr.click { cursor: pointer; }
.table tr.click:hover td { background: var(--surface-2); }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tab { height: 36px; padding: 0 12px; border: 0; background: none; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; cursor: pointer; }
.tab.on { color: var(--ink); border-bottom-color: var(--ink); }
.seg { display: inline-flex; background: #eceff3; border-radius: 8px; padding: 3px; gap: 2px; }
.seg button { height: 28px; padding: 0 12px; border: 0; border-radius: 6px; background: none; color: var(--ink-2); font-weight: 500; cursor: pointer; font-size: 13px; }
.seg button.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.day-h { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); text-transform: uppercase; letter-spacing: .05em; }
.stat { padding: 14px 16px; }
.stat .v { font-size: 26px; font-weight: 600; font-family: var(--mono); letter-spacing: -.02em; line-height: 1.1; }
.stat .k { color: var(--muted); font-size: 13px; }
.stat.red .v { color: var(--bad); }
.progress { height: 8px; background: #e5e9ef; border-radius: 99px; overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* ---------- settings ---------- */
.settings { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.subnav { position: sticky; top: 0; display: grid; gap: 2px; }
.subnav a { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 10px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.subnav a:hover { background: #eceff3; }
.subnav a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.subnav-select { display: none; }
.set { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.set:last-child { border-bottom: 0; }
.set .name { font-weight: 600; }
.set .what { color: var(--ink-2); margin-top: 2px; font-size: 13px; }
.set .eg { color: var(--muted); margin-top: 4px; font-size: 12px; }
.set .eg::before { content: "Example: "; font-weight: 600; }
.set .ctl { display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.trig { display: grid; grid-template-columns: auto 44px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.trig:last-child { border-bottom: 0; }
.trig .code { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.trig .thr { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.trig .cal { font-size: 13px; white-space: nowrap; }
details.group { border-bottom: 1px solid var(--line); }
details.group:last-child { border-bottom: 0; }
details.group summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; }
details.group summary::-webkit-details-marker { display: none; }
details.group summary .caret { transition: transform .15s var(--ease); color: var(--muted); }
details.group[open] summary .caret { transform: rotate(90deg); }
details.group .q { color: var(--ink-2); font-size: 13px; }
.danger-zone { border-color: #efc5c2; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 10px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); font-size: 13px; z-index: 60;
  transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { background: none; border: 0; color: #9db8ff; font-weight: 600; cursor: pointer; padding: 0; }

/* ---------- folder tree ---------- */
.tree { font-size: 13px; display: grid; gap: 2px; }
.tree div { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; }
.tree div i { color: var(--muted); font-size: 16px; }
.tree .l1 { padding-left: 28px; }
.tree .l2 { padding-left: 48px; }
.tree .l3 { padding-left: 68px; }
.tree .act i { color: var(--accent); }
.tree .hl { background: var(--accent-bg); }

/* ---------- auth + wizard ---------- */
.auth { height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.auth-side { background: var(--ink); color: #dfe5ef; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.auth-side h2 { color: #fff; font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 16px; max-width: 420px; font-weight: 600; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 420px; }
.auth-side li { display: flex; gap: 12px; }
.auth-side li i { font-size: 20px; color: #8fb0ff; flex: none; }
.auth-main { display: grid; place-items: center; padding: 32px; background: var(--surface); overflow-y: auto; min-height: 0; }
.auth-card { width: 100%; max-width: 400px; display: grid; gap: 20px; }
.ms-btn { display: flex; align-items: center; justify-content: center; gap: 12px; height: 46px; border: 1px solid #8c8c8c; background: #fff; color: #5e5e5e; font-weight: 600; font-size: 15px; border-radius: 4px; cursor: pointer; text-decoration: none; }
.ms-btn:hover { background: #f5f5f5; }
.wizard { display: grid; grid-template-columns: 280px minmax(0, 1fr); height: 100dvh; }
.wz-side { background: var(--surface); border-right: 1px solid var(--line); padding: 24px 20px; display: flex; flex-direction: column; gap: 24px; overflow-y: auto; }
.steps { display: grid; gap: 4px; counter-reset: s; }
.step { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 10px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; }
.step .n { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-family: var(--mono); flex: none; }
.step.done { color: var(--ink-2); }
.step.done .n { background: var(--ok); border-color: var(--ok); color: #fff; }
.step.on { background: var(--surface-2); color: var(--ink); }
.step.on .n { border-color: var(--ink); background: var(--ink); color: #fff; }
.wz-main { display: flex; flex-direction: column; min-height: 0; }
.wz-body { flex: 1; overflow-y: auto; padding: 40px 48px; }
.wz-body-inner { max-width: 760px; display: grid; gap: 24px; }
.wz-foot { display: flex; align-items: center; gap: 12px; padding: 14px 48px; border-top: 1px solid var(--line); background: var(--surface); }
.license-text { height: 260px; overflow-y: auto; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); font-size: 13px; color: var(--ink-2); }
.license-text h4 { margin: 12px 0 4px; color: var(--ink); font-size: 13px; }
.license-text h4:first-child { margin-top: 0; }
.license-text p { margin: 0 0 8px; }

/* ---------- admin ---------- */
.shell.admin .sidenav { background: #0e1626; border-right-color: #0e1626; }
.shell.admin .navlink { color: #b9c3d3; }
.shell.admin .navlink:hover { background: #1a2436; color: #fff; }
.shell.admin .navlink.on { background: #2a3650; color: #fff; }
.shell.admin .nav-foot { border-top-color: #1f2a3d; color: #7f8ba0; }
.op-tag { background: #fff2cc; color: #7a5600; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; letter-spacing: .04em; text-transform: uppercase; }
.health-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.health-dot.ok { background: var(--ok); }
.health-dot.warn { background: #d99a1e; }
.health-dot.bad { background: var(--bad); }

/* ---------- mockup-only navigator ---------- */
.mk-fab { position: fixed; left: 16px; bottom: 16px; z-index: 80; height: 38px; padding: 0 14px; border-radius: 99px; border: 1px solid #f2c94c; background: #fff7d6; color: #6b4e00; font-weight: 600; font-size: 13px; cursor: pointer; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 8px; }
.mk-panel { position: fixed; left: 16px; bottom: 62px; z-index: 80; width: 300px; max-height: calc(100dvh - 90px); overflow-y: auto; background: #fffdf4; border: 1px solid #f2c94c; border-radius: 12px; box-shadow: var(--shadow-lg); padding: 12px; display: none; font-size: 13px; }
.mk-panel.open { display: block; }
.mk-panel h4 { margin: 10px 4px 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #8a6d12; }
.mk-panel a { display: block; padding: 5px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.mk-panel a:hover, .mk-panel a.on { background: #fbeeb8; }
.mk-panel .seg { width: 100%; display: grid; grid-template-columns: repeat(4, 1fr); }
.mk-panel .seg button { padding: 0 4px; font-size: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .settings { grid-template-columns: minmax(0, 1fr); }
  .subnav { display: none; }
  .subnav-select { display: block; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: 52px minmax(0, 1fr) 60px; }
  .sidenav { display: none; }
  .brand { width: auto; }
  .brand small, .user .who, .topbar .hide-sm { display: none; }
  .main-inner { padding: 16px 14px 24px; }
  .bottom-tabs { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); }
  .bottom-tabs a { display: grid; place-items: center; align-content: center; gap: 2px; font-size: 11px; color: var(--muted); text-decoration: none; font-weight: 500; }
  .bottom-tabs a i { font-size: 20px; }
  .bottom-tabs a.on { color: var(--ink); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .auth { grid-template-columns: minmax(0, 1fr); }
  .auth-side { display: none; }
  .wizard { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .wz-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 14px; gap: 8px; flex-direction: row; align-items: center; overflow: visible; }
  .wz-side .steps { display: flex; gap: 6px; }
  .wz-side .step { padding: 0; height: auto; }
  .wz-side .step .lbl, .wz-side .wz-note { display: none; }
  .wz-body { padding: 20px 16px; }
  .wz-foot { padding: 12px 16px; }
  .set { grid-template-columns: minmax(0, 1fr); }
  .set .ctl { justify-content: flex-start; }
  .trig { grid-template-columns: auto minmax(0, 1fr); }
  .trig .code { display: none; }
  .trig .thr, .trig .cal { grid-column: 2; }
  .table .hide-sm { display: none; }
  .li { padding: 12px; }
  .topbar { gap: 8px; padding: 0 10px; }
  .hide-sm { display: none !important; }
  .auth-main { padding: 24px 16px; }
  .mk-fab { bottom: 72px; }
  .mk-panel { bottom: 118px; max-height: calc(100dvh - 140px); }
}
