/* ==========================================================================
   LVNL Beek — beheerscherm
   ========================================================================== */

:root {
  /* ---- LVNL huisstijl (overgenomen uit lvnl.nl) ---- */
  --lvnl-blauw:        #1e3c82;
  --lvnl-blauw-donker: #122d6b;
  --lvnl-blauw-diep:   #0d2150;
  --lvnl-oranje:       #f05a23;
  --lvnl-oranje-donker:#cc4d1e;
  --lvnl-oranje-diep:  #a33e18;
  --lvnl-lichtblauw:   #7fcbec;
  --lvnl-mist:         #ebf2f7;
  --lvnl-grijsblauw:   #bcc5da;
  --lvnl-grijsblauw-2: #a5b1cd;
  --lvnl-turquoise:    #00bfa5;
  --lvnl-rood:         #d92d20;

  --bg:        #0a1730;
  --bg-raise:  #102246;
  --bg-sunken: #071122;
  --panel:     #16305e;
  --panel-2:   #1e3c82;
  --line:      #2a4a85;
  --line-soft: #1d3866;

  --text:      #ffffff;
  --text-dim:  var(--lvnl-grijsblauw);
  --text-faint:#8a9bbd;

  --accent: var(--lvnl-oranje);

  --r-sm: 5px;
  --r:    9px;
  --r-lg: 13px;

  --shadow: 0 12px 38px rgba(4, 12, 32, .55);
  --side-w: 262px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Neo Sans W01", "Neo Sans Pro", "Neo Sans", "Segoe UI",
               system-ui, -apple-system, BlinkMacSystemFont, Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--lvnl-oranje); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================ Aanmeldpagina */

.loginpage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  background:
    radial-gradient(125% 85% at 50% -10%, var(--lvnl-blauw) 0%, transparent 62%),
    radial-gradient(90% 60% at 82% 112%, rgba(240, 90, 35, .16) 0%, transparent 58%),
    var(--bg);
}

.loginbox {
  width: 100%;
  max-width: 424px;
  position: relative;
  overflow: hidden;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 34px 32px 26px;
  box-shadow: var(--shadow);
}

.loginbox__brand { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.loginbox::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lvnl-oranje) 0%, var(--lvnl-oranje) 34%, var(--lvnl-blauw) 34%);
}
.loginbox__logo { height: 38px; width: auto; color: #fff; flex: 0 0 auto; }
.loginbox__brand h1 { font-size: 21px; margin: 0; font-weight: 700; letter-spacing: -.01em; }
.loginbox__brand p  { font-size: 13px; margin: 2px 0 0; color: var(--text-dim); }

.loginform { display: flex; flex-direction: column; gap: 15px; }

.loginbox__foot {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 13px;
}

/* ================================================================ Formulier */

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 12.5px; font-weight: 600; color: var(--text-dim); letter-spacing: .02em; }
.field__opt { font-weight: 400; color: var(--text-faint); }
.field__hint { font-size: 12px; color: var(--text-faint); margin-top: 2px; line-height: 1.45; }

input[type=text], input[type=password], input[type=number], input[type=email],
input[type=date], input[type=datetime-local], input[type=time],
select, textarea {
  width: 100%;
  padding: 9px 12px;
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--lvnl-oranje);
  box-shadow: 0 0 0 3px rgba(240, 90, 35, .13);
}
input::placeholder, textarea::placeholder { color: var(--text-faint); }
textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 L6 8.5 L10 4.5' stroke='%239aafc9' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 32px;
}
input[type=color] { padding: 3px; height: 38px; cursor: pointer; }

