/* ---------- Huisstijl Den Hartog Riet (afgeleid van hartogriet.nl) ---------- */
@font-face { font-family: Akatab; font-weight: 400; font-display: swap; src: url(assets/fonts/Akatab-Regular.woff2) format("woff2"); }
@font-face { font-family: Akatab; font-weight: 500; font-display: swap; src: url(assets/fonts/Akatab-Medium.woff2) format("woff2"); }
@font-face { font-family: Akatab; font-weight: 600; font-display: swap; src: url(assets/fonts/Akatab-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Akatab; font-weight: 700; font-display: swap; src: url(assets/fonts/Akatab-Bold.woff2) format("woff2"); }

:root {
  --navy: #151a42;
  --navy-2: #1e3562;
  --navy-soft: #2a3060;
  --gold: #e1a928;
  --gold-hover: #cf9918;
  --gold-soft: #f7ecd0;
  --olive: #918f23;
  --olive-dark: #6e6c12;
  --olive-soft: #eeedd6;
  --cream: #f5f3ec;
  --cream-2: #faf9f6;
  --white: #fff;
  --line: #e4dfd0;
  --line-2: #efebe1;
  --muted: #676b84;
  --rust: #b0472d;
  --rust-soft: #f8e6df;
  --serif: "Noto Serif JP", Georgia, Cambria, "Times New Roman", serif;
  --sans: Akatab, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --safe-top: 54px;
  --safe-bottom: 30px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--sans);
  color: var(--navy);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
svg { flex: none; }

/* ---------- Bureaublad-podium ---------- */
.stage {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(340px, 480px) auto;
  justify-content: center;
  align-items: center;
  gap: clamp(32px, 6vw, 110px);
  padding: 20px 32px;
  background:
    radial-gradient(1200px 700px at 85% 50%, rgba(225, 169, 40, .10), transparent 60%),
    linear-gradient(180deg, var(--cream-2), var(--cream));
}
.brief { align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; padding: 16px 0; max-height: 920px; }
.brief__logo { width: 200px; }
.brief__body { margin: 24px 0; }
.suptitle { margin: 0 0 10px; color: var(--olive); font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.brief h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.2; margin: 0 0 16px; text-wrap: balance; }
.brief__lead { font-size: 17px; line-height: 1.55; margin: 0 0 28px; color: #2b3058; }
.brief__steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 12px; }
.brief__steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: #2b3058; }
.brief__steps li p { margin: 3px 0 0; }
.brief__steps li span {
  width: 28px; height: 28px; display: grid; place-items: center; font-weight: 600; font-size: 14px;
  background: var(--navy); color: var(--gold);
}
.brief__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.brief__foot { font-size: 12.5px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 420px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 20px; font-weight: 500; font-size: 16px; line-height: 1;
  transition: background .2s, color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--navy); color: var(--gold); }
.btn--ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(21, 26, 66, .25); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--navy); }

/* ---------- iPhone ---------- */
.device-wrap { width: calc(433px * var(--s, 1)); height: calc(882px * var(--s, 1)); position: relative; }
.device {
  position: absolute; left: 0; top: 0;
  width: 433px; height: 882px; padding: 15px;
  transform: scale(var(--s)); transform-origin: 0 0;
  border-radius: 68px;
  background: linear-gradient(145deg, #4a4a4f, #1d1d20 40%, #2c2c30 70%, #4b4b50);
  box-shadow:
    inset 0 0 0 1.5px #66666c,
    inset 0 0 0 6px #121214,
    0 50px 90px -30px rgba(21, 26, 66, .55),
    0 25px 40px -20px rgba(21, 26, 66, .35);
}
.device__btn { position: absolute; width: 4px; background: #3a3a3e; border-radius: 2px; }
.device__btn--action { left: -3px; top: 150px; height: 32px; }
.device__btn--vol-up { left: -3px; top: 210px; height: 58px; }
.device__btn--vol-down { left: -3px; top: 282px; height: 58px; }
.device__btn--power { right: -3px; top: 240px; height: 92px; }

.screen {
  position: relative; width: 403px; height: 852px; overflow: hidden;
  border-radius: 54px; background: #000; isolation: isolate;
  container-type: inline-size;
}

/* Statusbalk */
.statusbar {
  position: absolute; z-index: 50; top: 0; left: 0; right: 0; height: var(--safe-top);
  display: flex; align-items: center; justify-content: space-between;
  padding: 4px 30px 0 46px; pointer-events: none;
  color: var(--navy); transition: color .3s;
}
.status-light .statusbar { color: #fff; }
.statusbar__time { font-family: -apple-system, "SF Pro Text", var(--sans); font-weight: 600; font-size: 17px; letter-spacing: -.01em; width: 54px; text-align: center; }
.statusbar__icons { display: flex; gap: 6px; align-items: center; }
.statusbar__icons svg { fill: currentColor; }
.island {
  position: absolute; left: 50%; top: 11px; transform: translateX(-50%);
  width: 124px; height: 36px; border-radius: 20px; background: #000;
}
.home-indicator {
  position: absolute; z-index: 60; left: 50%; bottom: 8px; transform: translateX(-50%);
  width: 140px; height: 5px; border-radius: 3px; background: rgba(21, 26, 66, .9);
  opacity: 0; pointer-events: none; transition: opacity .3s, background .3s;
}
.home-indicator::before { content: ""; position: absolute; inset: -14px -20px; }
.app-open .home-indicator { opacity: 1; pointer-events: auto; }
.app-open.status-light .home-indicator { background: rgba(255, 255, 255, .85); }
.home-indicator:hover { background: var(--gold) !important; }

/* ---------- Beginscherm ---------- */
.home {
  position: absolute; inset: 0;
  padding: calc(var(--safe-top) + 14px) 24px 0;
  background: #2a2a2a url(assets/img/wallpaper.jpg) center / cover;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), filter .5s var(--ease);
}
.home::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .35));
}
.home > * { position: relative; }
.app-open .home { transform: scale(.92); filter: blur(4px) brightness(.8); }

