/*
 * Disnet Partner, gedeelde stijl. Tokens een-op-een uit huisstijl/tokens.css
 * (= disnet.css van het interne portaal). Geen inline stijlen: de CSP staat ze
 * niet toe, dus alles wat een pagina nodig heeft staat hier.
 */

@font-face { font-family: 'Maven Pro'; src: url('/shared/fonts/MavenPro-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Maven Pro'; src: url('/shared/fonts/MavenPro-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Maven Pro'; src: url('/shared/fonts/MavenPro-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Maven Pro'; src: url('/shared/fonts/MavenPro-Black.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
  color-scheme: dark;

  --grond:      #1d1d1b;
  --paneel:     #232320;
  --verdiept:   #141412;
  --inkt:       #f4f4f3;
  --gedempt:    #9a9488;
  --lijn:       rgba(255, 255, 255, .13);
  --lijn-zacht: rgba(255, 255, 255, .07);
  --lijn-veld:  rgba(255, 255, 255, .34);
  --sluier:     rgba(20, 20, 18, .86);

  --accent:        #ffd100;
  --accent-donker: #e0b800;
  --accent-vlak:   rgba(255, 209, 0, .13);

  --ok:         #5cc97a;
  --ok-vlak:    rgba(92, 201, 122, .13);
  --letop:      #ff9838;
  --letop-vlak: rgba(255, 152, 56, .13);
  --fout:       #ff6b5e;
  --fout-vlak:  rgba(255, 107, 94, .13);
  --hover:      rgba(255, 255, 255, .05);

  --tekst: 'Maven Pro', 'Trebuchet MS', system-ui, -apple-system, sans-serif;

  --r:       5px;
  --r-groot: 8px;
  --r-klein: 3px;
  --r-pil:   999px;

  --t-label: 12px;
  --t-klein: 13px;
  --t-basis: 15px;
  --t-lead:  18px;
  --t-kop3:  26px;
  --t-kop2:  44px;
  --t-kop1:  72px;

  --knop-h: 52px;
  --veld-h: 50px;
  --marge: 56px;
  --tussen: 24px;
  --blad: 1440px;
}

@media (max-width: 720px) {
  :root { --marge: 20px; --t-kop2: 32px; --t-kop1: 44px; }
}

/* ---- Basis */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grond);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: var(--t-basis);
  line-height: 1.55;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); text-decoration: underline; text-decoration-color: rgba(255, 209, 0, .45); text-underline-offset: 3px; }
a:hover { color: var(--accent-donker); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--grond); }

/* Teksten komen uit en.json; tot ze er zijn blijft de pagina leeg. */
.i18n-pending main, .i18n-pending .topbar { visibility: hidden; }

.h1, .h2, .h3 { font-weight: 900; letter-spacing: -0.015em; line-height: 1.05; }
.h1 { font-size: var(--t-kop1); }
.h2 { font-size: 36px; }
.h3 { font-size: var(--t-kop3); }
.h4 { font-size: var(--t-lead); font-weight: 700; line-height: 1.3; }
.lead { font-size: 16px; line-height: 1.6; max-width: 36em; }
.muted { color: var(--gedempt); }
.small { font-size: 14px; }
.code { font-weight: 700; font-variant-numeric: tabular-nums; }
.stack > * + * { margin-top: 10px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---- Knoppen */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--knop-h); padding: 0 26px;
  border: 0; border-radius: var(--r);
  background: var(--accent); color: var(--grond);
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--accent-donker); color: var(--grond); }
.button:disabled { opacity: .55; cursor: progress; }
.button--quiet {
  background: transparent; color: var(--inkt);
  box-shadow: inset 0 0 0 1px var(--lijn-veld);
}
.button--quiet:hover { background: var(--hover); color: var(--inkt); }
.button--danger { background: transparent; color: var(--fout); box-shadow: inset 0 0 0 1px var(--fout); }
.button--danger:hover { background: var(--fout-vlak); color: var(--fout); }
.button--small { min-height: 44px; padding: 0 18px; font-size: 15px; }

