/* Elite RF design system (measured from eliterfllc.com): Poppins headings, Open Sans text,
   white surfaces, #0F75BC full-width bands, one #F1592A primary action per view, 4px corners,
   pill secondary buttons, soft shadows. Text stays 20px for readability. */

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

/* Contrast checked: every text pair is 4.9:1 or better, borders and focus 3:1 or better. */
:root {
  --bg: #fbfbfc;
  --surface: #ffffff;
  --surface-2: #f3f3f3;
  --ink: #050748;
  --muted: #6a6a8e;
  --rule: #e4e4ec;
  --rule-strong: #8a8aa6;
  --brand: #0f75bc;
  --on-brand: #ffffff;
  --brand-ink: #31669c;
  --brand-tint: #e8f2fa;
  --action: #f1592a;
  --on-action: #000000;
  --navy: #050748;
  --on-navy: #ffffff;
  --positive: #1abc9c;
  --on-positive: #050748;
  --ot: #b3261e;
  --on-ot: #ffffff;
  --focus: #0d6efd;
  --shadow: 0 3px 6px rgba(0, 0, 0, .1);
  --shadow-lg: 0 20px 20px -10px rgba(0, 0, 0, .15);
  --ease: cubic-bezier(.25, .8, .25, 1);
  --radius: 4px;
  --text: 'Open Sans', ui-sans-serif, system-ui, sans-serif;
  --display: 'Poppins', 'Open Sans', ui-sans-serif, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #070a1f;
    --surface: #10142e;
    --surface-2: #181d3f;
    --ink: #ecedf7;
    --muted: #a9abcb;
    --rule: #262b52;
    --rule-strong: #6b6f99;
    --brand-ink: #8ec5f0;
    --brand-tint: #14244a;
    --navy: #ecedf7;
    --on-navy: #050748;
    --ot: #ff8a80;
    --on-ot: #070a1f;
    --focus: #7cb8ff;
    --shadow: 0 3px 8px rgba(0, 0, 0, .45);
    --shadow-lg: 0 24px 40px -16px rgba(0, 0, 0, .7);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.25rem/1.55 var(--text);
}
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.2; margin: 0; }
h1 { font-size: clamp(1.875rem, 4.4vw, 2.75rem); }
h2 { font-size: 1.5rem; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.mono { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 12px 16px; border-radius: var(--radius); }
.noscript { padding: 32px; }

/* ---------- Header and navigation ---------- */
.bar {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; gap: 28px;
  padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: 1.375rem; }
.logo { display: block; height: auto; }
.brand .logo { height: 44px; width: auto; }
.app-name { padding-left: 14px; border-left: 1px solid var(--rule-strong); line-height: 1.5; }
.tabs { display: flex; gap: 4px; flex: 1; align-self: stretch; }
.tab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 18px; margin-bottom: -11px;
  border-bottom: 4px solid transparent; text-decoration: none;
  color: var(--muted); font-weight: 600;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tab svg { width: 24px; height: 24px; flex: none; }
.tab:hover { color: var(--ink); }
.tab[aria-current='page'] { color: var(--ink); border-bottom-color: var(--brand); }
.who { display: flex; align-items: center; gap: 12px; color: var(--muted); }
@media screen and (min-width: 761px) and (max-width: 1040px) {
  .bar { gap: 16px; }
  .tab { padding: 0 12px; }
  .tab svg, .who-name { display: none; }
}

@media screen and (max-width: 760px) {
  .bar { justify-content: space-between; }
  .tabs {
    position: fixed; z-index: 5; left: 0; right: 0; bottom: 0; align-self: auto;
    justify-content: space-around; gap: 0;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom));
    background: var(--surface); border-top: 1px solid var(--rule);
  }
  .tab {
    flex: 1; flex-direction: column; gap: 2px; min-height: 62px; padding: 4px; margin: 0;
    font-size: 1rem; justify-content: center; border-bottom: 0; border-top: 4px solid transparent;
  }
  .tab[aria-current='page'] { color: var(--brand-ink); border-top-color: var(--brand); }
  .who-name { display: none; }
  main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}

