/* Velo Attend owner app. Mobile-first; RTL (ar, he) and LTR (en) via logical properties. 4px scale. */
:root {
  --navy: #01063A; --navy-2: #161E55; --navy-line: #1A2358; --on-navy-2: #B8C3DD; --on-navy-3: #8FA0C6;
  --cyan: #36B1FF; --cyan-2: #59DFFF; --bar: #1C7ED6;
  --bg: #F4F6FA; --surface: #FFFFFF; --surface-2: #F8F9FC; --line: #E4E8F0; --line-2: #EEF1F6; --field: #D5DBE7;
  --ink: #01063A; --ink-2: #2A3354; --ink-3: #5D6684; --link: #0A6FA0;
  --ok: #0E6B45;   --ok-bg: #E3F5EC;
  --warn: #8A4B00; --warn-bg: #FDF0DC;
  --bad: #A3202B;  --bad-bg: #FCE6E8; --bad-line: #F1C4C8;
  --info: #0A5F8A; --info-bg: #E3F4FF;
  --mute: #4A5470; --mute-bg: #EEF1F6;
  --font: 'IBM Plex Sans Arabic', 'IBM Plex Sans Hebrew', system-ui, 'Segoe UI', Tahoma, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 20px;
  --shadow: 0 12px 32px rgba(1, 6, 58, .12);
  --tabbar: 64px;
  color-scheme: light;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.5; font-variant-numeric: tabular-nums; }