.link-button {
  background: none; border: 0; padding: 0; min-height: 44px;
  color: var(--accent); font: inherit; font-weight: 500; cursor: pointer;
  text-decoration: underline; text-decoration-color: rgba(255, 209, 0, .45); text-underline-offset: 3px;
}
.link-button:hover { color: var(--accent-donker); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---- Velden */

.field { display: flex; flex-direction: column; gap: 8px; font-weight: 500; }
.field__hint { font-size: 14px; font-weight: 400; color: var(--gedempt); }
.input {
  width: 100%; height: var(--veld-h); padding: 0 14px;
  border: 1px solid var(--lijn-veld); border-radius: var(--r);
  background: var(--verdiept); color: var(--inkt);
  font: inherit; font-size: 16px; font-weight: 400;
}
.input::placeholder { color: #7d786e; }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input[aria-invalid='true'] { border-color: var(--fout); }
textarea.input { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
select.input { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--gedempt) 50%), linear-gradient(135deg, var(--gedempt) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.input--code { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.input--code::placeholder { font-weight: 400; letter-spacing: 0; }

.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding-top: 10px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-2 > .span-2 { grid-column: span 2; }
@media (max-width: 720px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .grid-2 > .span-2 { grid-column: auto; }
}

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-weight: 500; }

/* Keuze als vlak (rol) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 720px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice {
  display: flex; gap: 12px; align-items: flex-start; padding: 16px;
  border: 1px solid var(--lijn-veld); border-radius: var(--r);
  line-height: 1.45; cursor: pointer;
}
.choice input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice b { display: block; font-size: 16px; }
.choice span span { color: var(--gedempt); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-vlak); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Landen: meerdere mogelijk */
.countries { display: flex; flex-wrap: wrap; gap: 10px; }
.country {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--lijn-veld); border-radius: var(--r); cursor: pointer;
}
.country input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.country:has(input:checked) { border-color: var(--accent); background: var(--accent-vlak); }
.country:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

/* De zes vakjes van de 2FA-code */
.otp { display: flex; gap: 8px; }
.otp input {
  width: 48px; height: 58px; padding: 0;
  border: 1px solid var(--lijn-veld); border-radius: var(--r);
  background: var(--verdiept); color: var(--inkt); text-align: center;
  font: inherit; font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums;
}
.otp input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
@media (max-width: 380px) { .otp { gap: 6px; } .otp input { width: 42px; height: 54px; } }

/* ---- Meldingen */

.notice {
  padding: 14px 16px; border-radius: var(--r);
  border-left: 3px solid var(--gedempt); background: var(--hover);
  line-height: 1.5;
}
.notice--error { border-left-color: var(--fout); background: var(--fout-vlak); }
.notice--warn { border-left-color: var(--letop); background: var(--letop-vlak); }
.notice--ok { border-left-color: var(--ok); background: var(--ok-vlak); }
.notice b { display: block; }

.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px;
  border-radius: var(--r-pil); font-size: var(--t-klein); font-weight: 700; white-space: nowrap;
  background: var(--hover); color: var(--inkt);
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--ok { color: var(--ok); background: var(--ok-vlak); }
.pill--warn { color: var(--letop); background: var(--letop-vlak); }
.pill--error { color: var(--fout); background: var(--fout-vlak); }
.pill--muted { color: var(--gedempt); }

/* ---- Tabs */

.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--lijn); overflow-x: auto; }
.tab {
  height: 48px; padding: 0; flex: none;
  background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--gedempt); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.tab:hover { color: var(--inkt); }
.tab[aria-selected='true'] { color: var(--inkt); border-bottom-color: var(--accent); }
.tab .count {
  min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--r-pil);
  background: var(--accent); color: var(--grond); font-size: 13px; line-height: 22px; text-align: center;
}

/* ---- Schermen voor het inloggen: paneel links, inhoud rechts */

.gate { min-height: 100vh; display: grid; grid-template-columns: 5fr 7fr; }
.gate__side {
  background: var(--verdiept); border-right: 1px solid var(--lijn);
  padding: 0 var(--marge) var(--marge);
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
}
.gate__flag { display: block; width: auto; height: min(360px, 36vh); align-self: flex-start; }
.gate__intro { display: flex; flex-direction: column; gap: 18px; }
.gate__name { font-size: 64px; font-weight: 900; letter-spacing: -0.015em; line-height: 1; }
.gate__intro .lead { font-size: 19px; line-height: 1.55; max-width: 24em; }
.gate__main {
  padding: 72px clamp(24px, 6.5vw, 96px) var(--marge);
  display: flex; flex-direction: column; gap: 26px; max-width: 880px;
}
.gate__footer { margin-top: auto; border-top: 1px solid var(--lijn); padding-top: 24px; display: flex; gap: 32px; align-items: center; }
.gate__footer > div:first-child { flex-grow: 1; }
.panel { display: flex; flex-direction: column; gap: 26px; }

@media (max-width: 900px) {
  .gate { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-content: start; }
  .gate__side {
    border-right: 0; border-bottom: 1px solid var(--lijn);
    padding: 0 var(--marge) 16px; flex-direction: row; align-items: flex-end; justify-content: flex-start; gap: 16px;
  }
  .gate__flag { height: 96px; }
  .gate__intro { gap: 2px; }
  .gate__name { font-size: 32px; }
  .gate__intro .lead, .gate__intro .small { display: none; }
  .gate__main { padding: 32px var(--marge) 48px; gap: 22px; }
  .gate__footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Stappen 1-3 (uitnodiging): een echte reeks, gele lijn boven de huidige stap */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 2px solid var(--lijn); padding-top: 10px; color: var(--gedempt); font-weight: 700; font-size: 14px; }
.steps li span { display: block; overflow-wrap: anywhere; line-height: 1.3; }
.steps li span:first-child { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1.2; }
.steps li[aria-current='step'] { border-top-color: var(--accent); color: var(--inkt); }
.steps li.done { border-top-color: var(--inkt); color: var(--inkt); }

.qr { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.qr img { width: 196px; height: 196px; border-radius: var(--r-groot); background: var(--inkt); padding: 8px; }
.secret { font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .06em; word-break: break-all; }

.codes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px;
  margin: 0; padding: 18px 20px; list-style: none;
  background: var(--verdiept); border: 1px solid var(--lijn); border-radius: var(--r-groot);
  font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .06em;
}

/* ---- Ingelogd: bovenbalk met de vlag */

