/* Bongers app: ontwerp B (donkerblauw, Archivo, oranje actieknoppen) */
@font-face {
  font-family: 'Archivo';
  src: url(../fonts/archivo-latin.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --navy: #0F2344;
  --panel: #13294D;
  --raised: #172E55;
  --line: #2A4473;
  --line-2: #22385F;
  --deep: #0B1B36;
  --muted: #A9B8D3;
  --soft: #D5DEEE;
  --orange: #FF6A20;
  --blue: #1E58B1;
  --sky: #7FAEF0;
  --red: #FF9A8A;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body {
  margin: 0;
  background: var(--navy);
  color: #FFFFFF;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button svg, a svg { flex-shrink: 0; }
a { color: var(--sky); }
a:hover { color: #A9C8F5; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.boot { min-height: 100dvh; display: flex; align-items: center; justify-content: center; }
.boot img { height: 34px; opacity: .9; }

/* ---------- knoppen en velden ---------- */
.btn {
  min-height: 48px; padding: 0 18px; border-radius: 12px; border: 0;
  font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; white-space: nowrap;
}
.btn.primary { background: var(--orange); color: var(--navy); }
.btn.white { background: #FFFFFF; color: var(--navy); }
.btn.ghost { background: var(--raised); border: 1px solid var(--line); color: #FFFFFF; font-weight: 700; }
.btn.danger { background: transparent; border: 1px solid #6B3A48; color: var(--red); font-weight: 700; }
.btn.small { min-height: 40px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.btn:disabled { opacity: .55; cursor: default; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.icon-btn {
  width: 38px; height: 38px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--raised); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center;
}
.link-btn { background: none; border: 0; color: var(--sky); font-weight: 600; font-size: 15px; padding: 10px 6px; }

.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > label, .field > .label { font-size: 14px; color: var(--muted); font-weight: 600; }
.input {
  width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--deep); color: #FFFFFF; padding: 0 14px; font-size: 16px;
}
.input::placeholder { color: #6F83A8; }
textarea.input { min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 14px) 21px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.input[type="date"], .input[type="time"] { padding-right: 10px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--raised); color: #FFFFFF; font-weight: 700; font-size: 15px;
}
.chip-btn[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; min-height: 44px; }
.check input { width: 22px; height: 22px; accent-color: var(--orange); }
.err { color: var(--red); font-size: 14px; font-weight: 600; min-height: 1em; }
.warn-text { margin: 0; color: var(--orange); font-size: 14px; font-weight: 700; }
.warn-text:empty { display: none; }
.chip-btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.pair-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pair-name { display: flex; flex-direction: column; }
.pair-name b { font-size: 16px; }
.pair-name small { font-size: 12px; color: var(--muted); }
.x-btn { width: 28px; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.x-btn:hover { background: var(--raised); color: var(--red); }
.with { margin: 4px 20px 0; font-size: 15px; color: var(--muted); }
.with b { color: var(--sky); }

/* ---------- melding en paneel ---------- */
#toasts { position: fixed; top: calc(var(--safe-t) + 12px); left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { background: #FFFFFF; color: var(--navy); border-radius: 12px; padding: 12px 16px; font-weight: 700; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); animation: drop .2s ease-out; }
.toast.warn { background: var(--orange); }
.toast.out { opacity: 0; transition: opacity .3s; }

.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(4, 11, 25, .62); display: flex; align-items: flex-end; justify-content: center; animation: fade .15s; }
.sheet {
  width: 100%; max-width: 560px; max-height: 92dvh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--panel); border-top: 1px solid var(--line); border-radius: 20px 20px 0 0;
  padding: 8px 20px calc(20px + var(--safe-b)); animation: rise .2s ease-out; outline: none;
}
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 14px; }
.sheet h2 { margin: 0; font-size: 24px; font-weight: 800; line-height: 1.15; }
.sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sheet-close { flex-shrink: 0; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.actions .btn { flex: 1 1 auto; }
@media (min-width: 900px) {
  .overlay.drawer { align-items: stretch; justify-content: flex-end; }
  .overlay.drawer .sheet { max-width: 480px; max-height: none; height: 100%; border-radius: 0; border-top: 0; border-left: 1px solid var(--line); padding: 24px 28px; animation: slide .2s ease-out; }
  .overlay.drawer .sheet-grip { display: none; }
}
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { transform: translateY(40px); opacity: .4; } }
@keyframes slide { from { transform: translateX(40px); opacity: .4; } }
@keyframes drop { from { transform: translateY(-10px); opacity: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- inloggen ---------- */
.login { min-height: 100dvh; max-width: 460px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 26px; padding: calc(var(--safe-t) + 48px) 20px calc(var(--safe-b) + 28px); }
.login .logo { height: 34px; }
.login h1 { margin: 0; font-size: 26px; font-weight: 800; text-align: center; }
.login .sub { margin: -16px 0 0; color: var(--muted); text-align: center; font-size: 15px; }
.login form { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.login .big-input { min-height: 60px; font-size: 26px; text-align: center; letter-spacing: .2em; font-weight: 700; }
.tiles { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { min-height: 100px; border-radius: 16px; border: 1px solid var(--line); background: var(--raised); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 22px; font-weight: 800; }
.tile small { font-size: 13px; color: var(--muted); font-weight: 600; }
.tile:active { background: var(--line-2); }
.dots { display: flex; gap: 18px; }
.dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); }
.dots i.on { background: var(--orange); border-color: var(--orange); }
.dots.shake { animation: shake .35s; }
.pad { display: grid; grid-template-columns: repeat(3, 78px); gap: 14px 22px; }
.pad button { width: 78px; height: 78px; border-radius: 50%; border: 1px solid var(--line); background: var(--raised); color: #FFFFFF; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pad button:active { background: var(--line); }
.pad .blank { visibility: hidden; }
.pad .soft { background: transparent; border-color: transparent; }
.hint { font-size: 14px; color: var(--muted); text-align: center; }
.login-foot { margin-top: auto; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.login.pin { gap: 16px; padding-top: calc(var(--safe-t) + 28px); }
.login.pin .sub { margin: -8px 0 0; }
.login.pin .pad { grid-template-columns: repeat(3, 72px); gap: 12px 24px; }
.login.pin .pad button { width: 72px; height: 72px; font-size: 28px; }
.login.pin .login-foot { margin-top: 0; }

/* ---------- telefoon (monteur) ---------- */
.m { height: 100dvh; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; overflow: hidden; background: var(--navy); }
.m-head { flex-shrink: 0; min-height: calc(56px + var(--safe-t)); padding: var(--safe-t) 12px 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.m-head img { height: 22px; display: block; }
.m-who { border: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 10px 8px; display: flex; align-items: center; gap: 6px; }
.m-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.m-page { padding: 4px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.m-page h1 { margin: 0; font-size: 28px; font-weight: 800; }

.hero { padding: 8px 20px 20px; display: flex; flex-direction: column; gap: 14px; }
.hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.hero-time { font-size: 60px; font-weight: 800; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: var(--muted); padding-bottom: 4px; text-align: right; }
.state.bezig { color: var(--orange); }
.state.onderweg { color: var(--sky); }
.state .dot { width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.hero h1 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.1; }
.hero .what { font-size: 17px; color: var(--soft); }
.hero .where { font-size: 16px; color: var(--muted); }
.hero-text { display: flex; flex-direction: column; gap: 4px; }
.note { display: flex; gap: 10px; align-items: flex-start; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 15px; color: var(--soft); line-height: 1.4; }
.note svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.btn-big { width: 100%; min-height: 62px; border: 0; border-radius: 14px; background: var(--orange); color: var(--navy); font-size: 21px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.btn-big:hover { color: var(--navy); }
.btn-big:active { transform: translateY(1px); filter: brightness(.96); }
.btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.btn-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.btn-sub { min-height: 50px; border: 1px solid var(--line); border-radius: 14px; background: var(--raised); color: #FFFFFF; font-size: 16px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; padding: 0 8px; }
.btn-sub:hover { color: #FFFFFF; }
.btn-sub[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.hero-empty { padding: 28px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.hero-empty h1 { margin: 0; font-size: 30px; font-weight: 800; }

.route { flex-grow: 1; background: var(--panel); border-top: 1px solid var(--line); padding: 16px 20px 20px; }
.route h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tl { display: flex; gap: 14px; min-height: 58px; width: 100%; border: 0; background: none; padding: 0; text-align: left; color: #FFFFFF; }
.tl-rail { width: 22px; display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; border: 3px solid #5A75A6; flex-shrink: 0; }
.tl-line { width: 3px; flex-grow: 1; background: var(--line); }
.tl.done .tl-dot { width: 18px; height: 18px; border: 0; background: var(--orange); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.tl.done .tl-line { background: var(--orange); }
.tl.now .tl-dot { background: var(--navy); border: 4px solid var(--orange); }
.tl:last-of-type .tl-line { display: none; }
.tl-main { display: flex; gap: 12px; padding-bottom: 14px; min-width: 0; }
.tl-time { width: 46px; flex-shrink: 0; font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; }
.tl-text { display: flex; flex-direction: column; min-width: 0; }
.tl-text b { font-size: 16px; font-weight: 600; }
.tl-text span { font-size: 14px; color: var(--muted); }
.tl.done { color: var(--muted); }
.tl.done .tl-text b { text-decoration: line-through; }
.tl.now .tl-time { color: var(--orange); font-weight: 800; }
.tl.now .tl-text b { font-weight: 700; }
.later { margin-top: 6px; font-size: 15px; color: var(--muted); }

.stamp { flex-shrink: 0; background: var(--panel); padding: 10px 16px; }
.stamp-in { min-height: 60px; border-radius: 14px; background: var(--blue); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 8px 8px 16px; }
.stamp.off .stamp-in { background: var(--raised); border: 1px solid var(--line); }
.stamp-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.stamp-text small { font-size: 13px; color: var(--soft); }
.stamp-text b { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stamp button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: #FFFFFF; color: var(--navy); font-size: 16px; font-weight: 700; flex-shrink: 0; }
.stamp.off button { background: var(--orange); font-weight: 800; }

.tabs { flex-shrink: 0; background: var(--deep); padding-bottom: var(--safe-b); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tabs a { height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.tabs a[aria-current="page"] { color: var(--orange); font-weight: 700; }

.install { margin: 0 16px 12px; padding: 12px 12px 12px 14px; border-radius: 14px; background: var(--raised); border: 1px solid var(--line); display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--soft); }
.install b { color: #FFFFFF; }
.install .grow { flex-grow: 1; }

.punch { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px 12px; font-variant-numeric: tabular-nums; }
.punch-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 10px; }
.punch-head h2 { margin: 0; font-size: 20px; font-weight: 800; }
.punch-head .nav { display: flex; gap: 6px; }
.punch-row { display: grid; grid-template-columns: 66px 1fr 1fr 62px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: 17px; }
.punch-row.head { border-top: 0; font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.punch-row .d { font-weight: 700; }
.punch-row .h { text-align: right; font-weight: 800; }
.punch-row.today { color: var(--orange); }
.punch-row.empty { color: #5F739A; }
.punch-total { display: flex; justify-content: space-between; border-top: 2px solid #FFFFFF; margin-top: 4px; padding-top: 10px; font-size: 19px; font-weight: 800; }

.search { position: sticky; top: 0; z-index: 2; background: var(--navy); padding: 4px 0 8px; }
.list { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.list-item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 0; border-top: 1px solid var(--line-2); background: none; color: #FFFFFF; text-align: left; text-decoration: none; width: 100%; }
.list-item:first-child { border-top: 0; }
.list-item:hover { background: var(--raised); color: #FFFFFF; }
.list-item .grow { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.list-item b { font-size: 17px; font-weight: 700; }
.list-item span { font-size: 14px; color: var(--muted); }
.list-item svg { flex-shrink: 0; color: var(--muted); }
.empty-msg { padding: 24px 16px; text-align: center; color: var(--muted); }

.back { align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; color: var(--sky); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.kv { display: flex; flex-direction: column; gap: 2px; }
.kv small { font-size: 13px; color: var(--muted); font-weight: 600; }
.history { display: flex; flex-direction: column; gap: 0; }
.history-item { padding: 12px 0; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 3px; }
.history-item:first-child { border-top: 0; }
.history-item .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 600; }
.history-item b { font-size: 16px; }
.history-item p { margin: 0; font-size: 15px; color: var(--soft); line-height: 1.4; }
.section-title { margin: 6px 0 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.box { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 4px 16px; }

/* ---------- beheer (computer) ---------- */
.b { min-height: 100dvh; background: var(--navy); }
.b-head { border-bottom: 1px solid var(--line); }
.b-head-in { max-width: 1280px; margin: 0 auto; padding: var(--safe-t) 24px 0; min-height: 68px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.b-head img { height: 28px; display: block; }
.b-nav { display: flex; flex-wrap: wrap; gap: 4px; flex-grow: 1; }
.b-nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px; text-decoration: none; }
.b-nav a:hover { color: #FFFFFF; }
.b-nav a[aria-current="page"] { background: var(--raised); color: #FFFFFF; font-weight: 700; box-shadow: inset 0 -3px 0 var(--orange); }
.b-tools { display: flex; align-items: center; gap: 12px; }
.btn-new { min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--orange); color: var(--navy); font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #FFFFFF; color: var(--navy); font-weight: 800; font-size: 16px; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 230px; background: var(--raised); border: 1px solid var(--line); border-radius: 14px; padding: 6px; box-shadow: 0 14px 40px rgba(0, 0, 0, .4); display: flex; flex-direction: column; }
.menu button { border: 0; background: none; color: #FFFFFF; text-align: left; padding: 12px 12px; border-radius: 10px; font-weight: 600; }
.menu button:hover { background: var(--line-2); }

.b-main { max-width: 1280px; margin: 0 auto; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.b-col { flex: 999 1 640px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.b-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.b-wide { width: 100%; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.titlebar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.titlebar-l { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.titlebar h1 { margin: 0; font-size: 26px; font-weight: 800; }
.titlebar h1 button { border: 0; background: none; color: inherit; font: inherit; padding: 0; }
.seg { display: flex; gap: 2px; padding: 3px; margin-left: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 11px; }
.seg.flat { margin-left: 0; }
.seg button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.seg button[aria-pressed="true"] { background: #FFFFFF; color: var(--navy); }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); margin-left: auto; }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 10px; border-radius: 3px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.card-pad { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.card h2, .b-col h2.h { margin: 0; font-size: 18px; font-weight: 800; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.badge { background: var(--orange); color: var(--navy); border-radius: 999px; font-size: 13px; padding: 1px 8px; font-weight: 800; }
.tag-spoed { color: var(--orange); font-weight: 800; font-size: 12px; letter-spacing: .06em; }

.pb { overflow-x: auto; }
.pb-in { min-width: 760px; padding: 8px 16px 16px; }
.pb-hours { display: flex; height: 30px; align-items: flex-end; color: var(--muted); font-size: 12px; font-weight: 600; }
.pb-hours .lbl, .pb-name { width: 120px; flex-shrink: 0; }
.pb-hours .grid { flex-grow: 1; display: grid; }
.pb-rows { position: relative; }
.pb-row { display: flex; height: 64px; align-items: center; border-top: 1px solid var(--line-2); }
.pb-name { display: flex; flex-direction: column; }
.pb-name b { font-size: 16px; font-weight: 700; }
.pb-name small { font-size: 12px; font-weight: 600; color: var(--muted); }
.pb-name small.bezig { color: var(--orange); }
.pb-name small.onderweg { color: var(--sky); }
.pb-name small.los { color: var(--orange); font-weight: 800; }
.pb-lane { flex-grow: 1; position: relative; height: 46px; cursor: cell; border-radius: 10px; }
.pb-lane:hover { background: rgba(127, 174, 240, .06); }
.blk { position: absolute; border: 0; border-radius: 10px; padding: 6px 10px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; text-align: left; min-width: 0; }
.blk b { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk span { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.blk.gepland { background: var(--blue); color: #FFFFFF; }
.blk.onderweg { background: var(--blue); color: #FFFFFF; box-shadow: inset 0 0 0 2px var(--sky); }
.blk.bezig { background: var(--orange); color: var(--navy); }
.blk.bezig b { font-weight: 800; }
.blk.bezig span { font-weight: 600; }
.blk.klaar { background: var(--line-2); color: var(--muted); }
.blk:hover { filter: brightness(1.08); }
.now-line { position: absolute; top: -8px; bottom: 0; width: 2px; background: #FFFFFF; pointer-events: none; }
.now-tag { position: absolute; top: -30px; transform: translateX(-50%); background: #FFFFFF; color: var(--navy); font-size: 12px; font-weight: 800; padding: 2px 6px; border-radius: 6px; pointer-events: none; }
.pb-empty { padding: 28px 16px; text-align: center; color: var(--muted); }

.todo { display: flex; align-items: center; gap: 10px; background: var(--raised); border-radius: 12px; padding: 12px; }
.todo .grow { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.todo b { font-weight: 700; }
.todo span { font-size: 14px; color: var(--muted); }
.bar-row { display: flex; flex-direction: column; gap: 4px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: 15px; }
.bar { height: 8px; border-radius: 4px; background: var(--line-2); overflow: hidden; }
.bar i { display: block; height: 8px; border-radius: 4px; background: var(--orange); }

.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.person { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-align: left; color: #FFFFFF; padding: 0; display: flex; flex-direction: column; }
.person-head { background: var(--raised); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; box-shadow: inset 0 -3px 0 var(--st, var(--line)); }
.person-head b { font-size: 19px; font-weight: 800; }
.person-head b small { font-size: 15px; font-weight: 600; color: var(--muted); }
.person-head .st { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--st, var(--muted)); text-transform: uppercase; }
.person-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.person-body b { font-size: 18px; font-weight: 700; }
.person-body span { font-size: 15px; }
.person-body small { font-size: 14px; color: var(--muted); }
button.person:hover .person-head { background: #1B3562; }

.tbl-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.tbl th { text-align: left; color: var(--muted); font-size: 13px; font-weight: 600; padding: 12px 16px; white-space: nowrap; }
.tbl td { padding: 11px 16px; border-top: 1px solid var(--line-2); vertical-align: top; }
.tbl tbody tr.click { cursor: pointer; }
.tbl tbody tr.click:hover td { background: var(--raised); }
.tbl .r { text-align: right; }
.tbl .strong { font-weight: 800; }
.tbl .dim { color: var(--muted); }
.tbl .sky { color: var(--sky); font-weight: 700; }
.tbl .or { color: var(--orange); font-weight: 700; }
.tbl.uren th, .tbl.uren td { padding-left: 6px; padding-right: 6px; text-align: right; vertical-align: middle; }
.tbl.uren th:first-child, .tbl.uren td:first-child { padding-left: 16px; text-align: left; }
.tbl.uren th:last-child, .tbl.uren td:last-child { padding-right: 16px; }
.cell-btn { width: 100%; min-height: 40px; border: 0; border-radius: 8px; background: none; color: inherit; font: inherit; text-align: right; padding: 0 6px; }
.cell-btn:hover { background: var(--raised); }
.cell-btn .warn { color: var(--orange); font-weight: 800; }
.status-pill { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.status-pill.gepland { color: var(--muted); }
.status-pill.onderweg { color: var(--sky); }
.status-pill.bezig { color: var(--orange); }
.status-pill.klaar { color: #7FD8A6; }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.toolbar .input { max-width: 320px; }
.foot-row { border-top: 1px dashed var(--line); padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.foot-row small { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.foot-row small i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }

.sugg { display: flex; flex-direction: column; background: var(--deep); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.sugg button { border: 0; border-top: 1px solid var(--line-2); background: none; color: #FFFFFF; text-align: left; padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.sugg button:first-child { border-top: 0; }
.sugg button:hover, .sugg button:focus-visible { background: var(--raised); }
.sugg button span { font-size: 13px; color: var(--muted); }
.sugg button.new b { color: var(--orange); }
.picked { display: flex; align-items: center; gap: 12px; background: var(--raised); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 10px 14px; }
.picked .grow { flex-grow: 1; min-width: 0; display: flex; flex-direction: column; }
.picked span { font-size: 14px; color: var(--muted); }
.entry { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: end; padding: 10px 0; border-top: 1px solid var(--line-2); }
.entry:first-child { border-top: 0; }
.entry .flag { grid-column: 1 / -1; color: var(--orange); font-size: 13px; font-weight: 700; }

@media (max-width: 640px) {
  .b-head-in, .b-main { padding-left: 16px; padding-right: 16px; }
  .b-main { padding-top: 16px; }
  .seg { margin-left: 0; }
  .b-tools { width: 100%; justify-content: space-between; }
}