.home__widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 6px 0 22px; }
.widget {
  height: 158px; border-radius: 22px; padding: 14px 15px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-family: -apple-system, "SF Pro Text", var(--sans);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
}
.widget__day { color: #e5484d; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.widget__date { font-size: 30px; line-height: 1; font-weight: 400; color: #1c1c1e; margin: 2px 0 10px; }
.widget__event { display: flex; gap: 7px; margin-top: 6px; }
.widget__event i { width: 3.5px; border-radius: 2px; background: var(--gold); }
.widget__event--alt i { background: var(--olive); }
.widget__event b { display: block; font-size: 12px; color: #1c1c1e; }
.widget__event span { display: block; font-size: 11px; color: #6c6c70; }
.widget--weather { background: linear-gradient(180deg, #5d7ea8, #8ea7c4); color: #fff; }
.widget__place { font-size: 13px; font-weight: 600; }
.widget__temp { font-size: 42px; font-weight: 300; line-height: 1.05; }
.widget__sun { margin-top: 12px; }
.widget__desc { font-size: 11px; font-weight: 600; margin-top: 4px; line-height: 1.35; }

.home__grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 20px; column-gap: 8px; justify-items: center; }
.app { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; }
.app__icon {
  width: 62px; height: 62px; border-radius: 15px; display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .22); transition: transform .15s;
}
.app__icon svg { width: 36px; height: 36px; }
.app:active .app__icon { transform: scale(.92); }
.app__label { font-family: -apple-system, "SF Pro Text", var(--sans); font-size: 11.5px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .55); white-space: nowrap; }
.app.bump .app__icon { animation: bump .35s; }
@keyframes bump { 40% { transform: scale(.88); } }

.app--dhr .app__icon { background: var(--navy); }
.app--dhr .app__icon img { width: 100%; height: 100%; border-radius: 15px; }
.app__hint {
  position: absolute; top: 96px; left: 50%; transform: translateX(-24px); z-index: 2;
  background: var(--gold); color: var(--navy); font-family: var(--sans); font-weight: 600; font-size: 13px;
  padding: 7px 10px; white-space: nowrap; pointer-events: none;
  animation: hint 1.8s ease-in-out infinite;
}
.app__hint::after { content: ""; position: absolute; left: 18px; top: -6px; border: 6px solid transparent; border-top: 0; border-bottom-color: var(--gold); }
.app--dhr .app__icon::after {
  content: ""; position: absolute; inset: -5px; border-radius: 19px; border: 2px solid var(--gold);
  animation: ring 1.8s ease-out infinite; pointer-events: none;
}
.app--dhr .app__icon { position: relative; overflow: visible; }
.app--dhr.seen .app__icon::after, .app--dhr.seen .app__hint { display: none; }
@keyframes hint { 50% { transform: translate(-24px, 4px); } }
@keyframes ring { 0% { opacity: .9; transform: scale(.95); } 100% { opacity: 0; transform: scale(1.2); } }

.ic-camera { background: linear-gradient(#e9e9ec, #c9c9ce); }
.ic-photos { background: #fff; }
.ic-maps { background: linear-gradient(135deg, #9fd59a, #63b0e5); }
.ic-notes { background: linear-gradient(#ffd85a 0 26%, #fffdf6 26%); }
.ic-clock { background: #111; }
.ic-calc { background: #1c1c1e; }
.ic-settings { background: linear-gradient(#8e8e93, #636366); }
.ic-phone { background: linear-gradient(#5ef37c, #29c24a); }
.ic-browser { background: #fff; }
.ic-messages { background: linear-gradient(#5ef37c, #29c24a); }
.ic-mail { background: linear-gradient(#5ab8ff, #1f7ae0); }

.home__search {
  margin: auto auto 14px; display: flex; align-items: center; gap: 5px;
  padding: 7px 13px; border-radius: 20px; font-family: -apple-system, var(--sans); font-size: 13px; font-weight: 500;
  color: #fff; background: rgba(255, 255, 255, .26); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.dock {
  margin: 0 -12px 12px; padding: 16px 18px; border-radius: 36px;
  display: grid; grid-template-columns: repeat(4, 1fr); justify-items: center;
  background: rgba(255, 255, 255, .25); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}

/* ---------- App-venster ---------- */
.appwin {
  position: absolute; inset: 0; z-index: 20;
  background: var(--cream-2); overflow: hidden;
  border-radius: 54px;
  opacity: 0; pointer-events: none;
  transform: translate(var(--from-x, 0), var(--from-y, 0)) scale(.14);
  transition: transform .5s var(--ease), opacity .25s, border-radius .5s var(--ease);
}
.app-open .appwin { opacity: 1; pointer-events: auto; transform: none; border-radius: 0; }
.splash {
  position: absolute; inset: 0; z-index: 40; background: var(--cream-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  transition: opacity .4s;
}
.splash img { width: 230px; }
.splash__bar { width: 120px; height: 3px; background: var(--line); overflow: hidden; }
.splash__bar i { display: block; height: 100%; width: 40%; background: var(--gold); animation: load 1s var(--ease) infinite; }
@keyframes load { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.splash.gone { opacity: 0; pointer-events: none; }

.views { position: absolute; inset: 0; overflow: hidden; }
.view {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--cream-2); overflow: hidden;
  transition: transform .42s var(--ease), filter .42s var(--ease);
  will-change: transform;
}
.view.is-right { transform: translateX(100%); }
.view.is-left { transform: translateX(-30%); filter: brightness(.94); }
.view.is-up { transform: translateY(100%); }
.view.no-anim { transition: none; }
.scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.scroll::-webkit-scrollbar { display: none; }

/* Kop */
.hdr { padding: calc(var(--safe-top) + 4px) 16px 14px; background: var(--cream-2); border-bottom: 1px solid var(--line); flex: none; }
.hdr__back {
  display: inline-flex; align-items: center; gap: 2px; margin: 0 0 8px -6px; padding: 4px 6px;
  font-size: 16px; font-weight: 500; color: var(--navy-2);
}
.hdr__back svg { width: 22px; height: 22px; }
.hdr__back:active { opacity: .6; }
.hdr h1 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.25; margin: 0; }
.hdr h1 .nr { color: var(--olive-dark); }
.hdr__sub { margin: 3px 0 0; font-size: 15px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Inloggen ---------- */
.login { background: var(--cream); }
.login__hero { height: 300px; position: relative; flex: none; background: url(assets/img/login-hero.jpg) center 35% / cover; }
.login__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 26, 66, .55) 0%, rgba(21, 26, 66, .05) 45%, rgba(21, 26, 66, .0) 70%); }
.login__card { position: relative; margin: -86px 16px 0; background: #fff; padding: 26px 22px 22px; box-shadow: 0 14px 40px -18px rgba(21, 26, 66, .35); }
.login__card .logo { width: 170px; margin: 0 0 20px; }
.login__card h1 { font-family: var(--serif); font-weight: 500; font-size: 25px; margin: 0 0 4px; }
.login__card > p { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.field { display: block; margin-bottom: 14px; }
.field__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; letter-spacing: .02em; }
.field__ctrl { position: relative; display: block; }
.input {
  width: 100%; height: 50px; padding: 0 14px; font-size: 16px; color: var(--navy);
  border: 1px solid #d5d0c1; background: var(--cream-2); border-radius: 2px; outline: none;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.input:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(225, 169, 40, .35); }
.input.has-error { border-color: var(--rust); }
.field__eye { position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--muted); }
.field__eye svg { width: 20px; height: 20px; }
.btn-primary {
  width: 100%; height: 54px; display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--gold); color: var(--navy); font-weight: 600; font-size: 17px;
  transition: background .2s, color .2s, opacity .2s;
}
.btn-primary:active { background: var(--navy); color: var(--gold); }
.btn-primary[disabled], .btn-primary.is-disabled { opacity: .45; }
.btn-primary svg { width: 20px; height: 20px; }
.link { display: block; margin: 16px auto 0; color: var(--navy-2); font-size: 15px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; margin: 0 0 14px; font-size: 14px; line-height: 1.4; background: var(--rust-soft); color: #7d2d19; }
.alert svg { width: 18px; height: 18px; margin-top: 1px; }
.alert--ok { background: var(--olive-soft); color: #4b4a0c; }
.spinner { width: 18px; height: 18px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.demo { padding: 22px 16px calc(var(--safe-bottom) + 10px); }
.demo__title { color: var(--olive-dark); font-weight: 600; font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 10px 2px; }
.demo__list { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
.demo__list::-webkit-scrollbar { display: none; }
.persona {
  flex: none; width: 112px; padding: 12px 10px 11px; background: #fff; border: 1px solid var(--line);
  text-align: left; transition: border-color .15s, transform .1s;
}
.persona:active { transform: scale(.97); }
.persona.is-active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.persona img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; margin-bottom: 8px; }
.persona b { display: block; font-size: 13.5px; line-height: 1.2; font-weight: 600; }
.persona span { display: inline-block; margin-top: 5px; font-size: 11.5px; font-weight: 600; padding: 2px 6px; background: var(--cream); }
.persona span.r-Uitvoerder { background: var(--navy); color: var(--gold); }
.persona span.r-Geblokkeerd { background: var(--rust-soft); color: var(--rust); }

/* ---------- Projecten ---------- */
.proj-hdr { background: var(--navy); color: #fff; padding: calc(var(--safe-top) + 6px) 16px 16px; flex: none; position: relative; overflow: hidden; }
.proj-hdr::after {
  content: ""; position: absolute; right: -40px; top: 10px; width: 210px; height: 210px; opacity: .08;
  background: url(assets/img/apple-touch-icon.png) center / contain no-repeat; pointer-events: none;
}
.proj-hdr__top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.proj-hdr__hello { font-size: 15px; color: rgba(255, 255, 255, .75); }
.proj-hdr__hello b { color: var(--gold); font-weight: 600; }
.proj-hdr h1 { font-family: var(--serif); font-weight: 500; font-size: 30px; margin: 2px 0 14px; position: relative; z-index: 1; }
.avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px var(--gold); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.search { position: relative; z-index: 1; }
.search svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search .input { padding-left: 40px; height: 46px; border-color: transparent; background: #fff; }
.search__clear { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: none; place-items: center; color: var(--muted); }
.search__clear svg { position: static; transform: none; width: 16px; height: 16px; }
.search.has-value .search__clear { display: grid; }
.proj-hdr .search .input:focus { box-shadow: 0 0 0 3px rgba(225, 169, 40, .55); }

.seg { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; padding: 3px; background: rgba(255, 255, 255, .1); position: relative; z-index: 1; }
.seg button { height: 36px; font-size: 14.5px; font-weight: 500; color: rgba(255, 255, 255, .8); display: flex; align-items: center; justify-content: center; gap: 6px; }
.seg button.is-active { background: var(--gold); color: var(--navy); font-weight: 600; }
.seg button em { font-style: normal; font-size: 12px; opacity: .75; }

.list-meta { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 18px 8px; font-size: 13px; color: var(--muted); }
.list-meta b { color: var(--olive-dark); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.projects { padding: 0 12px calc(var(--safe-bottom) + 16px); display: grid; gap: 10px; }
.pcard { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.pcard__body { min-width: 0; padding: 12px 14px 10px; cursor: pointer; }
.pcard__body:active { background: var(--cream-2); }
.pcard__head { display: flex; align-items: center; gap: 6px; }
.pcard__title { font-weight: 700; font-size: 17px; line-height: 1.25; color: var(--olive-dark); margin: 7px 0 5px; }
.pcard__row { display: flex; align-items: center; gap: 6px; font-size: 13.5px; line-height: 1.35; color: #3b4062; margin-top: 2px; }
.pcard__row svg { width: 14px; height: 14px; color: var(--olive); flex: none; }
.pcard__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pcard__nr { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: .03em; padding: 2px 7px; background: var(--navy); color: #fff; }
.pcard__pending { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 7px; background: var(--gold-soft); color: #7a5a08; }
.pcard__actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 0 10px 10px 14px; }
.pcard__book, .pcard__eye { height: 44px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 15px; font-weight: 600; }
.pcard__book { background: var(--gold); color: var(--navy); }
.pcard__book:active { background: var(--navy); color: var(--gold); }
.pcard__eye { padding: 0 14px; border: 1px solid var(--line); color: var(--navy); background: var(--cream-2); }
.pcard__book svg, .pcard__eye svg { width: 19px; height: 19px; }
.pcard__eye:active { background: var(--navy); color: var(--gold); }
.empty { text-align: center; padding: 40px 28px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.empty svg { width: 34px; height: 34px; color: var(--olive); margin: 0 auto 10px; display: block; }
mark { background: var(--gold-soft); color: inherit; padding: 0 1px; }

/* ---------- Materialen boeken ---------- */
.badge { min-width: 24px; height: 24px; padding: 0 7px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--navy); color: var(--gold); }
.badge.pop { animation: pop .4s; }
@keyframes pop { 40% { transform: scale(1.35); } }
.review__list { background: #fff; border-top: 1px solid var(--line); }
.btn-primary .badge { margin-left: 2px; }

.phase-h {
  position: sticky; top: 0; z-index: 2;
  padding: 12px 16px 6px; background: var(--cream-2); border-bottom: 1px solid var(--line);
}
.phase-h__cols { margin-top: 4px !important; }
.phase-h__name { font-weight: 600; font-size: 14px; }
.phase-h__name em { font-style: normal; color: var(--olive-dark); margin-right: 6px; font-weight: 700; }
.phase-h__col { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); text-align: right; text-transform: uppercase; }
.phase-h__col--tb { text-align: center; }

.pline { padding: 10px 16px 11px; border-bottom: 1px solid var(--line-2); background: #fff; transition: background .4s; }
.pline.flash { background: var(--gold-soft); }
.pline__desc { font-size: 15px; line-height: 1.3; font-weight: 500; }
.pline__grid { display: grid; grid-template-columns: 1fr 46px 56px 72px 74px; column-gap: 6px; align-items: center; margin-top: 6px; }
.unit { font-size: 12.5px; color: var(--muted); }
.unit b { display: inline-block; font-weight: 600; color: var(--navy); background: var(--cream); padding: 1px 6px; margin-right: 6px; }
.num { text-align: right; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.num--muted { color: var(--muted); }
.qty {
  width: 100%; height: 40px; text-align: center; font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
  border: 1px solid #d5d0c1; background: var(--cream-2); border-radius: 2px; outline: none; padding: 0 4px;
}
.qty:focus { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(225, 169, 40, .35); }
.qty.is-neg { color: var(--rust); }
.qty.shake { animation: shake .35s; border-color: var(--rust); }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.save-btn { width: 100%; height: 40px; display: flex; align-items: center; justify-content: center; gap: 4px; background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 600; }
.save-btn svg { width: 16px; height: 16px; }
.save-btn:active { background: var(--navy); color: var(--gold); }
.pline__note { margin-top: 6px; font-size: 12.5px; color: #7a5a08; display: flex; gap: 5px; align-items: center; }
.pline__note svg { width: 14px; height: 14px; }

.tline { display: grid; grid-template-columns: 1fr 82px 34px; gap: 8px; align-items: center; padding: 9px 12px 9px 16px; border-bottom: 1px solid var(--line-2); }
.tline.new { animation: newrow 1.2s; }
@keyframes newrow { from { background: var(--gold-soft); } to { background: #fff; } }
.tline__desc { font-size: 14.5px; line-height: 1.3; font-weight: 500; }
.tline__meta { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.tline__meta .ret { color: var(--rust); font-weight: 600; }
.tline__meta .extra { color: var(--olive-dark); font-weight: 600; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:active { color: var(--rust); }
.tphase { padding: 8px 16px 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--olive-dark); background: #fff; }

.toolbar {
  flex: none; display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 8px; align-items: center;
  padding: 8px 12px calc(var(--safe-bottom) + 4px); background: var(--navy);
}
.tool { height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #fff; font-size: 12px; font-weight: 500; }
.tool svg { width: 22px; height: 22px; color: var(--gold); }
.tool:active { opacity: .7; }
.tool--main { flex-direction: row; gap: 8px; background: var(--gold); color: var(--navy); font-size: 15px; font-weight: 600; }
.tool--main svg { color: var(--navy); }
.tool--main.is-disabled { background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .45); }
.tool--main.is-disabled svg { color: rgba(255, 255, 255, .45); }
.tool--main .badge { background: var(--navy); color: var(--gold); height: 22px; min-width: 22px; font-size: 12px; }
.tool--main.is-disabled .badge { display: none; }

/* ---------- Materialen zoeken ---------- */
.search-row { display: grid; grid-template-columns: 1fr 46px; gap: 8px; margin-top: 12px; }
.hdr .search .input { background: #fff; border-color: #d5d0c1; }
.fav-toggle { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid #d5d0c1; background: #fff; color: var(--muted); transition: background .2s, color .2s; }
.fav-toggle svg { width: 22px; height: 22px; }
.fav-toggle.is-on { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.arts { background: #fff; }
.art { display: grid; grid-template-columns: 1fr 44px 20px; gap: 6px; align-items: center; padding: 12px 10px 12px 16px; border-bottom: 1px solid var(--line-2); width: 100%; text-align: left; }
.art:active { background: var(--cream-2); }
.art__desc { font-size: 15.5px; line-height: 1.3; font-weight: 500; }
.art__meta { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.star { width: 44px; height: 44px; display: grid; place-items: center; color: #c7c1ae; }
.star svg { width: 22px; height: 22px; }
.star.is-on { color: var(--gold); }
.star.pop svg { animation: pop .4s; }
.chev { color: #c7c1ae; }
.chev svg { width: 18px; height: 18px; }

/* ---------- Materiaal toevoegen ---------- */
.add { padding: 18px 16px 24px; }
.add__card { background: #fff; border: 1px solid var(--line); padding: 18px 16px; }
.add__eyebrow { color: var(--olive-dark); font-weight: 600; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.add__title { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; margin: 6px 0 10px; }
.add__facts { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { font-size: 13px; padding: 4px 9px; background: var(--cream); font-weight: 500; }
.chip b { font-weight: 700; }
.section-label { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 8px; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.section-label span { font-weight: 500; color: var(--muted); font-size: 12.5px; }
.req { color: var(--rust); }
.stepper { display: grid; grid-template-columns: 64px 1fr 64px; background: #fff; border: 1px solid var(--line); }
.stepper button { height: 64px; display: grid; place-items: center; color: var(--navy); }
.stepper button svg { width: 24px; height: 24px; }
.stepper button:active { background: var(--cream); }
.stepper input { border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 26px; font-weight: 600; outline: none; min-width: 0; font-variant-numeric: tabular-nums; background: #fff; }
.stepper input:focus { background: var(--cream-2); }
.stepper input.is-neg { color: var(--rust); }
.hint { font-size: 13px; color: var(--muted); margin: 8px 2px 0; line-height: 1.4; }
.hint.err { color: var(--rust); font-weight: 600; }
.phases { background: #fff; border: 1px solid var(--line); }
.phases.has-error { border-color: var(--rust); box-shadow: 0 0 0 1px var(--rust); }
.phase-opt { display: grid; grid-template-columns: 48px 1fr 24px; gap: 8px; align-items: center; width: 100%; text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line-2); }
.phase-opt:last-child { border-bottom: 0; }
.phase-opt__code { font-weight: 700; color: var(--olive-dark); font-variant-numeric: tabular-nums; }
.phase-opt__desc { font-size: 15.5px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #c7c1ae; display: grid; place-items: center; }
.phase-opt.is-on { background: var(--cream-2); }
.phase-opt.is-on .radio { border-color: var(--navy); }
.phase-opt.is-on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.footer-cta { flex: none; padding: 12px 16px calc(var(--safe-bottom) + 6px); background: var(--cream-2); border-top: 1px solid var(--line); }

/* ---------- Geboekte materialen ---------- */
.banner {
  display: flex; gap: 10px; align-items: flex-start; margin: 12px 12px 0; padding: 12px 14px;
  background: var(--olive); color: #fff; font-size: 14.5px; line-height: 1.4;
  animation: bannerIn .45s var(--ease);
  transition: opacity .4s, margin .4s, padding .4s, max-height .4s; max-height: 120px; overflow: hidden;
}
.banner svg { width: 20px; height: 20px; margin-top: 1px; }
.banner b { display: block; font-weight: 600; font-size: 15.5px; }
.banner.gone { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; }
@keyframes bannerIn { from { transform: translateY(-14px); opacity: 0; } }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 12px 4px; }
.stat { background: #fff; border: 1px solid var(--line); padding: 10px 12px; }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted); }
.bphase { margin-top: 12px; }
.bline { padding: 10px 16px 10px; border-bottom: 1px solid var(--line-2); background: #fff; }
.bline__grid { display: grid; grid-template-columns: 1fr 52px 58px 78px; column-gap: 6px; align-items: center; margin-top: 4px; }
.bline__tb { text-align: right; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.bline__tb.is-neg { color: var(--rust); }
.bline__tb.is-zero { color: var(--olive-dark); }
.bar { height: 4px; background: var(--line-2); margin-top: 8px; position: relative; overflow: hidden; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--olive); }
.bar i.over { background: var(--rust); }
.bar s { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(45deg, var(--gold) 0 4px, #f2d38a 4px 8px); }
.syncing { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; color: #7a5a08; font-weight: 500; }
.syncing .spinner { width: 12px; height: 12px; border-width: 2px; }
.unplanned { font-size: 11px; font-weight: 700; letter-spacing: .05em; color: var(--olive-dark); background: var(--olive-soft); padding: 1px 5px; margin-left: 4px; text-transform: uppercase; vertical-align: 1px; }
.legend { padding: 14px 18px calc(var(--safe-bottom) + 18px); font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Overlays: dialoog, sheet, toast, loader ---------- */
.overlay { position: absolute; inset: 0; z-index: 30; pointer-events: none; }
.scrim { position: absolute; inset: 0; background: rgba(21, 26, 66, .45); opacity: 0; transition: opacity .25s; pointer-events: auto; }
.scrim.in { opacity: 1; }
.dialog {
  position: absolute; left: 32px; right: 32px; top: 50%; transform: translateY(-46%) scale(.96); opacity: 0;
  background: #fff; padding: 24px 20px 18px; text-align: center; pointer-events: auto;
  transition: transform .3s var(--ease), opacity .2s;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
}
.dialog.in { transform: translateY(-50%); opacity: 1; }
.dialog__icon { width: 52px; height: 52px; margin: 0 auto 12px; display: grid; place-items: center; background: var(--gold-soft); color: #8a6206; border-radius: 50%; }
.dialog__icon svg { width: 26px; height: 26px; }
.dialog__icon--warn { background: var(--rust-soft); color: var(--rust); }
.dialog h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 6px; }
.dialog p { margin: 0 0 20px; color: #3b4062; font-size: 15.5px; line-height: 1.45; }
.dialog__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dialog__btns button { height: 50px; font-weight: 600; font-size: 16px; }
.dialog__no { box-shadow: inset 0 0 0 1px #cfc9b8; }
.dialog__yes { background: var(--gold); color: var(--navy); }
.dialog__yes:active { background: var(--navy); color: var(--gold); }

.sheet {
  position: absolute; left: 0; right: 0; bottom: 0; background: var(--cream-2); pointer-events: auto;
  padding: 10px 18px calc(var(--safe-bottom) + 14px); transform: translateY(100%); transition: transform .38s var(--ease);
  border-radius: 18px 18px 0 0;
}
.sheet.in { transform: none; }
.sheet__grip { width: 40px; height: 5px; border-radius: 3px; background: #d6d1c3; margin: 0 auto 16px; }
.profile { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; margin-bottom: 16px; }
.profile img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--gold); }
.profile h3 { font-family: var(--serif); font-weight: 500; font-size: 21px; margin: 0; }
.profile p { margin: 3px 0 0; color: var(--muted); font-size: 14px; line-height: 1.35; }
.kv { background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.role { display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 7px; margin-left: 4px; background: var(--cream); }
.role--Uitvoerder { background: var(--navy); color: var(--gold); }
.role--Beheerder { background: var(--olive); color: #fff; }
.btn-outline { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: inset 0 0 0 1px #cfc9b8; font-weight: 600; background: #fff; }
.btn-outline svg { width: 18px; height: 18px; }
.version { text-align: center; color: var(--muted); font-size: 12px; margin-top: 12px; }

.toast {
  pointer-events: none; z-index: 35;
  position: absolute; left: 50%; bottom: 112px; transform: translate(-50%, 16px); opacity: 0;
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--navy); color: #fff; font-size: 14.5px; font-weight: 500; padding: 11px 16px;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .3s var(--ease), opacity .25s;
}
.toast svg { width: 18px; height: 18px; color: var(--gold); }
.toast.in { transform: translate(-50%, 0); opacity: 1; }

.loader {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: rgba(250, 249, 246, .94); pointer-events: auto; opacity: 0; transition: opacity .25s; text-align: center;
}
.loader.in { opacity: 1; }
.loader .spinner { width: 38px; height: 38px; border-width: 3px; color: var(--gold); }
.loader b { font-family: var(--serif); font-weight: 500; font-size: 20px; }
.loader span { color: var(--muted); font-size: 14.5px; margin-top: -10px; }
.loader__steps { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); text-align: left; }
.loader__steps div { display: flex; gap: 8px; align-items: center; opacity: .35; transition: opacity .3s; }
.loader__steps div.done { opacity: 1; color: var(--navy); }
.loader__steps svg { width: 16px; height: 16px; color: var(--olive); }

/* =====================================================================
   Modules: projectpagina, opleveren, inspecties, actiepunten
   ===================================================================== */
.toast { white-space: normal; max-width: calc(100% - 40px); width: max-content; text-align: left; line-height: 1.3; }
.spacer { height: calc(var(--safe-bottom) + 24px); }
.hint--pad { margin: 0 18px 4px; }
.hint--sec { margin: -2px 2px 10px; }
.link-s { font-size: 13.5px; font-weight: 600; color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; letter-spacing: 0; text-transform: none; }
.intro { margin: 0; padding: 16px 18px 4px; font-size: 14.5px; line-height: 1.5; color: #3b4062; }
.textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.4; color: var(--navy); resize: none;
  border: 1px solid #d5d0c1; background: #fff; border-radius: 2px; outline: none; display: block;
}
.textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(225, 169, 40, .35); }
.textarea.has-error { border-color: var(--rust); box-shadow: 0 0 0 1px var(--rust); }

/* Tabbalk */
.tabbar {
  flex: none; display: grid; grid-template-columns: 1fr 1fr; padding: 6px 24px calc(var(--safe-bottom) - 2px);
  background: #fff; border-top: 1px solid var(--line);
}
.tabbar button { position: relative; height: 50px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11.5px; font-weight: 600; color: #9a9db0; }
.tabbar button svg { width: 24px; height: 24px; }
.tabbar button.is-on { color: var(--navy); }
.tabbar button.is-on svg { color: var(--gold); }
.tabbar em { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; background: var(--rust); color: #fff; }

/* Projectkaart */
.pcard__head { justify-content: space-between; }
.pcard__head .chev svg { width: 20px; height: 20px; }
.pcard__body { padding-bottom: 12px; }
.pcard__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pcard__chips span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; padding: 3px 8px; }
.pcard__chips svg { width: 13px; height: 13px; }
.pcard__open { background: var(--rust-soft); color: var(--rust); }
.pcard__step { background: var(--olive-soft); color: var(--olive-dark); }

/* Projectpagina */
.phdr { background: var(--navy); color: #fff; padding: calc(var(--safe-top) + 4px) 16px 18px; flex: none; position: relative; overflow: hidden; }
.phdr::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 220px; height: 220px; opacity: .07; background: url(assets/img/apple-touch-icon.png) center / contain no-repeat; pointer-events: none; }
.phdr .hdr__back { color: var(--gold); }
.phdr__nr { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: rgba(255, 255, 255, .65); }
.phdr__nr .pcard__nr { background: var(--gold); color: var(--navy); }
.phdr h1 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; margin: 8px 0 10px; }
.phdr__row { display: flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .85); margin-top: 3px; }
.phdr__row svg { width: 15px; height: 15px; color: var(--gold); }
.mods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.mod {
  min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px; text-align: left;
  background: #fff; border: 1px solid var(--line); transition: transform .1s, border-color .15s;
}
.mod:active { transform: scale(.98); border-color: var(--gold); }
.mod__ic { width: 40px; height: 40px; display: grid; place-items: center; background: var(--navy); color: var(--gold); margin-bottom: 8px; flex: none; }
.mod__ic svg { width: 21px; height: 21px; }
.mod b { font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.mod__sub { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.mod__sub em { font-style: normal; font-weight: 700; color: var(--rust); }
.steps3 { display: flex; align-items: center; margin-top: 3px; }
.steps3 i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700; border: 1.5px solid #cfc9b8; color: var(--muted); background: #fff; }
.steps3 i svg { width: 12px; height: 12px; }
.steps3 i.is-done { background: var(--olive); border-color: var(--olive); color: #fff; }
.steps3 i.is-concept { border-color: var(--gold); color: #7a5a08; background: var(--gold-soft); }
.steps3 i.is-skip { border-style: dashed; opacity: .6; }
.steps3 s { width: 10px; height: 1.5px; background: #cfc9b8; }
.dossier { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drow { display: grid; grid-template-columns: 22px 1fr 20px; gap: 12px; align-items: center; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.drow:last-child { border-bottom: 0; }
.drow:active { background: var(--cream-2); }
.drow > svg { width: 22px; height: 22px; color: var(--olive); }
.drow b { display: block; font-size: 14.5px; font-weight: 600; }
.drow span { font-size: 12.5px; color: var(--muted); }

/* Actiekaarten */
.acards { display: grid; gap: 8px; padding: 0 12px; }
.acards--top { padding-top: 12px; }
.acard { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 11px 12px 11px 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.acard:active { background: var(--cream-2); }
.acard__main { min-width: 0; }
.acard__top { display: flex; align-items: center; gap: 8px; }
.acard__src { font-size: 12px; color: var(--muted); }
.acard__title { font-size: 15px; font-weight: 600; line-height: 1.3; margin: 6px 0 5px; }
.acard__meta { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: #3b4062; min-width: 0; }
.acard__meta svg { width: 13px; height: 13px; color: var(--olive); }
.acard__meta svg + span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard__meta span + svg { margin-left: 6px; }
.acard__ph { width: 58px; height: 58px; }
.spill { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; }
.spill--Open { background: var(--rust-soft); color: var(--rust); }
.spill--Toegewezen { background: var(--gold-soft); color: #7a5a08; }
.spill--Opgelost { background: var(--olive-soft); color: var(--olive-dark); }
.group-h { display: flex; align-items: baseline; gap: 8px; padding: 16px 18px 8px; font-size: 13px; color: var(--muted); min-width: 0; }
.group-h b { color: var(--olive-dark); font-weight: 700; letter-spacing: .04em; flex: none; }
.group-h span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.seg--light { background: var(--cream); }
.seg--light button { color: var(--muted); }
.seg--light button.is-active { background: var(--navy); color: #fff; }

/* Demofoto */
.ph { display: block; background-image: url(assets/img/login-hero.jpg); background-repeat: no-repeat; background-color: #c9a46a; }

/* Opleveren: tijdlijn */
.tl-wrap { padding: 8px 16px 4px; }
.tl { display: grid; grid-template-columns: 34px 1fr; gap: 12px; position: relative; padding-bottom: 14px; }
.tl:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.tl--done:not(:last-child)::before { background: var(--olive); }
.tl__dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 15px; background: #fff; border: 2px solid #cfc9b8; color: var(--muted); position: relative; z-index: 1; }
.tl__dot svg { width: 17px; height: 17px; }
.tl--done .tl__dot { background: var(--olive); border-color: var(--olive); color: #fff; }
.tl--concept .tl__dot { border-color: var(--gold); background: var(--gold-soft); color: #7a5a08; }
.tl--skip .tl__dot { border-style: dashed; }
.tl__body { background: #fff; border: 1px solid var(--line); padding: 12px 14px; }
.tl--skip .tl__body { background: transparent; border-style: dashed; }
.tl__body b { display: block; font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.tl--skip .tl__body b { color: var(--muted); }
.tl__body p { display: flex; align-items: center; gap: 6px; margin: 2px 0; font-size: 13.5px; color: #3b4062; line-height: 1.4; }
.tl__body p svg { width: 14px; height: 14px; color: var(--olive); }
.btn-s { margin-top: 10px; height: 40px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px #cfc9b8; background: #fff; }
.btn-s svg { width: 16px; height: 16px; }
.btn-s--gold { background: var(--gold); box-shadow: none; color: var(--navy); }
.btn-s:active { background: var(--navy); color: var(--gold); }

.hero-card { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); padding: 14px; margin-bottom: 10px; }
.hero-card .mod__ic { margin: 0; }
.hero-card b { display: block; font-size: 16px; }
.hero-card span:not(.mod__ic) { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Ronde (checklist) */
.prog { height: 4px; background: var(--line-2); margin-top: 12px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--olive); transition: width .3s var(--ease); }
.prog__txt { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; color: var(--muted); font-weight: 500; }
.round { padding: 0 14px; }
.rsec { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; }
.rsec span { width: 24px; height: 24px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 12.5px; font-weight: 700; flex: none; }
.rsec b { font-size: 15px; font-weight: 700; }
.rsec em { margin-left: auto; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.card { background: #fff; border: 1px solid var(--line); }
.kvrow { display: grid; grid-template-columns: 18px auto 1fr; gap: 10px; align-items: center; width: 100%; padding: 11px 12px; border-bottom: 1px solid var(--line-2); font-size: 14px; text-align: left; }
.kvrow:last-child { border-bottom: 0; }
.kvrow > svg:first-child { width: 17px; height: 17px; color: var(--olive); }
.kvrow span { color: var(--muted); }
.kvrow b { text-align: right; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kvrow b em { font-style: normal; color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.kvrow--btn { grid-template-columns: 18px auto 1fr 16px; }
.kvrow--btn > svg:last-child { width: 16px; height: 16px; color: #c7c1ae; }
.kvrow--btn.has-error { box-shadow: inset 0 0 0 2px var(--rust); }
.sublabel { margin: 14px 2px 8px; font-size: 13px; font-weight: 700; }
.people { display: flex; gap: 8px; flex-wrap: wrap; }
.person { display: flex; align-items: center; gap: 7px; padding: 4px 11px 4px 4px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; border-radius: 22px; }
.person img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; filter: grayscale(1); opacity: .6; }
.person.is-on { border-color: var(--navy); background: var(--navy); color: #fff; }
.person.is-on img { filter: none; opacity: 1; box-shadow: 0 0 0 2px var(--gold); }

.carry-list { display: grid; gap: 8px; }
.carry { display: grid; grid-template-columns: 1fr 70px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); transition: border-color .2s, background .2s; }
.carry.is-on { border-left-color: var(--olive); background: #fbfbf3; }
.carry__main { padding: 10px 12px; min-width: 0; cursor: pointer; }
.carry__src { display: flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: #7a5a08; text-transform: uppercase; }
.carry__src svg { width: 13px; height: 13px; }
.carry__main b { display: block; font-size: 14.5px; line-height: 1.3; margin: 4px 0 3px; }
.carry.is-on .carry__main b { text-decoration: line-through; text-decoration-color: rgba(21, 26, 66, .35); }
.carry__who { font-size: 12.5px; color: var(--muted); }
.carry__ok { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-left: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.carry__ok svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; border: 1.5px solid #cfc9b8; }
.carry.is-on .carry__ok { color: var(--olive-dark); }
.carry.is-on .carry__ok svg { background: var(--olive); border-color: var(--olive); color: #fff; }

.ckgroup { background: #fff; border: 1px solid var(--line); margin-bottom: 10px; }
.ckgroup__h { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: var(--cream); border-bottom: 1px solid var(--line); }
.ckgroup__h b { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--olive-dark); }
.ck { padding: 10px 10px 10px 12px; border-bottom: 1px solid var(--line-2); transition: background .3s; }
.ck:last-child { border-bottom: 0; }
.ck.is-missing { background: var(--rust-soft); }
.ck__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.ck__q { font-size: 14.5px; line-height: 1.35; }
.ck__btns { display: flex; gap: 4px; }
.ck__b { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #d5d0c1; background: var(--cream-2); color: #b5b09f; font-size: 12px; font-weight: 700; transition: background .15s, color .15s, border-color .15s; }
.ck__b svg { width: 20px; height: 20px; }
.ck__b--ok.is-on { background: var(--olive); border-color: var(--olive); color: #fff; }
.ck__b--nok.is-on { background: var(--rust); border-color: var(--rust); color: #fff; }
.ck__b--nvt.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ck__pts { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.ck__pt { display: flex; align-items: center; gap: 6px; padding: 7px 9px; background: var(--rust-soft); color: #7d2d19; font-size: 13px; font-weight: 600; text-align: left; }
.ck__pt svg { width: 14px; height: 14px; }
.ck__add { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 600; color: var(--rust); padding: 4px 0; }
.ck__add svg { width: 15px; height: 15px; }

.newpts { display: grid; gap: 8px; margin-bottom: 10px; }
.newpt { display: grid; grid-template-columns: 48px 1fr 18px; gap: 12px; align-items: center; padding: 8px 10px 8px 8px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.newpt__ph { width: 48px; height: 48px; }
.newpt__ph--none { display: grid; place-items: center; background: var(--cream); color: #b5b09f; }
.newpt__ph--none svg { width: 20px; height: 20px; }
.newpt b { display: block; font-size: 14.5px; line-height: 1.3; }
.newpt span { font-size: 12.5px; color: var(--muted); }
.btn-dashed { width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px dashed #c7c1ae; color: var(--navy); font-weight: 600; font-size: 15px; background: transparent; }
.btn-dashed svg { width: 18px; height: 18px; color: var(--olive); }
.btn-dashed:active { background: #fff; }

.sigpad { position: relative; background: #fff; border: 1px solid #d5d0c1; height: 150px; }
.sigpad::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 34px; border-bottom: 1px dashed #cfc9b8; pointer-events: none; }
.sigpad.has-error { border-color: var(--rust); box-shadow: 0 0 0 1px var(--rust); }
.sig { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; z-index: 1; }
.sigpad__hint { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-80%); display: flex; align-items: center; justify-content: center; gap: 6px; color: #b5b09f; font-size: 14px; pointer-events: none; }
.sigpad__hint svg { width: 16px; height: 16px; }
.sigpad.has-sig .sigpad__hint { display: none; }
.sigpad__clear { position: absolute; right: 6px; top: 6px; z-index: 2; padding: 5px 9px; font-size: 12.5px; font-weight: 600; background: var(--cream); display: none; }
.sigpad.has-sig .sigpad__clear { display: block; }
.toggle-row { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px; background: #fff; border: 1px solid var(--line); text-align: left; font-size: 14.5px; font-weight: 500; }
.tgl { width: 44px; height: 26px; border-radius: 13px; background: #d5d0c1; position: relative; flex: none; transition: background .2s; }
.tgl::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.tgl.is-on { background: var(--olive); }
.tgl.is-on::after { transform: translateX(18px); }

/* Punt vastleggen */
.ctx { display: grid; grid-template-columns: 22px 1fr; gap: 8px; padding: 10px 12px; background: var(--rust-soft); color: #7d2d19; margin-bottom: 4px; }
.ctx > svg { width: 18px; height: 18px; margin-top: 1px; }
.ctx span { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ctx b { display: block; font-size: 14px; font-weight: 600; margin-top: 2px; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.photos__item { position: relative; aspect-ratio: 1; animation: pop .35s; }
.photos__item .ph { width: 100%; height: 100%; }
.photos__del { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(21, 26, 66, .75); color: #fff; }
.photos__del svg { width: 14px; height: 14px; }
.photos__add { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1.5px dashed #c7c1ae; background: #fff; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.photos__add svg { width: 26px; height: 26px; color: var(--olive); }
.photos--view { margin-top: 12px; }
.photos--view .photos__item { animation: none; }
.locs { display: flex; flex-wrap: wrap; gap: 6px; }
.loc { padding: 8px 12px; font-size: 13.5px; font-weight: 500; background: #fff; border: 1px solid var(--line); }
.loc.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.assign-row { display: grid; grid-template-columns: 40px 1fr 16px; gap: 12px; align-items: center; width: 100%; padding: 10px 12px; background: #fff; border: 1px solid var(--line); text-align: left; }
.assign-row--mt { margin-top: 10px; }
.assign-row b { display: block; font-size: 15px; font-weight: 600; }
.assign-row span { display: block; font-size: 12.5px; color: var(--muted); }
.assign-row > svg { width: 16px; height: 16px; color: #c7c1ae; }
.av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; flex: none; }
.av svg { width: 19px; height: 19px; }
.assign-row .av { display: grid; }
.av--none { background: var(--cream); color: #b5b09f; border: 1.5px dashed #cfc9b8; }
.av--sub { background: var(--olive-soft); color: var(--olive-dark); }
.btn-outline--warn { margin-top: 22px; color: var(--rust); }
.camflash { position: absolute; inset: 0; z-index: 45; background: #fff; pointer-events: none; animation: camflash .55s ease-out forwards; }
@keyframes camflash { from { opacity: .95; } to { opacity: 0; } }

/* Actiepunt */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 14px; position: relative; }
.flow__s { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--muted); position: relative; }
.flow__s:not(:first-child)::before { content: ""; position: absolute; top: 14px; right: 50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.flow__s.is-done::before, .flow__s.is-now::before { background: var(--olive) !important; }
.flow__s i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; background: #fff; border: 2px solid #cfc9b8; position: relative; z-index: 1; }
.flow__s i svg { width: 15px; height: 15px; }
.flow__s.is-done i { background: var(--olive); border-color: var(--olive); color: #fff; }
.flow__s.is-now i { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.flow__s.is-now { color: var(--navy); }
.flow__s:last-child.is-now i { background: var(--olive); border-color: var(--olive); color: #fff; }
.add__facts .chip { display: inline-flex; align-items: center; gap: 4px; }
.add__facts .chip svg { width: 13px; height: 13px; color: var(--olive); }
.kv--mt { margin-top: 10px; }
.solved { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 10px; padding: 12px 14px; background: var(--olive-soft); color: #4b4a0c; }
.solved > svg { width: 20px; height: 20px; }
.solved b { display: block; font-size: 14.5px; }
.solved span { font-size: 12.5px; }
.solved p { margin: 6px 0 0; font-size: 14px; line-height: 1.4; color: var(--navy); }
.hist { background: #fff; border: 1px solid var(--line); padding: 4px 14px; }
.hist__i { display: grid; grid-template-columns: 12px 1fr; gap: 10px; padding: 9px 0; position: relative; }
.hist__i:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -9px; width: 2px; background: var(--line-2); }
.hist__i i { width: 12px; height: 12px; border-radius: 50%; background: var(--gold); margin-top: 3px; position: relative; z-index: 1; }
.hist__i:not(:first-child) i { background: #cfc9b8; }
.hist__i b { display: block; font-size: 14px; font-weight: 600; }
.hist__i span { font-size: 12.5px; color: var(--muted); }
.footer-cta--2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.footer-cta .btn-outline { height: 54px; }

/* Keuzelijst (sheet) */
.sheet__title { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 4px; }
.sheet__sub { margin: 0 0 4px; color: var(--muted); font-size: 14.5px; }
.sheet--list { max-height: 78%; display: flex; flex-direction: column; }
.sheet__scroll { overflow-y: auto; margin: 6px -18px 0; padding: 0 18px; scrollbar-width: none; }
.pick-h { margin: 14px 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-dark); }
.pick { display: grid; grid-template-columns: 40px 1fr 22px; gap: 12px; align-items: center; width: 100%; padding: 9px 4px; border-bottom: 1px solid var(--line-2); text-align: left; }
.pick b { display: block; font-size: 15px; font-weight: 600; }
.pick span:not(.radio):not(.av) { display: block; font-size: 12.5px; color: var(--muted); }
.pick.is-on .radio { border-color: var(--navy); }
.pick.is-on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.sheet__cta { margin-top: 18px; }

/* Verslag */
.report { background: #e9e6dc; }
.report .banner { margin-bottom: 0; }
.afas-file { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: center; margin: 12px 12px 0; padding: 10px 12px; background: var(--navy); color: #fff; }
.afas-file > svg { width: 20px; height: 20px; color: var(--gold); }
.afas-file b { display: block; font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.afas-file span { font-size: 12px; color: rgba(255, 255, 255, .7); }
.paper { margin: 12px; padding: 22px 18px 24px; background: #fff; box-shadow: 0 10px 30px -14px rgba(21, 26, 66, .35); font-size: 13px; }
.paper__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px solid var(--navy); }
.paper__head img { width: 124px; }
.paper__head span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-dark); }
.paper h2 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 16px 0 12px; }
.paper h3 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-dark); margin: 20px 0 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line); }
.paper__meta { margin: 0; display: grid; gap: 4px; }
.paper__meta div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.paper__meta dt { color: var(--muted); }
.paper__meta dd { margin: 0; font-weight: 600; }
.paper__g { font-weight: 700; margin: 10px 0 4px; }
.paper__ck { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); }
.res { font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.res--ok { color: var(--olive-dark); }
.res--nok { color: var(--rust); }
.res--nvt { color: var(--muted); font-weight: 600; }
.paper__pt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.paper__ph { width: 40px; height: 40px; }
.paper__pt b { display: block; font-weight: 600; font-size: 13px; }
.paper__pt span { font-size: 12px; color: var(--muted); }
.paper__pt em { font-style: normal; font-weight: 700; }
.paper__pt em.is-open { color: #7a5a08; }
.paper__pt em.is-ok { color: var(--olive-dark); }
.paper__none, .paper__notes { margin: 0; color: #3b4062; line-height: 1.5; }
.paper__photos { gap: 6px; }
.paper__photos .photos__item { animation: none; }
.paper__sigs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.paper__sigs b { display: block; font-size: 12.5px; }
.paper__sigs span { font-size: 11.5px; color: var(--muted); }
.paper__sig { height: 64px; border-bottom: 1px solid var(--navy); margin-bottom: 6px; display: flex; align-items: flex-end; }
.paper__sig img, .paper__sig .sig-svg { max-width: 100%; max-height: 60px; }
.paper__sig .sig-svg { width: 130px; }

/* =====================================================================
   Rustige variant: minder tekst, één ding tegelijk
   ===================================================================== */
.mods--top { padding-top: 16px; }
.mod { min-height: 112px; }
.pcard__title { margin-bottom: 3px; }

/* Actielijst */
.alist { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alist--top { margin-top: 12px; }
.arow { display: grid; grid-template-columns: 10px 1fr 18px; gap: 12px; align-items: center; padding: 13px 12px 13px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; }
.arow:last-child { border-bottom: 0; }
.arow:active { background: var(--cream-2); }
.arow__main { min-width: 0; }
.arow__main b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.arow__main span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.sdot { width: 10px; height: 10px; border-radius: 50%; }
.sdot--Open { background: var(--rust); }
.sdot--Toegewezen { background: var(--gold); }
.sdot--Opgelost { background: var(--olive); }
.group-h { padding-top: 18px; }
.group-h span { font-weight: 600; color: var(--olive-dark); font-size: 13.5px; }

/* Opleveren */
.tl-wrap { padding-top: 18px; }
.tl { padding-bottom: 12px; }
.tl__body--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tl__body--row b { margin-bottom: 0; font-size: 15px; }
.tl__body--row p { margin-top: 2px; }
.tl__body--row .btn-s { margin-top: 0; flex: none; }
.linkrow { display: grid; grid-template-columns: 20px 1fr 18px; gap: 10px; align-items: center; width: calc(100% - 24px); margin: 14px 12px 0; padding: 14px; background: #fff; border: 1px solid var(--line); text-align: left; }
.linkrow > svg { width: 18px; height: 18px; color: var(--rust); }
.linkrow b { font-size: 15px; font-weight: 600; }
.add--tight { padding-bottom: 6px; }

/* Wizard */
.wiz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; }
.wiz button { display: flex; align-items: center; gap: 6px; padding: 8px 6px; font-size: 13px; font-weight: 600; color: var(--muted); border-bottom: 3px solid var(--line); }
.wiz i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; background: var(--line); color: var(--muted); flex: none; }
.wiz i svg { width: 12px; height: 12px; }
.wiz button.is-on { color: var(--navy); border-bottom-color: var(--gold); }
.wiz button.is-on i { background: var(--navy); color: var(--gold); }
.wiz button.is-done { color: var(--olive-dark); border-bottom-color: var(--olive); }
.wiz button.is-done i { background: var(--olive); color: #fff; }
.round { padding-top: 14px; }

.ccard { background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--gold); margin-bottom: 14px; }
.ccard__h { padding: 11px 12px 9px; border-bottom: 1px solid var(--line-2); }
.ccard__h b { display: block; font-size: 14.5px; }
.ccard__h span { display: flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.ccard__h span svg { width: 13px; height: 13px; }
.crow { display: grid; grid-template-columns: 1fr 44px; gap: 8px; align-items: center; padding: 9px 8px 9px 12px; border-bottom: 1px solid var(--line-2); }
.crow:last-child { border-bottom: 0; }
.crow b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.crow span { font-size: 12.5px; color: var(--muted); }
.crow.is-on b { text-decoration: line-through; text-decoration-color: rgba(21, 26, 66, .35); color: var(--muted); }
.crow__ok { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid #cfc9b8; color: #b5b09f; }
.crow__ok svg { width: 20px; height: 20px; }
.crow.is-on .crow__ok { background: var(--olive); border-color: var(--olive); color: #fff; }

.acc { display: grid; grid-template-columns: 1fr auto 18px; gap: 10px; align-items: center; width: 100%; padding: 15px 12px 15px 14px; margin-bottom: 8px; background: #fff; border: 1px solid var(--line); text-align: left; }
.acc b { font-size: 15px; font-weight: 600; }
.acc em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--muted); }
.acc em.is-ok { color: var(--olive); display: grid; }
.acc em.is-ok svg { width: 18px; height: 18px; }
.acc em.is-nok { color: var(--rust); }
.acc.is-done b { color: var(--olive-dark); }
.acc.is-missing { border-color: var(--rust); box-shadow: inset 3px 0 0 var(--rust); }
.acc-open { background: #fff; border: 1px solid var(--navy); margin-bottom: 8px; }
.acc-open__h { display: flex; justify-content: space-between; align-items: center; padding: 13px 12px 11px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.acc-open__h b { font-size: 15px; font-weight: 700; }
.ck { padding: 11px 10px 11px 14px; }
.ck__pts { margin-top: 6px; }

.sum b.is-warn { color: var(--rust); }
.input--sign { margin-bottom: 8px; background: #fff; }
.card--mt { margin-top: 14px; }
.photos--mt { margin-top: 12px; }
.sublabel { margin-top: 18px; }

/* Keuzelijst opties */
.opt { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-size: 15.5px; text-align: left; }
.opt.is-on { font-weight: 600; }
.opt.is-on .radio { border-color: var(--navy); }
.opt.is-on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }

/* Actiepunt */
.a-title { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; margin: 6px 0 4px; }
.a-sub { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.hist-d { margin-top: 16px; }
.hist-d summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 6px; padding: 8px 2px; font-size: 13.5px; font-weight: 600; color: var(--navy-2); }
.hist-d summary::-webkit-details-marker { display: none; }
.hist-d summary::after { content: "›"; font-size: 18px; line-height: 1; transition: transform .2s; }
.hist-d[open] summary::after { transform: rotate(90deg); }
.hist-d summary span { font-size: 12px; color: var(--muted); font-weight: 500; }

/* Materialen boeken: lijst + invoervenster */
.hdr--tabs { padding-bottom: 0; }
.ptabs { display: flex; gap: 6px; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 12px; scrollbar-width: none; }
.ptabs::-webkit-scrollbar { display: none; }
.ptab { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 13px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.ptab.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.ptab i { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11.5px; font-weight: 700; background: var(--cream); color: var(--muted); }
.ptab i svg { width: 12px; height: 12px; }
.ptab.is-done i { background: var(--olive); color: #fff; }
.ptab.is-now i { background: var(--gold); color: var(--navy); }
.ptab.is-on i { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); }
.ptab em { font-style: normal; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: var(--gold); color: var(--navy); }
.toolbar--2 { grid-template-columns: 1fr 1.6fr; }
.phlist { display: grid; gap: 8px; padding: 0 12px; }
.phrow { display: grid; grid-template-columns: 32px 1fr auto 18px; gap: 12px; align-items: center; padding: 14px 12px 14px 14px; background: #fff; border: 1px solid var(--line); cursor: pointer; }
.phrow:active { background: var(--cream-2); }
.phrow__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 14px; background: var(--cream); color: var(--muted); }
.phrow__n svg { width: 16px; height: 16px; }
.phrow__main { min-width: 0; }
.phrow__main b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.phrow__main > span:not(.phrow__tag) { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.phrow__tag { display: inline-block; margin-bottom: 4px; padding: 2px 7px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--gold); color: var(--navy); }
.phrow__pend { min-width: 24px; height: 24px; padding: 0 7px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; background: var(--navy); color: var(--gold); }
.phrow.is-done .phrow__n { background: var(--olive); color: #fff; }
.phrow.is-done b { color: var(--muted); font-weight: 500; }
.phrow.is-now { border: 2px solid var(--gold); padding: 16px 11px 16px 13px; box-shadow: 0 8px 20px -14px rgba(21, 26, 66, .4); }
.phrow.is-now .phrow__n { background: var(--navy); color: var(--gold); }
.phrow.is-now b { font-size: 17px; }
.mlist { background: #fff; border-bottom: 1px solid var(--line); }
.mrow { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background .3s; }
.mrow:last-child { border-bottom: 0; }
.mrow:active { background: var(--cream-2); }
.mrow.has-pend { background: #fffcf2; }
.mrow__main { min-width: 0; }
.mrow__main > b { display: block; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.mrow__meta { display: flex; align-items: center; gap: 10px; margin-top: 7px; }
.mbar { flex: 1; max-width: 150px; height: 5px; background: var(--line-2); position: relative; overflow: hidden; border-radius: 3px; }
.mbar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--olive); }
.mbar i.over { background: var(--rust); }
.mbar s { position: absolute; top: 0; bottom: 0; background: var(--gold); }
.mrow__rest { font-size: 13px; color: var(--muted); white-space: nowrap; }
.mrow__rest b { color: var(--navy); font-weight: 700; }
.mrow__rest.is-over { color: var(--rust); font-weight: 600; }
.mrow__rest.is-done { color: var(--olive-dark); font-weight: 600; }
.mrow__pend { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; background: var(--gold); color: var(--navy); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.mrow__pend svg { width: 14px; height: 14px; }
.mrow__pend.is-neg { background: var(--rust-soft); color: var(--rust); }
.mrow .syncing { margin-top: 5px; }
.qsheet .sheet__sub { margin-bottom: 16px; }
.qsheet__step input.is-neg { color: var(--rust); }
.qsheet__unit { text-align: center; font-size: 13px; color: var(--muted); margin-top: 6px; }
.qchips { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin-top: 14px; }
.qchips button { height: 42px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; font-weight: 600; }
.qchips button:active { background: var(--navy); color: var(--gold); }
.qsheet .toggle-row { margin-top: 12px; }
.qsheet .link { margin-top: 12px; }

/* Verslag */
.paper__sum { margin: 0 0 6px; }
.paper__sum b { font-weight: 700; }

@media (max-width: 900px) and (min-width: 561px) {
  .stage { grid-template-columns: auto; }
  .brief { display: none; }
}
/* ---------- Kleine schermen: echte telefoon, geen frame ---------- */
@media (max-width: 560px) {
  .stage { display: block; padding: 0; }
  .brief { display: none; }
  .device-wrap { width: 100vw !important; height: 100dvh !important; }
  .device { width: 100vw; height: 100dvh; padding: 0; border-radius: 0; transform: none; background: none; box-shadow: none; }
  .device__btn { display: none; }
  .screen { width: 100vw; height: 100dvh; border-radius: 0; }
  .statusbar, .island { display: none; }
  :root { --safe-top: max(env(safe-area-inset-top), 14px); --safe-bottom: max(env(safe-area-inset-bottom), 16px); }
  .appwin { border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