.topbar { background: var(--verdiept); border-bottom: 1px solid var(--lijn); }
.topbar__inner {
  max-width: var(--blad); margin: 0 auto; padding: 0 var(--marge);
  height: 72px; display: flex; align-items: flex-start; gap: 20px;
}
.brand { display: flex; align-items: flex-start; gap: 14px; text-decoration: none; color: var(--inkt); }
.brand:hover { color: var(--inkt); }
.brand img { height: 104px; width: auto; position: relative; z-index: 2; }
.brand__text { padding-top: 16px; line-height: 1.15; }
.brand__name { display: block; font-size: 22px; font-weight: 900; letter-spacing: -0.015em; }
.brand__sub { display: block; font-size: 13px; color: var(--gedempt); }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; height: 72px; }
.nav a, .nav button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: var(--r); color: var(--inkt); font: inherit; font-weight: 700; text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav button:hover { background: var(--hover); color: var(--inkt); }
.nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav .who { color: var(--gedempt); font-weight: 400; padding: 0 8px 0 14px; }
/* Smal scherm: een menuknop die de navigatie uitklapt */
.menu-button { display: none; }
@media (max-width: 1000px) {
  .topbar { position: relative; }
  .topbar__inner { height: 60px; gap: 10px; }
  .brand img { height: 76px; }
  .brand__text { padding-top: 12px; }
  .brand__sub { display: none; }
  .menu-button {
    display: inline-flex; align-items: center; margin: 8px 0 0 auto; min-height: 44px; padding: 0 16px;
    border: 1px solid var(--lijn-veld); border-radius: var(--r); background: transparent; color: var(--inkt);
    font: inherit; font-weight: 700; cursor: pointer;
  }
  .menu-button[aria-expanded='true'] { background: var(--inkt); color: var(--grond); }
  .nav {
    display: none; position: absolute; z-index: 10; left: 0; right: 0; top: 100%; height: auto;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--marge) 16px;
    background: var(--verdiept); border-bottom: 1px solid var(--lijn);
  }
  .topbar.is-open .nav { display: flex; }
  .nav a, .nav button { min-height: 48px; padding: 0 4px; border-radius: 0; border-bottom: 1px solid var(--lijn-zacht); justify-content: flex-start; }
  .nav a[aria-current='page'] { box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .nav .who { display: block; padding: 12px 4px 4px; }
}

.page { max-width: var(--blad); margin: 0 auto; padding: 72px var(--marge) 96px; }
.page--admin { padding-top: 56px; }
.page__head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }

.empty { border-top: 1px solid var(--lijn); padding: 28px 0; display: flex; flex-direction: column; gap: 8px; max-width: 40em; }

/* ---- Tabellen (beheer) */

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--lijn);
  font-size: var(--t-label); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gedempt);
  white-space: nowrap;
}
.table td { padding: 14px 14px 14px 0; border-bottom: 1px solid var(--lijn-zacht); vertical-align: top; }
.table tr.is-link { cursor: pointer; }
.table tr.is-link:hover td { background: var(--hover); }
.table .num { font-variant-numeric: tabular-nums; }
.table .nowrap { white-space: nowrap; }
.table .details { color: var(--gedempt); font-size: 14px; max-width: 32em; word-break: break-word; }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 24px; }
.filters .field { min-width: 160px; }
.filters .field--wide { min-width: 240px; flex: 1 1 240px; }

.request { border-top: 1px solid var(--lijn); padding: 24px 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; }
.request:last-child { border-bottom: 1px solid var(--lijn); }
.request dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.request dt { color: var(--gedempt); }
.request dd { margin: 0; }
.request__decide { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 900px) { .request { grid-template-columns: minmax(0, 1fr); } }

.hint-ok { color: var(--ok); }
.hint-warn { color: var(--letop); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
@media (max-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr); } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }

/* Eenvoudige foutpagina */
.plain-main { max-width: 640px; margin: 0 auto; padding: 120px var(--marge); display: flex; flex-direction: column; gap: 18px; }

dialog {
  border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 28px;
  background: var(--paneel); color: var(--inkt); max-width: min(560px, calc(100vw - 32px));
}
dialog::backdrop { background: var(--sluier); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.input--grow { flex: 1 1 260px; width: auto; }
.input--short { max-width: 220px; }

.admin-view { padding-top: 32px; }
#flash { margin-top: 24px; }
.tab .count[hidden] { display: none; }
.tab[aria-current='page'] { color: var(--inkt); border-bottom-color: var(--accent); }
.input--table { height: 44px; min-width: 120px; }
details > summary { list-style: none; display: inline-flex; align-items: center; }
details > summary::-webkit-details-marker { display: none; }
details[open] > summary { margin-bottom: 12px; }

/* Filter in beheer: rustig, geen gele knop (één gele knop per scherm) */
.segmented { display: inline-flex; border: 1px solid var(--lijn-veld); border-radius: var(--r); overflow: hidden; }
.segmented a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  color: var(--gedempt); font-weight: 700; text-decoration: none;
}
.segmented a + a { border-left: 1px solid var(--lijn-veld); }
.segmented a:hover { color: var(--inkt); background: var(--hover); }
.segmented a[aria-current='true'] { color: var(--grond); background: var(--inkt); }

.sections { display: flex; flex-direction: column; gap: 56px; }
.sections > form { max-width: 640px; }
.audit-lead { margin-bottom: 20px; }
.details span + span::before { content: ', '; }
.sections > section { order: -1; }

/* ---- Stock */

