@font-face { font-family: 'Public Sans'; font-weight: 400; font-display: swap; src: url(/fonts/public-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 500; font-display: swap; src: url(/fonts/public-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 600; font-display: swap; src: url(/fonts/public-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Public Sans'; font-weight: 700; font-display: swap; src: url(/fonts/public-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  --ink: #1D2B35; --ink-2: #3D4D58; --ink-3: #6B7A84;
  --paper: #FAFBF9; --panel: #FFFFFF; --rule: #DCE2DE; --rule-2: #EDF1EE;
  --paid: #1E7A52; --paid-bg: #E4F2EA;
  --owed: #B5651D; --owed-bg: #FBEEDD;
  --bad: #B3261E; --bad-bg: #FBE7E5;
  --act: #0E5F6C; --act-2: #0A4B56; --act-bg: #E2EFF1;
  --r-s: 6px; --r-m: 10px;
  --f: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.5 var(--f); color: var(--ink); background: var(--paper); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
a { color: var(--act); }
button, input, select, textarea { font: inherit; color: inherit; }
h1 { font-size: 1.75rem; line-height: 1.2; margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: 1.15rem; margin: 0 0 .75rem; font-weight: 600; }
h3 { font-size: 1rem; margin: 0 0 .5rem; font-weight: 600; }
:focus-visible { outline: 2px solid var(--act); outline-offset: 2px; }
.muted { color: var(--ink-3); }
.small { font-size: .85rem; }
.num { text-align: right; white-space: nowrap; }
.hidden { display: none !important; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.side { background: var(--ink); color: #DDE6EA; padding: 20px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; }
.brand { font-weight: 700; font-size: 1.05rem; color: #fff; padding: 0 10px 18px; line-height: 1.25; }
.brand small { display: block; font-weight: 400; font-size: .8rem; color: #94A8B3; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: var(--r-s); color: #C9D6DC; text-decoration: none; font-weight: 500; }
.nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.nav a.on { background: rgba(255,255,255,.12); color: #fff; }
.nav .badge { margin-left: auto; background: var(--owed); color: #fff; border-radius: 10px; font-size: .75rem; padding: 0 7px; font-weight: 600; }
.side .foot { margin-top: auto; padding: 14px 10px 0; font-size: .85rem; color: #94A8B3; border-top: 1px solid rgba(255,255,255,.1); }
.side .foot button { background: none; border: 0; color: #C9D6DC; padding: 0; cursor: pointer; text-decoration: underline; }
.main { padding: 28px 32px 60px; min-width: 0; max-width: 1280px; }
.topbar { display: none; }
@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: fixed; inset: 0 auto 0 0; width: 250px; z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  .side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0,0,0,.35); }
  .topbar { display: flex; align-items: center; gap: 12px; background: var(--ink); color: #fff; padding: 10px 16px; position: sticky; top: 0; z-index: 40; }
  .topbar button { background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; padding: 2px 6px; }
  .main { padding: 18px 16px 60px; }
}

/* ---------- page head ---------- */
.ph { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 22px; }
.ph h1 { margin-right: auto; }
.ph .sub { width: 100%; margin-top: -6px; color: var(--ink-3); }
.mnav { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: var(--r-s); background: var(--panel); }
.mnav button { border: 0; background: none; padding: 6px 12px; cursor: pointer; font-size: 1.05rem; color: var(--ink-2); }
.mnav button:hover { background: var(--rule-2); }
.mnav span { padding: 0 6px; font-weight: 600; min-width: 128px; text-align: center; }

/* ---------- buttons / forms ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); background: var(--panel); border-radius: var(--r-s); padding: 7px 14px; cursor: pointer; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; line-height: 1.3; }
.btn:hover { border-color: var(--ink-3); }
.btn.primary { background: var(--act); border-color: var(--act); color: #fff; }
.btn.primary:hover { background: var(--act-2); }
.btn.pay { background: var(--paid); border-color: var(--paid); color: #fff; }
.btn.danger { color: var(--bad); }
.btn.danger.solid { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn.sm { padding: 3px 10px; font-size: .85rem; }
.btn.link { border: 0; background: none; padding: 0; color: var(--act); font-weight: 500; text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: default; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 4px; }
.f { margin-bottom: 14px; }
.f .hint { font-weight: 400; color: var(--ink-3); font-size: .82rem; margin-top: 3px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=month], input[type=datetime-local], input[type=search], select, textarea {
  width: 100%; border: 1px solid var(--rule); border-radius: var(--r-s); padding: 8px 10px; background: #fff; min-height: 38px; }
textarea { min-height: 80px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--act); box-shadow: 0 0 0 3px var(--act-bg); }
.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: 17px; height: 17px; accent-color: var(--act); margin: 0; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
@media (max-width: 600px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.days { display: flex; flex-wrap: wrap; gap: 6px; }
.days label { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--rule); border-radius: var(--r-s); padding: 4px 10px; font-weight: 500; cursor: pointer; margin: 0; }
.days input { accent-color: var(--act); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 16px; }
.filters .f { margin: 0; min-width: 150px; }
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--r-s); overflow: hidden; background: var(--panel); }
.seg button, .seg a { border: 0; background: none; padding: 7px 14px; cursor: pointer; font-weight: 500; color: var(--ink-2); text-decoration: none; border-right: 1px solid var(--rule); }
.seg > :last-child { border-right: 0; }
.seg .on { background: var(--ink); color: #fff; }

/* ---------- panels / tables ---------- */
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 18px 20px; margin-bottom: 20px; }
.panel.flush { padding: 0; overflow: hidden; }
.panel > h2:first-child { display: flex; align-items: center; gap: 10px; }
.panel > h2 .btn { margin-left: auto; }
.cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 1000px) { .cols { grid-template-columns: 1fr; } }
.tw { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--rule-2); vertical-align: middle; }
th { font-size: .8rem; font-weight: 600; color: var(--ink-3); background: #F4F6F4; border-bottom: 1px solid var(--rule); white-space: nowrap; }
tbody tr:hover { background: #F8FAF8; }
tfoot td { font-weight: 700; border-top: 2px solid var(--rule); border-bottom: 0; }
td a.name { font-weight: 600; text-decoration: none; color: var(--ink); }
td a.name:hover { text-decoration: underline; }
.empty { padding: 36px 20px; text-align: center; color: var(--ink-3); }
.empty .btn { margin-top: 10px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
dl.kv dt { color: var(--ink-3); }
dl.kv dd { margin: 0; font-weight: 500; }

/* ---------- pills / state ---------- */
.pill { display: inline-block; padding: 1px 9px; border-radius: 20px; font-size: .78rem; font-weight: 600; white-space: nowrap; }
.pill.paid, .pill.approved, .pill.in { background: var(--paid-bg); color: var(--paid); }
.pill.partial, .pill.pending, .pill.break { background: var(--owed-bg); color: var(--owed); }
.pill.unpaid, .pill.rejected, .pill.overpaid { background: var(--bad-bg); color: var(--bad); }
.pill.nothing, .pill.out, .pill.off { background: var(--rule-2); color: var(--ink-3); }
.pill.lock { background: var(--act-bg); color: var(--act); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ink-3); margin-right: 6px; vertical-align: 1px; }
.dot.in { background: var(--paid); } .dot.break { background: var(--owed); } .dot.out { background: #C3CCC7; }

/* ---------- the ledger: sum line + owed bar ---------- */
.sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 4px 0 26px; }
.sum .t b { display: block; font-size: 2.3rem; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.sum .t span { color: var(--ink-3); font-weight: 500; }
.sum .op { font-size: 1.8rem; color: var(--ink-3); font-weight: 400; }
.sum .t.total b { color: var(--act); }
@media (max-width: 600px) { .sum .t b { font-size: 1.6rem; } .sum .op { font-size: 1.3rem; } }
.settle { display: grid; grid-template-columns: 1fr auto auto; gap: 10px 24px; align-items: center; }
.settle .lbl { color: var(--ink-3); font-size: .85rem; }
.settle .v { font-weight: 700; font-size: 1.2rem; }
.settle .v.paid { color: var(--paid); } .settle .v.owed { color: var(--owed); }
@media (max-width: 600px) { .settle { grid-template-columns: 1fr 1fr; } .settle > :first-child { grid-column: 1 / -1; } }
.bar { height: 10px; border-radius: 5px; background: var(--owed-bg); overflow: hidden; display: flex; min-width: 80px; }
.bar i { display: block; height: 100%; background: var(--paid); }
.bar.big { height: 14px; border-radius: 7px; }
.bar.none { background: var(--rule-2); }
.bar.over i { background: var(--bad); }
.trend { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 10px; }
.trend .c { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; height: 100%; position: relative; min-width: 0; }
.trend .w { background: var(--act); border-radius: 3px 3px 0 0; }
.trend .e { background: #7FB0B8; }
.trend .c.cur .w { background: var(--ink); }
.trend .lab { font-size: .72rem; color: var(--ink-3); text-align: center; margin-top: 4px; }
.legend { display: flex; gap: 16px; font-size: .82rem; color: var(--ink-3); margin-top: 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule-2); }
.list li:last-child { border-bottom: 0; }
.list li .r { margin-left: auto; text-align: right; }
.attn li { align-items: flex-start; }
.attn .ic { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 700; flex: none; }
.attn .ic.o { background: var(--owed-bg); color: var(--owed); } .attn .ic.b { background: var(--bad-bg); color: var(--bad); } .attn .ic.g { background: var(--paid-bg); color: var(--paid); }

/* wage rows */
tr.exp-row td { background: #F6F8F7; padding: 16px 18px; }
.brk { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px 28px; }
.brk table td { border: 0; padding: 3px 0; }
.brk table td.num { padding-left: 16px; }
.brk table tr.tot td { border-top: 1px solid var(--rule); font-weight: 700; padding-top: 6px; }
.rowbtn { background: none; border: 0; cursor: pointer; color: var(--ink-3); font-size: 1rem; padding: 2px 6px; }

/* ---------- worker profile ---------- */
.prof-h { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-bottom: 18px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--act-bg); color: var(--act); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; overflow: hidden; flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.prof-h .meta { color: var(--ink-3); }
.prof-h .btns { margin-left: auto; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--rule); margin-bottom: 20px; overflow-x: auto; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--ink-3); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a.on { color: var(--ink); border-bottom-color: var(--ink); }
.leave { display: flex; align-items: center; gap: 12px; }
.leave .bar { flex: 1; background: var(--rule-2); }
.leave .bar i { background: var(--act); }

/* ---------- attendance grid ---------- */
.ag { border-collapse: separate; border-spacing: 0; font-size: .82rem; }
.ag th, .ag td { padding: 0; border-bottom: 1px solid var(--rule-2); text-align: center; }
.ag th { padding: 6px 0; background: #F4F6F4; font-weight: 600; min-width: 30px; }
.ag th .wk { color: var(--ink-3); font-weight: 400; display: block; font-size: .7rem; }
.ag th.nwd { color: #A9B4AE; }
.ag th.today { background: var(--ink); color: #fff; }
.ag th.today .wk { color: #C9D6DC; }
.ag th.lv .wk { display: block; }
.ag td.wn, .ag th.wn { text-align: left; padding: 6px 12px; position: sticky; left: 0; background: var(--panel); z-index: 1; min-width: 150px; border-right: 1px solid var(--rule); white-space: nowrap; }
.ag th.wn { background: #F4F6F4; }
.ag td.c { height: 36px; cursor: pointer; position: relative; font-weight: 700; }
.ag td.c:hover { outline: 2px solid var(--act); outline-offset: -2px; }
.ag td.c.nwd { background: #F3F5F3; }
.ag td.c.oe { background: repeating-linear-gradient(45deg, #F3F5F3, #F3F5F3 4px, #fff 4px, #fff 8px); cursor: default; }
.ag td.c .half { position: absolute; inset: 0 50% 0 0; opacity: .25; }
.ag td.c.open::after { content: ''; position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--bad); }
.ag td.c.miss { color: #C3CCC7; font-weight: 400; }
.ag td.lv { padding: 0 12px; white-space: nowrap; border-left: 1px solid var(--rule); }
.keyrow { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; color: var(--ink-2); margin: 10px 0 0; }
.keyrow b { display: inline-block; min-width: 24px; text-align: center; border-radius: 4px; color: #fff; padding: 0 4px; margin-right: 4px; font-size: .75rem; }
.stat-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.stat-opts label { display: flex; align-items: center; gap: 8px; border: 1px solid var(--rule); border-radius: var(--r-s); padding: 9px 10px; font-weight: 500; cursor: pointer; margin: 0; }
.stat-opts input { accent-color: var(--act); }
.stat-opts label:has(input:checked) { border-color: var(--act); background: var(--act-bg); }
.sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }

/* mini calendar (worker tab) */
.mcal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; max-width: 520px; }
.mcal .h { text-align: center; font-size: .75rem; color: var(--ink-3); font-weight: 600; padding: 4px 0; }
.mcal .d { border: 1px solid var(--rule-2); border-radius: var(--r-s); min-height: 54px; padding: 4px 6px; font-size: .8rem; cursor: pointer; background: #fff; position: relative; }
.mcal .d:hover { border-color: var(--act); }
.mcal .d.nwd { background: #F3F5F3; }
.mcal .d .n { color: var(--ink-3); }
.mcal .d .s { display: block; margin-top: 2px; font-weight: 700; border-radius: 3px; color: #fff; text-align: center; font-size: .72rem; }
.mcal .d .hrs { display: block; font-size: .72rem; color: var(--ink-2); }

/* ---------- timesheets ---------- */
.dayhead { padding: 10px 14px; background: #F4F6F4; font-weight: 600; border-bottom: 1px solid var(--rule); }
.punches { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--rule); border-radius: 18px; padding: 2px 10px 2px 3px; background: #fff; cursor: pointer; font-size: .85rem; }
.chip:hover { border-color: var(--act); }
.chip img, .chip .ph0 { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; background: var(--rule-2); flex: none; }
.chip .k { font-weight: 600; }
.chip.k-in .k { color: var(--paid); } .chip.k-out .k { color: var(--bad); } .chip.k-break_start .k, .chip.k-break_end .k { color: var(--owed); }
.chip .m { color: var(--ink-3); font-size: .75rem; }

/* ---------- modal / confirm / toast ---------- */
.ov { position: fixed; inset: 0; background: rgba(20,30,37,.45); z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 6vh 14px 20px; overflow-y: auto; }
.ov.cf { z-index: 9500; align-items: center; }
.dlg { background: var(--panel); border-radius: var(--r-m); width: 100%; max-width: 540px; box-shadow: 0 18px 50px rgba(20,30,37,.28); }
.dlg.wide { max-width: 760px; }
.dlg > header { display: flex; align-items: center; padding: 16px 20px 6px; }
.dlg > header h2 { margin: 0; }
.dlg > header button { margin-left: auto; border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink-3); }
.dlg .body { padding: 12px 20px 4px; }
.dlg > footer { display: flex; align-items: center; gap: 8px; padding: 12px 20px 18px; flex-wrap: wrap; }
.dlg > footer .err { margin-right: auto; color: var(--bad); font-weight: 500; font-size: .9rem; }
.dlg > footer .err:empty { margin-right: auto; }
.callout { background: var(--act-bg); border-radius: var(--r-s); padding: 10px 12px; margin-bottom: 14px; font-size: .9rem; }
.callout.warn { background: var(--owed-bg); }
.callout.bad { background: var(--bad-bg); }
#toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: var(--r-s); z-index: 9999; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.2); max-width: 90vw; }
#toast.err { background: var(--bad); }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: var(--ink); }
.login form { background: var(--panel); padding: 30px 28px; border-radius: var(--r-m); width: 100%; max-width: 380px; }
.login h1 { font-size: 1.4rem; margin-bottom: 4px; }
.login p { color: var(--ink-3); margin: 0 0 20px; }
.login .btn { width: 100%; justify-content: center; padding: 10px; }
.login .err { color: var(--bad); min-height: 1.4em; margin: 0 0 10px; font-weight: 500; }

/* ---------- face enrol ---------- */
.enrol { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 20px; }
@media (max-width: 760px) { .enrol { grid-template-columns: 1fr; } }
.cam { position: relative; background: var(--ink); border-radius: var(--r-m); overflow: hidden; aspect-ratio: 4 / 3; }
.cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); display: block; }
.cam .msg { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px; background: rgba(20,30,37,.7); color: #fff; text-align: center; font-weight: 500; font-size: .9rem; }
.cam .ring { position: absolute; inset: 12% 22%; border: 3px solid rgba(255,255,255,.35); border-radius: 50%; transition: border-color .2s; }
.cam .ring.ok { border-color: #5FD49B; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.thumbs img { width: 64px; height: 64px; border-radius: var(--r-s); object-fit: cover; border: 2px solid var(--paid-bg); }
.snapbig { max-width: 100%; border-radius: var(--r-m); display: block; margin: 0 auto; }

/* ---------- help ---------- */
.help { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.help-nav { position: sticky; top: 16px; }
.help-nav input { margin-bottom: 10px; }
.help-nav nav a { display: block; padding: 8px 12px; border-radius: var(--r-s); text-decoration: none; color: var(--ink); font-weight: 600; border-left: 3px solid transparent; }
.help-nav nav a small { display: block; font-weight: 400; color: var(--ink-3); font-size: .8rem; }
.help-nav nav a:hover { background: var(--rule-2); }
.help-nav nav a.on { background: var(--act-bg); border-left-color: var(--act); }
.help-body { min-width: 0; max-width: 820px; }
.help-topic { margin-bottom: 34px; }
.help-topic > h2 { font-size: 1.5rem; margin-bottom: 2px; }
.help-topic > h2 a { color: inherit; }
.help-topic > p { margin: 0 0 18px; }
.help-sec { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-m); padding: 18px 20px; margin-bottom: 16px; }
.help-sec h3 { font-size: 1.1rem; margin-bottom: 10px; }
.help-sec ol { margin: 0 0 14px; padding-left: 22px; line-height: 1.6; max-width: 68ch; }
.help-sec li { margin-bottom: 4px; padding-left: 4px; }
.help-sec li::marker { font-weight: 700; color: var(--act); }
.help-sec figure { margin: 6px 0 0; }
.help-sec img { display: block; max-width: 100%; height: auto; border: 1px solid var(--rule); border-radius: var(--r-m); box-shadow: 0 4px 18px rgba(29,43,53,.08); }
.help-sec figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 8px; }
.help-sec .callout { max-width: 68ch; }
@media (max-width: 860px) { .help { grid-template-columns: minmax(0, 1fr); } .help-nav { position: static; min-width: 0; } .help-nav nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; } .help-nav nav a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; } .help-nav nav a small { display: none; } .help-nav nav a.on { border-bottom-color: var(--act); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .side, .topbar, .ph .btns, .ph .mnav, .rowbtn, .btn { display: none !important; } .shell { display: block; } .main { padding: 0; } }
