/* ZonCRM — basisstijl. Kleuren aanpassen? Wijzig de variabelen hieronder. */
:root {
  --brand: #0f766e;
  --brand-2: #115e59;
  --brand-soft: #ccfbf1;
  --bg: #f1f5f9;
  --card: #ffffff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --side: #0f172a;
  --side-ink: #cbd5e1;
  --danger: #dc2626;
  --warn: #d97706;
  --ok: #15803d;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
  font-size: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.45; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.45rem; margin: 0 0 .25rem; }
h2 { font-size: 1.15rem; margin: 0 0 .5rem; }
h3 { font-size: 1rem; margin: 0 0 .75rem; }
h4 { font-size: .9rem; margin: 1rem 0 .5rem; color: var(--ink-2); }
code { background: #e2e8f0; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.muted { color: var(--muted); }
.small { font-size: .85em; }
.r { text-align: right; }
.nowrap { white-space: nowrap; }
.neg { color: var(--danger); }
.ok { color: var(--ok); }
.bad { color: var(--danger); font-weight: 600; }
.warn { color: var(--warn); }
.req { color: var(--danger); }
.ic { width: 18px; height: 18px; flex: none; vertical-align: -4px; }

/* ---------- Layout ---------- */
.side { position: fixed; inset: 0 auto 0 0; width: 220px; background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; z-index: 50; }
.side .brand { display: flex; gap: 10px; align-items: center; padding: 18px 18px 16px; color: #fff; font-weight: 700; font-size: 1.05rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.side .brand .ic { color: #fbbf24; width: 24px; height: 24px; }
.side .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side nav { padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; }
.side nav a, .side-foot a { display: flex; gap: 12px; align-items: center; padding: 9px 12px; color: var(--side-ink); border-radius: 8px; text-decoration: none; }
.side nav a:hover, .side-foot a:hover { background: rgba(255,255,255,.06); color: #fff; }
.side nav a.on { background: var(--brand); color: #fff; }
.side-foot { margin-top: auto; padding: 10px 8px 14px; border-top: 1px solid rgba(255,255,255,.08); }
.side-foot .who { display: flex; gap: 12px; padding: 8px 12px; align-items: center; }
.side-foot .who small { display: block; color: #94a3b8; font-size: .78rem; }
.main { margin-left: 220px; min-height: 100vh; }
.main.nologin { margin-left: 0; }
.top { position: sticky; top: 0; z-index: 40; display: flex; gap: 12px; align-items: center; padding: 10px 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.search { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; color: var(--muted); }
.search input { border: 0; background: transparent; padding: 9px 0; width: 100%; outline: none; font: inherit; }
.top .btn { margin-left: auto; }
.content { padding: 20px 24px 60px; }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.row-between { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.cols > .col-side.left { order: -1; }
.cols:has(> .col-side.left) { grid-template-columns: 240px minmax(0, 1fr); }
.col-main { min-width: 0; }

/* ---------- Kaarten ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); }
.card.pad0 { padding: 0; overflow: hidden; }
.pad { padding: 18px; }
.card.sticky { position: sticky; top: 74px; }
.card.info dl { display: grid; grid-template-columns: 110px 1fr; gap: 6px 10px; margin: 0 0 14px; font-size: .92rem; }
.card.info dt { color: var(--muted); }
.card.info dd { margin: 0; word-break: break-word; }
.warn-card { border-color: #fcd34d; background: #fffbeb; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 8px; font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #f8fafc; text-decoration: none; border-color: #cbd5e1; }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-2); }
.btn.danger { color: var(--danger); border-color: #fecaca; }
.btn.danger:hover { background: #fef2f2; }
.btn.small { padding: 5px 10px; font-size: .85rem; }
.btn.block { display: flex; width: 100%; margin-bottom: 8px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; }
.link { background: none; border: 0; color: var(--brand); cursor: pointer; padding: 0 4px; font: inherit; font-size: .85rem; }
.link.danger { color: var(--danger); }
form.inline { display: inline; }

/* ---------- Formulieren ---------- */
.form label { display: flex; flex-direction: column; gap: 4px; font-weight: 500; font-size: .88rem; color: var(--ink-2); margin-bottom: 12px; }
.form label.check, label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; }
input, select, textarea { font: inherit; color: var(--ink); padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; min-width: 0; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brand-soft); border-color: var(--brand); }
input[type=checkbox] { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); }
input[type=color] { padding: 2px; height: 36px; width: 60px; }
textarea { resize: vertical; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 14px; }
.span2 { grid-column: span 2; }
.span4 { grid-column: 1 / -1; }
.form-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.sticky-actions { position: sticky; bottom: 0; background: rgba(241,245,249,.95); padding: 12px 0; border-top: 1px solid var(--line); }
.form h3 { margin-top: 10px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filters.card { padding: 10px 14px; }

/* ---------- Meldingen ---------- */
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.flash.ok { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.flash.err { background: #fef2f2; border-color: #fecaca; color: #7f1d1d; }
.flash.warn { background: #fffbeb; border-color: #fde68a; color: #78350f; }
.flash ul { margin: 6px 0; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl th { font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); font-weight: 600; white-space: nowrap; }
.tbl th a { color: inherit; }
.tbl th.r, .tbl td.r { text-align: right; }
.tbl tbody tr:hover { background: #f8fafc; }
.tbl .cb { width: 32px; }
.tbl .empty { text-align: center; color: var(--muted); padding: 30px; }
.tbl tr.inactive td { opacity: .5; }
.tbl tr.grp td { background: #f8fafc; font-weight: 600; font-size: .85rem; color: var(--ink-2); }
.tbl.list td { font-size: .9rem; }
.acts { white-space: nowrap; }
.acts a { display: inline-flex; padding: 4px; border-radius: 6px; color: var(--muted); }
.acts a:hover { background: var(--brand-soft); color: var(--brand); }
.acts a.has { color: var(--brand); }

/* ---------- Pijplijn ---------- */
.stage-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.stage-tab { --c: #64748b; display: inline-flex; gap: 8px; align-items: center; padding: 6px 10px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); border-radius: 8px; color: var(--ink-2); font-size: .88rem; text-decoration: none; }
.stage-tab b { background: var(--c); color: #fff; border-radius: 10px; padding: 0 7px; font-size: .78rem; min-width: 22px; text-align: center; }
.stage-tab:hover { text-decoration: none; border-color: var(--c); }
.stage-tab.on { background: var(--c); color: #fff; border-color: var(--c); }
.stage-tab.on b { background: rgba(255,255,255,.25); }
.list-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 8px 10px; background: var(--brand-soft); border-radius: 8px; margin-bottom: 10px; }
.pager { display: flex; gap: 6px; align-items: center; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.pager .muted { margin-right: auto; }
.pill { --c: #64748b; display: inline-block; padding: 3px 10px; border-radius: 99px; background: var(--c); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.tag { display: inline-block; padding: 1px 8px; border-radius: 99px; background: #e2e8f0; color: var(--ink-2); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.tag.q-verzonden, .tag.t-bellen { background: #dbeafe; color: #1e40af; }
.tag.q-bekeken, .tag.t-adviesgesprek { background: #ede9fe; color: #5b21b6; }
.tag.q-akkoord, .tag.t-installatie { background: #dcfce7; color: #166534; }
.tag.q-afgewezen { background: #fee2e2; color: #991b1b; }
.tag.t-schouw { background: #fef3c7; color: #92400e; }
.tag.t-service { background: #cffafe; color: #155e75; }

/* ---------- Klantpagina ---------- */
.cust-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 18px; overflow-x: auto; }
.tabs a { display: inline-flex; gap: 6px; align-items: center; padding: 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a:hover { color: var(--ink); }
.tabs a.on { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.minimap { height: 230px; background: #cbd5e1; }
.dl2 { display: grid; grid-template-columns: 170px 1fr; gap: 6px 14px; margin: 14px 0 0; }
.dl2 dt { color: var(--muted); }
.dl2 dd { margin: 0; }
.wa { margin-left: 8px; font-size: .8rem; background: #22c55e; color: #fff; padding: 1px 8px; border-radius: 99px; }
.note-box { margin-top: 14px; padding: 10px 12px; background: #fefce8; border: 1px solid #fef08a; border-radius: 8px; }
.stage-form select { font-weight: 600; }
.appts { list-style: none; padding: 0; margin: 0 0 6px; }
.appts li { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.appts li.done { opacity: .55; text-decoration: line-through; }
.docs { list-style: none; padding: 0; margin: 0 0 8px; }
.docs li { padding: 6px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.upload-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.note-form { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; }
.note-form textarea { flex: 1; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.seg a { padding: 6px 12px; color: var(--ink-2); cursor: pointer; text-decoration: none; border-right: 1px solid var(--line); background: #fff; }
.seg a:last-child { border-right: 0; }
.seg a.on { background: var(--brand); color: #fff; }
.seg.mini a { padding: 4px 10px; font-size: .85rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 14px 12px; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 5px; width: 10px; height: 10px; border-radius: 50%; background: #94a3b8; border: 2px solid #fff; }
.timeline li.tl-status::before { background: #3b82f6; }
.timeline li.tl-note::before { background: #eab308; }
.timeline li.tl-document::before, .timeline li.tl-mail::before { background: var(--brand); }
.tl-meta { font-size: .78rem; color: var(--muted); }
.tl-title { font-weight: 600; }
.tl-body { color: var(--ink-2); font-size: .9rem; white-space: pre-wrap; }
.danger-zone { text-align: right; }

/* ---------- Dialoog ---------- */
.dialog { border: 0; border-radius: 12px; padding: 22px; width: min(560px, 94vw); box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.dialog::backdrop { background: rgba(15,23,42,.45); }

/* ---------- Offerte-editor ---------- */
.qedit input { padding: 5px 7px; }
.qedit input.num { width: 84px; text-align: right; }
.qedit input.qty { width: 64px; }
.qedit input.sku { width: 120px; }
.qedit input.name { width: 100%; min-width: 220px; }
.qedit td { padding: 5px 6px; }
.qedit .drag { cursor: grab; color: #94a3b8; user-select: none; }
.qedit tr.is-hidden td { background: #f8fafc; }
.qedit tr.is-hidden .name { color: var(--muted); font-style: italic; }
.qedit tr.dragging { opacity: .4; }
.qedit tfoot td { border-bottom: 0; }
.add-line { margin-top: 14px; padding-top: 6px; border-top: 1px solid var(--line); }
.add-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr) 70px auto auto; gap: 8px; align-items: center; }
.kpi-row, .qkpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 8px 0; }
.kpi-row div { background: #f8fafc; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.kpi-row span { display: block; font-size: .78rem; color: var(--muted); }
.kpi-row b { font-size: 1.1rem; }
.totals-mini { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; background: var(--brand-soft); border-radius: 8px; margin-bottom: 10px; }
.totals-mini b { font-size: 1.2rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 12px 0; }

/* ---------- Producten ---------- */
.catlist { display: flex; flex-direction: column; padding: 8px; }
.catlist a { display: flex; justify-content: space-between; padding: 7px 10px; border-radius: 6px; color: var(--ink-2); text-decoration: none; font-size: .9rem; }
.catlist a span { color: var(--muted); font-size: .8rem; }
.catlist a.on, .catlist a:hover { background: var(--brand-soft); color: var(--brand); }

/* ---------- Planning ---------- */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.day { background: #fff; border: 1px solid var(--line); border-radius: 10px; min-height: 260px; padding: 8px; }
.day.weekend { background: #f8fafc; }
.day.today { border-color: var(--brand); box-shadow: 0 0 0 2px var(--brand-soft); }
.day-h { font-weight: 700; font-size: .85rem; margin-bottom: 8px; display: flex; justify-content: space-between; }
.day-h span { color: var(--muted); font-weight: 500; }
.appt { border-left: 3px solid #94a3b8; background: #f8fafc; border-radius: 6px; padding: 6px 8px; margin-bottom: 6px; font-size: .82rem; }
.appt.t-adviesgesprek { border-color: #7c3aed; } .appt.t-bellen { border-color: #2563eb; } .appt.t-installatie { border-color: #16a34a; }
.appt.t-schouw { border-color: #d97706; } .appt.t-service { border-color: #0891b2; }
.appt.done { opacity: .5; }
.appt-time { color: var(--muted); font-size: .75rem; }
.appt-title { font-weight: 600; }
.appt-cust { display: block; color: var(--ink-2); }
.appt-acts { margin-top: 2px; }

/* ---------- Formulieren (schouw/oplevering) ---------- */
.fsec summary { list-style: none; cursor: pointer; }
.fsec summary::-webkit-details-marker { display: none; }
.fsec summary h3 { display: inline-block; }
.fsec summary h3::after { content: " ▾"; color: var(--muted); }
.fsec:not([open]) summary h3::after { content: " ▸"; }
.rep-item { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px 2px; margin: 0 0 10px; }
.rep-item legend { font-weight: 600; padding: 0 6px; }
.photo-field { margin-bottom: 12px; }
.pf-label { font-weight: 500; font-size: .88rem; color: var(--ink-2); margin-bottom: 4px; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; }
.thumbs figure { margin: 0; width: 110px; font-size: .75rem; }
.thumbs img { width: 110px; height: 82px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); display: block; }
.thumbs .del { flex-direction: row; font-weight: 400; margin: 2px 0 0; }
.sigfield canvas { border: 1px dashed #94a3b8; border-radius: 8px; background: #fff; touch-action: none; max-width: 100%; display: block; }
img.sig { max-height: 110px; max-width: 320px; display: block; }
.form-head { margin-bottom: 12px; }

/* ---------- Designer ---------- */
.designer-page .content { padding-bottom: 12px; }
.designer { display: grid; grid-template-columns: 48px minmax(0, 1fr) 300px; gap: 0; height: calc(100vh - 190px); min-height: 560px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.dz-toolbar { display: flex; flex-direction: column; gap: 4px; padding: 6px; background: #1e293b; }
.dz-toolbar button { width: 36px; height: 36px; border: 0; border-radius: 7px; background: transparent; color: #e2e8f0; font-size: 17px; cursor: pointer; }
.dz-toolbar button:hover { background: rgba(255,255,255,.1); }
.dz-toolbar button.on { background: var(--brand); }
.dz-toolbar hr { border-color: rgba(255,255,255,.15); width: 100%; margin: 4px 0; }
.dz-map-wrap { position: relative; display: flex; flex-direction: column; min-width: 0; }
#dz-map { flex: 1; background: #94a3b8; }
.dz-progress { display: flex; align-items: center; gap: 10px; padding: 6px 10px; font-size: .8rem; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.dz-progress .bar { flex: 1; height: 8px; background: #e2e8f0; border-radius: 99px; overflow: hidden; max-width: 300px; }
.dz-progress .bar span { display: block; height: 100%; background: var(--brand); width: 0; transition: width .3s; }
.dz-stats { display: flex; gap: 18px; flex-wrap: wrap; padding: 8px 12px; background: #0f172a; color: #cbd5e1; font-size: .82rem; }
.dz-stats b { color: #fff; }
.dz-hint { position: absolute; top: 44px; left: 50%; transform: translateX(-50%); z-index: 500; background: rgba(15,23,42,.88); color: #fff; padding: 6px 12px; border-radius: 8px; font-size: .82rem; max-width: 80%; text-align: center; pointer-events: none; }
.dz-hint:empty, .dz-hint[hidden] { display: none; }
.dz-side { border-left: 1px solid var(--line); overflow-y: auto; padding: 4px 14px 14px; }
.dz-side section { padding: 10px 0; border-bottom: 1px solid var(--line); }
.dz-side h4 { margin: 4px 0 8px; }
.dz-side label { display: flex; flex-direction: column; gap: 3px; font-size: .82rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; }
.dz-side label.check { flex-direction: row; }
.dz-side input, .dz-side select { padding: 6px 8px; font-size: .88rem; }
.dz-list { list-style: none; margin: 0 0 8px; padding: 0; }
.dz-list li a { display: block; padding: 6px 8px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.dz-list li a span { display: block; font-size: .78rem; color: var(--muted); }
.dz-list li.on a, .dz-list li a:hover { background: var(--brand-soft); }
.dz-roof-label { color: #fff; font-size: 11px; font-weight: 700; text-shadow: 0 0 3px #000, 0 0 3px #000; white-space: nowrap; text-align: center; width: auto !important; height: auto !important; transform: translate(-50%, -50%); }
.dz-measure { background: rgba(15,23,42,.85); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 11px; white-space: nowrap; width: auto !important; height: auto !important; }

/* ---------- Login / installer ---------- */
.login-page .content, body.install { display: grid; place-items: center; min-height: 100vh; padding: 20px; }
.login-box, .install-box { width: min(440px, 100%); }
.install-box { width: min(640px, 100%); }
.brand.big { display: flex; gap: 8px; align-items: center; font-weight: 800; font-size: 1.2rem; color: var(--brand); margin-bottom: 14px; }
.steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; padding: 4px 10px; border-radius: 99px; background: #e2e8f0; color: var(--muted); font-size: .8rem; }
.steps li::before { content: counter(s) ". "; }
.steps li.on { background: var(--brand); color: #fff; }
.steps li.done { background: var(--brand-soft); color: var(--brand); }

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
  .cols, .cols:has(> .col-side.left) { grid-template-columns: 1fr; }
  .cols > .col-side.left { order: 0; }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .designer { grid-template-columns: 44px minmax(0, 1fr); height: auto; }
  .designer #dz-map { height: 60vh; }
  .dz-side { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); }
  .add-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { font-size: 15px; }
  .side { width: 100%; height: 56px; inset: auto 0 0 0; flex-direction: row; }
  .side .brand, .side-foot .who, .side nav a span, .side-foot a span { display: none; }
  .side nav { flex-direction: row; flex: 1; justify-content: space-around; padding: 6px; }
  .side-foot { margin: 0; border: 0; padding: 6px; }
  .main { margin-left: 0; padding-bottom: 60px; }
  .top { padding: 8px 12px; }
  .top .btn span { display: none; }
  .content { padding: 14px 12px 60px; }
  .grid2, .grid4 { grid-template-columns: 1fr; }
  .span2 { grid-column: auto; }
  .week { grid-template-columns: 1fr; }
  .dl2 { grid-template-columns: 1fr; }
  .dl2 dt { margin-top: 6px; }
}

/* ---------- Afdrukken ---------- */
@media print {
  .side, .top, .tabs, .no-print, .form-actions, .btn, .danger-zone { display: none !important; }
  .main { margin: 0; }
  .content { padding: 0; }
  .card { box-shadow: none; border: 0; padding: 0 0 12px; }
  .fsec { break-inside: avoid; }
  input, select, textarea { border: 0; border-bottom: 1px solid #cbd5e1; border-radius: 0; }
  input[type=file] { display: none; }
}