main {
  max-width: 1000px; margin: 0 auto;
  padding: 0 max(20px, env(safe-area-inset-right)) 64px max(20px, env(safe-area-inset-left));
}
main:focus { outline: none; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head .sub { color: var(--muted); margin-top: 6px; }
.stack { display: grid; gap: 24px; }

/* Page title band: brand blue across the full width, like the site's section bands. */
.band {
  position: relative;
  margin-bottom: 28px; padding: 36px 0 32px;
  background: var(--brand); color: var(--on-brand);
  box-shadow: 0 0 0 100vmax var(--brand); clip-path: inset(0 -100vmax);
}
.band .eyebrow, .band .page-head .sub, .band .sub { color: var(--on-brand); }
.band .tag.plain { color: var(--on-brand); box-shadow: inset 0 0 0 1.5px var(--on-brand); }
.band .btn { background: transparent; border-color: var(--on-brand); color: var(--on-brand); }
.band .btn:hover { background: rgba(255, 255, 255, .14); }
.band :focus-visible { outline-color: var(--on-brand); }

/* ---------- Buttons and fields ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 2px solid var(--brand-ink); border-radius: 999px;
  background: var(--surface); color: var(--brand-ink);
  font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .3s var(--ease), transform .1s ease;
}
.btn:hover { background: var(--brand-tint); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 24px; height: 24px; flex: none; }
/* The one main action on a view: square-cornered orange, black label. */
.btn.primary { border-radius: var(--radius); background: var(--action); border-color: var(--action); color: var(--on-action); font-weight: 700; }
.btn.primary:hover { background: color-mix(in srgb, var(--action) 88%, #000); }
.btn.ink { border-radius: var(--radius); background: var(--navy); border-color: var(--navy); color: var(--on-navy); font-weight: 700; }
.btn.ink:hover { background: color-mix(in srgb, var(--navy) 85%, var(--brand)); }
.btn.danger { border-radius: var(--radius); background: var(--ot); border-color: var(--ot); color: var(--on-ot); }
.btn.danger:hover { background: color-mix(in srgb, var(--ot) 88%, #000); }
.btn.danger-text { color: var(--ot); }
.btn.quiet { border-color: transparent; background: transparent; color: var(--muted); padding: 0 14px; }
.btn.quiet:hover { color: var(--ink); background: var(--surface-2); }
.btn.wide { width: 100%; }
.btn.icon { padding: 0; width: 56px; }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.field { display: grid; gap: 8px; align-content: start; }
.field label, .label { font-weight: 600; }
.hint { color: var(--muted); font-size: 1.0625rem; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 24px; height: 24px; accent-color: var(--brand); }
.input {
  width: 100%; min-height: 56px; padding: 12px 16px;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
  background: var(--surface);
}
textarea.input { min-height: 104px; resize: vertical; line-height: 1.45; }
.input:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
select.input { cursor: pointer; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px 24px; margin: 0; }
.facts dt { color: var(--muted); font-size: 1.0625rem; }
.facts dd { margin: 2px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
@media screen and (max-width: 560px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.error { color: var(--ot); font-weight: 700; }

.panel {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 24px;
}
.panel h2 { margin-bottom: 16px; }
.eyebrow {
  font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink);
}

/* ---------- Sign in: the card sits across a brand band ---------- */
body:has(.signin) { background: linear-gradient(var(--brand) 0 42vh, var(--bg) 42vh); }
.signin { min-height: 100dvh; display: grid; place-items: center; padding: 32px 0; }
.signin form, .signin .setup { width: min(460px, 100%); display: grid; gap: 20px; border-top: 9px solid var(--brand); box-shadow: var(--shadow-lg); }
.signin .card-top { display: grid; justify-items: center; gap: 16px; text-align: center; margin-bottom: 4px; }
.signin .logo { width: min(240px, 70%); }
.signin h1 { font-size: 2.25rem; }

/* ---------- Today: the punch ---------- */
.today { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media screen and (max-width: 900px) { .today { grid-template-columns: 1fr; } }
.punch { display: grid; gap: 20px; border-top: 9px solid var(--brand); }
.punch.on { border-top-color: var(--positive); }
.status { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--rule-strong); flex: none; }
.punch.on .dot { background: var(--positive); box-shadow: 0 0 0 6px color-mix(in srgb, var(--positive) 25%, transparent); animation: pulse 2s ease-in-out infinite; }
.clock {
  font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(3.5rem, 13vw, 6rem); line-height: 1; letter-spacing: -.02em;
  color: var(--ink);
}
.clock-sub { color: var(--muted); }
.punch-btn { min-height: 96px; font-size: 1.75rem; }
.punch-btn svg { width: 34px; height: 34px; }

.totals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.total { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; border-left: 4px solid var(--brand); }
.total .num { font-weight: 700; font-size: 2rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.total .cap { color: var(--muted); font-size: 1.0625rem; }
.ot-cap { color: var(--ot); font-weight: 700; }
@media screen and (max-width: 420px) { .total .num { font-size: 1.625rem; } .totals { gap: 8px; } .total { padding: 12px; } }

/* ---------- Punch rows ---------- */
.card-list { list-style: none; margin: 0; padding: 0; }
.card-list li + li { border-top: 1px solid var(--rule); }
.punch-row {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: baseline;
  width: 100%; padding: 14px 8px; border: 0; border-radius: var(--radius); background: none; text-align: left;
}
button.punch-row { cursor: pointer; }
button.punch-row:hover { background: var(--brand-tint); }
.times { font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.dur { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.what, .meta { grid-column: 1 / -1; overflow-wrap: anywhere; }
.what { font-weight: 700; }
.meta { color: var(--muted); font-size: 1.0625rem; }
.tag {
  display: inline-block; padding: 1px 10px; border-radius: 999px; font-size: .9375rem; font-weight: 700;
  background: var(--brand-tint); color: var(--brand-ink); margin-left: 6px; vertical-align: 2px;
}
.tag:first-child { margin-left: 0; }
.tag.live { background: var(--positive); color: var(--on-positive); }
.tag.plain { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.stamp-in { animation: stamp .5s cubic-bezier(.17, .85, .438, .99) both; }
.empty { color: var(--muted); padding: 12px 4px; }

/* ---------- Calendar ---------- */
.cal-head { align-items: center; }
.cal-head h1 { min-width: 9ch; }
.cal {
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)) minmax(0, .9fr);
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.cal .dow {
  padding: 12px 10px; font-size: 1rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand-ink); border-bottom: 2px solid var(--brand);
}
.cal .dow.wk { text-align: right; }
.day {
  min-height: 108px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between;
  border: 0; border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  background: transparent; text-align: left; cursor: pointer; border-radius: 0;
  transition: background-color .3s var(--ease);
}
.day:hover { background: var(--brand-tint); }
.day:focus-visible, .tc tr.clickable:focus-visible { outline-offset: -3px; }
.day .n { font-weight: 600; font-size: 1.125rem; }
.day .h { font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--brand-ink); }
.day .h.ot { color: var(--ot); }
.day.out .n { color: var(--muted); font-weight: 400; }
.day.out { background: var(--bg); }
.day.today .n {
  display: inline-grid; place-items: center; min-width: 36px; height: 36px; border-radius: 999px;
  background: var(--brand); color: var(--on-brand);
}
.day .run { font-size: 1rem; font-weight: 700; color: var(--on-positive); background: var(--positive); padding: 0 8px; border-radius: 999px; }
.wk-total {
  padding: 10px; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end;
  border-bottom: 1px solid var(--rule); background: var(--brand-tint);
}
.wk-total .h { font-weight: 700; font-size: 1.375rem; font-variant-numeric: tabular-nums; }
.wk-total .ot { color: var(--ot); font-weight: 700; font-size: 1rem; }
.legend { display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 1.0625rem; margin-top: 12px; }
.legend .red { color: var(--ot); font-weight: 700; }
@media screen and (max-width: 760px) {
  .cal { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .cal .dow.wk, .wk-total { display: none; }
  .cal .dow { padding: 10px 2px; text-align: center; font-size: .9375rem; letter-spacing: 0; }
  .day { min-height: 76px; padding: 6px 2px; align-items: center; }
  .day .n { font-size: 1.0625rem; }
  .day.today .n { min-width: 30px; height: 30px; }
  .day .h { font-size: 1.0625rem; }
  .day .run { font-size: .8125rem; padding: 0 4px; }
}

/* ---------- Timesheet ---------- */
.sheet { padding: 0; overflow: hidden; border-top: 9px solid var(--brand); }
.sheet-top {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: flex-end;
  padding: 20px 24px; border-bottom: 1px solid var(--rule);
}
.week-label {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 24px; background: var(--brand-tint); color: var(--brand-ink); font-weight: 700;
}
.week-label .mono { color: var(--ink); }
.week-label .ot { color: var(--ot); }
table.tc { width: 100%; border-collapse: collapse; }
.tc th {
  text-align: left; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-ink);
  padding: 12px 12px; border-bottom: 1px solid var(--rule-strong);
}
.tc td { padding: 14px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tc th:first-child, .tc td:first-child { padding-left: 24px; }
.tc th:last-child, .tc td:last-child { padding-right: 24px; }
.tc .num { text-align: right; white-space: nowrap; }
.tc .t { font-weight: 700; color: var(--brand-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tc .h { font-weight: 700; font-variant-numeric: tabular-nums; }
.tc .h.ot { color: var(--ot); }
.tc .dayc { white-space: nowrap; font-weight: 700; }
.tc .dayc span { display: block; color: var(--muted); font-weight: 400; font-size: 1.0625rem; }
.tc tr.blank td { color: var(--muted); }
.tc tr.clickable { cursor: pointer; }
.tc tr.clickable:hover td { background: var(--brand-tint); }
.tc .c-time { display: none; }
.tc.no-ot .c-ot { display: none; }
.tc .desc { color: var(--muted); font-size: 1.0625rem; overflow-wrap: anywhere; }
.sheet-foot { padding: 20px 24px; display: flex; gap: 32px; flex-wrap: wrap; justify-content: flex-end; }
.sheet-foot .k { color: var(--muted); }
.sheet-foot .v { font-weight: 700; font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.sheet-foot .v.ot { color: var(--ot); }
.signatures { display: none; }

@media screen and (max-width: 760px) {
  .tc thead { display: none; }
  .tc, .tc tbody, .tc tr, .tc td { display: block; }
  .tc tr { padding: 12px 16px; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
  .tc td, .tc td:first-child, .tc td:last-child { padding: 0; border: 0; }
  .tc td.c-day { grid-column: 1 / -1; }
  .tc td.c-in, .tc td.c-out { display: none; }
  .tc td.c-time { display: block; grid-column: 1; }
  .tc td.c-day:empty { display: none; }
  .tc td.c-hours { grid-column: 2; text-align: right; }
  .tc td.c-ot { display: none; }
  .tc td.c-what { grid-column: 1 / -1; }
  .tc .dayc span { display: inline; margin-left: 8px; }
  .week-label, .sheet-top, .sheet-foot { padding-left: 16px; padding-right: 16px; }
}

/* HR: which person is shown, picked inside the title band */
.picker { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.picker label { font-weight: 700; }
.picker select { width: auto; min-width: 240px; max-width: 100%; color: var(--ink); }
button.link {
  border: 0; background: none; padding: 0; color: var(--brand-ink); font-weight: 700;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left;
}
.tc.everyone td { vertical-align: middle; }

/* People */
.person { display: grid; grid-template-columns: 1fr auto; gap: 12px 20px; align-items: center; padding: 18px 4px; }
.person-name { font-weight: 700; font-size: 1.25rem; }
.person-name .tag { margin-left: 8px; }
@media screen and (max-width: 760px) { .person { grid-template-columns: 1fr; } }
.invite-text { min-height: 300px; font-size: 1.0625rem; line-height: 1.5; }

/* Exports */
.exports { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.export {
  display: grid; gap: 4px; align-content: start; text-align: left;
  min-height: 96px; padding: 16px 18px; border-radius: var(--radius);
  border: 1.5px solid var(--rule-strong); border-left: 4px solid var(--brand);
  background: var(--surface); cursor: pointer; text-decoration: none; color: var(--ink);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.export:hover { background: var(--brand-tint); border-color: var(--brand); }
.export b { font-size: 1.25rem; font-weight: 700; }
.export span { color: var(--muted); font-size: 1.0625rem; line-height: 1.35; }

/* ---------- Dialog ---------- */
dialog {
  width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 48px);
  padding: 0; border: 0; border-top: 9px solid var(--brand); border-radius: var(--radius);
  background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
}
dialog::backdrop { background: rgba(5, 7, 72, .45); }
dialog[open] { animation: rise .4s cubic-bezier(.17, .85, .438, .99); }
.dlg { display: grid; gap: 20px; padding: 24px; }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg-foot { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.dlg-foot .left { margin-right: auto; }
@media screen and (max-width: 560px) {
  dialog {
    width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 12px 12px 0 0;
    max-height: 92dvh; padding-bottom: env(safe-area-inset-bottom);
  }
  .dlg-foot .btn { flex: 1; }
  .dlg-foot .left { flex-basis: 100%; order: 3; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 32px; z-index: 20; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 16px 22px; border-radius: var(--radius);
  background: var(--navy); color: var(--on-navy); font-weight: 600; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--ot); color: var(--on-ot); }
@media screen and (max-width: 760px) { .toast { bottom: calc(96px + env(safe-area-inset-bottom)); } }

@keyframes stamp { from { transform: scale(1.2); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--positive) 18%, transparent); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print: a clean signed timesheet ---------- */
@media print {
  :root { --bg: #fff; --surface: #fff; --ink: #000; --muted: #333; --rule: #bbb; --rule-strong: #666; --brand: #000; --brand-ink: #000; --brand-tint: #eee; --ot: #000; --on-brand: #000; }
  body { font-size: 11pt; background: #fff; }
  .bar, .tabs, .no-print, .toast, dialog { display: none !important; }
  main { padding: 0; max-width: none; }
  .band { box-shadow: none; clip-path: none; background: none; padding: 0 0 8pt; margin-bottom: 8pt; }
  .panel { box-shadow: none; }
  .sheet { border-top-width: 2px; }
  .sheet-top { padding: 0 0 8pt; }
  .tc th:first-child, .tc td:first-child { padding-left: 0; }
  .tc td, .tc th { padding: 4pt 6pt; }
  .week-label { padding: 4pt 0; }
  .tc tr { break-inside: avoid; }
  .tc .h.ot { text-decoration: underline; }
  .signatures { display: grid; grid-template-columns: 1fr 1fr; gap: 32pt; margin-top: 36pt; }
  .signatures div { border-top: 1px solid #000; padding-top: 4pt; }
}
