/* ==========================================================================
   lookINsight — intern werkplatform
   Huisstijl 2026 · dezelfde tokens als de publieke site (css/style.css)

   Regels die hier gelden, letterlijk uit het design system:
   · één accent per vlak — blauw óf groen, nooit allebei betekenisdragend
   · geen groene knop; blauw bezit elke primaire actie
   · de markeerhand (Flux Architect) is schaars — hij markeert een wending,
     nooit een subblok. In een werktool dus vrijwel nergens.
   · geel = markeerstift op 1-3 woorden, nooit een vlak
   · de -pale tinten zijn vullingen, nooit tekst op kleur
   · verboden: accentbalk op een afgeronde kaart, 5px zijlijn op een rijtje,
     decoratieve gradiënten, glassmorphism buiten de sticky header,
     rand én schaduw samen, emoji
   ========================================================================== */

/* Flux Architect — de eigen markeerhand van het merk */
@font-face {
  font-family: "Flux Architect";
  src: url("../assets/fonts/FluxArchitect-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Flux Architect";
  src: url("../assets/fonts/FluxArchitect-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Flux Architect";
  src: url("../assets/fonts/FluxArchitect-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  /* ---- Merktokens · identiek aan lookinsight-website/css/style.css ---- */
  --lis-blue: #1d71b8;
  --lis-blue-dark: #155a94;
  --lis-blue-mid: #5ba3d9;
  --lis-blue-pale: #d0e8f7;
  --lis-blue-onblue: #e8f4fc;
  --lis-blue-wash: #eef6fc;
  --lis-green: #078036;
  --lis-green-mid: #6fba47;
  --lis-green-pale: #d4edda;
  --lis-green-ongreen: #e8f6ec;
  --lis-green-wash: #eff8f2;
  --lis-yellow: #e7e345;
  --ink: #14171a;
  --grey-dark: #3d3d3d;
  --grey-mid: #6b7075;
  --grey-light: #e8e8e8;
  --paper: #f7f8f9;
  --white: #ffffff;

  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-marker: "Flux Architect", "Architects Daughter", "Segoe Print", cursive;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6.5rem;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 2px 6px rgba(20, 23, 26, 0.06), 0 14px 34px rgba(20, 23, 26, 0.08);
  --shadow-lift: 0 4px 10px rgba(20, 23, 26, 0.08), 0 22px 48px rgba(20, 23, 26, 0.13);
  --measure: 62ch;

  /* ---- Portal-eigen toevoegingen ------------------------------------------
     Het design system kent (bewust) geen status-tokens: de publieke site heeft
     ze niet nodig. Een werktool wel — een offerte kan verlopen zijn, uren
     kunnen over budget lopen. Deze vier staan dus hier, in de portal-laag,
     en niet in de merktokens hierboven. Blijken ze te blijven, dan horen ze
     alsnog thuis in "lookINsight Branding 2026" — nu zijn ze lokaal.
     Geel is hier bewust NIET gebruikt als statuskleur: geel is markeerstift.  */
  --state-ok-fill: var(--lis-green-pale);
  --state-ok-ink: #056129;
  --state-info-fill: var(--lis-blue-pale);
  --state-info-ink: var(--lis-blue-dark);
  --state-attention-fill: #fbeed2;
  --state-attention-ink: #7a5200;   /* 6.4:1 op de vulling */
  --state-danger-fill: #fbe3e0;
  --state-danger-ink: #a3231b;      /* 6.0:1 op de vulling */
  --state-muted-fill: #ecedee;
  --state-muted-ink: var(--grey-dark);

  --rail-w: 250px;
  --topbar-h: 68px;
}

/* ---------- Reset & basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Elke classe die zelf een display zet (.btn, .gate, .card…) wint van de
   [hidden]-regel uit de browserstijl. Zonder deze regel blijven verborgen
   knoppen en panelen gewoon staan. Eén keer hier, in plaats van per component
   een [hidden]-variant. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 1.6rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
a { color: var(--lis-blue); }
img { max-width: 100%; display: block; }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88em;
  background: var(--paper);
  border-radius: 4px;
  padding: 0.08em 0.32em;
}
/* Op een gekleurd vlak zou de lichte vulling een vlek worden. */
.card[style*="--lis-blue"] code,
.card[style*="--lis-green"] code { background: rgba(255, 255, 255, 0.16); }
:focus-visible {
  outline: 3px solid var(--lis-blue-mid);
  outline-offset: 2px;
  border-radius: 4px;
}

/* De markeerhand. Schaars: hooguit één per scherm, op de plek waar het
   systeem iets tegen jóú zegt in plaats van iets toont. */
.marker { font-family: var(--font-marker); font-weight: 400; }

/* Rustig bovenkopje in Montserrat — dit is wat de markeerhand NIET is. */
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin: 0 0 var(--space-1);
}

/* Markeerstift. Exact de spec uit het design system. */
.hl { position: relative; isolation: isolate; white-space: nowrap; }
.hl::after {
  content: "";
  position: absolute;
  inset: 0.1em -0.22em 0.08em -0.22em;
  background: var(--lis-yellow);
  transform: skewX(-8deg) rotate(-0.6deg);
  z-index: -1;
}

/* ==========================================================================
   Toegangspoort (inloggen)
   ========================================================================== */
.gate {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: var(--space-3);
  background: linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
}
.gate__card {
  width: min(430px, 100%);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-4);
  text-align: center;
}
.gate__logo { width: 168px; margin: 0 auto var(--space-3); }
.gate__title { font-size: 1.35rem; margin-bottom: var(--space-1); }
.gate__sub { color: var(--grey-mid); margin-bottom: var(--space-3); }
.gate__hint {
  margin-top: var(--space-3);
  font-size: 0.8rem;
  color: var(--grey-mid);
  line-height: 1.5;
}
.gate__error {
  margin-top: var(--space-2);
  background: var(--state-danger-fill);
  color: var(--state-danger-ink);
  border-radius: var(--radius-sm);
  padding: var(--space-1) var(--space-2);
  font-size: 0.85rem;
  text-align: left;
}

/* Microsoft-knop: het officiële merkvierkant, verder onze eigen vormtaal.
   Blauw bezit de primaire actie, dus dit is een secundaire vorm met het
   Microsoft-logo als herkenningspunt. */
.btn-ms {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 48px;
  padding: 0 var(--space-3);
  font: inherit;
  font-weight: 600;
  color: var(--white);
  background: var(--lis-blue);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.16s ease, transform 0.16s ease;
}
.btn-ms:hover { background: var(--lis-blue-dark); transform: translateY(-1px); }
.btn-ms:disabled { opacity: 0.55; cursor: default; transform: none; }
.btn-ms svg { flex: none; }

/* ==========================================================================
   Applicatieraster
   ========================================================================== */
.app { display: grid; grid-template-columns: var(--rail-w) 1fr; min-height: 100dvh; }
.app[hidden] { display: none; }

/* ---------- Zijbalk ---------- */
.rail {
  background: var(--white);
  border-right: 1px solid var(--grey-light);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
}
.rail__head {
  padding: var(--space-3) var(--space-3) var(--space-2);
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}
.rail__logo { width: 132px; flex: none; }
/* De enige markeerhand in de vaste schil. */
.rail__wordmark {
  font-family: var(--font-marker);
  font-size: 1.05rem;
  color: var(--lis-blue);
  line-height: 1;
}
.rail__nav { padding: var(--space-1) var(--space-2); flex: 1; }
.rail__group {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-mid);
  padding: var(--space-2) 0.65rem var(--space-1);
}
.rail__link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.65rem;
  min-height: 44px;
  border-radius: var(--radius-sm);
  color: var(--grey-dark);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.14s ease, color 0.14s ease;
}
.rail__link:hover { background: var(--paper); color: var(--ink); }
.rail__link svg { flex: none; opacity: 0.72; }
.rail__link[aria-current="page"] {
  background: var(--lis-blue-wash);
  color: var(--lis-blue-dark);
  font-weight: 600;
}
.rail__link[aria-current="page"] svg { opacity: 1; }
.rail__link--soon { opacity: 0.55; pointer-events: none; }
.rail__soon {
  margin-left: auto;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-mid);
}
.rail__foot {
  padding: var(--space-2) var(--space-3) var(--space-3);
  border-top: 1px solid var(--grey-light);
  font-size: 0.76rem;
  color: var(--grey-mid);
}
.rail__mode {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
.rail__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lis-green); flex: none; }
.rail__dot--local { background: var(--grey-mid); }