.checkline { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; user-select: none; }
.checkline input[type=checkbox] {
  width: 17px; height: 17px; accent-color: var(--lvnl-oranje); cursor: pointer; flex: 0 0 auto; margin: 0;
}
.checkline span { line-height: 1.35; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

/* =================================================================== Knoppen */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  background: var(--panel-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  transition: background .15s, border-color .15s, opacity .15s, transform .08s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { background: #24395c; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn--primary { background: var(--lvnl-oranje); color: #fff; font-weight: 650; }
.btn--primary:hover { background: var(--lvnl-oranje-donker); }
.btn--primary:active { background: var(--lvnl-oranje-diep); }
.btn--danger { background: rgba(217, 45, 32,.14); color: var(--lvnl-rood); border-color: rgba(217, 45, 32,.35); }
.btn--danger:hover { background: rgba(217, 45, 32,.24); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text-dim); }
.btn--ghost:hover { background: var(--panel); color: var(--text); }
.btn--sm { padding: 6px 11px; font-size: 13px; }
.btn--icon { padding: 7px 9px; font-size: 15px; line-height: 1; }
.btn--block { width: 100%; padding: 11px; font-size: 15px; }

/* ================================================================= Meldingen */

.alert {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  margin-bottom: 18px;
  border: 1px solid transparent;
  line-height: 1.5;
}
.alert--error { background: rgba(217, 45, 32,.11); border-color: rgba(217, 45, 32,.32); color: #ffb3ba; }
.alert--info  { background: rgba(127, 203, 236,.11); border-color: rgba(127, 203, 236,.3); color: #b9d2ff; }
.alert--warn  { background: rgba(240, 90, 35,.11); border-color: rgba(240, 90, 35,.3); color: #ffd79b; }
.alert--ok    { background: rgba(0, 191, 165,.11); border-color: rgba(0, 191, 165,.3); color: #a6f0c8; }

/* ==================================================================== Layout */

.shell { display: grid; grid-template-columns: var(--side-w) 1fr; min-height: 100vh; }

.side {
  background: linear-gradient(180deg, var(--lvnl-blauw) 0%, var(--lvnl-blauw-donker) 62%, var(--lvnl-blauw-diep) 100%);
  border-right: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.side__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 22px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.side__title { color: #fff; }
.side__sub { color: rgba(255,255,255,.62); }
.side__logo { height: 30px; width: auto; color: #fff; flex: 0 0 auto; }
.side__title { font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.side__sub { font-size: 11.5px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .1em; }

.nav { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 3px; overflow-y: auto; }
.nav__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-dim);
  font-family: inherit;
  font-size: 14px;
  font-weight: 550;
  cursor: pointer;
  text-align: left;
  transition: background .14s, color .14s;
}
.nav__item:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav__item.is-active { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 3px 0 0 var(--lvnl-oranje); }
.nav__icon { width: 18px; text-align: center; opacity: .75; font-size: 13px; flex: 0 0 auto; }
.nav__badge {
  margin-left: auto;
  background: var(--panel);
  color: var(--text-dim);
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nav__item.is-active .nav__badge { background: rgba(240, 90, 35,.16); color: var(--lvnl-oranje); }

.side__foot { padding: 14px 12px; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 12px; }
.side__link {
  display: flex; align-items: center; gap: 11px;
  padding: 8px 12px; border-radius: var(--r-sm);
  color: var(--text-dim); font-size: 13.5px; font-weight: 550;
}
.side__link:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }

.side__user { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.side__avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lvnl-oranje);
  color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.side__userinfo { min-width: 0; }
.side__username { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side__role { font-size: 11.5px; color: var(--text-faint); }
.side__actions { display: flex; gap: 7px; }
.side__actions .btn { flex: 1; justify-content: center; }

.main { padding: 26px 30px 48px; min-width: 0; }

@media (max-width: 860px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: column; }
  .nav { flex-direction: row; flex-wrap: wrap; overflow-x: auto; }
  .nav__item { width: auto; }
  .main { padding: 20px 16px 40px; }
}

/* ================================================================== Pagina's */

.page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.page__title { font-size: 23px; font-weight: 700; margin: 0; letter-spacing: -.015em; }
.page__sub { font-size: 13.5px; color: var(--text-dim); margin: 4px 0 0; max-width: 62ch; line-height: 1.5; }
.page__actions { display: flex; gap: 9px; flex-wrap: wrap; }

.card {
  background: var(--bg-raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 18px 20px;
}
.card__title {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-dim);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cards { display: grid; gap: 16px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1100px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px)  { .cards--3, .cards--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .cards--4 { grid-template-columns: 1fr; } }

/* Statistiektegels */
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat__label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.stat__value { font-size: 30px; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat__note { font-size: 12.5px; color: var(--text-faint); }
.stat--accent .stat__value { color: var(--lvnl-oranje); }

/* ===================================================================== Lijst */

.list { display: flex; flex-direction: column; gap: 9px; }

.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 15px;
  align-items: center;
  background: var(--bg-raise);
  border: 1px solid var(--line-soft);
  border-radius: var(--r);
  padding: 13px 16px;
  transition: border-color .15s, background .15s;
}
.row:hover { border-color: var(--line); background: var(--panel); }
.row.is-off { opacity: .52; }
.row.is-dragging { opacity: .4; border-style: dashed; }
.row.drop-target { border-color: var(--lvnl-oranje); box-shadow: 0 -2px 0 var(--lvnl-oranje) inset; }

.row__handle {
  cursor: grab;
  color: var(--text-faint);
  font-size: 17px;
  line-height: 1;
  padding: 4px 2px;
  user-select: none;
}
.row__handle:active { cursor: grabbing; }

.row__main { min-width: 0; }
.row__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
}
.row__desc {
  font-size: 12.8px;
  color: var(--text-faint);
  margin-top: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.row__actions { display: flex; gap: 6px; align-items: center; flex: 0 0 auto; }
.row__thumb {
  width: 54px; height: 38px;
  border-radius: var(--r-sm);
  object-fit: cover;
  border: 1px solid var(--line);
  flex: 0 0 auto;
  background: var(--bg-sunken);
}

/* Etiketten */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 99px;
  font-size: 11.5px;
  font-weight: 620;
  letter-spacing: .02em;
  border: 1px solid transparent;
  white-space: nowrap;
}
.tag--oranje, .tag--amber, .tag--cyan {
  background: rgba(240, 90, 35, .15); color: #ff8558; border-color: rgba(240, 90, 35, .42); }
.tag--lichtblauw, .tag--blue, .tag--purple {
  background: rgba(127, 203, 236, .14); color: var(--lvnl-lichtblauw); border-color: rgba(127, 203, 236, .34); }
.tag--turquoise, .tag--green {
  background: rgba(0, 191, 165, .15); color: #2fe0c6; border-color: rgba(0, 191, 165, .36); }
.tag--rood, .tag--red {
  background: rgba(217, 45, 32, .16); color: #ff7a6e; border-color: rgba(217, 45, 32, .4); }
.tag--grijsblauw, .tag--slate {
  background: rgba(188, 197, 218, .12); color: var(--lvnl-grijsblauw); border-color: rgba(188, 197, 218, .28); }
.tag--wit { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.35); }
.tag--muted  { background: rgba(255,255,255,.05); color: var(--text-faint); border-color: var(--line); }

.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--live .tag__dot { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .25 } }

/* Schakelaar */
.toggle { position: relative; display: inline-block; width: 40px; height: 22px; flex: 0 0 auto; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle__track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 99px;
  cursor: pointer;
  transition: background .2s;
}
.toggle__track::before {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
}
.toggle input:checked + .toggle__track { background: var(--lvnl-turquoise); }
.toggle input:checked + .toggle__track::before { transform: translateX(18px); }
.toggle input:focus-visible + .toggle__track { box-shadow: 0 0 0 3px rgba(240, 90, 35,.25); }

/* ==================================================================== Tabel */

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-dim);
  font-weight: 650;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { padding: 9px 12px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: rgba(255,255,255,.022); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table__wrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }

/* ================================================================ Lege staat */

.empty {
  text-align: center;
  padding: 46px 24px;
  color: var(--text-faint);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  background: rgba(255,255,255,.012);
}
.empty__icon { font-size: 34px; opacity: .4; margin-bottom: 12px; }
.empty__title { font-size: 15.5px; color: var(--text-dim); font-weight: 600; margin-bottom: 6px; }
.empty__text { font-size: 13.5px; max-width: 46ch; margin: 0 auto 18px; line-height: 1.55; }

/* =================================================================== Modaal */

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 22px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(4, 8, 16, .74); backdrop-filter: blur(3px); }

.modal__box {
  position: relative;
  background: var(--bg-raise);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 660px;
  max-height: calc(100vh - 44px);
  display: flex;
  flex-direction: column;
  animation: modalIn .18s ease;
}
.modal__box--wide { max-width: 900px; }
@keyframes modalIn { from { opacity: 0; transform: translateY(10px) scale(.99); } }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line-soft);
}
.modal__head h2 { font-size: 17px; margin: 0; font-weight: 650; }
.modal__close {
  background: transparent; border: 0; color: var(--text-dim);
  font-size: 25px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.modal__close:hover { color: var(--text); }

.modal__body { padding: 20px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; }
.modal__foot {
  padding: 15px 22px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}
.modal__foot--split { justify-content: space-between; }

/* ================================================================ Meldingen */

.toasts { position: fixed; bottom: 20px; right: 20px; z-index: 300; display: flex; flex-direction: column; gap: 9px; }
.toast {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lvnl-oranje);
  border-radius: var(--r-sm);
  padding: 11px 16px;
  font-size: 13.5px;
  box-shadow: var(--shadow);
  animation: toastIn .2s ease;
  max-width: 380px;
  line-height: 1.45;
}
.toast--ok    { border-left-color: var(--lvnl-turquoise); }
.toast--error { border-left-color: var(--lvnl-rood); }
.toast--warn  { border-left-color: var(--lvnl-oranje); }
@keyframes toastIn { from { opacity: 0; transform: translateX(22px); } }
.toast.is-going { opacity: 0; transition: opacity .3s; }

/* ================================================================== Laden */

.loading { display: flex; align-items: center; justify-content: center; padding: 70px; }
.spinner {
  width: 30px; height: 30px;
  border: 3px solid rgba(255,255,255,.1);
  border-top-color: var(--lvnl-oranje);
  border-radius: 50%;
  animation: spin .85s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* ========================================================== Afbeelding kiezen */

.imagepick {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  padding: 14px;
  background: rgba(255,255,255,.015);
}
.imagepick.is-over { border-color: var(--lvnl-oranje); background: rgba(240, 90, 35,.06); }
.imagepick__preview {
  width: 128px; height: 84px;
  border-radius: var(--r-sm);
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  object-fit: cover;
  flex: 0 0 auto;
}
.imagepick__empty {
  width: 128px; height: 84px;
  border-radius: var(--r-sm);
  background: var(--bg-sunken);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-faint); font-size: 25px; flex: 0 0 auto;
}
.imagepick__side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.imagepick__hint { font-size: 12.3px; color: var(--text-faint); line-height: 1.5; }
.imagepick__bar { height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; display: none; }
.imagepick__bar i { display: block; height: 100%; background: var(--lvnl-oranje); width: 0; transition: width .2s; }

/* ============================================================== Voorbeeld */

.typegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 11px; }
.typecard {
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg-sunken);
  padding: 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s, transform .08s;
  font-family: inherit;
  color: var(--text);
}
.typecard:hover { border-color: var(--lvnl-oranje); background: var(--panel); }
.typecard:active { transform: translateY(1px); }
.typecard__name { font-size: 14.5px; font-weight: 650; margin-bottom: 5px; display: flex; align-items: center; gap: 7px; }
.typecard__desc { font-size: 12.3px; color: var(--text-faint); line-height: 1.45; }
.typecard__auto {
  display: inline-block; margin-top: 9px;
  font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--lvnl-turquoise); background: rgba(0, 191, 165,.12);
  border-radius: 99px; padding: 2px 8px; font-weight: 650;
}

/* ============================================================ Kleurkeuze */

.accentpick { display: flex; gap: 8px; flex-wrap: wrap; }
.accentpick__opt { position: relative; }
.accentpick__opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.accentpick__swatch {
  display: block;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s, border-color .12s;
}
.accentpick__opt input:checked + .accentpick__swatch {
  border-color: var(--text);
  transform: scale(1.12);
  box-shadow: 0 0 0 3px rgba(255,255,255,.1);
}

/* ========================================================== Gezondheidsrij */

.health { display: flex; flex-direction: column; gap: 8px; }
.healthrow {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 11px;
  align-items: center;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line-soft);
}
.healthrow:last-child { border-bottom: 0; }
.healthdot { width: 9px; height: 9px; border-radius: 50%; background: var(--lvnl-turquoise); }
.healthdot--bad { background: var(--lvnl-rood); }
.healthdot--warn { background: var(--lvnl-oranje); }
.healthrow__name { font-weight: 550; }
.healthrow__time { color: var(--text-faint); font-size: 12.3px; font-variant-numeric: tabular-nums; }

/* ================================================================ Logboek */

.logline {
  display: grid;
  grid-template-columns: 128px 106px 1fr;
  gap: 12px;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.logline:last-child { border-bottom: 0; }
.logline__ts { color: var(--text-faint); font-variant-numeric: tabular-nums; }
.logline__who { color: var(--text-dim); font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.logline__what { color: var(--text-dim); }
.logline__what b { color: var(--text); font-weight: 600; }
@media (max-width: 700px) { .logline { grid-template-columns: 1fr; gap: 2px; } }

/* =============================================================== Hulpklassen */

.muted { color: var(--text-dim); }
.faint { color: var(--text-faint); }
.mono  { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: 8px } .mt-2 { margin-top: 16px } .mt-3 { margin-top: 24px }
.mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 16px }
.flex { display: flex } .flex-between { display: flex; justify-content: space-between; align-items: center }
.gap-1 { gap: 8px } .gap-2 { gap: 16px }
.text-sm { font-size: 12.8px }
.w-full { width: 100% }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
