/* ============================================================
   ALLWAYS · Car Transit Tracker — styles
   Palette: brushed-silver logo on ink; paper content; the workbook's
   own semantics (yellow = input, grey = formula, red/amber/green rows).
   ============================================================ */

:root {
  --ink: #121925;
  --ink-2: #161e2c;
  --ink-3: #222C3B;
  --steel-700: #3a4150;
  --steel-500: #5B616E;
  --steel-300: #aeb5c2;
  --silver: #d9dee6;
  --silver-2: #efeee9;
  --paper: #F5F4F0;
  --card: #ffffff;
  --line: #E4E2DC;
  --line-2: #D9D6CE;
  --text: #15181E;
  --accent: #2B5A8C;
  --accent-2: #1F4470;
  --accent-soft: #E6EEF7;

  --input: #fff6dc;
  --input-line: #f1dfa0;
  --calc: #f4f3ef;

  --red: #B42318;
  --red-bg: #FDE7E5;
  --amber: #8A5A00;
  --amber-bg: #FDF1DD;
  --green: #166534;
  --green-bg: #E3F4E8;

  --rail-w: 232px;
  --radius: 12px;
  --radius-s: 8px;
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --road: repeating-linear-gradient(90deg, var(--steel-300) 0 9px, transparent 9px 16px);
}

/* the hidden attribute always wins over a component's display rule */
[hidden] { display: none !important; }

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.45;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: var(--rail-w) 1fr; min-height: 100vh; }
.main { min-width: 0; }
.view { padding: 26px 32px 60px; max-width: 1560px; width: 100%; margin: 0 auto; }