/* ---------- Bovenbalk ---------- */
.main { min-width: 0; display: flex; flex-direction: column; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0 var(--space-4);
  /* glassmorphism mag alleen hier — sticky header, precies de uitzondering */
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--grey-light);
}
.topbar__title { font-size: 1.05rem; font-weight: 700; }
.topbar__crumb { color: var(--grey-mid); font-size: 0.82rem; }
.topbar__spacer { flex: 1; }
.topbar__burger {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: transparent; cursor: pointer;
  color: var(--grey-dark);
  border-radius: var(--radius-sm);
}
.topbar__burger:hover { background: var(--paper); }

.who { display: flex; align-items: center; gap: 0.6rem; }
.who__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lis-blue);
  color: var(--white);
  display: grid; place-items: center;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  flex: none;
}
.who__name { font-weight: 600; font-size: 0.86rem; line-height: 1.2; }
.who__mail { color: var(--grey-mid); font-size: 0.74rem; line-height: 1.2; }
.who__text { min-width: 0; }
.who__text > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; max-width: 190px; }

/* ---------- Inhoud ---------- */
.content { padding: var(--space-4); max-width: 1320px; width: 100%; }
.page-head { margin-bottom: var(--space-3); }
.page-head p { color: var(--grey-mid); max-width: var(--measure); }
.section { margin-top: var(--space-4); }
.section__head {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
  flex-wrap: wrap;
}
.section__head p { color: var(--grey-mid); font-size: 0.85rem; margin: 0; }

