/* Matiko 3D-configurator · huisstijl matiko.nl (blauw #0041E1, Manrope + Roboto) · (c) 2026 NEXTRIQ */
:root {
  --blue: #0041e1;
  --blue-d: #0033b3;
  --blue-l: #eef3ff;
  --navy: #1d1650;
  --ink: #141b2d;
  --mut: #5d6679;
  --line: #e3e7f0;
  --bg: #f6f8fc;
  --ok: #16a34a;
  --r: 12px;
  --head: 'Manrope', system-ui, sans-serif;
  --txt: 'Roboto', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 15px/1.5 var(--txt); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5 { font-family: var(--head); margin: 0; letter-spacing: -0.01em; }

/* ---------- configurator ---------- */
.cfg { height: 100dvh; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 22px; padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--line); flex: none; }
.logo img { height: 46px; display: block; }
.tt { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 22px; }
.tt b { font: 800 18px var(--head); color: var(--navy); }
.tt span { color: var(--mut); font-size: 13px; }
.tel { margin-left: auto; text-decoration: none; text-align: right; display: flex; flex-direction: column; line-height: 1.2; }
.tel span { font-size: 12px; color: var(--mut); }
.tel b { font: 800 17px var(--head); color: var(--blue); }

.grid { flex: 1; display: grid; grid-template-columns: 1fr 440px; min-height: 0; }
.viewer { position: relative; min-height: 0; background: #e9eef9; }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.ptabs { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 32px); }
.ptabs button { display: flex; align-items: center; gap: 7px; border: 0; background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(8px); padding: 7px 12px 7px 9px; border-radius: 999px; font: 700 13px var(--head); color: var(--navy); box-shadow: 0 2px 10px rgba(20, 30, 70, 0.08); }
.ptabs button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linejoin: round; }
.ptabs button.on { background: var(--blue); color: #fff; }
.vtop { position: absolute; right: 16px; top: 16px; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; pointer-events: none; }
.dims { background: var(--navy); color: #fff; font: 700 13px var(--head); padding: 6px 12px; border-radius: 8px; }
.hint3d { font-size: 12px; color: var(--mut); background: rgba(255, 255, 255, 0.8); padding: 3px 9px; border-radius: 6px; }
.anim { position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); display: flex; gap: 16px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 14px; box-shadow: 0 8px 30px rgba(20, 30, 70, 0.14); }
.anim label { display: flex; flex-direction: column; gap: 2px; font: 700 12px var(--head); color: var(--navy); min-width: 130px; }
.anim input { accent-color: var(--blue); width: 100%; }
.trust { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 22px; justify-content: center; padding: 11px 16px; background: linear-gradient(transparent, rgba(255, 255, 255, 0.9) 45%); font: 600 13px var(--head); color: var(--navy); flex-wrap: wrap; }
.trust span::before { content: '✓ '; color: var(--blue); }
.trust span:first-child::before { content: ''; }
.trust span:first-child { color: #e7a600; }
.trust span:first-child b, .trust span:first-child small { color: var(--navy); }

.panel { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; }
.stepper { display: flex; gap: 4px; padding: 14px 18px 0; }
.st { flex: 1; border: 0; background: none; padding: 0 0 10px; display: flex; flex-direction: column; align-items: center; gap: 4px; font: 600 11.5px var(--head); color: #9aa1ad; border-bottom: 3px solid var(--line); }
.st i { font-style: normal; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--line); color: #fff; font-size: 12px; }
.st.done { color: var(--navy); border-color: #a9bff5; }
.st.done i { background: #a9bff5; }
.st.on { color: var(--blue); border-color: var(--blue); }
.st.on i { background: var(--blue); }
.panel h2 { font-size: 21px; font-weight: 800; color: var(--navy); padding: 16px 22px 4px; }
.body { flex: 1; overflow-y: auto; padding: 6px 22px 22px; overscroll-behavior: contain; }
.lead { color: var(--mut); margin: 4px 0 14px; }
.grp { margin: 16px 0 6px; }
.grp h4 { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: flex; justify-content: space-between; gap: 10px; }
.hint { font-weight: 500; color: var(--mut); font-size: 12px; }
.cards { display: grid; gap: 8px; }
.cards.c1 { grid-template-columns: 1fr; }
.cards.c2 { grid-template-columns: 1fr 1fr; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.card { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r); padding: 11px 12px; display: flex; flex-direction: column; gap: 2px; transition: border-color 0.15s, box-shadow 0.15s; }
.card:hover { border-color: #a9bff5; }
.card.on { border-color: var(--blue); background: var(--blue-l); box-shadow: 0 0 0 3px rgba(0, 65, 225, 0.1); }
.card .ic svg { width: 38px; height: 38px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 4px; }
.cards.c3 .card .ic svg { width: 30px; height: 30px; }
.card .t { font: 700 14px var(--head); color: var(--navy); }
.card .s { font-size: 12.5px; color: var(--mut); line-height: 1.35; }
.cards .card svg[viewBox='0 0 48 24'] { width: 72px; height: 36px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font: 600 13px var(--head); color: var(--navy); display: flex; align-items: center; gap: 6px; min-height: 36px; }
.chip img { height: 20px; max-width: 86px; object-fit: contain; }
.chip.on { border-color: var(--blue); background: var(--blue-l); color: var(--blue); }
.chip:disabled { opacity: 0.35; cursor: not-allowed; }
.rng { display: block; margin-bottom: 12px; }
.rl { display: flex; justify-content: space-between; align-items: center; font: 600 13px var(--head); color: var(--navy); }
.rl b { font-weight: 600; color: var(--mut); }
.num { width: 76px; border: 1.5px solid var(--line); border-radius: 8px; padding: 4px 8px; font: 700 14px var(--head); color: var(--navy); text-align: right; }
.rng input[type='range'] { width: 100%; accent-color: var(--blue); margin: 6px 0 0; }
.mm { display: flex; justify-content: space-between; font-size: 11px; color: #9aa1ad; }
.mm i { font-style: normal; }
.sw { display: flex; flex-wrap: wrap; gap: 8px; }
.swb { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; background: var(--c); box-shadow: 0 0 0 1.5px var(--line); }
.swb.wood { background: repeating-linear-gradient(100deg, var(--c) 0 5px, color-mix(in srgb, var(--c) 78%, #000) 5px 7px); }
.swb.on { box-shadow: 0 0 0 2.5px var(--blue); }
.swn { font: 600 13px var(--head); color: var(--navy); margin-top: 6px; }
.swn span { color: var(--mut); font-weight: 500; }
.tgl { width: 100%; display: flex; gap: 12px; align-items: center; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: var(--r); padding: 10px 12px; margin-bottom: 8px; }
.tgl b { display: block; font: 700 14px var(--head); color: var(--navy); }
.tgl small { color: var(--mut); font-size: 12.5px; }
.sw2 { flex: none; width: 40px; height: 23px; border-radius: 99px; background: #cfd5e1; position: relative; transition: background 0.2s; }
.sw2::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); }
.on > .sw2, .tgl.on .sw2 { background: var(--blue); }
.on > .sw2::after, .tgl.on .sw2::after { transform: translateX(17px); }
.tgl.on { border-color: var(--blue); background: var(--blue-l); }
.vakken { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; border: 5px solid var(--navy); border-radius: 4px; padding: 6px; background: #dfe7f7; }
.vak { aspect-ratio: 0.8; border: 2px dashed #a9bff5; background: #fff; border-radius: 3px; font: 700 12px var(--head); color: var(--mut); }
.vak.on { border: 3px solid var(--blue); color: var(--blue); background: linear-gradient(135deg, transparent 49%, #a9bff5 50%, transparent 51%), #fff; }
.usp { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font: 600 12.5px var(--head); color: var(--navy); }
.usp span { color: var(--navy); }

.xtra { border: 1.5px solid var(--line); border-radius: var(--r); margin-bottom: 10px; overflow: hidden; }
.xtra.on { border-color: var(--blue); }
.xh { width: 100%; display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 0; padding: 12px; }
.xtra.on .xh { background: var(--blue-l); }
.xh .ic svg { width: 40px; height: 40px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linejoin: round; }
.xh b { display: block; font: 700 15px var(--head); color: var(--navy); }
.xh small { color: var(--mut); font-size: 12.5px; }
.xh .sw2 { margin-left: auto; }
.xb { padding: 4px 12px 12px; }
.xb .grp:first-child { margin-top: 8px; }

.ov { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px; margin-bottom: 10px; position: relative; }
.ov img { width: 86px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.ov h5 { font-size: 14.5px; color: var(--navy); }
.ov p { margin: 0; font-size: 12.5px; color: var(--mut); }
.ov .pp { font: 800 14px var(--head); color: var(--navy); }
.ov .del { position: absolute; right: 8px; top: 6px; border: 0; background: none; font-size: 20px; color: #9aa1ad; }
.ov.cur { border-color: var(--blue); }
.ov .full { width: 100%; }
.tag { font: 700 10.5px var(--head); background: var(--blue); color: #fff; padding: 2px 7px; border-radius: 99px; vertical-align: 2px; margin-left: 4px; }
.rg { list-style: none; margin: 8px 0; padding: 0; font-size: 13px; }
.rg li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px dashed var(--line); }
.rg li b { font-weight: 600; white-space: nowrap; }
.rg li.x span::before { content: '+ '; color: var(--blue); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 8px; font: 600 13px var(--head); color: var(--navy); }
.qty button { width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff; font-size: 16px; }
.qty b { min-width: 18px; text-align: center; }
.qty .pp { margin-left: auto; font-size: 16px; }
.add { width: 100%; border: 1.5px dashed #a9bff5; background: #fff; color: var(--blue); border-radius: var(--r); padding: 12px; font: 700 14px var(--head); display: flex; flex-direction: column; align-items: center; }
.add small { font: 500 12px var(--txt); color: var(--mut); }
.tot { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 10px; padding: 14px 16px; border-radius: var(--r); background: var(--navy); color: #fff; }
.tot span { font: 700 14px var(--head); display: flex; flex-direction: column; }
.tot small { font: 400 12px var(--txt); opacity: 0.75; }
.tot b { font: 800 24px var(--head); }
.note { display: flex; flex-direction: column; padding: 10px 14px; border-radius: 10px; background: var(--bg); margin-bottom: 8px; font-size: 13px; }
.note b { font-family: var(--head); color: var(--navy); }
.note span { color: var(--mut); }
.note.sub { background: #eaf8ef; }
.note.sub b { color: #13703a; }
.fine { font-size: 12px; color: #8a92a2; margin: 10px 0 0; }

.frm { display: flex; flex-direction: column; gap: 10px; }
.two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.fld { display: flex; flex-direction: column; gap: 4px; font: 600 13px var(--head); color: var(--navy); }
.fld input, .fld textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px; font: 15px var(--txt); color: var(--ink); width: 100%; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0, 65, 225, 0.12); }
.fld input.bad { border-color: #d93025; }
.adres { font-size: 13px; color: var(--ok); font-weight: 500; min-height: 0; margin-top: -4px; }
.upl { display: block; border: 1.5px dashed var(--line); border-radius: 10px; padding: 12px; font: 600 13px var(--head); color: var(--navy); cursor: pointer; }
.upl input { display: none; }
.upl small { display: block; font: 400 12px var(--txt); color: var(--mut); }
.err { color: #d93025; font-size: 13px; margin: 0; min-height: 1em; }
.done { text-align: center; padding: 30px 6px; }
.done .ok { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 14px; }
.done h3 { font-size: 24px; color: var(--navy); }
.done p { color: var(--mut); }
.ref { background: var(--blue-l); color: var(--navy); padding: 10px; border-radius: 10px; margin: 14px 0 20px; }
.done .btn { display: inline-flex; margin: 4px; }

.foot { border-top: 1px solid var(--line); padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; background: #fff; }
.price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.price small { font-size: 11.5px; color: var(--mut); }
.price b { font: 800 24px var(--head); color: var(--navy); }
.btns { margin-left: auto; display: flex; gap: 6px; }
.btn { border: 0; background: var(--blue); color: #fff; border-radius: 10px; padding: 12px 18px; font: 700 14px var(--head); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; box-shadow: 0 6px 16px rgba(0, 65, 225, 0.25); }
.btn:hover { background: var(--blue-d); }
.btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line); box-shadow: none; }
.btn.link { background: none; color: var(--mut); box-shadow: none; }
.btn.sm { padding: 8px 14px; font-size: 13px; }

/* ---------- portaal ---------- */
.portaal { height: 100dvh; display: grid; grid-template-columns: 236px 1fr; background: var(--bg); }
.side { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px; }
.slogo img { height: 52px; margin: 0 6px 22px; }
#pnav { display: flex; flex-direction: column; gap: 4px; }
#pnav button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: 700 14.5px var(--head); color: var(--navy); text-align: left; }
#pnav button.on { background: var(--blue-l); color: var(--blue); }
#pnav em { margin-left: auto; font-style: normal; background: var(--blue); color: #fff; font-size: 12px; padding: 1px 8px; border-radius: 99px; }
.sfoot { margin-top: auto; }
.who2 { display: flex; gap: 10px; align-items: center; padding: 10px 6px; border-top: 1px solid var(--line); }
.who2 b { display: block; font: 700 13px var(--head); }
.who2 small { color: var(--mut); font-size: 12px; }
.rs { border: 0; background: none; color: #9aa1ad; font-size: 12px; padding: 4px 6px; text-decoration: underline; }
.pwrap { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.phead { display: flex; align-items: center; gap: 16px; padding: 16px 26px; background: #fff; border-bottom: 1px solid var(--line); }
.phead h1 { font-size: 22px; font-weight: 800; color: var(--navy); }
.live { display: flex; align-items: center; gap: 7px; font: 600 12.5px var(--head); color: #13703a; background: #eaf8ef; padding: 5px 11px; border-radius: 99px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: 0.3; } }
.phead .btn { margin-left: auto; }
.pmain { flex: 1; overflow: auto; padding: 20px 26px; min-height: 0; }
.av { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--blue-l); color: var(--blue); display: grid; place-items: center; font: 800 13px var(--head); }
.av.sm { width: 32px; height: 32px; font-size: 12px; }
.av.lg { width: 50px; height: 50px; font-size: 17px; background: var(--blue); color: #fff; }
.fz { display: inline-flex; align-items: center; gap: 6px; font: 700 12px var(--head); color: var(--f); background: color-mix(in srgb, var(--f) 11%, #fff); padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.fz::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--f); }
.fz.sm { font-size: 11px; padding: 2px 8px; }
.src { font: 600 11.5px var(--head); color: var(--mut); background: var(--bg); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }
.kpis > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; flex-direction: column; }
.kpis small { color: var(--mut); font-size: 12.5px; }
.kpis b { font: 800 24px var(--head); color: var(--navy); margin: 2px 0; }
.kpis i { font-style: normal; font-size: 12px; color: var(--mut); }
.kpis i.up { color: var(--blue); font-weight: 600; }

.inbox { display: grid; grid-template-columns: 360px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); height: 100%; min-height: 0; overflow: hidden; }
.pmain:has(.inbox) { padding: 16px; overflow: hidden; display: flex; }
.pmain:has(.inbox) .inbox { flex: 1; }
.ilist { border-right: 1px solid var(--line); overflow-y: auto; }
.im { width: 100%; display: flex; gap: 11px; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: 13px 14px; position: relative; }
.im.on { background: var(--blue-l); }
.im.unread::before { content: ''; position: absolute; left: 4px; top: 27px; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.imb { flex: 1; min-width: 0; }
.im .r1 { display: flex; justify-content: space-between; gap: 6px; }
.im .r1 b { font: 700 14px var(--head); color: var(--navy); }
.im.unread .r1 b { font-weight: 800; }
.im time { font-size: 11.5px; color: var(--mut); white-space: nowrap; }
.im .r2 { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.im.unread .r2 { color: var(--ink); font-weight: 500; }
.im .r3 { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.im .r3 b { font: 800 13px var(--head); color: var(--navy); }
.iview { overflow-y: auto; padding: 22px 24px; }
.dth { display: flex; align-items: center; gap: 14px; }
.who h3 { font-size: 21px; color: var(--navy); }
.who p { margin: 0; color: var(--mut); font-size: 13.5px; }
.dth .fz { margin-left: auto; }
.acts { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; align-items: center; }
.a { border: 1.5px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 10px; font: 700 13px var(--head); color: var(--navy); text-decoration: none; }
.a.wa { background: #25d366; border-color: #25d366; color: #fff; }
.acts .sp { flex: 1; }
.acts select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: 700 13px var(--head); color: var(--navy); background: #fff; }
.dgrid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; align-items: start; }
.card2 { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; background: #fff; }
.card2 h4 { font-size: 14px; color: var(--navy); margin-bottom: 12px; display: flex; justify-content: space-between; }
.card2 h4 span { font: 500 12px var(--txt); color: var(--mut); }
.it { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.it img { width: 150px; height: 104px; object-fit: cover; border-radius: 10px; background: var(--bg); flex: none; }
.it .ph { width: 150px; height: 104px; border-radius: 10px; background: linear-gradient(135deg, var(--blue-l), #dfe7fb); display: grid; place-items: center; font: 800 34px var(--head); color: #a9bff5; flex: none; }
.it h5 { font-size: 14.5px; color: var(--navy); display: flex; justify-content: space-between; gap: 8px; }
.it ul { margin: 6px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--mut); }
.sum { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; font: 700 14px var(--head); color: var(--navy); }
.sum b { font-size: 22px; }
.mini { font-size: 12.5px; color: #13703a; margin: 6px 0 0; }
dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 10px; margin: 0; font-size: 13.5px; }
dt { color: var(--mut); }
dd { margin: 0; word-break: break-word; }
blockquote { margin: 12px 0 0; padding: 10px 12px; background: var(--bg); border-left: 3px solid var(--blue); border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--ink); }
.quick { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 14px; }
.quick button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 6px; font: 700 12.5px var(--head); color: var(--navy); }
.quick button:hover { border-color: var(--blue); color: var(--blue); }
.tl { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow-y: auto; }
.tl li { display: grid; grid-template-columns: 14px 1fr auto; gap: 8px; font-size: 13px; padding: 5px 0; align-items: baseline; }
.tl i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.tl time { color: var(--mut); font-size: 11.5px; white-space: nowrap; }
.note2 { display: flex; gap: 6px; margin-top: 10px; }
.note2 input { flex: 1; border: 1.5px solid var(--line); border-radius: 10px; padding: 8px 10px; font: 14px var(--txt); }
.note2 button { border: 0; background: var(--navy); color: #fff; border-radius: 10px; padding: 0 12px; font: 700 13px var(--head); }

.tbar { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.tbar input { flex: 0 1 320px; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; font: 14px var(--txt); }
.tbl { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font: 700 12px var(--head); color: var(--mut); text-transform: uppercase; letter-spacing: 0.04em; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: var(--blue-l); }
tr.unread td:first-child { box-shadow: inset 3px 0 var(--blue); }
.r { text-align: right; }
.cl { display: flex; gap: 10px; align-items: center; }
.cl b { display: block; font-family: var(--head); color: var(--navy); }
.cl small, td small { color: var(--mut); font-size: 12px; }
.empty { color: var(--mut); text-align: center; padding: 30px; }

.kanban { display: grid; grid-template-columns: repeat(6, minmax(220px, 1fr)); gap: 12px; align-items: start; min-width: 1360px; }
.col { background: #eef1f7; border-radius: var(--r); padding: 10px; min-height: 360px; transition: background 0.15s; }
.col.over { background: color-mix(in srgb, var(--f) 12%, #eef1f7); outline: 2px dashed var(--f); }
.col header { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 10px; font: 700 13px var(--head); color: var(--navy); }
.col header span { display: flex; align-items: center; gap: 6px; }
.col header i { width: 9px; height: 9px; border-radius: 50%; background: var(--f); }
.col header em { font-style: normal; color: var(--mut); font-weight: 600; }
.col header b { font-size: 12.5px; color: var(--mut); }
.cards2 { display: flex; flex-direction: column; gap: 8px; }
.kc { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(20, 30, 70, 0.08); cursor: grab; border-top: 3px solid var(--f); }
.kc.unread { box-shadow: 0 0 0 2px var(--blue); }
.kc.drag { opacity: 0.4; }
.kc img { width: 100%; height: 92px; object-fit: cover; border-radius: 7px; margin-bottom: 8px; }
.k1 { display: flex; justify-content: space-between; gap: 6px; font-family: var(--head); }
.k1 b { color: var(--navy); font-size: 13.5px; }
.k1 span { font-weight: 800; font-size: 13px; color: var(--navy); white-space: nowrap; }
.kc p { margin: 3px 0 8px; font-size: 12.5px; color: var(--mut); }
.k2 { display: flex; justify-content: space-between; align-items: center; }
.k2 small { color: var(--mut); font-size: 11.5px; }

.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(880px, 100%); background: #fff; box-shadow: -20px 0 60px rgba(20, 30, 70, 0.18); transform: translateX(105%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); overflow-y: auto; padding: 22px 24px; z-index: 20; }
.drawer.open { transform: none; }
.drawer .x { border: 0; background: var(--bg); width: 36px; height: 36px; border-radius: 50%; font-size: 20px; margin-left: 8px; }
.toast { position: fixed; left: 50%; bottom: 74px; transform: translate(-50%, 20px); background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 12px; font: 600 14px var(--head); opacity: 0; pointer-events: none; transition: 0.25s; z-index: 30; box-shadow: 0 12px 30px rgba(20, 30, 70, 0.3); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* demo-schakelaar */
.demo-switch { position: fixed; left: 14px; bottom: 14px; z-index: 40; display: flex; align-items: center; gap: 3px; background: #0b0f1d; padding: 4px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); font: 700 12px var(--head); }
.demo-switch span { color: #8f97ab; padding: 0 8px 0 10px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 10.5px; }
.demo-switch a { color: #c9cfdd; text-decoration: none; padding: 7px 13px; border-radius: 999px; }
.demo-switch a.on { background: #fff; color: #0b0f1d; }

/* ---------- mobiel ---------- */
@media (max-width: 980px) {
  .grid { grid-template-columns: 1fr; grid-template-rows: 42dvh 1fr; }
  .panel { border-left: 0; border-top: 1px solid var(--line); }
  .tt { display: none; }
  .top { padding: 8px 14px; }
  .logo img { height: 36px; }
  .trust { display: none; }
  .anim { bottom: 10px; padding: 8px 12px; gap: 10px; }
  .anim label { min-width: 96px; }
  .ptabs { left: 8px; top: 8px; gap: 4px; }
  .ptabs button span { display: none; }
  .ptabs button { padding: 6px; }
  .vtop { right: 8px; top: 8px; }
  .hint3d { display: none; }
  .stepper { padding: 10px 12px 0; }
  .st span { display: none; }
  .panel h2 { font-size: 18px; padding: 10px 16px 0; }
  .body { padding: 4px 16px 16px; }
  .price b { font-size: 20px; }
  .btn { padding: 11px 14px; }
  .demo-switch { bottom: auto; top: 10px; left: auto; right: 10px; }
  .top .tel { margin-right: 150px; }
  .portaal { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .side { flex-direction: row; align-items: center; padding: 8px 10px; gap: 8px; overflow-x: auto; }
  .slogo img { height: 32px; margin: 0; }
  #pnav { flex-direction: row; }
  .sfoot { display: none; }
  .phead { padding: 10px 14px; flex-wrap: wrap; }
  .phead .btn { display: none; }
  .pmain { padding: 12px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .inbox { grid-template-columns: 1fr; }
  .ilist { max-height: 34dvh; border-right: 0; border-bottom: 1px solid var(--line); }
  .pmain:has(.inbox) { overflow: auto; display: block; }
  .dgrid { grid-template-columns: 1fr; }
  .it img, .it .ph { width: 110px; height: 80px; }
}
@media (max-width: 420px) {
  .cards.c3 { grid-template-columns: 1fr; }
  .top .tel span { display: none; }
}
.stepper { align-items: flex-start; }
.st { justify-content: flex-start; align-self: stretch; }
.xtra.on .sw2 { background: var(--blue); }
.xtra.on .sw2::after { transform: translateX(17px); }
.sfoot { padding-bottom: 52px; }
.k2 small { white-space: nowrap; }
.k2 { gap: 6px; }
@media (max-width: 980px) { .top .tel { display: none; } }