.page--stock .page__head { margin-bottom: 32px; }
.search {
  display: flex; align-items: center; gap: 16px; height: 72px; padding: 0 24px;
  border-radius: var(--r); background: var(--verdiept); border: 2px solid var(--lijn-veld);
  color: var(--gedempt);
}
.search:focus-within { border-color: var(--accent); color: var(--accent); }
.search__icon { flex: none; }
.search__input {
  flex: 1 1 auto; min-width: 0; height: 100%; background: transparent; border: 0; outline: none;
  color: var(--inkt); font: inherit; font-size: 22px;
}
.search__hint { font-size: 14px; color: var(--gedempt); white-space: nowrap; }
@media (max-width: 720px) {
  .search { height: 60px; padding: 0 16px; gap: 12px; }
  .search__input { font-size: 18px; }
  .search__hint { display: none; }
}

.stock-filters { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; margin-top: 16px; }
.stock-filters__only { margin-left: auto; padding-top: 0; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid var(--lijn-veld); background: transparent; color: var(--inkt);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.chip:hover { background: var(--hover); }
.chip[aria-pressed='true'] { background: var(--inkt); color: var(--grond); border-color: var(--inkt); }
.field--inline { flex-direction: row; align-items: center; gap: 12px; }
.field--inline .input { width: auto; min-width: 220px; height: 44px; }
@media (max-width: 720px) { .stock-filters__only { margin-left: 0; } }

.disclaimer {
  margin: 28px 0 0; padding: 16px 20px 16px 52px; position: relative;
  border-radius: var(--r-groot); background: var(--letop-vlak); border: 1px solid rgba(255, 152, 56, .4);
  font-size: 16px; line-height: 1.55; max-width: none;
}
.disclaimer::before {
  content: '!'; position: absolute; left: 18px; top: 17px; width: 20px; height: 20px; border-radius: 50%;
  border: 2px solid var(--letop); color: var(--letop); font-size: 13px; font-weight: 900; line-height: 16px; text-align: center;
}

.meter { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.meter__bar { display: inline-flex; gap: 4px; }
.meter__seg { width: 14px; height: 10px; border-radius: 2px; background: var(--lijn); }
.meter__word { font-weight: 700; }
.meter--in_stock .meter__seg.is-on { background: var(--ok); }
.meter--in_stock .meter__word { color: var(--ok); }
.meter--limited .meter__seg.is-on { background: var(--letop); }
.meter--limited .meter__word { color: var(--letop); }
.meter--out .meter__word { color: var(--gedempt); }

.stock-results { margin-top: 28px; }
.stock-table td { vertical-align: middle; }
.stock-table th:nth-child(2) { color: var(--inkt); }
.photo { display: block; width: 64px; height: 64px; border-radius: var(--r); background: var(--foto-vlak, #f4f4f3); object-fit: contain; }
.photo--none { background: var(--foto-vlak, #f4f4f3); opacity: .85; }
.cell-photo { width: 88px; }
.cell-name .name { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.cell-name .brand { display: block; font-size: 14px; color: var(--gedempt); margin-top: 3px; }
.cell-label { display: none; }
.cell-ean { font-weight: 500; }
.cell-order { text-align: right; white-space: nowrap; }
.order { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; }
.stock-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; }
.link-button--quiet { color: var(--inkt); text-decoration-color: var(--lijn-veld); }
.link-button:disabled { opacity: .6; cursor: progress; }

@media (max-width: 860px) {
  .stock-table thead tr th:not(:nth-child(2)) { display: none; }
  .stock-table thead th:nth-child(2) { display: block; }
  .stock-table tbody tr {
    display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px 14px;
    padding: 14px 0; border-bottom: 1px solid var(--lijn-zacht);
  }
  .stock-table tbody td { display: block; padding: 0; border: 0; }
  .stock-table .cell-photo { grid-row: span 5; width: auto; }
  .stock-table .cell-order { grid-column: 2; }
  .stock-table .cell-nr, .stock-table .cell-ean { font-size: 14px; color: var(--gedempt); }
  .stock-table .cell-label { display: inline; margin-right: 6px; }
  .stock-table .cell-order { text-align: left; }
  .stock-table .cell-order:empty { display: none; }
}
:root { --foto-vlak: #f4f4f3; }
.input:disabled { opacity: .55; cursor: not-allowed; }

/* ---- De vlag: het voordeel hangt als geel kaartje aan een rail (huisstijl.md) */

.vlag {
  display: inline-flex; flex-direction: column; background: var(--accent); color: var(--grond);
  border-radius: 0 0 14px 14px; box-shadow: 0 18px 30px rgba(0, 0, 0, .28);
}
.vlag__getal { font-weight: 900; font-variant-numeric: tabular-nums; line-height: .9; letter-spacing: -.015em; }
.vlag__tekst { font-weight: 700; line-height: 1.25; }
.vlag__extra { font-size: 14px; margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(29, 29, 27, .25); }
.vlag--groot { width: 220px; padding: 96px 24px 26px; }
.vlag--groot .vlag__getal { font-size: 88px; }
.vlag--groot .vlag__tekst { font-size: 18px; margin-top: 10px; }
.vlag--small { width: 120px; padding: 18px 12px 14px; border-radius: 0 0 10px 10px; box-shadow: none; text-align: center; }
.vlag--small .vlag__getal { font-size: 34px; line-height: 1; }
.vlag--small .vlag__tekst { font-size: 13px; margin-top: 4px; }
@media (max-width: 720px) {
  .vlag--groot { width: 128px; padding: 52px 14px 16px; border-radius: 0 0 10px 10px; box-shadow: 0 12px 20px rgba(0, 0, 0, .28); }
  .vlag--groot .vlag__getal { font-size: 46px; }
  .vlag--groot .vlag__tekst { font-size: 13px; margin-top: 6px; }
  .vlag--groot .vlag__extra { display: none; }
  .vlag--small { width: 84px; padding: 14px 8px 10px; }
  .vlag--small .vlag__getal { font-size: 24px; }
  .vlag--small .vlag__tekst { font-size: 11px; }
}

/* ---- Hero: de uitgelichte promotie hangt aan de bovenbalk */

.hero {
  max-width: var(--blad); margin: 0 auto; padding: 0 var(--marge);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--tussen); min-height: 600px;
}
.hero__text { grid-column: span 5; padding: 104px 0 56px; display: flex; flex-direction: column; gap: 22px; }
.hero__kicker { color: var(--gedempt); font-size: 17px; }
.hero__title { font-size: 64px; font-weight: 900; letter-spacing: -.015em; line-height: 1.02; }
.hero__summary { font-size: 18px; line-height: 1.6; max-width: 34em; }
.hero__pager { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--gedempt); font-size: 14px; font-weight: 500; }
.hero__pager button {
  width: 44px; height: 44px; border-radius: var(--r); background: transparent; border: 1px solid var(--lijn-veld);
  color: var(--inkt); font: inherit; font-size: 20px; cursor: pointer;
}
.hero__pager button:hover { background: var(--hover); }
.hero__media { grid-column: 7 / span 6; position: relative; padding-top: 72px; }
.hero__photo {
  height: 520px; border-radius: var(--r-groot); background: var(--foto-vlak);
  display: grid; place-items: center; overflow: hidden;
}
.hero__photo img { width: 100%; height: 100%; object-fit: contain; }
.hero__photo img.is-cover { object-fit: cover; }
.hero__media .vlag { position: absolute; right: 56px; top: 0; }
@media (max-width: 1000px) {
  .hero__title { font-size: 48px; }
  .hero__text { grid-column: span 6; }
  .hero__media { grid-column: 7 / span 6; }
  .hero__photo { height: 420px; }
}
@media (max-width: 720px) {
  .hero { display: flex; flex-direction: column; min-height: 0; position: relative; }
  .hero__media { order: -1; padding-top: 40px; position: static; }
  .hero__media .vlag { right: calc(var(--marge) + 16px); }
  .hero__photo { height: 260px; }
  .hero__text { padding: 22px 0 0; gap: 14px; }
  .hero__kicker { font-size: 14px; }
  .hero__title { font-size: 34px; line-height: 1.05; }
  .hero__summary { font-size: 16px; }
  .hero__text .actions .button { flex: 1 1 100%; }
  .hero__pager { margin-top: 8px; }
}

/* ---- Rail: de lopende promoties hangen als kleine vlaggen aan een lijn */

.home-section { max-width: var(--blad); margin: 0 auto; padding: 96px var(--marge) 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-title .h2 { font-size: 40px; }
.rail { list-style: none; margin: 28px 0 0; padding: 0; border-top: 2px solid var(--lijn-veld); }
.rail-row {
  display: grid; grid-template-columns: 120px minmax(0, 1fr) 200px 96px 170px; gap: 32px; align-items: start;
  padding: 0 0 28px; border-bottom: 1px solid var(--lijn); color: var(--inkt); text-decoration: none;
}
.rail-row:hover { color: var(--inkt); background: linear-gradient(var(--hover), var(--hover)) no-repeat 0 0 / 100% 100%; }
.rail-row__noflag { display: block; width: 120px; height: 2px; }
.rail-row__text { padding-top: 26px; }
.rail-row__title { display: block; font-size: 22px; font-weight: 700; line-height: 1.3; }
.rail-row__meta { display: block; font-size: 15px; color: var(--gedempt); margin-top: 6px; }
.rail-row__date { padding-top: 30px; font-size: 15px; }
.rail-row__date.is-soon { color: var(--letop); font-weight: 700; }
.rail-row__img { margin-top: 16px; width: 72px; height: 72px; border-radius: var(--r); background: var(--foto-vlak); overflow: hidden; }
.rail-row__img img { width: 100%; height: 100%; object-fit: contain; }
.rail-row__action { padding-top: 30px; font-weight: 700; color: var(--accent); text-decoration: underline; text-decoration-color: rgba(255, 209, 0, .45); text-underline-offset: 3px; }
.rail-row.is-ended { opacity: .6; }
@media (max-width: 1000px) {
  .rail-row { grid-template-columns: 120px minmax(0, 1fr) 160px; }
  .rail-row__img, .rail-row__action { display: none; }
}
@media (max-width: 720px) {
  .home-section { padding-top: 36px; }
  .section-title .h2 { font-size: 26px; }
  .rail { margin-top: 14px; }
  .rail-row { grid-template-columns: 84px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
  .rail-row__noflag { width: 84px; }
  .rail-row__text { padding-top: 16px; }
  .rail-row__title { font-size: 16px; }
  .rail-row__meta { font-size: 13px; }
  .rail-row__date { grid-column: 2; padding-top: 0; margin-top: -8px; font-size: 13px; }
}

/* ---- Quick stock check op home */

.quick-stock { max-width: 640px; }
.quick-stock form { margin-top: 18px; }
.quick-stock .search { height: 60px; }
.quick-stock .search__input { font-size: 18px; }
.quick-result {
  display: flex; gap: 14px; align-items: center; margin-top: 12px; padding: 14px;
  border-radius: var(--r-groot); background: var(--paneel); border: 1px solid var(--lijn);
}
.quick-result .photo { width: 48px; height: 48px; flex: none; }
.quick-result__text { flex: 1 1 auto; min-width: 0; }
.quick-result__name { font-weight: 700; }
.quick-result__nr { font-size: 13px; color: var(--gedempt); font-variant-numeric: tabular-nums; }
.quick-stock .disclaimer { margin-top: 12px; font-size: 14px; }
.home-layout { display: flex; flex-direction: column; }
/* Telefoon (Mobile.dc.html): hero, dan de voorraadcheck, dan Running now */
@media (max-width: 720px) {
  .home-layout > * { order: 2; }
  .home-layout > .hero { order: 0; }
  .home-layout > .home-section--stock { order: 1; }
}

/* ---- Promotiedetail */

.crumbs { font-size: 15px; color: var(--gedempt); }
.crumbs a { color: var(--gedempt); }
.facts { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 6px 0 0; }
.facts div { display: flex; flex-direction: column; }
.facts dt { font-size: 14px; color: var(--gedempt); }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; }
.preview-bar { background: var(--letop-vlak); border-bottom: 1px solid rgba(255, 152, 56, .4); }
.preview-bar p { max-width: var(--blad); margin: 0 auto; padding: 12px var(--marge); font-weight: 700; }

.how { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--tussen); counter-reset: step; }
.how li { border-top: 2px solid var(--accent); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.how__nr { font-size: 34px; font-weight: 900; font-variant-numeric: tabular-nums; line-height: 1; }
.how__title { font-size: 18px; font-weight: 700; }
.how__text { color: var(--gedempt); }
@media (max-width: 1000px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .how { grid-template-columns: minmax(0, 1fr); } }

.prose { max-width: 42em; font-size: 16px; line-height: 1.65; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: 4px; }

.fold { border-top: 1px solid var(--lijn); }
.fold:last-child { border-bottom: 1px solid var(--lijn); }
.fold > summary {
  display: flex; justify-content: space-between; align-items: center; min-height: 64px; cursor: pointer;
  font-size: 18px; font-weight: 700; list-style: none;
}
.fold > summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--gedempt); }
.fold[open] > summary::after { content: '−'; }
.fold > div { padding: 0 0 24px; }
.downloads { list-style: none; margin: 0; padding: 0; }
.downloads li + li { margin-top: 8px; }
.downloads a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.downloads .muted { font-weight: 400; margin-left: 8px; }

/* Media kit van een release: één stille knop voor alles, de losse bestanden eronder. */
.media-kit { display: flex; flex-direction: column; gap: 8px; }
.media-kit__main { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
.media-kit__files > summary { min-height: 44px; font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.media-kit__files[open] > summary { margin-bottom: 0; }
.media-kit__files .downloads, .downloads--lined { border-top: 1px solid var(--lijn-zacht); }
.media-kit__files .downloads li, .downloads--lined li { border-bottom: 1px solid var(--lijn-zacht); margin: 0; }
.downloads--lined li { display: flex; align-items: center; flex-wrap: wrap; gap: 0 8px; }
.media-kit__files .downloads a, .downloads--lined a { word-break: break-word; }
.downloads--lined .muted { margin-left: 0; }
.downloads__remove { margin-left: auto; min-height: 44px; padding: 0 4px; }
.upload-progress { width: 100%; max-width: 420px; height: 8px; accent-color: var(--accent); }

.contact { display: flex; gap: 16px; align-items: center; }
.contact__initials {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--paneel); border: 1px solid var(--lijn); font-weight: 700;
}
.claim-soon { border-top: 2px solid var(--lijn-veld); padding-top: 20px; max-width: 42em; }
.detail-bottom { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
@media (max-width: 1000px) { .detail-bottom { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.you-get { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

.filters--promos { margin-top: 32px; }
.promo-group + .promo-group { margin-top: 64px; }

/* ---- Beheer: promotie-editor */
.promo-form { max-width: 880px; }
.promo-form > fieldset { border-top: 1px solid var(--lijn); padding-top: 24px; }
.promo-form legend { float: left; width: 100%; margin-bottom: 4px; }
.promo-form legend + * { clear: both; }
.step-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.step-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 44px; gap: 12px; align-items: end; }
.step-row .link-button, .table .link-button { font-size: 22px; text-decoration: none; min-width: 44px; }
@media (max-width: 720px) { .step-row { grid-template-columns: minmax(0, 1fr) 44px; } .step-row .field:nth-child(2) { grid-column: 1; } }
.search--small { height: 52px; padding: 0 16px; border-width: 1px; }
.search--small .search__input { font-size: 16px; }
.article-results { list-style: none; margin: 0; padding: 0; }
.article-results li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 0; border-bottom: 1px solid var(--lijn-zacht); }
.article-results .num { font-weight: 700; }
.promo-image-preview { display: block; max-width: 320px; border-radius: var(--r-groot); background: var(--foto-vlak); }
.file-button { position: relative; align-self: flex-start; cursor: pointer; }
.file-button:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.promo-actions { border-top: 2px solid var(--lijn-veld); padding-top: 24px; }
.publish-row { margin-top: 8px; }
.home-layout > * { width: 100%; }
.hero__photo { padding: 32px; }
.hero__photo:has(img.is-cover) { padding: 0; }
@media (max-width: 720px) { .hero__photo { padding: 16px; } }
.rail-row__img { padding: 4px; }

/* Productfoto's uit de feed staan op wit: met multiply wordt dat wit het lichte fotovlak. */
.hero__photo img:not(.is-cover), .photo, .rail-row__img img { mix-blend-mode: multiply; }

/* ---- Claimformulier: formulier links, de vlag (wat je ontvangt) rechts aan de rail */
.claim {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--tussen); align-items: start;
  border-top: 2px solid var(--lijn-veld);
}
.claim__form { grid-column: span 8; padding-top: 48px; display: flex; flex-direction: column; gap: 24px; }
.claim__aside { grid-column: 9 / span 4; position: sticky; top: 0; padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.claim__aside:not(.vlag) { background: var(--paneel); border: 1px solid var(--lijn); border-top: 0; border-radius: 0 0 var(--r-groot) var(--r-groot); }
.claim__aside.vlag { border-radius: 0 0 14px 14px; }
.claim__total { font-size: 88px; }
.claim__rows { display: flex; flex-direction: column; gap: 10px; font-size: 15px; border-top: 1px solid rgba(29, 29, 27, .25); padding-top: 16px; }
.claim__aside:not(.vlag) .claim__rows { border-top-color: var(--lijn); }
.claim__row { display: flex; justify-content: space-between; gap: 12px; }
.claim__row .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.claim__submit { width: 100%; margin-top: 6px; }
.claim__aside.vlag .claim__submit { background: var(--grond); color: var(--inkt); }
.claim__aside.vlag .claim__submit:hover { background: #000; color: var(--inkt); }
.claim__aside.vlag .claim__submit:focus-visible { outline-color: var(--grond); }
.claim-lines { display: flex; flex-direction: column; gap: 14px; }
.claim-line {
  background: var(--paneel); border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 22px;
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(70px, .5fr) minmax(0, 1.4fr) minmax(150px, 1.1fr) 50px; gap: 14px; align-items: end;
}
.claim-line__customer { grid-column: 1 / -2; }
.claim-line__remove {
  width: 50px; height: 50px; border-radius: var(--r); background: transparent; border: 1px solid var(--lijn-veld);
  color: var(--gedempt); font: inherit; font-size: 20px; cursor: pointer;
}
.claim-line__remove:hover { color: var(--inkt); background: var(--hover); }
.claim-line__error { grid-column: 1 / -1; color: var(--fout); font-size: 14px; margin: 0; }
.add-line { align-self: flex-start; border: 1px dashed var(--lijn-veld); box-shadow: none; }
.dropzone {
  border: 2px dashed rgba(255, 209, 0, .5); border-radius: var(--r-groot); padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; color: var(--accent);
}
.dropzone.is-over { background: var(--accent-vlak); }
.dropzone__text { flex: 1 1 220px; color: var(--inkt); }
.file-list { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-wrap: wrap; gap: 8px; }
.file-list:empty { display: none; }
.file-list li { display: inline-flex; align-items: center; gap: 4px; }
.file-chip { font-size: 14px; padding: 8px 12px; border-radius: var(--r); background: var(--verdiept); color: var(--inkt); font-variant-numeric: tabular-nums; }
.claim-note { border-top: 2px solid var(--lijn-veld); padding-top: 28px; max-width: 42em; display: flex; flex-direction: column; gap: 14px; }
.claim-note:focus { outline: none; }
#claim-errors ul { margin: 6px 0 0; padding-left: 1.2em; }
@media (max-width: 1000px) {
  .claim { display: flex; flex-direction: column; border-top: 0; }
  .claim__form { padding-top: 0; width: 100%; }
  .claim__aside { position: static; width: 100%; margin-top: 32px; }
  .claim__aside.vlag { border-radius: var(--r-groot); }
  .claim__total { font-size: 56px; }
  .claim-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .claim-line__article, .claim-line__customer { grid-column: 1 / -1; }
  .claim-line__remove { grid-column: 2; justify-self: end; }
}
.timeline { list-style: none; margin: 0; padding: 0 0 0 20px; border-left: 2px solid var(--lijn-veld); }
.timeline li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 20px 6px; }
.timeline li::before { content: ''; position: absolute; left: -27px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--inkt); }
.timeline li:last-child::before { background: var(--accent); }
.timeline__status { font-weight: 700; }
.attachments-head { margin-top: 28px; }
.home-claims { max-width: 640px; }
.home-claims li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--lijn-zacht); }
.home-claims ul { list-style: none; margin: 14px 0 0; padding: 0; }
.subnav { margin-bottom: 24px; }
.section-lead { margin-bottom: 16px; }
.notify-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) 44px; gap: 12px; align-items: end; border-bottom: 1px solid var(--lijn-zacht); padding-bottom: 12px; }
@media (max-width: 900px) { .notify-row { grid-template-columns: minmax(0, 1fr) 44px; } .notify-row .countries { grid-column: 1; } }
.prose-narrow { max-width: 42em; }

.facts-box { border-top: 1px solid var(--lijn); padding-top: 20px; }
.facts-box dl { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; }
.facts-box dt { color: var(--gedempt); }
.facts-box dd { margin: 0; }

/* ---- Coming soon: de poort (Nda.dc.html) en de tijdlijn (ComingSoon.dc.html) */
.cs-head { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.cs-signed { text-align: right; max-width: 22em; }
.cs-gate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--tussen); align-items: start; }
.cs-form {
  grid-column: span 7; background: var(--paneel); border: 1px solid var(--lijn); border-radius: var(--r-groot);
  padding: 40px; display: flex; flex-direction: column; gap: 20px;
}
.cs-form__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cs-points { margin: 0; padding-left: 1.2em; line-height: 1.6; }
.cs-text {
  max-height: 260px; overflow-y: auto; padding: 18px 20px; border-radius: var(--r);
  background: var(--verdiept); border: 1px solid var(--lijn); font-size: 14px; line-height: 1.6;
}
.cs-text p + p { margin-top: 10px; }
.input--sign { font-size: 20px; height: 56px; }
.cs-side { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 20px; }
.cs-locks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cs-lock { height: 120px; border-radius: var(--r-groot); background: var(--paneel); display: grid; place-items: center; overflow: hidden; }
.cs-blob { width: 64px; height: 64px; border-radius: 50%; background: #4a4a44; filter: blur(14px); }
.cs-waiting {
  background: var(--verdiept); border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; color: var(--gedempt);
}
.cs-waiting .h4 { color: var(--inkt); }
.cs-gate--staff { display: flex; flex-direction: column; align-items: stretch; gap: 24px; max-width: 760px; }
.cs-gate--staff .cs-locks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
  .cs-gate { display: flex; flex-direction: column; gap: 32px; }
  .cs-form { padding: 24px; }
  .cs-side { width: 100%; }
  .cs-signed { text-align: left; }
}
@media (max-width: 560px) { .cs-locks { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cs-lock { height: 90px; } }

.cs-timeline { border-bottom: 1px solid var(--lijn); }
.cs-month { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--tussen); padding: 28px 0; border-top: 1px solid var(--lijn); }
.cs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--tussen); }
.cs-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; align-items: start; }
.cs-card--big { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; }
.cs-pic { aspect-ratio: 4 / 3; border-radius: var(--r-groot); background: var(--foto-vlak); overflow: hidden; }
.cs-card--big .cs-pic { aspect-ratio: 3 / 2; }
.cs-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-card__text { display: flex; flex-direction: column; gap: 10px; }
.cs-card__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.cs-card__links { gap: 8px 18px; font-weight: 700; }
.cs-foot { margin-top: 20px; }
.cs-available { margin-top: 72px; display: flex; flex-direction: column; gap: 14px; }
.cs-available .cs-grid { margin-top: 10px; }
.cs-ack-text { margin: 12px 0 20px; line-height: 1.6; }
@media (max-width: 1000px) {
  .cs-month { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .cs-card--big { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .cs-grid { grid-template-columns: minmax(0, 1fr); }
  .cs-card { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; }
}

/* Home: Coming soon-blok */
.home-cs { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center;
  background: var(--verdiept); border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 40px; }
.home-cs__text { display: flex; flex-direction: column; gap: 14px; }
.home-cs .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .home-cs { grid-template-columns: minmax(0, 1fr); padding: 22px; gap: 22px; } }

/* ---- News */
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lijn); }
.news-row { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--lijn); color: var(--inkt); text-decoration: none; }
.news-row:hover { color: var(--inkt); background: var(--hover); }
.news-row__date { color: var(--gedempt); font-weight: 700; padding-top: 2px; }
.news-row__title { display: block; font-size: 18px; font-weight: 700; line-height: 1.3; }
.news-row__summary { display: block; color: var(--gedempt); margin-top: 4px; }
.news-row__img { width: 96px; height: 64px; border-radius: var(--r); overflow: hidden; background: var(--foto-vlak); }
.news-row__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 560px) { .news-row { grid-template-columns: 56px minmax(0, 1fr); } .news-row__img { display: none; } }
.news-article { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.news-article__img { border-radius: var(--r-groot); overflow: hidden; background: var(--foto-vlak); }
.news-article__img img { width: 100%; display: block; }
.home-news { max-width: 760px; }
.home-news .news-list { margin-top: 14px; }
.nav a.who { color: var(--gedempt); font-weight: 400; }
.nav a.who:hover, .nav a.who[aria-current='page'] { color: var(--inkt); }

/* ---- Account */
.account { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 56px; align-items: start; }
.account__nav { position: sticky; top: 24px; display: flex; flex-direction: column; border-left: 2px solid var(--lijn); }
.account__nav a { min-height: 44px; display: flex; align-items: center; padding: 0 16px; color: var(--gedempt); font-weight: 700; text-decoration: none; }
.account__nav a:hover { color: var(--inkt); }
.account__sections { display: flex; flex-direction: column; gap: 56px; max-width: 760px; }
.account__section { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 24px; }
.account__section > .stack { border-top: 1px solid var(--lijn); padding-top: 20px; }
.account__value { font-weight: 700; margin: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--lijn-zacht); }
.plain-list li > span { display: flex; flex-direction: column; gap: 2px; }
.field--grow { flex: 1 1 240px; }
@media (max-width: 900px) {
  .account { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .account__nav { position: static; flex-direction: row; flex-wrap: wrap; border-left: 0; border-bottom: 1px solid var(--lijn); }
  .account__nav a { padding: 0 12px 0 0; }
}
.plain-list li > span > .pill { align-self: flex-start; }
.admin-backup { margin: 0 0 24px; }
