/* Hotel reservations – wayfinding look:
   rooms as door plates, status as plate colour, Barlow / Barlow Condensed. */
:root {
  --ink: #15293b;          /* top bar, headings */
  --ink-2: #213a50;
  --bg: #e8ecef;           /* cool concrete grey */
  --surface: #ffffff;
  --surface-2: #f4f6f8;
  --line: #d5dce2;
  --line-soft: #e7ebef;
  --text: #17222d;
  --muted: #5f6d7a;
  --primary: #1c5d8c;      /* signage blue */
  --primary-hover: #154a71;
  --focus: rgba(28, 93, 140, .28);

  --free: #2f7d4f;    --free-plate: #e3f1e8;  --free-ink: #1f5e39;
  --occ: #b3412f;     --occ-bg: #fbeeeb;
  --dirty: #c98a12;   --dirty-bg: #fdf3df;    --dirty-ink: #7a5205;

  --res: #1c5d8c;  --in: #2f7d4f;  --out: #9aa5b0;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --cw: 42px;    /* calendar day width */
  --rc: 116px;   /* calendar room column */
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 15px/1.45 var(--body); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
a { color: var(--primary); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.15; letter-spacing: .005em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }

/* ---------- buttons, forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
  border-radius: var(--r); padding: 7px 13px; font: 500 14px/1.3 var(--body);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); border-color: #c4cdd5; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.btn.primary:hover { background: var(--primary-hover); }
.btn.success { background: var(--free); border-color: var(--free); color: #fff; font-weight: 600; }
.btn.success:hover { background: var(--free-ink); }
.btn.danger { color: var(--occ); border-color: #e9c4bd; }
.btn.danger:hover { background: var(--occ-bg); }
.btn.ghost { background: transparent; border-color: transparent; }
.btn.ghost:hover { background: rgba(21, 41, 59, .06); }
.btn.sm { padding: 4px 10px; font-size: 13px; }
.btn.icon { width: 36px; padding: 6px 0; font-size: 19px; line-height: 1; }
.btn.block { width: 100%; padding: 10px; }
.btn:disabled { opacity: .5; cursor: default; }

input, select, textarea {
  font: 15px/1.35 var(--body); color: inherit; background: #fff;
  border: 1px solid #c6cfd7; border-radius: var(--r); padding: 7px 10px; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 0; border-color: var(--primary); }
input:disabled, select:disabled, textarea:disabled { background: var(--surface-2); color: var(--muted); }
input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--primary); }
input[type=color] { padding: 2px; height: 36px; }
textarea { resize: vertical; }
label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: #334453; }
label.check { flex-direction: row; align-items: center; gap: 9px; font-weight: 500; font-size: 14px; padding-top: 24px; }
.hint { font-weight: 400; color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 14px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.err { color: var(--occ); font-size: 13px; font-weight: 500; min-height: 18px; }

/* ---------- login ---------- */
.login {
  min-height: 100vh; display: grid; place-items: center; padding: 16px;
  background: var(--ink);
}
.login-card {
  width: 100%; max-width: 380px; background: var(--surface); border-radius: var(--r-lg);
  padding: 0 0 26px; display: flex; flex-direction: column; gap: 16px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.login-card > div:first-child { background: var(--primary); color: #fff; padding: 22px 26px 18px; }
.login-card > div:first-child p { color: rgba(255,255,255,.8) !important; }
.login-card h1 { font-size: 30px; font-weight: 700; }
.login-card label, .login-card .err, .login-card .btn { margin: 0 26px; }
.login-card .btn.block { width: auto; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: var(--ink); color: #e6edf3; padding: 0 18px; min-height: 54px;
}
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px/1 var(--display); letter-spacing: .01em; }
.brand-mark {
  width: 26px; height: 26px; border-radius: var(--r-sm); background: var(--primary);
  display: grid; place-items: center;
}
.brand-mark::after { content: "H"; font: 700 17px/1 var(--display); color: #fff; }
#nav { display: flex; gap: 2px; flex-wrap: wrap; align-self: stretch; }
#nav a {
  color: #b7c4d0; text-decoration: none; padding: 0 14px; font-weight: 500; display: flex; align-items: center;
  border-bottom: 3px solid transparent; border-top: 3px solid transparent;
}
#nav a:hover { color: #fff; }
#nav a.active { color: #fff; border-bottom-color: #5fa8dc; }
.user { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; color: #9fb0bf; }
.user #userName { margin-right: 6px; }
.user .btn { color: #d5dfe8; }
.user .btn:hover { background: rgba(255,255,255,.09); }

main { padding: 18px; max-width: 1720px; margin: 0 auto; }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar .spacer { flex: 1; }
.toolbar h2 { font-size: 26px; display: flex; align-items: center; gap: 8px; }
.datenav { display: flex; align-items: center; gap: 4px; }
.datenav input[type=date] { width: 156px; }
.day-title { font: 600 26px/1.1 var(--display); color: var(--ink); text-transform: none; }
.day-title::first-letter { text-transform: uppercase; }
.pill { display: inline-block; font: 600 12px/1.2 var(--body); padding: 3px 9px; border-radius: 99px; background: var(--primary); color: #fff; vertical-align: 4px; }
.seg { display: inline-flex; background: #d9e0e6; border-radius: var(--r); padding: 3px; }
.seg button { border: 0; background: transparent; font: 500 14px var(--body); padding: 5px 12px; border-radius: var(--r-sm); cursor: pointer; color: #405262; }
.seg button.on { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(21,41,59,.15); }

/* ---------- day summary: one board, not a row of cards ---------- */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 14px; overflow: hidden;
}
.stat { padding: 10px 16px 11px; border-right: 1px solid var(--line-soft); position: relative; }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 600 32px/1.05 var(--display); font-variant-numeric: tabular-nums; color: var(--ink); }
.stat span { font-size: 13px; color: var(--muted); }
.stat small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.stat.free b { color: var(--free); }
.stat.occupied b { color: var(--occ); }
.stat.dirty b { color: var(--dirty); }
.stat.free::before, .stat.occupied::before, .stat.dirty::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 4px; border-radius: 0 3px 3px 0; }
.stat.free::before { background: var(--free); }
.stat.occupied::before { background: var(--occ); }
.stat.dirty::before { background: var(--dirty); }
.stat .board-line { font: 600 19px/1.4 var(--display) !important; padding-top: 6px; }

.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); align-items: center; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }

/* ---------- floor plan ---------- */
.floor { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px 16px; margin-bottom: 16px; }
.floor-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.floor-head h2 { font-size: 24px; color: var(--ink); }
.plan-scroll { overflow-x: auto; }
.plan { display: grid; gap: 6px; grid-auto-rows: auto; }
.plan-label {
  display: grid; place-items: center; border-radius: var(--r); text-align: center; padding: 4px;
  color: #6f7e8b; font: 500 17px/1.1 var(--display); letter-spacing: .02em;
  background: repeating-linear-gradient(135deg, #f1f4f6 0 8px, #e9edf0 8px 16px);
}
.plan-label.k-corridor {
  min-height: 24px; background: none; font-size: 14px; color: #9aa6b1; border-radius: 0;
  border-top: 1px dashed #c9d2da; border-bottom: 1px dashed #c9d2da; align-self: center;
}
.plan-label.k-blank { background: none; border: 1.5px dashed #c9d2da; }

/* door plate tile */
.tile {
  min-height: 104px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--surface);
  display: flex; flex-direction: column; min-width: 0; position: relative; overflow: hidden;
  transition: border-color .12s, box-shadow .12s;
}
.tile:hover { border-color: #9fb0bf; box-shadow: 0 3px 10px rgba(21,41,59,.12); }
.t-plate { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 6px; padding: 6px 7px 6px 8px; background: var(--free-plate); color: var(--free-ink); }
.t-num { font: 700 26px/1 var(--display); letter-spacing: .01em; }
.t-type { margin-left: auto; font: 600 15px/1 var(--display); padding: 3px 6px; border-radius: var(--r-sm); background: rgba(255,255,255,.65); color: inherit; }
.t-status { font-size: 12.5px; line-height: 1.2; font-weight: 600; padding: 5px 8px 0; color: var(--free); display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.t-skos { font-size: 11px; font-weight: 600; color: #4a5a68; background: var(--surface-2); border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; margin-left: auto; }
.t-body { padding: 4px 8px 8px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.tile.st-occupied .t-plate { background: var(--occ); color: #fff; }
.tile.st-occupied .t-type { background: rgba(255,255,255,.2); }
.tile.st-occupied .t-status { color: var(--occ); }
.tile.st-dirty .t-plate { background: var(--dirty); color: #fff; }
.tile.st-dirty .t-type { background: rgba(255,255,255,.22); }
.tile.st-dirty .t-status { color: var(--dirty-ink); }
.tile.st-dirty { background: var(--dirty-bg); }
.tile.is-group { border-left: 6px solid var(--gc); }
.t-guest {
  font-weight: 600; font-size: 14px; line-height: 1.2; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.t-meta { font-size: 12px; color: #405262; line-height: 1.3; }
.st-short { display: none; }
/* narrow tiles (single column of the plan) – shorter texts */
.tile { container-type: inline-size; }
@container (max-width: 84px) {
  .st-long { display: none; }
  .st-short { display: inline; }
  .t-guest { -webkit-line-clamp: 1; overflow-wrap: normal; white-space: nowrap; text-overflow: ellipsis; display: block; font-size: 13px; }
  .t-plate { padding: 5px 6px; }
  .t-status, .t-body { padding-left: 6px; padding-right: 5px; }
  .flag { font-size: 11px; padding: 1px 3px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 3px; }
.chip { font-size: 12px; font-weight: 500; padding: 1px 6px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line-soft); white-space: nowrap; }
.chip.pet { background: #fdf0d9; border-color: #f3dfb8; }
.chip.extra { background: #e8eef8; border-color: #d3deee; }
.t-group { font-size: 12px; font-weight: 600; color: #fff; background: var(--gc); border-radius: var(--r-sm); padding: 1px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.flags { display: flex; flex-wrap: wrap; gap: 3px; margin-top: auto; }
.flag { font-size: 11.5px; font-weight: 600; padding: 1px 5px; border-radius: var(--r-sm); }
.flag.in { background: #dff1e5; color: #1f5e39; }
.flag.out { background: #e3ebf3; color: #1c4467; }
.flag.warn { background: #fae3a7; color: #6e4a03; }

/* ---------- cards and tables ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px; margin-bottom: 16px; }
.card-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.card-head h2 { font-size: 22px; color: var(--ink); }
.table-scroll { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-weight: 600; color: var(--muted); font-size: 13px; padding: 8px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.tbl tr.clickable { cursor: pointer; }
.tbl tr.clickable:hover td { background: #f1f5f8; }
.tbl .num { font-variant-numeric: tabular-nums; }
.tbl td b { font-family: var(--display); font-size: 17px; font-weight: 700; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.badge.reserved { background: #e1ecf6; color: #154a71; }
.badge.checked_in { background: #dff1e5; color: #1f5e39; }
.badge.checked_out { background: #eceff2; color: #4f5d69; }
.badge.cancelled { background: #f8e4e0; color: #8c3021; text-decoration: line-through; }
.badge.free { background: var(--free-plate); color: var(--free-ink); }
.badge.occupied { background: var(--occ-bg); color: var(--occ); }
.badge.dirty { background: var(--dirty-bg); color: var(--dirty-ink); }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.loading { padding: 32px; text-align: center; color: var(--muted); }

/* ---------- calendar ---------- */
.cal-wrap { overflow: auto; max-height: calc(100vh - 186px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cal { min-width: max-content; user-select: none; }
.cal-row { display: grid; grid-template-columns: var(--rc) repeat(var(--n), var(--cw)); min-height: 40px; border-bottom: 1px solid var(--line-soft); }
.cal-head { position: sticky; top: 0; z-index: 6; background: var(--surface); border-bottom: 2px solid var(--line); }
.cal-room {
  grid-row: 1; grid-column: 1; position: sticky; left: 0; z-index: 4; background: var(--surface);
  border-right: 2px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 10px;
}
.cal-room a { font: 700 19px/1 var(--display); text-decoration: none; color: var(--ink); }
.cal-room a:hover { color: var(--primary); }
.cal-room small { color: var(--muted); font: 600 13px/1 var(--display); background: var(--surface-2); padding: 2px 5px; border-radius: 3px; }
.cal-room small.skos { background: #eef1f4; color: #4a5a68; font: 600 11px/1 var(--body); }
.hk-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dirty); margin-left: auto; box-shadow: 0 0 0 3px var(--dirty-bg); }
.cal-day { grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; color: var(--muted); padding: 5px 0; border-right: 1px solid var(--line-soft); line-height: 1.15; }
.cal-day b { font: 600 19px/1.05 var(--display); color: var(--ink); }
.cal-day.we { background: var(--surface-2); }
.cal-day.we b { color: #5a6b7a; }
.cal-day.td { background: var(--primary); color: rgba(255,255,255,.8); }
.cal-day.td b { color: #fff; }
.cal-cell { grid-row: 1; border-right: 1px solid var(--line-soft); cursor: cell; }
.cal-cell.we { background: #f7f9fa; }
.cal-cell.td { background: #eaf2f8; }
.cal-cell:hover { background: #dde9f3; }
.cal-cell.sel { background: rgba(28, 93, 140, .25); }
.cal-floor-row { background: var(--surface-2); border-bottom: 1px solid var(--line); }
.cal-floor { position: sticky; left: 0; display: inline-block; padding: 6px 12px; font: 600 16px/1.2 var(--display); color: var(--ink); }
.bar {
  grid-row: 1; align-self: center; height: 28px; z-index: 2; border-radius: var(--r-sm); position: relative;
  color: #fff; font-size: 13px; padding: 0 7px; display: flex; align-items: center; gap: 5px;
  overflow: hidden; white-space: nowrap; cursor: pointer; background: var(--res);
  box-shadow: 0 1px 2px rgba(21,41,59,.25);
}
.bar:hover { filter: brightness(1.1); z-index: 3; }
.bar.checked_in { background: var(--in); }
.bar.checked_out { background: var(--out); }
.bar.group {
  background: repeating-linear-gradient(135deg, var(--gc) 0 9px, color-mix(in srgb, var(--gc) 78%, #fff) 9px 18px);
  border-left: 5px solid var(--sc);
}
.bar.group.checked_out { opacity: .55; }
.bar .g { font: 600 12px/1.3 var(--display); background: rgba(0,0,0,.28); border-radius: 3px; padding: 0 5px; }
.bar .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

/* ---------- modals ---------- */
.modal-back { position: fixed; inset: 0; background: rgba(13, 26, 38, .5); z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.modal { background: var(--surface); border-radius: var(--r-lg); width: 100%; max-width: 580px; box-shadow: 0 24px 60px rgba(0,0,0,.3); display: flex; flex-direction: column; animation: pop .14s ease-out; }
@keyframes pop { from { transform: translateY(6px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal.wide { max-width: 840px; }
.modal-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px 12px; border-bottom: 1px solid var(--line); }
.modal-head h3 { font-size: 25px; flex: 1; color: var(--ink); }
.modal-head .x { border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); border-radius: var(--r-sm); padding: 0 6px; }
.modal-head .x:hover { background: var(--surface-2); color: var(--text); }
.modal-body { padding: 16px 18px; }
.modal-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.modal-foot .spacer { flex: 1; }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 0; margin-bottom: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.kv div { padding: 8px 12px; border-right: 1px solid var(--line-soft); }
.kv div:last-child { border-right: 0; }
.kv span { display: block; font-size: 12px; color: var(--muted); }
.kv b { font-size: 16px; }
.res-card { border: 1px solid var(--line); border-radius: var(--r); padding: 10px 12px; margin-bottom: 10px; display: flex; gap: 10px; align-items: flex-start; }
.res-card .info { flex: 1; min-width: 0; }
.res-card h4 { margin: 2px 0 3px; font: 600 20px/1.15 var(--display); }
.res-card .meta { font-size: 13px; color: var(--muted); }
.guests { border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px 12px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guests legend { font-size: 13px; font-weight: 600; color: #334453; padding: 0 4px; }
.guest-row { display: grid; grid-template-columns: 26px 1fr 1fr 96px; gap: 8px; align-items: center; }
.g-no { font: 600 17px var(--display); color: var(--muted); text-align: right; }
.g-main { font-size: 12px; color: var(--muted); }
.guests > .btn { align-self: flex-start; }
.nights { font-size: 13px; color: var(--muted); margin-top: -6px; }
.capacity { font-size: 13px; color: #405262; background: var(--surface-2); border-left: 3px solid var(--primary); border-radius: var(--r-sm); padding: 8px 11px; }
.audit-meta { font-size: 12px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 9px; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.swatches button { width: 28px; height: 28px; border-radius: var(--r-sm); border: 3px solid transparent; cursor: pointer; }
.swatches button.on { border-color: var(--ink); }
.free-list { max-height: 360px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); }
.free-list .tbl td { padding: 5px 8px; }
.free-list input[type=number] { width: 72px; padding: 4px 6px; }
.free-list select { width: 72px; padding: 4px 6px; }
.free-floor td { background: var(--surface-2); font-weight: 600; font-size: 13px; }

.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); margin-bottom: 16px; flex-wrap: wrap; }
.tabs a { padding: 9px 15px; text-decoration: none; color: var(--muted); font-weight: 500; border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabs a:hover { color: var(--text); }
.tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--primary); }

.backup-list { max-height: 320px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r); }
.note { background: #eef4f9; border-left: 3px solid var(--primary); border-radius: var(--r-sm); padding: 10px 12px; font-size: 14px; color: #2c4256; }

#toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r); z-index: 300;
  transition: .2s; pointer-events: none; max-width: calc(100vw - 32px); font-weight: 500;
  border-left: 4px solid var(--free);
}
#toast.show { opacity: 1; transform: translateX(-50%); }
#toast.err { border-left-color: #ff8a73; background: #5c1f15; }

@media (max-width: 760px) {
  main { padding: 10px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .guest-row { grid-template-columns: 22px 1fr 1fr; }
  .guest-row .g-main, .guest-row .g-del { grid-column: 2 / 4; justify-self: start; }
  label.check { padding-top: 0; }
  .user #userName { display: none; }
  .topbar { gap: 10px; padding: 6px 10px; }
  #nav a { padding: 8px 10px; }
  .day-title { font-size: 21px; }
  :root { --rc: 86px; --cw: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
@media print {
  .topbar, .toolbar .btn, .seg, .legend { display: none !important; }
  body { background: #fff; }
}
