/* Dryze dashboard. Licht, rustig, één opvallend element: het omzet-naar-winstblok op het overzicht. */
@font-face {
  font-family: "Geist";
  src: url("fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --page: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f6f6f8;
  --ink: #17161c;
  --ink-2: #4b4a55;
  --muted: #868593;
  --line: #e8e8ee;
  --axis: #d3d2dc;
  --ring: rgba(23, 22, 28, 0.08);
  --accent: #8e1b66;
  --accent-ink: #ffffff;
  --accent-wash: #f8ebf3;
  --plum: #2b0d23;
  --side: #ffffff;
  --side-ink: #17161c;
  --side-muted: #868593;
  --good: #16a34a;
  --good-ink: #15803d;
  --good-wash: #e9f7ee;
  --warn: #f2a516;
  --serious: #ea7a45;
  --crit: #dc3b3b;
  --crit-ink: #b42323;
  --crit-wash: #fdecec;
  --demo-bg: #fff6dc;
  --demo-ink: #6a4d00;
  /* Kanaal- en reekskleuren: webshop in Dryze-pruim, bol in blauw. */
  --s1: #8e1b66; --s2: #2f62d9; --s3: #1a9d78; --s4: #e0a100;
  --s5: #e46c9f; --s6: #5b8c2a; --s7: #6a4bc4; --s8: #d9534f;
  --neutral: #b4b3bf;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(23, 22, 28, .04), 0 2px 8px rgba(23, 22, 28, .03);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 14px/1.5 "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: 26px; letter-spacing: -.025em; }
h2 { font-size: 15px; }
h3 { font-size: 13px; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -4px; }
code { font-size: 12px; background: var(--surface-2); border: 1px solid var(--line); padding: 1px 5px; border-radius: 5px; }

/* ---- Raamwerk ---- */
.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 100vh; }
.side {
  background: var(--side); color: var(--side-ink); border-right: 1px solid var(--line);
  padding: 22px 14px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
}
.brand { display: flex; align-items: baseline; gap: 10px; padding: 4px 12px 22px; text-decoration: none; }
.brand__mark { font-weight: 700; letter-spacing: .32em; font-size: 16px; }
.brand__sub { font-size: 12px; color: var(--accent); font-weight: 500; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav__group { font-size: 12px; color: var(--side-muted); padding: 18px 12px 6px; font-weight: 500; }
.nav__group:first-child { padding-top: 0; }
.nav a {
  display: flex; align-items: center; gap: 11px; padding: 8px 12px; border-radius: 10px;
  text-decoration: none; color: var(--ink-2); font-weight: 500;
}
.nav a .ic { color: var(--muted); }
.nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a:hover .ic { color: var(--ink-2); }
.nav a[aria-current="page"] { background: var(--accent-wash); color: var(--accent); font-weight: 600; }
.nav a[aria-current="page"] .ic { color: var(--accent); }
.side__foot {
  margin-top: auto; padding: 14px 12px 0; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--ink-2);
}
.side__user { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; }
.avatar {
  width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
}
.side__foot a { color: var(--muted); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.side__foot a:hover { background: var(--surface-2); color: var(--ink); }

.main { padding: 20px 40px 72px; min-width: 0; max-width: 1560px; display: flex; flex-direction: column; }
/* Titel boven de filters, hoewel de filters eerder in de HTML staan. */
.main > .topbar { order: -4; }
.main > .demo { order: -3; }
.main > .flash { order: -2; }
.main > .head { order: -1; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 18px; }
.head p { color: var(--muted); margin-top: 6px; max-width: 72ch; }

.topbar { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 18px; min-height: 22px; margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.tb-item { display: inline-flex; align-items: center; gap: 6px; }
.tb-item .ic { width: 15px; height: 15px; }
.tb-item[hidden] { display: none; }
#tb-date::first-letter { text-transform: uppercase; }

.demo, .flash {
  display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 11px 14px; margin-bottom: 18px; font-size: 13px;
}
.demo { background: var(--demo-bg); color: var(--demo-ink); }
.demo .ic, .flash .ic { margin-top: 1px; }
.demo a { color: inherit; font-weight: 500; }
.flash { background: var(--good-wash); color: var(--good-ink); }
.flash--fout { background: var(--crit-wash); color: var(--crit-ink); }

/* ---- Filters ---- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 24px; }
.filters__custom { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.filters__custom[hidden] { display: none; }
.filters select { max-width: min(100%, 260px); }
.filters .range { color: var(--muted); font-size: 13px; margin-left: auto; cursor: default; }
.seg { display: inline-flex; flex-wrap: wrap; background: #ececf1; border-radius: 10px; padding: 3px; gap: 2px; }
.seg a { padding: 5px 11px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 500; white-space: nowrap; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current="true"] { background: var(--surface); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }

select, input[type=text], input[type=date], input[type=number], input[type=password], input[type=search], input[type=file], textarea {
  font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--axis); border-radius: var(--radius-sm);
  padding: 7px 10px; max-width: 100%; min-height: 36px;
}
select {
  appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23868593' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
}
select:hover, input:hover { border-color: #bdbcc8; }
select:focus, input:focus, textarea:focus, .btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.btn {
  display: inline-flex; align-items: center; gap: 7px; font: inherit; font-weight: 600; cursor: pointer; border-radius: var(--radius-sm);
  padding: 7px 14px; min-height: 36px; border: 1px solid transparent; background: var(--accent); color: var(--accent-ink); text-decoration: none;
}
.btn:hover { background: #7a1557; }
.btn .ic { width: 16px; height: 16px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: var(--surface); color: var(--ink); border-color: var(--axis); font-weight: 500; }
.btn--ghost:hover { background: var(--surface-2); border-color: #bdbcc8; }
.btn--small { padding: 4px 10px; min-height: 30px; font-size: 12px; }
.btn--danger { background: var(--surface); color: var(--crit-ink); border-color: #f0c4c4; }
.btn--danger:hover { background: var(--crit-wash); }

/* ---- Omzet naar winst (het ene opvallende element) ---- */
.hero {
  background: var(--plum); color: #fff; border-radius: 18px; padding: 24px 28px 22px; margin-bottom: 20px;
  background-image: radial-gradient(120% 140% at 100% 0%, #5a1747 0%, rgba(90, 23, 71, 0) 60%);
}
.hero__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.hero__head h2 { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .78); }
.hero__range { font-size: 13px; color: rgba(255, 255, 255, .55); }
.hero__figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 32px; margin-bottom: 22px; }
.hero__fig { display: flex; flex-direction: column; gap: 4px; }
.hero__fig + .hero__fig { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: 32px; }
.hero__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hero__label .ic { width: 16px; height: 16px; color: #f2b4d6; }
.hero__value { font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.hero__fig--main .hero__value { font-size: 44px; }
.hero__value.is-neg { color: #ffb4b4; }
.hero .delta { align-self: flex-start; background: rgba(255, 255, 255, .1); }
.hero .delta--good { color: #9be3b4; }
.hero .delta--bad { color: #ffb0b0; }
.hero .delta--flat { color: rgba(255, 255, 255, .6); }
.flow { display: flex; height: 14px; border-radius: 7px; overflow: hidden; gap: 3px; background: rgba(255, 255, 255, .08); }
.flow i { display: block; height: 100%; min-width: 3px; }
.flow--1 { background: #f6d3e6; } .flow--2 { background: #eaa6cb; } .flow--3 { background: #d77aad; }
.flow--4 { background: #b9548f; } .flow--5 { background: #8f3a70; } .flow--left { background: #8ee0ae; }
.flow__legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12.5px; }
.flow__legend li { display: inline-flex; align-items: center; gap: 7px; color: rgba(255, 255, 255, .72); }
.flow__legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.flow__legend b { color: #fff; font-weight: 600; }
.flow__legend em { font-style: normal; color: rgba(255, 255, 255, .5); }
.flow__legend .is-left b { color: #8ee0ae; }

/* ---- Tegels ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; min-width: 0; box-shadow: var(--shadow); }
.tile[title] { cursor: help; }
.tile__label { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.tile__icon {
  width: 32px; height: 32px; border-radius: 9px; display: inline-grid; place-items: center; flex: none;
  background: var(--accent-wash); color: var(--accent);
}
.tile__icon .ic { width: 17px; height: 17px; }
.tile__value { font-size: 28px; font-weight: 600; letter-spacing: -.025em; margin: 12px 0 6px; line-height: 1.15; overflow-wrap: anywhere; }
.tile__sub { font-size: 12px; color: var(--muted); }
.tile--text .tile__value { font-size: 17px; letter-spacing: 0; line-height: 1.3; }
.tile--hero .tile__value { font-size: 40px; }
.tiles--minor .tile { padding: 16px 18px; }
.tiles--minor .tile__value { font-size: 24px; margin-top: 10px; }
.delta {
  display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; white-space: nowrap;
  padding: 2px 8px; border-radius: 999px; background: var(--surface-2);
}
.delta--good { color: var(--good-ink); background: var(--good-wash); }
.delta--bad { color: var(--crit-ink); background: var(--crit-wash); }
.delta--flat { color: var(--muted); font-weight: 500; }

/* ---- Kaarten en tabellen ---- */
.grid { display: grid; gap: 20px; margin-bottom: 20px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--32 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; margin-bottom: 20px; box-shadow: var(--shadow); }
.grid > .card { margin-bottom: 0; }
.card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 18px 20px 6px; }
.card__head h2 { display: inline-flex; align-items: center; gap: 9px; }
.card__head h2 .ic { color: var(--accent); }
.card__head p { color: var(--muted); font-size: 12px; }
.card__head p a { color: var(--accent); text-decoration: none; font-weight: 500; }
.card__head p a:hover { text-decoration: underline; }
.card__body { padding: 12px 20px 20px; }
.card__note { padding: 0 20px 18px; color: var(--muted); font-size: 12px; max-width: 110ch; }
.scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; }
.data th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 10px 12px; background: var(--surface-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data tr:last-child td { border-bottom: 0; }
.data th.num { text-align: right; }
.data td:first-child, .data th:first-child { padding-left: 20px; }
.data td:first-child { min-width: 230px; }
.data--narrow td:first-child { min-width: 0; }
.data td:last-child, .data th:last-child { padding-right: 20px; }
.data tbody tr:hover td { background: #fbfbfc; }
.data tfoot td { font-weight: 600; border-top: 1px solid var(--axis); border-bottom: 0; background: var(--surface-2); }
.data a { text-decoration: none; color: var(--ink); font-weight: 500; }
.data a:hover { color: var(--accent); }
.data .sub { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; font-weight: 400; }
.neg { color: var(--crit-ink); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: baseline; }
.bar { display: block; height: 8px; min-width: 60px; background: var(--surface-2); border-radius: 4px; }
.bar i { display: block; height: 100%; background: var(--s1); border-radius: 4px; }
.bar--neg i { background: var(--crit); }
.bar--neutral i { background: var(--neutral); }

.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--axis); color: var(--ink-2); white-space: nowrap; }
.tag--werkelijk, .tag--vast { border-color: var(--ink-2); color: var(--ink); }
.tag--geschat, .tag--onzeker { border-style: dashed; }
.tag--verdeeld, .tag--verwacht { background: var(--surface-2); border-color: transparent; }
.status {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; white-space: nowrap;
  padding: 3px 9px 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--neutral); }
.status--good { background: var(--good-wash); color: var(--good-ink); }
.status--good::before { background: var(--good); }
.status--warn { background: #fff4dc; color: #8a5a00; }
.status--warn::before { background: var(--warn); }
.status--serious { background: #fdeee6; color: #a3461a; }
.status--serious::before { background: var(--serious); }
.status--crit { background: var(--crit-wash); color: var(--crit-ink); }
.status--crit::before { background: var(--crit); }

/* ---- Van omzet naar resultaat ---- */
.pl { width: 100%; border-collapse: collapse; }
.pl td { padding: 9px 12px; border-bottom: 1px solid var(--line); }
.pl td:first-child { padding-left: 20px; }
.pl td:last-child { padding-right: 20px; width: 34%; }
.pl tr.pl--total td { font-weight: 600; background: var(--surface-2); }
.pl tr.pl--sub td:first-child { padding-left: 34px; color: var(--ink-2); }
.pl tr.pl--final td { font-weight: 700; font-size: 15px; border-top: 2px solid var(--ink); border-bottom: 0; }
.pl .bar i { background: var(--neutral); }
.pl tr.pl--total .bar i, .pl tr.pl--final .bar i { background: var(--s1); }
.pl tr.pl--total .bar--neg i, .pl tr.pl--final .bar--neg i { background: var(--crit); }

/* ---- Grafieken ---- */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; }
.chart text { font: 11px "Geist", system-ui, sans-serif; fill: var(--muted); font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; color: var(--ink-2); margin-bottom: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend i.line { height: 2px; width: 14px; border-radius: 1px; }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px 11px; font-size: 12px;
  min-width: 160px; box-shadow: 0 8px 24px rgba(23, 22, 28, .2); opacity: 0; transition: opacity .08s; }
.tip b { display: block; margin-bottom: 4px; font-weight: 600; }
.tip div { display: flex; justify-content: space-between; gap: 14px; white-space: nowrap; }
.tip div i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.tip div.tot { border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 4px; padding-top: 4px; font-weight: 600; }

.meter { height: 10px; border-radius: 5px; background: var(--surface-2); position: relative; margin: 10px 0 8px; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 5px; background: var(--s1); max-width: 100%; }
.meter b { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); border-radius: 1px; }
.split { display: flex; height: 10px; border-radius: 5px; overflow: hidden; gap: 2px; margin: 8px 0; }
.split i { display: block; height: 100%; min-width: 2px; }

/* ---- Overzicht: kas en voorraad ---- */
.cashstock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px; margin-bottom: 20px; }
.cashstock .card { margin-bottom: 0; }
.big { font-size: 32px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; margin: 4px 0 2px; }
.list { list-style: none; margin: 0; padding: 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li:last-child { border-bottom: 0; }
.list .when { color: var(--muted); white-space: nowrap; font-size: 13px; }
.list .when.late { color: var(--crit-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.list .when.late .ic { width: 15px; height: 15px; }
.quiet { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.quiet a { color: var(--accent); text-decoration: none; font-weight: 500; }
.linkish { display: inline-flex; align-items: center; gap: 5px; color: var(--accent); text-decoration: none; font-weight: 500; font-size: 13px; }
.linkish .ic { width: 15px; height: 15px; }
.linkish:hover { text-decoration: underline; }

/* ---- Formulieren ---- */
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px 14px; align-items: end; }
.form label { display: block; font-size: 12px; color: var(--ink-2); font-weight: 500; }
.form label > input, .form label > select { display: block; width: 100%; margin-top: 5px; font-weight: 400; }
.inline { display: inline; }
.form label[hidden] { display: none; }
.form--retour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tabs a { padding: 9px 14px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="true"] { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.pager { display: flex; gap: 8px; align-items: center; justify-content: flex-end; padding: 12px 20px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.cellin { width: 96px; text-align: right; padding: 5px 8px; min-height: 32px; }
ul.plain { margin: 0; padding-left: 18px; }
ul.plain li { margin: 3px 0; }

/* ---- Inloggen ---- */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; }
.login {
  width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; background: var(--surface);
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 40px rgba(23, 22, 28, .08);
}
.login__panel {
  background: var(--plum); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; min-height: 380px;
  background-image: radial-gradient(120% 140% at 100% 0%, #5a1747 0%, rgba(90, 23, 71, 0) 60%);
}
.login__panel .brand { padding: 0; }
.login__panel .brand__sub { color: #f2b4d6; }
.login__claim { font-size: 22px; line-height: 1.3; letter-spacing: -.02em; font-weight: 500; max-width: 18ch; }
.login__form { padding: 40px 36px; display: grid; gap: 16px; align-content: center; }
.login__form h1 { font-size: 22px; margin-bottom: 4px; }
.login__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.login__form input { width: 100%; }
.login__form .btn { justify-content: center; margin-top: 6px; min-height: 40px; }
@media (max-width: 700px) {
  .login { grid-template-columns: 1fr; }
  .login__panel { min-height: 0; gap: 20px; padding: 28px; }
  .login__form { padding: 28px; }
}

/* ---- Koppelingen ---- */
.conn .card__body > * + * { margin-top: 14px; }
.conn .flash { margin-bottom: 0; }
.conn__last { font-size: 12px; color: var(--ink-2); }
.btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.howto summary { cursor: pointer; font-weight: 500; font-size: 13px; color: var(--accent); }
.howto ol { margin: 10px 0 0 20px; padding: 0; font-size: 13px; color: var(--ink-2); }
.howto li { margin: 6px 0; }

@media (max-width: 1180px) {
  .grid--2, .grid--32, .cashstock { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; padding: 12px 12px 8px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding-bottom: 10px; }
  .nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 6px; }
  .nav__group, .side__foot { display: none; }
  .nav a { white-space: nowrap; }
  .main { padding: 16px 16px 50px; }
  .hero { padding: 20px; }
  .hero__fig + .hero__fig { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
  .hero__value { font-size: 28px; }
  .hero__fig--main .hero__value { font-size: 34px; }
  .tile--hero .tile__value { font-size: 32px; }
  .filters .range { margin-left: 0; width: 100%; }
}
@media print {
  .side, .filters, .btn, .topbar { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
}
@media (prefers-reduced-motion: reduce) { .tip { transition: none; } }