/* ---------- left rail ---------- */
.rail {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: linear-gradient(180deg, var(--ink) 0%, #0d1526 60%, var(--ink) 100%);
  color: var(--silver);
  display: flex; flex-direction: column;
  border-right: 1px solid #1c2740;
}
.rail__brand { display: flex; align-items: center; gap: 12px; padding: 24px 22px 12px; text-decoration: none; }
.rail__brand:hover { text-decoration: none; }
.rail__brand img { width: 34px; height: auto; flex: none; }
.rail__wordmark { font-weight: 800; letter-spacing: .3em; font-size: 14px; color: #fff; line-height: 1; }
.rail__wordmark span { display: block; font-size: 7.5px; letter-spacing: .3em; color: var(--steel-500); margin-top: 5px; font-weight: 600; }
.rail__system {
  padding: 0 22px 18px;
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--steel-500);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.rail__system .lang { letter-spacing: 0; text-transform: none; }
.rail__nav { display: flex; flex-direction: column; padding: 10px 12px; gap: 2px; }
.rail__nav a, .rail__settings {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: 8px;
  color: var(--steel-300); text-decoration: none;
  font-weight: 600; font-size: 14px;
  position: relative;
}
.rail__nav a svg, .rail__settings svg { width: 18px; height: 18px; fill: currentColor; opacity: .9; flex: none; }
.rail__nav a:hover, .rail__settings:hover { background: var(--ink-3); color: #fff; text-decoration: none; }
.rail__nav a.active { background: #16223a; color: #fff; }
.rail__nav a.active::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--road); opacity: .7;
}
.rail__nav .count {
  margin-left: auto; font-size: 11.5px; font-weight: 700;
  color: var(--steel-300); background: #1f2b44; padding: 1px 8px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
.rail__nav .count:empty { display: none; }
.rail__nav .count--alert { background: #7a1a1f; color: #fff; }
.rail__foot { margin-top: auto; padding: 12px; border-top: 1px solid #1c2740; }
.rail__user { padding: 6px 12px 12px; margin-bottom: 6px; border-bottom: 1px solid #1c2740; }
.rail__user:empty { display: none; }
.rail__user-name { font-weight: 700; color: #fff; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail__user-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.role { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: #1f2b44; color: var(--steel-300); line-height: 1.5; }
.role--admin { background: var(--accent); color: #fff; }
.panel .role { background: var(--silver-2); color: var(--steel-700); }
.panel .role--admin { background: var(--accent-soft); color: var(--accent-2); }
.linkbtn { background: none; border: 0; padding: 0; color: var(--steel-300); cursor: pointer; font-size: 11.5px; font-weight: 600; }
.linkbtn:hover { color: #fff; text-decoration: underline; }
.notice { background: var(--amber-bg); color: var(--amber); padding: 10px 14px; border-radius: 8px; font-size: 13px; line-height: 1.5; }
.muted { color: var(--steel-500); }
.rail__company { padding: 12px 12px 6px; font-size: 11px; line-height: 1.5; color: var(--steel-500); }
.rail-toggle { display: none; }

/* ---------- page header ---------- */
.page__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-bottom: 16px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.page__title { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.page__sub { margin: 4px 0 0; color: var(--steel-500); font-size: 13.5px; }
.page__actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.today { font-size: 12.5px; color: var(--steel-500); margin-right: 6px; font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-2);
  background: var(--card); color: var(--text); font-weight: 600; font-size: 13px;
  cursor: pointer; white-space: nowrap; line-height: 1.2;
}
.btn svg { width: 15px; height: 15px; fill: currentColor; }
.btn:hover { border-color: var(--steel-300); background: var(--silver-2); }
.btn--primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn--danger { color: var(--red); }
.btn--danger:hover { background: var(--red-bg); border-color: #f3b4b8; }
.btn--sm { padding: 5px 10px; font-size: 12.5px; }
.btn[disabled] { opacity: .5; cursor: default; }

/* ---------- KPI band ---------- */
.kpis {
  display: grid; gap: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  margin-bottom: 18px; overflow: hidden;
}
.kpis--4 { grid-template-columns: repeat(4, 1fr); }
.kpis--8 { grid-template-columns: repeat(8, 1fr); }
.kpi { padding: 16px 18px 14px; border-right: 1px solid var(--line); min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi__label { font-size: 12px; font-weight: 600; color: var(--steel-500); margin-bottom: 6px; line-height: 1.25; }
.kpis--8 .kpi__label { min-height: 2.5em; font-size: 11.5px; }
.kpi__value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi__hint { font-size: 11.5px; color: var(--steel-500); margin-top: 5px; }
.kpi--red .kpi__value { color: var(--red); }
.kpi--amber .kpi__value { color: var(--amber); }
.kpi--green .kpi__value { color: var(--green); }
.kpi--accent .kpi__value { color: var(--accent); }
.kpi--muted .kpi__value { color: var(--steel-500); }
.kpi--sm .kpi__value { font-size: 20px; }

/* ---------- panels ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.panel__title { margin: 0; font-size: 15px; font-weight: 700; }
.panel__note { font-size: 12.5px; color: var(--steel-500); }
.panel__body { padding: 18px; }
.panel__body--flush { padding: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }

/* ---------- bars (cost breakdown / money in-out) ---------- */
.bars { display: grid; grid-template-columns: 150px 1fr 110px 70px; gap: 10px 14px; align-items: center; }
.bars__label { font-weight: 600; font-size: 13px; }
.bars__track { height: 14px; background: var(--silver-2); border-radius: 3px; overflow: hidden; }
.bars__fill { height: 100%; background: var(--steel-700); border-radius: 3px; }
.bars__fill--in { background: var(--green); }
.bars__fill--out { background: var(--red); }
.bars__value { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.bars__pct { text-align: right; color: var(--steel-500); font-variant-numeric: tabular-nums; font-size: 12.5px; }
.bars__total { grid-column: 1 / -1; display: flex; justify-content: space-between; border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 4px; font-weight: 800; }
.bars--flow { grid-template-columns: 200px 1fr 120px; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.grid { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13px; font-variant-numeric: tabular-nums; }
table.grid th {
  position: sticky; top: 0; z-index: 2;
  background: var(--ink-3); color: #e6eaf1; font-weight: 700; font-size: 11.5px; letter-spacing: .02em;
  text-align: left; padding: 9px 10px; white-space: nowrap; border-bottom: 1px solid #2b3a55;
}
table.grid th.num { text-align: right; }
table.grid th.ctr { text-align: center; }
table.grid td { padding: 0; border-bottom: 1px solid var(--line); vertical-align: middle; height: 38px; }
table.grid td.in { background: var(--input); }
table.grid td.calc { background: var(--calc); padding: 0 10px; color: var(--steel-700); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.grid td.text { padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
table.grid td.num { text-align: right; }
table.grid td.ctr { text-align: center; }
table.grid td.no { color: var(--steel-500); text-align: center; width: 44px; }
table.grid td.strong { font-weight: 700; color: var(--text); }
table.grid td.neg { color: var(--red); }
table.grid td.pos { color: var(--green); }
table.grid td.dim { color: var(--steel-300); }
table.grid td.act { text-align: center; width: 40px; }
table.grid tr.total td { background: var(--silver-2); border-top: 2px solid var(--line-2); font-weight: 800; color: var(--text); height: 42px; white-space: nowrap; }
/* sticky (frozen) columns, like freeze panes */
table.grid .sticky { position: sticky; z-index: 1; }
table.grid th.sticky { z-index: 3; }
table.grid .sticky--last { box-shadow: 6px 0 8px -6px rgba(11,18,32,.28); }
table.grid td.sticky.in { background: var(--input); }
table.grid td.sticky.calc { background: var(--calc); }
table.grid tr.total td.calc { background: var(--silver-2); }

/* editable cells */
table.grid td.in input, table.grid td.in select {
  width: 100%; height: 38px; padding: 0 10px; border: 0; background: transparent;
  outline: none; font-size: 13px; color: var(--text);
}
table.grid td.in input::placeholder { color: #c7b98a; }
table.grid td.in input:focus, table.grid td.in select:focus { background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
table.grid td.in input[type=number] { text-align: right; -moz-appearance: textfield; }
table.grid td.in input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
table.grid td.in select { appearance: none; padding-right: 22px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='%236b7789' d='M5 8l5 5 5-5z'/></svg>") no-repeat right 6px center / 14px; }
table.grid td.in input[type=date] { padding-right: 6px; }
table.grid td.in.warn { box-shadow: inset 3px 0 0 var(--amber); }

/* tracking row colours (same meaning as the workbook) */
table.grid tr.sev-red td { background: var(--red-bg); color: var(--red); }
table.grid tr.sev-red td.in, table.grid tr.sev-red td.calc { background: #fbd5d8; }
table.grid tr.sev-amber td { background: var(--amber-bg); color: var(--amber); }
table.grid tr.sev-amber td.in, table.grid tr.sev-amber td.calc { background: #f8d9bd; }
table.grid tr.sev-green td { background: var(--green-bg); color: var(--green); }
table.grid tr.sev-green td.in, table.grid tr.sev-green td.calc { background: #d8e9cc; }
table.grid tr[class*="sev-"] td.in input, table.grid tr[class*="sev-"] td.in select { color: inherit; }
table.grid td.dup { box-shadow: inset 3px 0 0 var(--amber); }
table.grid td.alert { font-weight: 700; padding: 0 10px; white-space: nowrap; }

.del {
  width: 28px; height: 28px; border: 0; background: transparent; border-radius: 6px; color: var(--steel-300); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.del svg { width: 15px; height: 15px; fill: currentColor; }
.del:hover { background: var(--red-bg); color: var(--red); }

.table-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--steel-500); }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 5px; border: 1px solid rgba(0,0,0,.08); }

.empty { padding: 28px 18px; color: var(--steel-500); font-size: 13.5px; }
.empty b { color: var(--text); }

/* ---------- filters ---------- */
.filters { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.filters input[type=search] {
  height: 34px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; min-width: 240px; background: #fff;
}
.chip {
  border: 1px solid var(--line-2); background: #fff; border-radius: 999px; padding: 5px 11px; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--steel-700);
}
.chip.active { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.chip b { font-weight: 800; margin-left: 4px; }
.check { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--steel-700); }

/* ---------- today board (tracking) ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; padding: 14px 18px; }
.board__item { border-radius: 8px; padding: 10px 12px; font-size: 13px; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; }
.board__item--red { background: var(--red-bg); color: var(--red); }
.board__item--amber { background: var(--amber-bg); color: var(--amber); }
.board__item b { font-weight: 800; }
.board__item small { grid-column: 1 / -1; opacity: .85; }
.board__item .tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.6); }

/* ---------- notes / help ---------- */
.notes { font-size: 13px; color: var(--steel-700); line-height: 1.6; }
.notes h4 { margin: 0 0 6px; font-size: 12.5px; color: var(--steel-500); font-weight: 700; }
.notes ol, .notes ul { margin: 0 0 12px; padding-left: 20px; }
.notes li { margin-bottom: 3px; }
details.help { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); margin-bottom: 18px; }
details.help summary { padding: 12px 18px; cursor: pointer; font-weight: 700; font-size: 13.5px; list-style: none; display: flex; align-items: center; gap: 8px; }
details.help summary::-webkit-details-marker { display: none; }
details.help summary::before { content: '›'; display: inline-block; transition: transform .15s; font-size: 18px; line-height: 1; color: var(--steel-500); }
details.help[open] summary::before { transform: rotate(90deg); }
details.help .notes { padding: 4px 18px 16px; }

/* ---------- forms (settings) ---------- */
.form { display: grid; grid-template-columns: 200px 1fr; gap: 12px 18px; align-items: center; max-width: 720px; }
.form label { font-weight: 600; font-size: 13px; color: var(--steel-700); }
.form input { height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; }
.form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
.form .hint { grid-column: 2; font-size: 12px; color: var(--steel-500); margin-top: -6px; }
.form .actions { grid-column: 2; display: flex; gap: 8px; margin-top: 6px; }
.form--inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; max-width: none; }
.form--inline input, .form--inline select { height: 36px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; min-width: 0; }
.form--inline input { flex: 1 1 140px; }
.form--inline select { flex: 0 0 120px; }
.form--inline input:focus, .form--inline select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); outline: none; }
table.grid td.in input[type=checkbox] { width: auto; height: auto; margin: 0 auto; display: block; }
.stack { display: flex; flex-direction: column; gap: 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* ---------- toast ---------- */
.toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 50; }
.toast { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; font-size: 13px; box-shadow: 0 8px 24px rgba(11,18,32,.25); max-width: 360px; }
.toast--error { background: #7a1a1f; }

/* ---------- login ---------- */
.login { min-height: 100vh; display: grid; place-items: center; background: var(--ink); color: var(--silver); }
.login__card { width: min(420px, 92vw); padding: 36px 32px; border: 1px solid #1c2740; border-radius: 14px; background: var(--ink-2); }
.login__card img { width: 96px; margin: 6px auto 12px; }
.login__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.login__back { font-size: 12.5px; color: var(--steel-300); font-weight: 600; }
.login__back:hover { color: #fff; text-decoration: none; }
.login__brand { text-align: center; font-weight: 800; letter-spacing: .34em; font-size: 17px; color: #fff; line-height: 1; margin-bottom: 22px; }
.login__brand span { display: block; font-size: 9px; letter-spacing: .32em; color: var(--steel-500); margin-top: 7px; font-weight: 600; }
/* language switch (rail, login, settings) */
.lang { display: inline-flex; border: 1px solid #2b3a55; border-radius: 999px; padding: 2px; gap: 2px; }
.lang button { background: transparent; border: 0; border-radius: 999px; padding: 3px 9px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--steel-500); cursor: pointer; line-height: 1.4; }
.lang button.active { background: var(--silver); color: var(--ink); }
.lang--light { border-color: var(--line-2); }
.lang--light button { color: var(--steel-500); }
.lang--light button.active { background: var(--ink-3); color: #fff; }
.login__card label { display: block; font-size: 13px; margin-bottom: 8px; color: var(--steel-300); }
.login__card input { width: 100%; height: 42px; padding: 0 12px; border-radius: 8px; border: 1px solid #2b3a55; background: var(--ink); color: #fff; margin-bottom: 12px; }
.login__card .btn { width: 100%; justify-content: center; height: 42px; }
.login__err { color: #ff9aa2; font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.login__title { margin: 0 0 2px; font-size: 20px; font-weight: 800; color: #fff; text-align: center; letter-spacing: -.01em; }
.login__sub { margin: 0 0 24px; text-align: center; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--steel-500); }
.login__foot { margin: 18px 0 0; font-size: 12px; color: var(--steel-500); text-align: center; line-height: 1.5; }
.login__foot b { color: var(--steel-300); font-weight: 600; }
.login__card input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(46,90,138,.35); outline: none; }

/* ---------- print (BL card) ---------- */
.print-head { display: none; }
@media print {
  .rail, .rail-toggle, .rail__user, .page__actions, .table-foot, .del, th.act, td.act, .toasts, details.help { display: none !important; }
  .app { display: block; }
  .view { padding: 0; max-width: none; }
  .print-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
  .print-head img { width: 180px; }
  .print-head div { text-align: right; font-size: 11px; color: #444; }
  table.grid th { background: #1a2538 !important; color: #fff !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  table.grid td.in { background: #fff !important; }
  table.grid td.in input { color: #000; }
  .panel { border: 1px solid #ccc; }
  body { background: #fff; }
}

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .kpis--8 { grid-template-columns: repeat(4, 1fr); }
  .kpis--8 .kpi:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .kpis--8 .kpi:nth-child(4) { border-right: 0; }
}
@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .rail { position: fixed; left: 0; top: 0; width: var(--rail-w); transform: translateX(-100%); transition: transform .2s; z-index: 40; }
  .rail.open { transform: none; box-shadow: 0 0 0 100vw rgba(0,0,0,.4); }
  .rail-toggle { display: inline-flex; position: fixed; top: 12px; left: 12px; z-index: 41; width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line-2); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
  .rail-toggle svg { width: 20px; height: 20px; fill: var(--text); }
  .view { padding: 66px 16px 60px; }
  .kpis--4, .kpis--8 { grid-template-columns: repeat(2, 1fr); }
  .kpis--4 .kpi:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .kpis--4 .kpi:nth-child(2) { border-right: 0; }
  .kpis--8 .kpi:nth-child(-n+6) { border-bottom: 1px solid var(--line); }
  .kpis--8 .kpi:nth-child(even) { border-right: 0; }
  .kpis--8 .kpi:nth-child(4) { border-right: 0; }
  .grid-2 { grid-template-columns: 1fr; }
  .bars { grid-template-columns: 110px 1fr 90px 60px; }
  .form { grid-template-columns: 1fr; }
  .form .hint, .form .actions { grid-column: 1; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