/* ==========================================================================
   Bouwstenen
   ========================================================================== */

/* Kaart — schaduw, geen rand. Nooit allebei. */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
}
.card--flush { padding: 0; overflow: hidden; }
.card__head {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-3) var(--space-2);
}
.card__head h2 { margin: 0; }
.card__head .spacer { flex: 1; }

.grid { display: grid; gap: var(--space-3); }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }
.grid--stats { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Moduletegel. Geen accentbalk bovenop de kaart — de icoonchip draagt de
   kleur al, een balk erbij is precies de AI-tell die eruit is gehaald. */
.tile {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-3);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--lis-blue-wash);
  color: var(--lis-blue);
  flex: none;
}
.tile__title { font-weight: 700; font-size: 1.02rem; }
.tile__desc { color: var(--grey-mid); font-size: 0.87rem; }
.tile__meta { margin-top: auto; padding-top: var(--space-1); font-size: 0.8rem; color: var(--lis-blue-dark); font-weight: 600; }
.tile--soon { pointer-events: none; }
.tile--soon .tile__icon { background: var(--state-muted-fill); color: var(--grey-mid); }
.tile--soon .tile__title, .tile--soon .tile__desc { color: var(--grey-mid); }

/* Kengetal */
.stat { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-3); }
.stat__label { font-size: 0.78rem; font-weight: 600; color: var(--grey-mid); letter-spacing: 0.02em; }
.stat__value { font-size: 1.85rem; font-weight: 700; line-height: 1.15; margin-top: 0.15rem; letter-spacing: -0.02em; }
.stat__value--ok { color: var(--lis-green); }
.stat__value--attention { color: var(--state-attention-ink); }
.stat__note { font-size: 0.79rem; color: var(--grey-mid); margin-top: 0.2rem; }

