/* Rental Manager — calm, legible, touch-friendly. Light & dark. */
:root {
  --bg: #f5f7f7;
  --surface: #ffffff;
  --surface-2: #eef2f2;
  --ink: #15201f;
  --ink-2: #4a5857;
  --muted: #6b7877;
  --line: #dde4e3;
  --accent: #0f766e;
  --accent-ink: #ffffff;
  --accent-soft: #d5efec;
  --ok: #1f7a3d;
  --ok-soft: #dcf2e3;
  --warn: #8a5a00;
  --warn-soft: #fbedc9;
  --danger: #b42318;
  --danger-soft: #fde3e0;
  --info: #1d5fa8;
  --info-soft: #dde9f8;
  --radius: 10px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.05), 0 2px 8px rgb(0 0 0 / 0.04);
  --nav-w: 232px;
  --top-h: 56px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1514;
    --surface: #172120;
    --surface-2: #1e2a29;
    --ink: #e7eeed;
    --ink-2: #b4c2c0;
    --muted: #8a9997;
    --line: #2b3a38;
    --accent: #2bb3a5;
    --accent-ink: #062320;
    --accent-soft: #123b37;
    --ok: #5fcf86;
    --ok-soft: #173826;
    --warn: #f0b542;
    --warn-soft: #3a2d0e;
    --danger: #ff7b6e;
    --danger-soft: #401a16;
    --info: #78aef0;
    --info-soft: #172a42;
    --shadow: none;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 15px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
a { color: var(--accent); }
h1 { font-size: 1.5rem; margin: 0; line-height: 1.25; }
h2 { font-size: 1.1rem; margin: 0 0 .75rem; }
h3.section { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 1rem 0 .25rem; grid-column: 1 / -1; }
code, .mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.spacer { flex: 1; }
.boot, .loading { padding: 3rem; text-align: center; color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Layout ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; height: var(--top-h);
  display: flex; align-items: center; gap: .75rem; padding: 0 1rem;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.menu-btn { display: none; }
.shell { display: flex; min-height: calc(100vh - var(--top-h)); }
.sidenav {
  width: var(--nav-w); flex-shrink: 0; padding: .75rem .5rem; background: var(--surface);
  border-right: 1px solid var(--line); position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto;
}
.sidenav a {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .75rem; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; min-height: 40px;
}
.sidenav a:hover { background: var(--surface-2); }
.sidenav a.active { background: var(--accent-soft); color: var(--ink); font-weight: 600; }
.ni { width: 1.4rem; text-align: center; }
.nav-group { margin: 1rem .75rem .25rem; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
main { flex: 1; min-width: 0; padding: 1.25rem 1.5rem 5rem; }
.page { max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; }
.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 620px), 1fr)); gap: 1rem; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); min-width: 0; }
.card-title { font-size: 1rem; }
.scrim { display: none; }