body { min-height: 100dvh; }
a { color: var(--link); text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.25; text-wrap: balance; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 15px; font-weight: 600; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
.num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--ink-3); }
.small { font-size: 13px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

/* ───────── shell ───────── */
.shell { min-height: 100dvh; display: flex; }
.side { display: none; }
.main { flex: 1; min-width: 0; padding-bottom: calc(var(--tabbar) + 24px + env(safe-area-inset-bottom)); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(16px + env(safe-area-inset-top)) 16px 12px; }
.topbar .brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.topbar .brand img { width: 36px; height: 36px; flex: none; }
.topbar .brand .t { display: flex; flex-direction: column; min-width: 0; }
.topbar .brand .t span:first-child { font-size: 13px; color: var(--ink-3); }
.topbar .brand .t span:last-child { font-size: 20px; font-weight: 700; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.iconbtn { width: 44px; height: 44px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.iconbtn:hover { background: var(--surface-2); }
.avatar { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; flex: none; }
.content { padding: 0 16px; display: flex; flex-direction: column; gap: 16px; max-width: 1180px; }

.tabbar { position: fixed; inset-inline: 0; bottom: 0; height: calc(var(--tabbar) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--surface); border-top: 1px solid var(--line); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; z-index: 20; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--ink-3); font-size: 12px; font-weight: 500; min-height: 48px; }
.tabbar a[aria-current="page"] { color: var(--navy); font-weight: 600; }
.tabbar a[aria-current="page"] svg { color: var(--bar); }

@media (min-width: 960px) {
  .side { display: flex; flex-direction: column; gap: 4px; width: 240px; flex: none; background: var(--navy); color: #fff; padding: 20px 12px; position: sticky; top: 0; height: 100dvh; }
  .side .logo { display: flex; align-items: center; gap: 10px; padding: 4px 8px 20px; font-weight: 700; font-size: 17px; }
  .side .logo img { width: 32px; height: 32px; }
  .side a { display: flex; align-items: center; gap: 12px; color: var(--on-navy-2); padding: 10px 12px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
  .side a:hover { background: var(--navy-2); color: #fff; }
  .side a[aria-current="page"] { background: var(--navy-2); color: #fff; }
  .side a[aria-current="page"] svg { color: var(--cyan-2); }
  .side .foot { margin-top: auto; font-size: 12px; color: var(--on-navy-3); padding: 8px 12px; }
  .tabbar { display: none; }
  .main { padding-bottom: 32px; }
  .topbar { padding: 24px 32px 16px; }
  .topbar .brand img { display: none; }
  .content { padding: 0 32px; }
}

/* ───────── generic ───────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px 10px; flex-wrap: wrap; }
.card-b { padding: 0 16px 16px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.row:first-child { border-top: 0; }
a.row, button.row { color: inherit; width: 100%; background: none; border-inline: 0; border-bottom: 0; text-align: start; cursor: pointer; }
a.row:hover, button.row:hover { background: var(--surface-2); }
.row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row .name { font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .sub { font-size: 13px; color: var(--ink-3); }
.row .end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.ini { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--line-2); color: var(--ink-2); display: grid; place-items: center; font-weight: 600; flex: none; }
.sec-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.grid2 { display: grid; gap: 16px; }
@media (min-width: 960px) { .grid2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.btn { min-height: 44px; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--field); background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; }
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .5; cursor: default; }
.btn.primary { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--navy-2); }
.btn.danger { color: var(--bad); border-color: var(--bad-line); }
.btn.ghost { border-color: transparent; background: none; color: var(--link); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; }
.btn[aria-busy="true"]::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; cursor: pointer; white-space: nowrap; flex: none; }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 500; }
.seg { display: inline-flex; background: var(--line-2); border-radius: var(--r-md); padding: 4px; gap: 4px; }
.seg button { border: 0; background: none; min-height: 36px; padding: 0 14px; border-radius: var(--r-sm); cursor: pointer; color: var(--ink-2); font-size: 14px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(1, 6, 58, .12); }

.pill { font-size: 12px; font-weight: 600; border-radius: 999px; padding: 2px 10px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.mute { background: var(--mute-bg); color: var(--mute); }

/* fields */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .lbl { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.field .hint { font-size: 12px; color: var(--ink-3); }
.input { min-height: 48px; border: 1px solid var(--field); border-radius: var(--r-md); background: var(--surface); padding: 0 14px; font-size: 16px; width: 100%; }
.input:focus { outline: none; border-color: var(--bar); box-shadow: 0 0 0 3px rgba(54, 177, 255, .25); }
.input[aria-invalid="true"] { border-color: var(--bad); }
select.input { padding-inline-end: 8px; }
textarea.input { padding: 12px 14px; min-height: 80px; }
.input.sm { min-height: 40px; font-size: 15px; padding: 0 10px; }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.err { color: var(--bad); font-size: 13px; }
.banner { border-radius: var(--r-md); padding: 12px 14px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.banner.bad { background: var(--bad-bg); color: var(--bad); }
.banner.info { background: var(--info-bg); color: var(--info); }
.banner.warn { background: var(--warn-bg); color: var(--warn); }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; cursor: pointer; }
.switch input { appearance: none; width: 46px; height: 28px; border-radius: 999px; background: var(--field); position: relative; cursor: pointer; flex: none; transition: background .15s; margin: 0; }
.switch input::after { content: ''; position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: inset-inline-start .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked { background: var(--navy); }
.switch input:checked::after { inset-inline-start: 21px; }

/* ───────── login ───────── */
.login { min-height: 100dvh; display: flex; flex-direction: column; background: var(--navy); color: #fff; }
.login .top { padding: calc(48px + env(safe-area-inset-top)) 24px 32px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.login .brandline { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; }
.login .brandline img { width: 40px; height: 40px; }
.login .top p { margin: 0; color: var(--on-navy-2); font-size: 15px; }
.login .panel { flex: 1; background: var(--bg); color: var(--ink); border-radius: 24px 24px 0 0; padding: 28px 24px calc(24px + env(safe-area-inset-bottom)); }
.login .panel .form { max-width: 420px; margin: 0 auto; }
.login .langs { display: flex; justify-content: center; }
@media (min-width: 720px) {
  .login { align-items: center; justify-content: center; padding: 24px; }
  .login .wrap { width: 440px; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
  .login .panel { border-radius: 0; }
}
.pw-wrap { position: relative; }
.pw-wrap .input { padding-inline-end: 52px; }
.pw-wrap button { position: absolute; inset-inline-end: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; color: var(--ink-3); border-radius: var(--r-sm); }

/* ───────── today hero ───────── */
.hero { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.hero .top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero .lbl { font-size: 13px; color: var(--on-navy-2); }
.hero .big { font-size: 52px; font-weight: 700; line-height: 1; }
.hero .of { font-size: 20px; color: var(--on-navy-3); font-weight: 500; }
.hero .last { font-size: 12px; color: var(--on-navy-2); display: flex; align-items: center; gap: 6px; }
.hero .dot { width: 7px; height: 7px; border-radius: 50%; background: #45C8FF; flex: none; }
.hero .stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--navy-line); padding-top: 16px; }
.hero .stats button { background: none; border: 0; padding: 0; text-align: start; color: #fff; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.hero .stats .k { font-size: 12px; color: var(--on-navy-2); display: flex; align-items: center; gap: 6px; }
.hero .stats .k i { width: 8px; height: 8px; border-radius: 2px; flex: none; }
.hero .stats .v { font-size: 20px; font-weight: 600; }
.att-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.att-ic.warn { background: var(--warn-bg); color: var(--warn); }
.att-ic.bad { background: var(--bad-bg); color: var(--bad); }
.time-pair { font-size: 13px; color: var(--ink-3); direction: ltr; unicode-bidi: isolate; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kpi .k { font-size: 13px; color: var(--ink-3); }
.kpi .v { font-size: 24px; font-weight: 700; line-height: 1.2; }
.kpi .s { font-size: 12px; color: var(--ink-3); }
.kpi.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.kpi.dark .k, .kpi.dark .s { color: var(--on-navy-2); }
.bar-track { height: 8px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.kpi.dark .bar-track { background: var(--navy-2); }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--cyan-2), var(--cyan)); }
[dir="rtl"] .bar-fill { background: linear-gradient(270deg, var(--cyan-2), var(--cyan)); }

/* period nav */
.period { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.period .label { font-size: 17px; font-weight: 600; min-width: 0; flex: 1; }
.period input { min-height: 44px; }
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.search { position: relative; flex: 1; min-width: 180px; }
.search .input { padding-inline-start: 40px; min-height: 44px; font-size: 15px; }
.search svg { position: absolute; inset-inline-start: 12px; top: 12px; color: var(--ink-3); }

/* tables */
.tbl-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: start; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; background: var(--surface-2); position: sticky; top: 0; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.n, .tbl th.n { text-align: end; direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .tbl td.n, [dir="rtl"] .tbl th.n { text-align: left; }
.tbl tbody tr.click { cursor: pointer; }
.tbl tbody tr.click:hover td { background: var(--surface-2); }
.tbl tfoot td { font-weight: 700; border-top: 1px solid var(--line); background: var(--surface-2); }
.tbl .bad-t { color: var(--bad); font-weight: 600; }
.tbl .warn-t { color: var(--warn); font-weight: 600; }
.tbl .ok-t { color: var(--ok); font-weight: 600; }
.only-wide { display: none; }
@media (min-width: 960px) { .only-wide { display: block; } .only-narrow { display: none; } }

/* chart */
.chart { position: relative; }
.chart { padding-top: 32px; }
.chart .bars { direction: ltr; display: flex; align-items: flex-end; gap: 2px; height: 140px; border-bottom: 1px solid var(--line); }
.chart .col { flex: 1; min-width: 0; height: 100%; display: flex; align-items: flex-end; background: none; border: 0; padding: 0; cursor: pointer; }
.chart .col:disabled { cursor: default; }
.chart .bar { width: 100%; background: var(--bar); border-radius: 4px 4px 0 0; }
.chart .col:hover .bar, .chart .col:focus-visible .bar { background: var(--navy); }
.chart .axis { direction: ltr; display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); padding-top: 4px; }
.chart .tip { position: absolute; pointer-events: none; background: var(--navy); color: #fff; font-size: 12px; padding: 6px 10px; border-radius: var(--r-sm); white-space: nowrap; transform: translateX(-50%); display: none; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cal .wd { font-size: 12px; color: var(--ink-3); text-align: center; padding-bottom: 2px; }
.cal button { aspect-ratio: 1 / 1.05; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); padding: 4px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; }
.cal button .d { font-size: 14px; font-weight: 600; }
.cal button .h { font-size: 11px; color: var(--ink-3); direction: ltr; }
.cal button.present { background: var(--ok-bg); border-color: transparent; }
.cal button.present .d { color: var(--ok); }
.cal button.late { background: var(--warn-bg); border-color: transparent; }
.cal button.late .d { color: var(--warn); }
.cal button.absent, .cal button.incomplete { background: var(--bad-bg); border-color: transparent; }
.cal button.absent .d, .cal button.incomplete .d { color: var(--bad); }
.cal button.inside { background: var(--info-bg); border-color: transparent; }
.cal button.off, .cal button.holiday, .cal button.inactive { background: var(--surface-2); }
.cal button.off .d, .cal button.holiday .d, .cal button.inactive .d { color: var(--ink-3); font-weight: 500; }
.cal button.future { background: none; border-style: dashed; }
.cal button.future .d { color: var(--ink-3); font-weight: 400; }
.cal button.today { box-shadow: 0 0 0 2px var(--navy); }
.cal .blank { visibility: hidden; }
.cal button.incomplete::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--bad); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

.breakdown { display: flex; flex-direction: column; }
.breakdown div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 14px; }
.breakdown div:first-child { border-top: 0; }
.breakdown div b { font-weight: 600; }
.breakdown div.total { font-size: 16px; font-weight: 700; border-top: 1px solid var(--line); }

/* drawer / sheet */
.scrim { position: fixed; inset: 0; background: rgba(1, 6, 58, .4); z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.sheet { background: var(--surface); width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; border-radius: 20px 20px 0 0; padding: 8px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); animation: up .18s ease-out; }
.sheet .grab { width: 40px; height: 4px; border-radius: 999px; background: var(--field); margin: 4px auto 0; }
.sheet-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
@keyframes up { from { transform: translateY(24px); opacity: 0; } }
@media (min-width: 720px) { .scrim { align-items: center; } .sheet { border-radius: 20px; max-height: 86vh; } .sheet .grab { display: none; } }
.punch { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); }
.punch:first-child { border-top: 0; }
.punch .t { font-size: 17px; font-weight: 600; direction: ltr; min-width: 56px; }
.punch.dup .t { text-decoration: line-through; color: var(--ink-3); font-weight: 400; }
.punch .grow { flex: 1; font-size: 13px; color: var(--ink-3); }

.empty { padding: 32px 16px; text-align: center; color: var(--ink-3); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.skel { background: linear-gradient(90deg, var(--line-2), #f6f7fa, var(--line-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: var(--r-lg); }
@keyframes sk { to { background-position: -200% 0; } }

#toasts { position: fixed; bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom)); inset-inline: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 60; pointer-events: none; }
.toast { background: var(--navy); color: #fff; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; box-shadow: var(--shadow); max-width: 480px; }
.toast.bad { background: var(--bad); }
@media (min-width: 960px) { #toasts { bottom: 24px; } }

.offline { background: var(--warn-bg); color: var(--warn); font-size: 13px; text-align: center; padding: 6px 12px; }
.schedule-row { display: grid; grid-template-columns: 72px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line-2); }
.schedule-row:first-child { border-top: 0; }
.schedule-row .times { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.schedule-row .times input[type="time"] { width: 118px; }
.schedule-row .times .offlbl { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); cursor: pointer; min-height: 40px; }
.secret { font-family: var(--mono); font-size: 20px; letter-spacing: 1px; background: var(--surface-2); border: 1px dashed var(--field); border-radius: var(--r-md); padding: 12px; text-align: center; direction: ltr; user-select: all; }

/* print: reports only, full width, no chrome */
.print-only { display: none; }
@media print {
  @page { margin: 12mm; }
  body { background: #fff; font-size: 11px; }
  .side, .tabbar, .topbar .actions, .no-print, #toasts, .scrim { display: none !important; }
  .main { padding: 0; }
  .content { padding: 0; max-width: none; }
  .card, .kpi { border-color: #ccc; break-inside: avoid; }
  .only-wide { display: block !important; }
  .only-narrow { display: none !important; }
  .print-only { display: block; }
  .tbl th { position: static; }
  .hero { background: #fff; color: #000; border: 1px solid #ccc; }
}