/* Knoppen. Groen is hier nadrukkelijk afwezig. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1.1rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--lis-blue); color: var(--white); }
.btn--primary:hover { background: var(--lis-blue-dark); }
.btn--secondary { background: var(--white); color: var(--lis-blue-dark); border-color: var(--lis-blue-pale); }
.btn--secondary:hover { border-color: var(--lis-blue); background: var(--lis-blue-wash); }
.btn--ghost { background: transparent; color: var(--grey-dark); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--small { min-height: 34px; padding: 0 0.75rem; font-size: 0.8rem; }
.btn--danger { background: transparent; color: var(--state-danger-ink); border-color: var(--state-danger-fill); }
.btn--danger:hover { background: var(--state-danger-fill); }
.btn:disabled { opacity: 0.5; cursor: default; }

/* Formulier */
.field { display: flex; flex-direction: column; gap: 0.3rem; min-width: 0; }
.field > label { font-size: 0.78rem; font-weight: 600; color: var(--grey-dark); }
.field__hint { font-size: 0.74rem; color: var(--grey-mid); }
input[type="text"], input[type="date"], input[type="number"], input[type="search"], select, textarea {
  font: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.7rem;
  min-height: 42px;
  width: 100%;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--lis-blue);
  box-shadow: 0 0 0 3px var(--lis-blue-wash);
}
.form-row { display: grid; gap: var(--space-2); align-items: end; }
.form-row--uren { grid-template-columns: 150px minmax(220px, 1.4fr) minmax(200px, 2fr) 110px auto; }
.check { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; font-weight: 500; }
.check input { width: 17px; height: 17px; min-height: 0; accent-color: var(--lis-blue); }

/* Chip / status. Pale tinten als vulling met donkere tekst — nooit andersom. */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  background: var(--state-muted-fill);
  color: var(--state-muted-ink);
}
/* Een keuzelijst die eruitziet als de chip die hij vervangt: de status tonen
   en de status wijzigen zijn hier dezelfde bediening, niet twee naast elkaar. */
select.chip-select {
  min-height: 30px;
  padding: 0.15rem 0.4rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  width: auto;
  max-width: 130px;
  cursor: pointer;
}
select.chip-select:focus { box-shadow: 0 0 0 3px var(--lis-blue-wash); }

.chip--ok { background: var(--state-ok-fill); color: var(--state-ok-ink); }
.chip--info { background: var(--state-info-fill); color: var(--state-info-ink); }
.chip--attention { background: var(--state-attention-fill); color: var(--state-attention-ink); }
.chip--danger { background: var(--state-danger-fill); color: var(--state-danger-ink); }

/* Tabel */
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
table.data th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-mid);
  background: var(--paper);
  padding: 0.7rem var(--space-2);
  white-space: nowrap;
  position: sticky;
  top: 0;
}
table.data td { padding: 0.7rem var(--space-2); border-top: 1px solid var(--grey-light); vertical-align: middle; }
table.data tbody tr:hover { background: var(--paper); }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .muted { color: var(--grey-mid); }
table.data .row-actions { text-align: right; white-space: nowrap; }
table.data tfoot td { border-top: 2px solid var(--grey-light); font-weight: 700; background: var(--paper); }

/* Voortgang. Groen alleen als het klopt, rood als het overschrijdt —
   dit is data, geen decoratie. */
.bar { height: 7px; border-radius: 999px; background: var(--grey-light); overflow: hidden; min-width: 90px; }
.bar > span { display: block; height: 100%; background: var(--lis-blue); border-radius: 999px; }
.bar--ok > span { background: var(--lis-green); }
.bar--over > span { background: var(--state-danger-ink); }

/* Lege staat */
.empty { text-align: center; padding: var(--space-4) var(--space-3); color: var(--grey-mid); }
.empty h3 { color: var(--ink); margin-bottom: 0.35rem; }

/* Melding */
.notice {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--lis-blue-wash);
  color: var(--lis-blue-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-2);
  font-size: 0.85rem;
}
.notice svg { flex: none; margin-top: 2px; }
.notice--attention { background: var(--state-attention-fill); color: var(--state-attention-ink); }
.notice a { color: inherit; }