.usermenu { position: relative; }
.usermenu summary { list-style: none; display: flex; align-items: center; gap: .5rem; cursor: pointer; padding: .25rem; border-radius: 999px; }
.usermenu summary::-webkit-details-marker { display: none; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; }
.usermenu .menu { position: absolute; right: 0; top: 110%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem; min-width: 220px; display: flex; flex-direction: column; gap: .25rem; box-shadow: 0 8px 24px rgb(0 0 0 / .15); }
.usermenu .menu .btn { justify-content: flex-start; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 40px; padding: .45rem .9rem; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn:disabled { opacity: .55; cursor: progress; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--danger); border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.btn.danger:hover { background: var(--danger-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.small { min-height: 32px; padding: .2rem .6rem; font-size: .85rem; }
.btn.block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.icon-btn { border: 0; background: transparent; color: var(--ink-2); font-size: 1.1rem; min-width: 40px; min-height: 40px; border-radius: 8px; cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); }
.row-actions { display: inline-flex; gap: .35rem; flex-wrap: wrap; justify-content: flex-end; }
kbd { font-family: inherit; font-size: .7rem; border: 1px solid var(--line); border-radius: 4px; padding: 0 .3rem; color: var(--muted); margin-left: auto; }
.fab { display: none; }

/* ---------- Quick actions ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.quick-btn {
  display: flex; align-items: center; gap: .6rem; padding: .75rem .85rem; min-height: 56px;
  border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius);
  font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; box-shadow: var(--shadow);
}
.quick-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.qi { font-size: 1.35rem; }

/* ---------- KPIs ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; box-shadow: var(--shadow); }
.kpi-label { color: var(--muted); font-size: .85rem; }
.kpi-value { font-size: 1.45rem; font-weight: 650; font-variant-numeric: tabular-nums; margin-top: .15rem; }
.kpi-sub { color: var(--muted); font-size: .8rem; }
.kpi.neg .kpi-value { color: var(--danger); }
.kpi.warn { border-left: 4px solid var(--warn); }

/* ---------- Banners, badges, toasts ---------- */
.banner { padding: .65rem .9rem; border-radius: 8px; border: 1px solid transparent; }
.banner.error { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 30%, transparent); }
.banner.warn { background: var(--warn-soft); color: var(--warn); }
.banner.info { background: var(--info-soft); color: var(--info); }
.banner.ok { background: var(--ok-soft); color: var(--ok); }
.alerts { display: flex; flex-direction: column; gap: .5rem; }
.badge { display: inline-block; padding: .05rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.muted { color: var(--muted); }
.err-text { color: var(--danger); }
#toasts { position: fixed; z-index: 100; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: .65rem 1rem; border-radius: 8px; box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: opacity .4s; max-width: min(92vw, 520px); }
.toast.error { background: var(--danger); color: #fff; }
.toast.out { opacity: 0; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: bottom; }
.tbl th.num { text-align: right; }
.tbl td { padding: .55rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tfoot td { font-weight: 650; border-bottom: 0; border-top: 2px solid var(--line); }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: var(--surface-2); }
.tbl tr.invalid td { background: var(--danger-soft); }
.tbl td.act { text-align: right; white-space: nowrap; }
.tbl .sel { width: 36px; }
.tbl input[type=checkbox] { width: 20px; height: 20px; }
.empty { color: var(--muted); margin: .25rem 0; }
.bulkbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .5rem .75rem; background: var(--accent-soft); border-radius: 8px; position: sticky; top: calc(var(--top-h) + .5rem); z-index: 5; }
.bulkbar[hidden] { display: none; }

.facts { display: grid; grid-template-columns: fit-content(60%) minmax(0, 1fr); gap: .35rem 1rem; margin: 0 0 .75rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.facts .badge { white-space: normal; }
.facts.money dd { text-align: right; font-variant-numeric: tabular-nums; }
.facts .total { font-weight: 700; border-top: 1px solid var(--line); padding-top: .35rem; color: var(--ink); }
.facts .sep { padding-top: .6rem; }

/* ---------- Tabs & filters ---------- */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: .6rem .9rem; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active { color: var(--ink); border-bottom-color: var(--accent); font-weight: 600; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.filters .grid { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters .field { min-width: 140px; flex: 1 1 140px; max-width: 240px; }
.filters .help { display: none; }
.filters > select, .filters > input { width: auto; flex: 1 1 180px; max-width: 280px; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: .75rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem 1rem; }
.field { display: flex; flex-direction: column; gap: .25rem; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field[hidden] { display: none; }
.lbl { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.req { color: var(--danger); }
.help { color: var(--muted); font-size: .78rem; }
.err { color: var(--danger); font-size: .8rem; min-height: 0; }
.err:empty { display: none; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: .5rem .65rem; min-height: 42px; width: 100%;
}
textarea { resize: vertical; }
input.num { text-align: right; }
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 60%, transparent); border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); background: var(--danger-soft); }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--accent); vertical-align: middle; }
.check-field { flex-direction: row; align-items: center; gap: .5rem; flex-wrap: wrap; }
.checks { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.check { display: inline-flex; align-items: center; gap: .35rem; min-height: 36px; }
.suffix { display: flex; align-items: center; gap: .35rem; }
.suffix span { color: var(--muted); }
details.more { border-top: 1px dashed var(--line); padding-top: .5rem; }
details.more > summary { cursor: pointer; color: var(--accent); font-weight: 500; padding: .35rem 0; }
details.more[open] > summary { margin-bottom: .5rem; }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; align-items: center; margin-top: .25rem; }
.preview:empty { display: none; }
.calc { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; margin: 0; padding: .75rem .9rem; background: var(--surface-2); border-radius: 8px; }
.calc dt { color: var(--ink-2); }
.calc dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.calc .total { font-weight: 700; color: var(--ink); }
.rate-note { margin-top: -.15rem; }

.lines { display: flex; flex-direction: column; gap: .4rem; margin-bottom: .4rem; }
.line { display: grid; grid-template-columns: 1fr 90px 120px 40px; gap: .4rem; }
.line:not(:has(.cost)) { grid-template-columns: 1fr 90px 40px; }
.picklist { display: flex; flex-direction: column; gap: .25rem; max-height: 300px; overflow-y: auto; border: 1px solid var(--line); border-radius: 8px; padding: .4rem; }
.pick { display: grid; grid-template-columns: 24px 1fr auto; gap: .5rem; align-items: center; padding: .4rem; border-radius: 6px; cursor: pointer; }
.pick:hover { background: var(--surface-2); }
.grid-entry input, .grid-entry select { min-width: 110px; }
.grid-entry .row-err { color: var(--danger); font-size: .8rem; }
.perm-list { display: flex; flex-direction: column; gap: .5rem; }
.perm { display: grid; grid-template-columns: 1fr 160px; gap: 1rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.secret { font-family: ui-monospace, Consolas, monospace; font-size: 1.3rem; padding: .75rem; background: var(--surface-2); border-radius: 8px; user-select: all; text-align: center; }
.pre { white-space: pre-wrap; }
.reply { background: var(--surface-2); padding: .5rem; border-radius: 6px; }
pre { white-space: pre-wrap; word-break: break-word; margin: .25rem 0; }

/* ---------- Dialogs ---------- */
dialog.modal {
  border: 0; border-radius: 14px; padding: 0; width: min(640px, 96vw); max-height: 92vh;
  background: var(--surface); color: var(--ink); box-shadow: 0 20px 60px rgb(0 0 0 / .35);
}
dialog.modal.wide { width: min(920px, 96vw); }
dialog::backdrop { background: rgb(10 20 20 / .45); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem 1rem .5rem 1.2rem; position: sticky; top: 0; background: var(--surface); z-index: 1; }
.modal-head h2 { margin: 0; font-size: 1.15rem; }
.modal-body { padding: .25rem 1.2rem 1.2rem; }

/* ---------- Login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; padding: 1rem; }
.login-card { width: min(400px, 100%); display: flex; flex-direction: column; gap: 1rem; padding: 2rem; text-align: left; }
.login-card h1 { font-size: 1.4rem; }

/* ---------- Chart: single-series monthly bars ---------- */
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; height: 180px; align-items: end; padding-top: .5rem; border-bottom: 1px solid var(--line); }
.bar-col { height: 100%; display: flex; flex-direction: column; align-items: stretch; outline-offset: -2px; }
.bar-track { flex: 1; display: flex; align-items: flex-end; justify-content: center; }
.bar { width: min(70%, 28px); background: var(--accent); border-radius: 4px 4px 0 0; min-height: 0; }
.bar-col:hover .bar, .bar-col:focus .bar { filter: brightness(1.15); }
.bar-x { text-align: center; font-size: .72rem; color: var(--muted); padding: .25rem 0; }

/* ---------- ROI line chart ---------- */
.chart-wrap { position: relative; margin-top: .5rem; }
.linechart { width: 100%; height: auto; display: block; overflow: visible; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-zero { stroke: var(--muted); stroke-width: 1; }
.ch-axis { fill: var(--muted); font-size: 11px; }
.ch-line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.ch-proj { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; opacity: .8; }
.ch-ref { fill: none; stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 2 4; }
.ch-ref-label { fill: var(--ink-2); font-size: 11px; }
.ch-dot { fill: var(--accent); stroke: var(--surface); stroke-width: 2; }
.ch-dot-proj { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.ch-cross { stroke: var(--muted); stroke-width: 1; }
.ch-tip { position: absolute; top: 0; width: 190px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .4rem .6rem; font-size: .8rem; box-shadow: 0 4px 14px rgb(0 0 0 / .15); pointer-events: none; }
.forecast { padding: .6rem .8rem; border-radius: 8px; background: var(--surface-2); margin: .5rem 0 0; }
.forecast.projected, .forecast.reached { background: var(--ok-soft); color: var(--ok); }
.forecast.not_on_track { background: var(--warn-soft); color: var(--warn); }
.kpis.compact { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpis.compact .kpi { box-shadow: none; }
.neg { color: var(--danger); font-weight: 600; }
.pos { color: var(--ok); font-weight: 600; }
.block { display: block; }

/* ---------- Inventory count ---------- */
.progress { position: relative; height: 26px; border-radius: 999px; background: var(--surface-2); overflow: hidden; margin-top: .5rem; }
.progress .bar-fill { position: absolute; inset: 0 auto 0 0; background: var(--accent-soft); border-right: 2px solid var(--accent); }
.progress span { position: relative; display: block; text-align: center; line-height: 26px; font-size: .82rem; font-weight: 600; }
.area-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .25rem; }
.area-head .card-title { margin: 0; }
.area-head .btn { margin-left: auto; }
.count-table input, .count-table select { min-height: 38px; padding: .3rem .45rem; }
.count-table .qty-in { width: 76px; }
.count-table .val-in { width: 100px; }
.count-cell { display: inline-flex; gap: .3rem; align-items: center; }
.btn.match { min-width: 38px; color: var(--ok); }
.count-table tr.saved td { background: var(--ok-soft); transition: background .2s; }
.count-table tr.save-error td { background: var(--danger-soft); }
.tbl tr.total-row td { font-weight: 700; border-top: 2px solid var(--line); }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .menu-btn { display: inline-block; }
  .uname { display: none; }
  .new-btn { display: none; }
  .sidenav { position: fixed; left: 0; top: var(--top-h); z-index: 30; transform: translateX(-100%); transition: transform .2s; box-shadow: 0 0 30px rgb(0 0 0 / .2); }
  body.nav-open .sidenav { transform: none; }
  body.nav-open .scrim { display: block; position: fixed; inset: var(--top-h) 0 0 0; background: rgb(0 0 0 / .3); z-index: 25; }
  main { padding: 1rem 1rem 6rem; }
  .fab { display: grid; place-items: center; position: fixed; right: 1rem; bottom: 1rem; z-index: 15; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--accent-ink); font-size: 1.9rem; box-shadow: 0 6px 20px rgb(0 0 0 / .25); cursor: pointer; }
  .cols { grid-template-columns: 1fr; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi-value { font-size: 1.2rem; }
  .filters .field { max-width: none; flex-basis: 45%; }
  /* Tables become stacked cards: no sideways scrolling. */
  .tbl:not(.grid-entry) thead { display: none; }
  .tbl:not(.grid-entry), .tbl:not(.grid-entry) tbody, .tbl:not(.grid-entry) tr, .tbl:not(.grid-entry) td { display: block; width: 100%; }
  .tbl:not(.grid-entry) tr { border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; padding: .35rem .5rem; position: relative; }
  .tbl:not(.grid-entry) td { border: 0; padding: .2rem 0; display: flex; justify-content: space-between; gap: 1rem; text-align: right; }
  .tbl:not(.grid-entry) td::before { content: attr(data-label); color: var(--muted); font-size: .8rem; text-align: left; flex-shrink: 0; }
  .tbl:not(.grid-entry) td[data-label=""]::before { content: none; }
  .tbl:not(.grid-entry) td:empty { display: none; }
  .tbl:not(.grid-entry) td.sel { position: absolute; top: .4rem; right: .5rem; width: auto; }
  .tbl:not(.grid-entry) tfoot tr { border-style: dashed; }
  .tbl:not(.grid-entry) tfoot td { display: flex; }
  .tbl:not(.grid-entry) tfoot td:empty { display: none; }
  dialog.modal, dialog.modal.wide { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid .field.wide, .grid .check-field, .grid .combo { grid-column: 1 / -1; }
  .grid > .field:has(.combo), .grid > .field:has(textarea), .grid > .field:has(select) { grid-column: 1 / -1; }
  .actions { position: sticky; bottom: 0; background: var(--surface); padding: .6rem 0; margin: 0; }
  .actions .btn { flex: 1; }
  .perm { grid-template-columns: 1fr; gap: .35rem; }
  .line { grid-template-columns: 1fr 70px 90px 36px; }
  .bars { height: 140px; }
  .count-table .qty-in { width: 70px; }
  .count-table td[data-label="Remarks"] input { width: 60%; }
  .ch-tip { width: 160px; }
  input, select, textarea { font-size: 16px; } /* prevents iOS zoom on focus */
}
@media (forced-colors: active) {
  .bar { background: CanvasText; }
}