/* Toast */
.toast {
  position: fixed;
  bottom: var(--space-3);
  left: 50%;
  transform: translate(-50%, 130%);
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  z-index: 60;
  transition: transform 0.24s ease;
  max-width: min(92vw, 460px);
}
.toast.is-on { transform: translate(-50%, 0); }

/* Tabs */
.tabs { display: flex; gap: 0.25rem; flex-wrap: wrap; border-bottom: 1px solid var(--grey-light); margin-bottom: var(--space-3); }
.tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--grey-mid);
  padding: 0.6rem 0.85rem;
  min-height: 44px;
  cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--lis-blue-dark); border-bottom-color: var(--lis-blue); }

/* Toolbar boven een tabel */
.toolbar { display: flex; gap: var(--space-2); align-items: center; flex-wrap: wrap; margin-bottom: var(--space-2); }
.toolbar .grow { flex: 1; min-width: 180px; }

/* Kleurstaal (huisstijlmodule) */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); gap: var(--space-2); }
.swatch { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); }
.swatch__chip { height: 82px; }
.swatch__body { padding: 0.7rem 0.8rem 0.85rem; }
.swatch__name { font-weight: 700; font-size: 0.86rem; }
.swatch__hex { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.78rem; color: var(--grey-mid); }
.swatch__job { font-size: 0.76rem; color: var(--grey-mid); margin-top: 0.25rem; }
.swatch__copy {
  margin-top: 0.5rem; font-size: 0.74rem; font-weight: 600;
  background: none; border: 0; padding: 0; color: var(--lis-blue-dark); cursor: pointer;
}

.rules { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.rule { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-3); }
.rule h3 { margin-bottom: 0.35rem; }
.rule p { font-size: 0.87rem; color: var(--grey-dark); }
.rule__mark { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.rule__mark--do { color: var(--lis-green); }
.rule__mark--dont { color: var(--state-danger-ink); }

.specimen { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); padding: var(--space-3); }
.specimen__row { padding: var(--space-2) 0; border-top: 1px solid var(--grey-light); }
.specimen__row:first-of-type { border-top: 0; padding-top: 0; }
.specimen__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--grey-mid); margin-bottom: 0.35rem; }

.asset-list { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.asset {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card);
  padding: var(--space-2); display: flex; flex-direction: column; gap: 0.6rem;
}
.asset__frame { background: var(--paper); border-radius: var(--radius-sm); padding: var(--space-2); display: grid; place-items: center; min-height: 108px; }
.asset__frame--dark { background: var(--lis-blue); }
.asset__frame img { max-height: 74px; width: auto; }
.asset__name { font-weight: 600; font-size: 0.85rem; }
.asset__meta { font-size: 0.76rem; color: var(--grey-mid); }

/* Ingesloten pagina (marketingkalender) */
.embed { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-card); overflow: hidden; }
.embed iframe { width: 100%; height: min(1180px, calc(100dvh - 210px)); border: 0; display: block; }

/* ==========================================================================
   Responsief
   ========================================================================== */
@media (max-width: 1080px) {
  .app { grid-template-columns: 1fr; }
  .rail {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    z-index: 40;
    transform: translateX(-100%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow-lift);
  }
  .app.rail-open .rail { transform: translateX(0); }
  .rail-scrim { position: fixed; inset: 0; background: rgba(20, 23, 26, 0.42); z-index: 35; }
  .topbar__burger { display: grid; place-items: center; }
  .content { padding: var(--space-3); }
  .form-row--uren { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .content { padding: var(--space-2); }
  .topbar { padding: 0 var(--space-2); }
  .who__text { display: none; }
  .form-row--uren { grid-template-columns: 1fr; }
  h1 { font-size: 1.35rem; }
}

@media print {
  .rail, .topbar, .toolbar, .btn { display: none !important; }
  .app { grid-template-columns: 1fr; }
  .card, .tile, .stat { box-shadow: none; border: 1px solid var(--grey-light); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
