/* =====================================================================
   Webshopplatform: opmaak van het beheer en de publieke pagina's
   ===================================================================== */

:root {
    --ink: #17202e;
    --ink-soft: #3d4757;
    --muted: #6b7686;
    --line: #e4e7ec;
    --line-strong: #cfd5de;
    --bg: #f5f6f8;
    --card: #ffffff;
    --accent: #0c7a5c;
    --accent-dark: #095f48;
    --accent-soft: #e6f4ef;
    --ok-bg: #e8f6ef;
    --ok-ink: #0f5c3f;
    --warn-bg: #fff5d9;
    --warn-ink: #7a5300;
    --err-bg: #fdeceb;
    --err-ink: #a1261d;
    --radius: 12px;
    --radius-small: 8px;
    --shadow: 0 1px 2px rgba(23, 32, 46, .05), 0 1px 3px rgba(23, 32, 46, .04);
    --control-height: 44px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

h1 { font-size: 1.75rem; line-height: 1.2; letter-spacing: -.02em; margin: 0 0 6px; }
h2 { font-size: 1.1rem; line-height: 1.3; letter-spacing: -.01em; margin: 0 0 12px; }
p { margin: 0 0 14px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 460px; margin: 0 auto; }
.narrow.wide { max-width: 720px; }
.narrow > h1 { margin-bottom: 22px; }
.center { text-align: center; }
.sub { color: var(--muted); margin: 0 0 24px; }
.spaced { margin-top: 36px; }
.hint { color: var(--muted); font-size: .875rem; line-height: 1.45; }

/* ---------------------------------------------------------------------
   Bovenbalk
   --------------------------------------------------------------------- */

.top { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }

.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); position: relative; flex: none; }
.brand-mark::after { content: ""; position: absolute; left: 7px; right: 7px; top: 9px; bottom: 6px; border: 2px solid #fff; border-top: 0; border-radius: 0 0 5px 5px; }

.top nav { display: flex; align-items: center; gap: 4px; }
.inline { display: inline; margin: 0; }

.nav-link, button.link.nav-link {
    display: inline-flex; align-items: center; height: 38px; padding: 0 14px;
    border-radius: var(--radius-small); color: var(--ink-soft); font-size: .95rem; font-weight: 500; text-decoration: none;
}
.nav-link:hover, button.link.nav-link:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.nav-link.active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 600; }
.top nav .btn { margin-left: 8px; }

main.wrap { padding-top: 40px; padding-bottom: 56px; min-height: calc(100vh - 150px); }
.foot { color: var(--muted); font-size: .85rem; padding-top: 20px; padding-bottom: 32px; border-top: 1px solid var(--line); }

/* ---------------------------------------------------------------------
   Knoppen
   --------------------------------------------------------------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: var(--control-height); padding: 0 20px;
    background: var(--accent); color: #fff;
    border: 1px solid var(--accent); border-radius: var(--radius-small);
    font: inherit; font-size: .95rem; font-weight: 600; line-height: 1; white-space: nowrap;
    text-decoration: none; cursor: pointer;
    transition: background .12s ease, border-color .12s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; }
.btn:focus-visible, .nav-link:focus-visible, a:focus-visible { outline: 3px solid rgba(12, 122, 92, .35); outline-offset: 2px; }
.btn.small { height: 38px; padding: 0 16px; font-size: .9rem; }
.btn.ghost { background: var(--card); color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--bg); border-color: #b7bfcb; }

button.link { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); cursor: pointer; }
button.link:hover { text-decoration: underline; }
button.link.danger { color: var(--err-ink); font-weight: 500; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions.left { margin-top: 24px; }

/* ---------------------------------------------------------------------
   Kaarten en meldingen
   --------------------------------------------------------------------- */

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card + .card { margin-top: 20px; }

.notice { border-radius: var(--radius-small); padding: 13px 16px; margin: 0 0 24px; font-size: .95rem; border: 1px solid transparent; }
.notice.ok { background: var(--ok-bg); color: var(--ok-ink); border-color: #c5e8d6; }
.notice.error { background: var(--err-bg); color: var(--err-ink); border-color: #f6cfcb; }
.notice ul { margin: 0; padding-left: 18px; }
.notice li + li { margin-top: 4px; }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; margin-left: 8px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: #eceff3; color: var(--ink-soft); white-space: nowrap; }
.badge.trial { background: var(--warn-bg); color: var(--warn-ink); }
.badge.active { background: var(--ok-bg); color: var(--ok-ink); }
.badge.draft { background: #eceff3; color: var(--muted); }
.badge.suspended, .badge.cancelled, .badge.archived { background: var(--err-bg); color: var(--err-ink); }
td .badge { margin-left: 0; }

/* ---------------------------------------------------------------------
   Formulieren
   --------------------------------------------------------------------- */

.form { margin: 0 0 24px; }
.form label { display: block; font-size: .9rem; font-weight: 600; color: var(--ink); margin: 20px 0 6px; }
.form > label:first-of-type { margin-top: 0; }

.form input[type=text], .form input[type=email], .form input[type=password], .form input[type=number],
.form select, .form textarea, .form input[type=file], .search input[type=text] {
    display: block; width: 100%; min-height: var(--control-height); padding: 10px 13px;
    font: inherit; font-size: 1rem; color: var(--ink);
    background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-small);
    transition: border-color .12s ease, box-shadow .12s ease;
}
.form select { appearance: none; -webkit-appearance: none; padding-right: 38px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7686' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; }
.form textarea { resize: vertical; line-height: 1.5; }
.form input[type=file] { padding: 9px; background: var(--bg); border-style: dashed; cursor: pointer; }
.form input::placeholder, .search input::placeholder { color: #9aa3b0; }
.form input:focus, .form select:focus, .form textarea:focus, .search input:focus {
    outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(12, 122, 92, .16);
}
.form .hint { margin: 7px 0 0; }
.form > .btn { margin-top: 26px; }
.narrow:not(.wide) .form > .btn { width: 100%; }

.form fieldset { border: 0; padding: 0; margin: 22px 0 0; }
.form legend { font-size: .9rem; font-weight: 600; padding: 0; margin-bottom: 8px; }
.form label.radio { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; font-weight: 400; margin: 0 0 8px; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); cursor: pointer; }
.form label.radio:hover { border-color: var(--accent); }
.form label.radio:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form label.radio input { margin: 4px 0 0; accent-color: var(--accent); }
.form label.check { display: flex; gap: 8px; align-items: center; font-weight: 400; color: var(--ink-soft); margin: 9px 0 0; }
.form label.check input { width: 16px; height: 16px; accent-color: var(--accent); }

.slug-row { display: flex; align-items: center; gap: 10px; }
.slug-row input { flex: 1; min-width: 0; }
.slug-row span { color: var(--muted); white-space: nowrap; font-size: .95rem; }

.cols { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.map-grid { display: grid; gap: 0 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.map-grid > div:first-child label, .map-grid label { margin-top: 0; }
.map-grid > div { margin-bottom: 18px; }
.map-grid + .hint { margin-top: 0; }

.danger-row { margin: 0 0 24px; padding: 16px 24px; display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }

/* ---------------------------------------------------------------------
   Paginakop met knoppen en zoekbalk
   --------------------------------------------------------------------- */

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.head-row .sub { margin-bottom: 0; }
.head-row h1 { margin-bottom: 4px; }

.search { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }
.search input[type=text] { flex: 1 1 260px; width: auto; }
.search > a { margin-left: auto; font-size: .9rem; white-space: nowrap; }

/* ---------------------------------------------------------------------
   Tabellen
   --------------------------------------------------------------------- */

.table-wrap { padding: 0; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 13px 20px; border-top: 1px solid var(--line); vertical-align: middle; }
thead th { border-top: 0; background: #fafbfc; color: var(--muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; }
thead th:first-child { border-top-left-radius: var(--radius); }
thead th:last-child { border-top-right-radius: var(--radius); }
tbody tr:hover { background: #fafbfc; }
td a { font-weight: 600; }
.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.empty { text-align: center; padding: 56px 24px; }
.empty::before {
    content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px; background-color: var(--accent-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%230c7a5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8l-9-5-9 5v8l9 5 9-5V8z'/%3E%3Cpath d='M3 8l9 5 9-5M12 13v8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}
.empty p { color: var(--ink-soft); max-width: 420px; margin: 0 auto 20px; }
.empty p:last-child { margin-bottom: 0; }

.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }

/* ---------------------------------------------------------------------
   Dashboard
   --------------------------------------------------------------------- */

.stats, .plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 24px; }
.stats .card, .plans .card { margin-top: 0; }
.stats .card { padding: 20px 22px; }
.stats .label { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.stats .value { display: block; font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stats .value small { font-size: .85rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }

.todo { list-style: none; margin: 0; padding: 0; }
.todo li { padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.todo li:first-child { border-top: 0; padding-top: 4px; }
.todo li:last-child { padding-bottom: 0; }
.todo li.done { color: var(--ok-ink); }
.todo a { font-weight: 600; margin-left: 4px; }

.plain { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.plain li { margin: 8px 0; }
.plain li:first-child { margin-top: 0; }
.plain li:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   Publieke pagina's
   --------------------------------------------------------------------- */

.hero { text-align: center; padding: 48px 0 44px; }
.hero h1 { font-size: 2.6rem; letter-spacing: -.03em; margin-bottom: 14px; }
.hero p { color: var(--ink-soft); font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }
.hero .btn { height: 50px; padding: 0 28px; font-size: 1rem; }

.plans { max-width: 760px; margin-left: auto; margin-right: auto; }
.plans .card { padding: 28px; }
.plans ul { margin: 0; padding: 0; list-style: none; }
.plans li { position: relative; padding: 7px 0 7px 26px; color: var(--ink-soft); }
.plans li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.price { font-size: 2rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0 0 16px; }
.price span { display: block; font-size: .85rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 2px; }

.is-public .narrow > h1 { text-align: center; margin-bottom: 24px; }
.is-public .narrow > .center { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------------
   Kleine schermen
   --------------------------------------------------------------------- */

@media (max-width: 640px) {
    .wrap { padding-left: 16px; padding-right: 16px; }
    main.wrap { padding-top: 28px; }
    h1 { font-size: 1.45rem; }
    .hero { padding: 28px 0; }
    .hero h1 { font-size: 1.9rem; }
    .card { padding: 20px 18px; }
    .card.table-wrap { padding: 0; }
    .head-row { align-items: stretch; flex-direction: column; gap: 16px; }
    .head-row .actions .btn { flex: 1; }
    .slug-row { flex-direction: column; align-items: stretch; gap: 6px; }
    .search > a { margin-left: 0; }
    th, td { padding: 12px 14px; }
    .nav-link, button.link.nav-link { padding: 0 10px; }
    .danger-row { padding: 16px 18px; }
}

/* ---------------------------------------------------------------------
   Foto's, logo en kleurkeuze
   --------------------------------------------------------------------- */

.product-cell { display: inline-flex; align-items: center; gap: 12px; }
.mini { width: 40px; height: 40px; flex: none; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.mini img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini.empty {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23b3bac4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='2.5'/%3E%3Ccircle cx='8.5' cy='9.5' r='1.6'/%3E%3Cpath d='M21 16l-5-5-8 8'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

.photo-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.photo { position: relative; margin: 0; text-align: center; }
.photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-small); border: 1px solid var(--line); display: block; margin-bottom: 6px; }
.photo-main { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 600; }
.photo button { font-size: .85rem; }

.logo-row { display: flex; align-items: center; gap: 18px; margin-bottom: 10px; }
.logo-row img { max-height: 56px; max-width: 220px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-small); background: #fff; }
.logo-row .check { margin: 0 !important; }

.color-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.color-row input[type=color] { width: 56px; height: var(--control-height); padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: #fff; cursor: pointer; }
.swatch { width: 32px; height: 32px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line-strong); cursor: pointer; padding: 0; }
.swatch:hover { box-shadow: 0 0 0 2px var(--ink); }

.card > h2 + label { margin-top: 4px; }
.hint.lead { margin: -4px 0 18px; }
h1 .badge { vertical-align: middle; margin-left: 10px; }

/* ---------------------------------------------------------------------
   Foto's in bulk toevoegen
   --------------------------------------------------------------------- */

.dropzone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 36px 20px; text-align: center; background: var(--bg); border: 2px dashed var(--line-strong); border-radius: var(--radius); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone.busy { opacity: .55; pointer-events: none; }
.dropzone strong { display: inline-flex; align-items: center; height: var(--control-height); padding: 0 20px; margin-bottom: 8px; border-radius: var(--radius-small); background: var(--accent); color: #fff; font-size: .95rem; }
.dropzone span { color: var(--muted); font-size: .9rem; }
.dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dropzone:focus-within { outline: 3px solid rgba(12, 122, 92, .35); outline-offset: 2px; }

.progress { height: 8px; margin: 20px 0 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .2s ease; }
.progress-text { margin: 0; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }

.result-list { list-style: none; margin: 14px 0 0; padding: 0; max-height: 340px; overflow-y: auto; }
.result-list:empty { display: none; }
.result-list li { display: flex; gap: 12px; align-items: baseline; padding: 9px 0 9px 22px; border-top: 1px solid var(--line); font-size: .92rem; position: relative; }
.result-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.result-list li.error::before { background: #d4483d; }
.result-list strong { flex: none; max-width: 45%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-list span { color: var(--ink-soft); }
.result-list li.error span { color: var(--err-ink); }
#fetch-start { margin-top: 4px; }

.next-step { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-color: #bfe3d5; background: var(--accent-soft); }
.next-step h2 { margin-bottom: 4px; }
.next-step p { margin: 0; color: var(--ink-soft); max-width: 560px; }

/* ---------------------------------------------------------------------
   Tabbladen, bestellingen en betalingen
   --------------------------------------------------------------------- */

.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: 4px 0 24px; padding: 4px; background: #e9ecf0; border-radius: 10px; width: fit-content; max-width: 100%; }
.tabs a { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 7px; color: var(--ink-soft); font-size: .92rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.tabs a:hover { color: var(--ink); text-decoration: none; }
.tabs a.active { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--shadow); }
.tabs .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: rgba(23, 32, 46, .08); font-size: .75rem; display: inline-flex; align-items: center; justify-content: center; }

.status-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 20px; }
.status-row .badge { margin-left: 0; height: 28px; padding: 0 12px; }
.inline-danger { margin-top: 4px; }
.cancel-link { display: inline-block; margin: 26px 0 0 16px; color: var(--ink-soft); }
.badge.big { height: 32px; padding: 0 14px; font-size: .85rem; margin-left: 0; }

.order-layout { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
.order-layout > div > .card + .card, .order-layout > div > .card + form.card, .order-layout aside .card + .card { margin-top: 20px; }
.order-layout .form { margin: 20px 0 0; }
.order-layout aside h2 { font-size: 1rem; }
.order-layout .small-space { margin-top: 18px; }
tfoot td { border-top: 1px solid var(--line); color: var(--ink-soft); }
tfoot tr.total td { color: var(--ink); font-weight: 700; }
.lines { margin: 0; color: var(--ink-soft); line-height: 1.7; word-break: break-word; }
.pre { white-space: pre-wrap; margin: 0; color: var(--ink-soft); }
.orders-empty::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%230c7a5c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16l-1.5 11a2 2 0 0 1-2 1.7H7.5a2 2 0 0 1-2-1.7L4 7z'/%3E%3Cpath d='M9 7V5.5a3 3 0 0 1 6 0V7'/%3E%3C/svg%3E");
}
.stat-link { color: inherit; text-decoration: none; transition: border-color .12s ease; }
.stat-link:hover { border-color: var(--accent); text-decoration: none; }

@media (max-width: 860px) {
    .order-layout { grid-template-columns: minmax(0, 1fr); }
}

/* Uitgeschakelde velden en losse formulierkaarten onder elkaar */
.form input:disabled { background: var(--bg); color: var(--muted); cursor: not-allowed; }
.narrow > form.card + form.card { margin-top: 20px; }

/* ---------------------------------------------------------------------
   Platformbeheer
   --------------------------------------------------------------------- */

.admin-top { background: #16202c; border-bottom-color: #16202c; }
.admin-top .brand { color: #fff; }
.admin-top .nav-link, .admin-top button.link.nav-link { color: #c9d1dc; }
.admin-top .nav-link:hover, .admin-top button.link.nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.admin-top .nav-link.active { background: rgba(255, 255, 255, .14); color: #fff; }
.admin-tag { margin-left: 6px; padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }

.admin-action { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-top: 1px solid var(--line); }
.admin-action:first-of-type { border-top: 0; padding-top: 4px; }
.admin-action > div:first-child { display: flex; flex-direction: column; gap: 2px; }
.admin-action .hint { margin: 0; }
.inline-select { height: 38px; padding: 0 10px; font: inherit; font-size: .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: #fff; }
.btn.danger-text { color: var(--err-ink); }

/* Abonnement */
.billing-status p { margin: 0 0 6px; }
.billing-status .badge { margin: 0 8px 0 0; }
.plan-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 4px 0 16px; }
.plan-option { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 18px 16px 48px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); cursor: pointer; transition: border-color .15s, background .15s; }
.plan-option:hover { border-color: #b9c0c9; }
.plan-option input { position: absolute; left: 18px; top: 20px; width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.plan-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.plan-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.plan-name { font-weight: 700; color: var(--ink); }
.plan-price { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.plan-price small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.plan-meta { font-size: .875rem; color: var(--ink-soft); }
.invoice-list { list-style: none; margin: 12px 0 0; padding: 0; font-size: .9rem; }
.invoice-list li { display: flex; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.invoice-list li span:first-of-type { color: var(--muted); }
.invoice-list .num { margin-left: auto; }
.form .plan-option { margin: 0; display: flex; font-size: 1rem; font-weight: 400; }
.form .plan-option input { width: 18px; height: 18px; padding: 0; box-shadow: none; }

/* Voet met juridische links */
.foot { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--ink); }

/* Akkoord bij aanmelden */
.form label.check.terms-check { align-items: flex-start; margin: 22px 0 22px; font-size: .92rem; line-height: 1.5; }
.form label.check.terms-check input { flex: none; margin-top: 3px; width: 18px; height: 18px; }

/* Juridische pagina's */
.legal { max-width: 760px; margin: 0 auto; }
.legal-text { padding: 36px 40px; }
.legal-text h1 { font-size: 1.9rem; letter-spacing: -.02em; margin: 0 0 4px; }
.legal-text h2 { font-size: 1.1rem; margin: 30px 0 8px; }
.legal-text p, .legal-text li { color: var(--ink-soft); line-height: 1.65; }
.legal-text ul { padding-left: 20px; }
.legal-text li { margin-bottom: 6px; }
@media (max-width: 640px) { .legal-text { padding: 24px 20px; } }

/* Startpagina */
.btn.big { height: 52px; padding: 0 28px; font-size: 1.02rem; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.landing-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 28px 0 72px; }
.landing-hero h1 { font-size: 3.1rem; line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; }
.landing-hero .lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 30px; max-width: 480px; }
.landing-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.mock { position: relative; padding: 0 0 30px 0; }
.mock-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #e9ecf0; border-radius: 14px 14px 0 0; border: 1px solid var(--line); border-bottom: 0; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd5de; }
.mock-bar span { margin-left: 12px; flex: 1; height: 22px; line-height: 22px; padding: 0 12px; background: #fff; border-radius: 6px; font-size: .74rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-shop { background: #fff; border: 1px solid var(--line); border-radius: 0 0 14px 14px; padding: 18px 20px 48px; box-shadow: 0 24px 48px -20px rgba(23, 32, 46, .25); }
.mock-head { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; margin-bottom: 14px; }
.mock-head b { font-size: .98rem; letter-spacing: -.01em; }
.mock-head span { color: var(--muted); font-size: .76rem; }
.mock-banner { height: 92px; border-radius: 10px; background: linear-gradient(120deg, #8a5a3c, #c99a6e); color: #fff; font-weight: 700; font-size: 1.05rem; display: flex; align-items: flex-end; padding: 14px 16px; margin-bottom: 16px; }
.mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mock-grid div { display: flex; flex-direction: column; gap: 3px; font-size: .74rem; }
.mock-grid em { font-style: normal; color: var(--ink-soft); }
.mock-grid strong { font-size: .8rem; }
.ph { display: block; aspect-ratio: 1; border-radius: 8px; margin-bottom: 5px; }
.ph1 { background: linear-gradient(145deg, #e8d6c3, #c7a98b); }
.ph2 { background: linear-gradient(145deg, #d9e4dc, #9db7a5); }
.ph3 { background: linear-gradient(145deg, #e3e1ec, #a9a6c2); }
.mock-toast { position: absolute; left: -22px; bottom: 0; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: .84rem; line-height: 1.4; box-shadow: 0 12px 30px -10px rgba(23, 32, 46, .28); color: var(--ink-soft); }
.mock-toast strong { color: var(--ink); }
.mock-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); position: relative; flex: none; }
.mock-dot::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.landing-steps, .landing-features, .landing-pricing, .landing-faq { padding: 56px 0; border-top: 1px solid var(--line); }
.landing-steps h2, .landing-features h2, .landing-pricing h2, .landing-faq h2, .landing-final h2 { font-size: 1.9rem; letter-spacing: -.025em; text-align: center; margin: 0 0 32px; }
.landing-pricing h2 { margin-bottom: 8px; }
.landing-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.landing-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-no { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
.landing-steps h3, .feature-grid h3, .price-card h3 { font-size: 1.08rem; margin: 0 0 8px; }
.landing-steps p, .feature-grid p { color: var(--ink-soft); margin: 0; line-height: 1.55; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
.feature-grid div { padding-left: 18px; border-left: 3px solid var(--accent-soft); }

.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; max-width: 720px; margin: 0 auto 20px; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.price-card.featured { border: 2px solid var(--accent); }
.price-big { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; margin: 6px 0 0; }
.price-big span { font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0 24px; flex: 1; }
.checks li { position: relative; padding: 6px 0 6px 26px; color: var(--ink-soft); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 11px; border: solid var(--accent); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.landing-faq { max-width: 720px; margin: 0 auto; }
.landing-faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.landing-faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; position: relative; padding-right: 50px; }
.landing-faq summary::-webkit-details-marker { display: none; }
.landing-faq summary::after { content: "+"; position: absolute; right: 22px; top: 14px; font-size: 1.4rem; font-weight: 400; color: var(--muted); }
.landing-faq details[open] summary::after { content: "\2212"; }
.landing-faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); line-height: 1.6; }

.landing-final { text-align: center; padding: 56px 24px; margin: 24px 0 8px; background: var(--ink); color: #fff; border-radius: 18px; }
.landing-final h2 { color: #fff; margin-bottom: 10px; }
.landing-final p { color: #c3cad4; margin: 0 0 26px; }

@media (max-width: 860px) {
    .landing-hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
    .landing-hero h1 { font-size: 2.4rem; }
    .mock { margin: 0 6px 0 22px; }
    .landing-steps ol, .feature-grid { grid-template-columns: 1fr; }
    .feature-grid { gap: 22px; }
    .landing-steps h2, .landing-features h2, .landing-pricing h2, .landing-faq h2, .landing-final h2 { font-size: 1.55rem; }
}

/* Startwizard */
.wizard { max-width: 720px; margin: 0 auto; }
.wizard-head h1 { margin-bottom: 4px; }
.wizard-steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.wizard-steps a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: var(--radius-small); color: var(--muted); font-size: .8rem; font-weight: 500; text-align: center; text-decoration: none; border-bottom: 3px solid var(--line); }
.wizard-steps a:hover { background: var(--card); color: var(--ink); text-decoration: none; }
.wizard-no { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--card); border: 1.5px solid var(--line-strong); color: var(--ink-soft); font-weight: 700; font-size: .85rem; }
.wizard-steps li.done a { border-bottom-color: var(--accent); }
.wizard-steps li.done .wizard-no { background: var(--accent-soft); border-color: var(--accent-soft); color: var(--accent); }
.wizard-steps li.current a { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }
.wizard-steps li.current .wizard-no { background: var(--ink); border-color: var(--ink); color: #fff; }
.wizard-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.wizard-card .hint.lead { margin: 0 0 8px; font-size: .95rem; }
.wizard-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 28px; }
.wizard-actions .link { color: var(--ink-soft); }
.optional { font-weight: 400; color: var(--muted); }
.wizard-list { list-style: none; padding: 0; margin: 14px 0; }
.wizard-list li { padding: 11px 0; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.wizard-list li:last-child { border-bottom: 1px solid var(--line); }
.wizard-list .badge { margin-left: auto; }
.wizard-preview { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; padding: 16px; border-radius: var(--radius-small); background: var(--bg); font-size: .9rem; color: var(--ink-soft); }
.wizard-preview-btn { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.ship-options { margin: 18px 0 4px; border: 1px solid var(--line); border-radius: var(--radius-small); }
.ship-option { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-top: 1px solid var(--line); }
.ship-option:first-child { border-top: 0; }
.form .ship-option label.check { margin: 0; align-items: flex-start; font-size: .95rem; color: var(--ink); }
.form .ship-option label.check input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.price-input { display: flex; align-items: center; gap: 6px; flex: none; }
.price-input span { color: var(--muted); }
.form .price-input input[type=text] { width: 96px; text-align: right; }
.form .price-input.wide input[type=text] { width: 200px; text-align: left; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 0; }
.choice { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1.5px solid var(--line-strong); border-radius: var(--radius); color: var(--ink-soft); font-size: .92rem; line-height: 1.5; text-decoration: none; }
.choice strong { color: var(--ink); font-size: 1.02rem; }
.choice:hover { border-color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.wizard-howto { margin: 14px 0 6px; padding-left: 20px; color: var(--ink-soft); line-height: 1.6; }
.wizard-howto li { margin-bottom: 6px; }
.wizard-done { text-align: center; }
.wizard-done .wizard-actions { justify-content: center; }
.wizard-done .wizard-list { text-align: left; }
.shop-address { display: inline-block; margin: 10px 0 0; padding: 10px 16px; border-radius: var(--radius-small); background: var(--bg); font-weight: 600; word-break: break-all; }
.setup-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.setup-head h2 { margin-bottom: 2px; }
.setup-head .hint { margin: 0; }
@media (max-width: 640px) {
    .wizard-label { display: none; }
    .choice-grid { grid-template-columns: 1fr; }
    .ship-option { flex-wrap: wrap; }
}

/* Menu op de telefoon: past altijd op het scherm, schuift zo nodig binnen de balk */
@media (max-width: 640px) {
    .top nav { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
    .top nav::-webkit-scrollbar { display: none; }
    .nav-link, button.link.nav-link { padding: 0 9px; font-size: .9rem; white-space: nowrap; flex: none; }
}
.ship-options { margin-bottom: 10px; }
.inline-input { height: 38px; width: 180px; padding: 0 10px; font: inherit; font-size: .9rem; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: #fff; }
strong.danger-text { color: var(--err-ink); }

/* Varianten bij een product */
.variants-box { margin: 26px 0 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.variants-box h2 { font-size: 1.05rem; margin: 0 0 4px; }
.form .variants-box > label:first-of-type { margin-top: 16px; }
.variant-table { margin: 16px 0 12px; }
.variant-head, .variant-row { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr 36px; gap: 8px; align-items: center; }
.variant-head { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); padding: 0 2px 6px; }
.variant-row { margin-bottom: 8px; }
.form .variant-row input[type=text] { height: 40px; padding: 0 10px; background: #fff; }
.variant-remove { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: #fff; color: var(--muted); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.variant-remove:hover { color: var(--err-ink); border-color: var(--err-ink); }
.hint.block { display: block; font-size: .78rem; }
@media (max-width: 640px) {
    .variant-head { display: none; }
    .variant-row { grid-template-columns: 1fr 1fr 36px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-small); }
    .variant-row input[name="v_name[]"] { grid-column: 1 / 3; }
    .variant-row .variant-remove { grid-column: 3; grid-row: 1; }
    .variant-row input[name="v_sku[]"] { grid-column: 1 / 3; }
}

/* Kortingscodes */
.form input[type=date] { width: 100%; height: var(--control-height); padding: 0 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-small); }
.inline-field { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: var(--ink-soft); }
.form .inline-field input[type=text] { width: 90px; height: 38px; }
.form label.radio > span { display: block; }
.row-actions { white-space: nowrap; }
.row-actions form { display: inline; margin-left: 12px; }

/* Exporteren van bestellingen */
.export-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.export-form .hint { margin: 0; }

/* Verborgen veld tegen spam-aanmeldingen */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.verify-notice { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Beheerder kijkt mee */
.impersonate-bar { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; background: #7a5300; color: #fff; font-size: .9rem; text-align: center; }
.impersonate-bar .link { color: #fff; font-weight: 700; text-decoration: underline; }

/* Eigen domein: DNS-gegevens */
.dns-table { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 12px 0 14px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-small); overflow: hidden; }
.dns-table div { background: var(--card); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; }
.dns-table span { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dns-table strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; word-break: break-all; }
@media (max-width: 640px) { .dns-table { grid-template-columns: 1fr; } }
.refund-line { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

/* Systeemcontrole */
.health-list { list-style: none; margin: 0; padding: 0; }
.health-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; border-top: 1px solid var(--line); }
.health-list li:first-child { border-top: 0; }
.health-list .hint { margin: 4px 0 0; }
.health-icon { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.health-list li.ok .health-icon { background: var(--ok-bg); color: var(--ok-ink); }
.health-list li.bad .health-icon { background: var(--err-bg); color: var(--err-ink); }
.health-list li.bad strong { color: var(--err-ink); }

/* Verkoop op het dashboard */
.sales-card { margin-top: 24px; }
.sales-total { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.sales-chart { display: block; width: 100%; height: 140px; margin-top: 14px; }
.sales-chart rect { fill: var(--accent); }
.sales-chart rect:hover { fill: var(--accent-dark); }
.sales-chart .axis { stroke: var(--line-strong); stroke-width: 1; }
.sales-axis { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.dash-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.dash-cols .card { margin: 0; }
.rank-list { list-style: none; margin: 8px 0 0; padding: 0; }
.rank-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.rank-list li:first-child { border-top: 0; }
.rank-list .badge { margin-left: 0; }
@media (max-width: 760px) { .dash-cols { grid-template-columns: 1fr; } }

/* Keuze van de winkelstijl */
.theme-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0 0 6px; }
.form .theme-option { position: relative; display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 12px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-small); cursor: pointer; font-weight: 400; }
.form .theme-option input { position: absolute; opacity: 0; }
.form .theme-option:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.form .theme-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.theme-option strong { font-size: .95rem; }
.theme-option .hint { font-size: .8rem; }
.theme-sample { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 0 12px; margin-bottom: 4px; background: #f6f6f4; border-radius: 10px; }
.ts-title { font-size: 1.5rem; font-weight: 700; color: #1b1f24; }
.ts-btn { width: 46px; height: 18px; border-radius: 999px; }
.theme-klassiek .theme-sample { border-radius: 2px; background: #f5f1ea; }
.theme-klassiek .ts-title { font-family: "Iowan Old Style", Palatino, Georgia, serif; font-weight: 600; }
.theme-klassiek .ts-btn { border-radius: 2px; }
.theme-speels .theme-sample { border-radius: 20px; background: #fdf1f5; }
.theme-speels .ts-title { font-family: "Avenir Next Rounded", Nunito, "Trebuchet MS", sans-serif; font-weight: 800; }
.theme-strak .theme-sample { border-radius: 0; background: #f0f0f0; }
.theme-strak .ts-title { text-transform: uppercase; letter-spacing: .08em; font-size: 1.2rem; }
.theme-strak .ts-btn { border-radius: 0; }
.banner-row { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; flex-wrap: wrap; }
.banner-row img { width: 240px; height: 90px; object-fit: cover; border-radius: var(--radius-small); border: 1px solid var(--line); }
.banner-row .check { margin: 0 !important; }

/* Hulp */
.help-group { margin: 30px 0 10px; font-size: 1.1rem; }
.help-list details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-small); margin-bottom: 8px; }
.help-list summary { cursor: pointer; padding: 14px 44px 14px 18px; font-weight: 600; list-style: none; position: relative; }
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 1.3rem; font-weight: 400; color: var(--muted); }
.help-list details[open] summary::after { content: "\2212"; }
.help-list details p { margin: 0; padding: 0 18px 16px; color: var(--ink-soft); line-height: 1.6; }

/* ---------------------------------------------------------------------
   Producten: meerdere tegelijk aanpassen
   --------------------------------------------------------------------- */
th.check, td.check { width: 44px; padding-right: 0; }
td.check input, th.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); cursor: pointer; }
tbody tr.selected { background: var(--accent-soft); }
tbody tr.selected:hover { background: var(--accent-soft); }
.bulk-bar { position: sticky; top: 8px; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 12px; padding: 10px 14px; background: var(--card); border: 1px solid var(--accent); border-radius: var(--radius); box-shadow: 0 4px 14px rgba(23, 32, 46, .08); }
.bulk-bar[hidden], .bulk-category[hidden] { display: none; }
.bulk-bar.form { margin: 0 0 12px; }
.bulk-bar.form select, .bulk-bar.form input[type=text] { width: auto; min-width: 190px; min-height: 40px; padding-top: 7px; padding-bottom: 7px; }
.bulk-bar .btn, .bulk-bar.form > .btn { min-height: 40px; margin-top: 0; }
.bulk-category { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 640px) {
    .bulk-bar { top: 0; }
    .bulk-bar.form select, .bulk-bar.form input[type=text], .bulk-bar .btn, .bulk-category { flex: 1 1 100%; width: 100%; }
}

/* Account: ingelogde apparaten */
.device-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.device-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.device-list .badge { vertical-align: middle; }

/* =====================================================================
   Ontwerp-editor
   ===================================================================== */
.page-design main.wrap { max-width: 1480px; }
.designer-bar { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.designer-bar h1 { margin-bottom: 2px; }
.designer-bar .sub { margin: 0; }
.designer-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.save-state { font-size: .88rem; color: var(--muted); }
.designer-body { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 24px; align-items: start; }

.designer-panel { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.dp-group { border-bottom: 1px solid var(--line); padding: 0 18px; }
.dp-group:last-child { border-bottom: 0; }
.dp-group > summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.dp-group > summary::-webkit-details-marker { display: none; }
.dp-group > summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; color: var(--muted); line-height: 1; }
.dp-group[open] > summary::after { content: "\2212"; }
.dp-group[open] { padding-bottom: 18px; }
.dp-group .hint { margin: 0 0 10px; }
.dp-label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin: 14px 0 6px; }
.dp-input, .dp-select { display: block; width: 100%; min-height: 40px; padding: 8px 11px; font: inherit; font-size: .93rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-small); }
.dp-input + .dp-input { margin-top: 6px; }
textarea.dp-input { resize: vertical; line-height: 1.45; }
.dp-input:focus, .dp-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(12, 122, 92, .16); }
.dp-group .check { margin: 0 0 8px; }

.dp-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dp-color { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-small); cursor: pointer; font-size: .86rem; line-height: 1.25; }
.dp-color input { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: none; cursor: pointer; flex: none; }
.dp-color input::-webkit-color-swatch-wrapper { padding: 2px; }
.dp-color input::-webkit-color-swatch { border: 0; border-radius: 6px; }
#contrast-warning { margin-top: 10px; color: var(--warn-ink); background: var(--warn-bg); padding: 8px 10px; border-radius: var(--radius-small); }

.dp-seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 3px; background: var(--bg); border-radius: var(--radius-small); }
.dp-seg label { flex: 1 1 auto; margin: 0; }
.dp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.dp-seg span { display: block; text-align: center; padding: 7px 10px; font-size: .84rem; font-weight: 500; color: var(--ink-soft); border-radius: 6px; cursor: pointer; white-space: nowrap; }
.dp-seg input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(23, 32, 46, .12); }
.dp-seg input:focus-visible + span { outline: 2px solid var(--accent); }
.dp-seg.small span { padding: 6px 12px; }

.dp-section { border: 1px solid var(--line); border-radius: var(--radius-small); margin-bottom: 8px; background: #fff; }
.dp-section.off .dp-toggle-open { opacity: .5; }
.dp-section-head { display: flex; align-items: center; gap: 6px; padding: 4px 6px 4px 4px; }
.dp-toggle-open { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 8px; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; border-radius: 6px; }
.dp-toggle-open:hover { background: var(--bg); }
.dp-toggle-open span { font-weight: 600; font-size: .92rem; }
.dp-toggle-open small { color: var(--muted); font-size: .8rem; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-tools { display: flex; align-items: center; gap: 2px; }
.dp-tools button { width: 28px; height: 28px; border: 0; background: none; border-radius: 6px; cursor: pointer; color: var(--ink-soft); font-size: .95rem; }
.dp-tools button:hover:not(:disabled) { background: var(--bg); }
.dp-tools button:disabled { opacity: .25; cursor: default; }
.dp-section-body { display: none; padding: 4px 12px 14px; border-top: 1px solid var(--line); }
.dp-section.open .dp-section-body { display: block; }
.dp-section-body > .hint:first-child { margin-top: 10px; }
.dp-section-body .link.danger { margin-top: 14px; font-size: .85rem; }

.dp-switch { position: relative; display: inline-block; width: 36px; height: 21px; margin: 0 2px 0 6px; flex: none; cursor: pointer; }
.dp-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dp-switch span { position: absolute; inset: 0; background: var(--line-strong); border-radius: 999px; transition: background .15s; pointer-events: none; }
.dp-switch span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 15px; height: 15px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.dp-switch input:checked + span { background: var(--accent); }
.dp-switch input:checked + span::after { transform: translateX(15px); }
.dp-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.dp-image { display: flex; align-items: center; gap: 12px; }
.dp-image img, .dp-noimg { width: 92px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; background: var(--bg); }
.dp-noimg { display: flex; align-items: center; justify-content: center; font-size: .72rem; color: var(--muted); text-align: center; border: 1px dashed var(--line-strong); }
.dp-upload { cursor: pointer; }
.dp-add { margin-top: 10px; }

.designer-preview { min-width: 0; }
.preview-bar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.preview-bar .dp-seg { background: #e9ecf0; }
.preview-frame { background: #e9ecf0; border-radius: var(--radius); padding: 14px; transition: padding .2s; }
.preview-frame iframe { display: block; width: 100%; height: calc(100vh - 210px); min-height: 560px; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 4px 24px rgba(23, 32, 46, .12); margin: 0 auto; transition: width .2s; }
.preview-frame.mobile iframe { width: 390px; max-width: 100%; }
.designer-preview > .hint { margin-top: 10px; }

/* Template kiezen */
.tpl-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tpl-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; margin: 0; }
.tpl-card.current { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tpl-shot { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg); border-bottom: 1px solid var(--line); }
.tpl-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 2.4s ease, object-position 2.4s ease; }
.tpl-card:hover .tpl-shot img { object-position: bottom; }
.tpl-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; flex: 1; }
.tpl-info .hint { margin: 0; flex: 1; }
.tpl-title { display: flex; justify-content: space-between; align-items: center; width: 100%; font-size: 1.05rem; }
.tpl-dots { display: flex; gap: 4px; }
.tpl-dots i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.tpl-info .badge { margin-left: 0; }

@media (max-width: 1080px) {
    .designer-body { grid-template-columns: 1fr; }
    .designer-panel { position: static; max-height: none; }
    .tpl-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .tpl-gallery { grid-template-columns: 1fr; }
    .preview-frame { padding: 6px; }
    .preview-frame iframe { height: 70vh; }
}
.dp-group label.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; color: var(--ink-soft); }
.dp-group label.check input { width: 16px; height: 16px; accent-color: var(--accent); }
.designer-actions .link, .dp-image .link { font-size: .88rem; }
.design-pointer { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding: 16px 18px; background: var(--accent-soft); border-radius: var(--radius-small); }
.design-pointer strong { display: block; }
.design-pointer .hint { display: block; margin: 2px 0 0; }

/* Startwizard: template kiezen */
.tpl-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 6px; }
.form label.tpl-pick-option { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 8px 8px 12px; border: 1px solid var(--line); border-radius: var(--radius-small); cursor: pointer; font-weight: 400; background: #fff; position: relative; }
.tpl-pick-option input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-pick-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.tpl-pick-option:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.tpl-pick-shot { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--bg); margin-bottom: 6px; }
.tpl-pick-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.tpl-pick-option strong { padding: 0 4px; }
.tpl-pick-option .hint { padding: 0 4px; margin: 0; font-size: .8rem; line-height: 1.4; }
@media (max-width: 720px) { .tpl-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tpl-current { display: flex; align-items: center; gap: 14px; } .tpl-current .link { font-size: .88rem; }

/* Template-demo */
.tpl-shot { position: relative; cursor: pointer; }
.tpl-shot-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1; padding: 9px 16px; background: rgba(23, 32, 46, .85); color: #fff; border-radius: 999px; font-size: .86rem; font-weight: 600; opacity: 0; transition: opacity .2s; pointer-events: none; }
.tpl-shot:hover .tpl-shot-hint, .tpl-shot:focus-visible .tpl-shot-hint { opacity: 1; }
.tpl-buttons { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-buttons .badge { margin-left: 0; }
.tpl-buttons .link { font-size: .88rem; }
.tpl-demo { position: fixed; inset: 0; z-index: 100; background: #e9ecf0; display: flex; flex-direction: column; }
.tpl-demo[hidden] { display: none; }
.tpl-demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.tpl-demo-title { display: flex; flex-direction: column; }
.tpl-demo-title .hint { margin: 0; }
.tpl-demo-actions { display: flex; gap: 10px; }
.tpl-demo-frame { flex: 1; padding: 16px; display: flex; justify-content: center; min-height: 0; }
.tpl-demo-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 8px; background: #fff; box-shadow: 0 4px 24px rgba(23, 32, 46, .14); transition: width .2s; }
.tpl-demo-frame.mobile iframe { width: 390px; max-width: 100%; }
.tpl-pick-demo { padding: 0 4px; font-size: .82rem; font-weight: 600; margin-top: 2px; }
@media (max-width: 640px) { .tpl-demo-bar { padding: 10px 12px; } .tpl-demo-frame { padding: 6px; } .tpl-demo-title .hint { display: none; } }

/* Leveranciers */
.crumbs { margin: 0 0 8px; font-size: .9rem; }
.notice.info { background: #eef3f8; color: #24415f; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 4px 0 24px; }
.error-text { color: var(--err-ink) !important; }
.steps-list { margin: 0 0 14px; padding-left: 20px; line-height: 1.6; color: var(--ink-soft); }
.steps-list li { margin-bottom: 8px; }
.feed-preview-title { font-size: 1rem; margin: 26px 0 10px; }
.feed-preview { border: 1px solid var(--line); border-radius: var(--radius-small); }
.feed-preview table { font-size: .88rem; }
.feed-preview th, .feed-preview td { padding: 9px 12px; }
.feed-reload { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.feed-reload .link { font-size: .9rem; }
.form .danger-row label.check, .danger-row label.check { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-soft); }


/* =====================================================================
   Startpagina
   ===================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn.wide { width: 100%; }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn.light:hover { background: #eef1f4; }
.page-index main.wrap { max-width: 1160px; padding-top: 0; }

.lp { --lp-dark: #0f1a17; }
.lp h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; letter-spacing: -.03em; margin: 0 0 14px; }
.lp-eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lp-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.lp-head p { font-size: 1.08rem; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.lp-section { padding: 96px 0; }
.lp-band { position: relative; padding: 96px 0; }
.lp-band::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); background: #fff; z-index: -1; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-checks { list-style: none; margin: 22px 0 0; padding: 0; }
.lp-checks li { position: relative; padding: 6px 0 6px 32px; color: var(--ink-soft); line-height: 1.5; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230c7a5c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center; }
.lp-checks.small li { font-size: .93rem; padding-top: 5px; padding-bottom: 5px; }
.lp-checks strong { color: var(--ink); }

/* Openingsblok */
.lp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; padding: 72px 0 88px; }
.lp-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 22px; box-shadow: var(--shadow); }
.lp-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lp-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; margin: 0 0 22px; }
.lp-hero h1 em { font-style: normal; color: var(--muted); }
.lp-lead { font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 32px; max-width: 520px; }
.lp-cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-link { font-weight: 600; text-decoration: none; }
.lp-link:hover { text-decoration: underline; }
.lp-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; font-size: .9rem; color: var(--muted); }
.lp-trust li { position: relative; padding-left: 20px; }
.lp-trust li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 5px; height: 10px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.lp-hero-visual { position: relative; padding: 0 40px 48px 0; }
.lp-browser { border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(15, 26, 23, .35), 0 12px 24px -12px rgba(15, 26, 23, .15); }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #f1f3f5; border-bottom: 1px solid var(--line); }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d9df; }
.lp-browser-bar span { flex: 1; margin-left: 10px; height: 20px; line-height: 20px; padding: 0 10px; border-radius: 6px; background: #fff; font-size: .72rem; color: var(--muted); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lp-browser img { display: block; width: 100%; height: auto; aspect-ratio: 1280 / 760; object-fit: cover; object-position: top; }
.lp-phone { position: absolute; right: 0; bottom: 0; width: 30%; max-width: 190px; aspect-ratio: 375 / 760; border-radius: 26px; overflow: hidden; border: 6px solid #111; background: #111; box-shadow: 0 30px 60px -20px rgba(15, 26, 23, .45); }
.lp-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.lp-toast { position: absolute; left: -28px; bottom: 18px; display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -14px rgba(15, 26, 23, .3); font-size: .86rem; line-height: 1.35; animation: lp-pop .6s .4s both cubic-bezier(.2, .8, .2, 1.2); }
.lp-toast strong { display: block; }
.lp-toast div span { color: var(--muted); }
.lp-toast-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center; }
@keyframes lp-pop { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lp-toast { animation: none; } }

/* Kerngetallen */
.lp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; text-align: center; }
.lp-stats strong { display: block; font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; }
.lp-stats span { color: var(--muted); font-size: .92rem; }

/* Ontwerpen */
.lp-templates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.lp-template { display: block; color: inherit; text-decoration: none !important; }
.lp-template-shot { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: 0 12px 32px -18px rgba(15, 26, 23, .35); transition: transform .3s ease, box-shadow .3s ease; }
.lp-template-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 4s ease; }
.lp-template:hover .lp-template-shot { transform: translateY(-4px); box-shadow: 0 22px 44px -20px rgba(15, 26, 23, .45); }
.lp-template:hover .lp-template-shot img { object-position: bottom center; }
.lp-template-info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 12px; }
.lp-template-info strong { font-size: 1rem; }
.lp-template-info span { color: var(--muted); font-size: .88rem; }
.lp-templates-dots { display: none; }

/* Uitgelichte functies */
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; padding: 72px 0; }
.lp-split.reverse .lp-split-text { order: 2; }
.lp-split-text p { font-size: 1.06rem; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.lp-split-visual { position: relative; padding: 36px; border-radius: 20px; background: linear-gradient(140deg, #e6f4ef, #f3f0e9); }
.lp-sheet, .lp-feed { background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 24px 48px -24px rgba(15, 26, 23, .3); overflow: hidden; font-size: .88rem; }
.lp-sheet-head { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f7f8f9; font-weight: 600; }
.lp-sheet-head span { color: #1d6f42; }
.lp-sheet-head b { font-weight: 500; color: var(--muted); }
.lp-sheet table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.lp-sheet th, .lp-sheet td { padding: 9px 16px; border-top: 1px solid var(--line); text-align: left; }
.lp-sheet th { font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 0; background: #fbfbfc; }
.lp-sheet-done { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--ok-bg); color: var(--ok-ink); font-weight: 600; }
.lp-sheet-done .lp-toast-icon { width: 24px; height: 24px; background-size: 12px; }
.lp-feed-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: center; }
.lp-feed-row.head { border-top: 0; background: #fbfbfc; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.lp-feed-row span:not(:first-child), .lp-feed-row b, .lp-feed-row em { text-align: right; }
.lp-feed-row em { font-style: normal; color: var(--ok-ink); font-weight: 600; }
.lp-feed-foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid var(--line); background: #f7f8f9; font-size: .84rem; color: var(--muted); }
.lp-feed-foot b { color: var(--ink); }
.lp-feed-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ok-ink); font-weight: 600; }
.lp-feed-sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Alle functies */
.lp-feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.lp-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 16px; }
.lp-feature h3 { font-size: 1.02rem; margin: 0 0 6px; letter-spacing: -.01em; }
.lp-feature p { margin: 0; color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }

/* Stappen */
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.lp-steps li { position: relative; padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.lp-steps li > span { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 700; margin-bottom: 18px; }
.lp-steps h3 { margin: 0 0 8px; font-size: 1.1rem; }
.lp-steps p { margin: 0; color: var(--ink-soft); line-height: 1.6; }

/* Prijzen */
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; max-width: 1080px; margin: 0 auto 56px; align-items: start; }
.lp-plan { position: relative; padding: 32px; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.lp-plan.featured { background: var(--lp-dark); color: #fff; border-color: var(--lp-dark); box-shadow: 0 30px 60px -30px rgba(15, 26, 23, .6); }
.lp-plan-tag { position: absolute; top: -12px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.lp-plan h3 { margin: 0; font-size: 1.25rem; }
.lp-plan-for { margin: 4px 0 20px; color: var(--muted); font-size: .92rem; }
.lp-plan.featured .lp-plan-for, .lp-plan.featured .lp-price-vat, .lp-plan.featured .lp-price span { color: #9fb0aa; }
.lp-price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0; }
.lp-price span { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.lp-price-vat { margin: 8px 0 24px; font-size: .86rem; color: var(--muted); }
.lp-plan.featured .btn { background: var(--accent); border-color: var(--accent); }
.lp-plan.featured .lp-checks li { color: #d5dfdb; }
.lp-plan.featured .lp-checks strong { color: #fff; }
.lp-plan.featured .lp-checks li::before { background-color: rgba(255, 255, 255, .12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237fe0b7' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

.lp-compare-wrap { margin: 24px 0 0; overflow-x: auto; }
.lp-compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: .95rem; table-layout: fixed; }
.lp-compare th, .lp-compare td { padding: 15px 16px 15px 0; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); font-weight: 400; }
.lp-compare thead th { position: sticky; top: 0; z-index: 2; background: #fff; padding-top: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line-strong); vertical-align: top; }
.lp-compare thead th:first-child { width: 38%; }
.lp-compare-title { font-size: 1.45rem; font-weight: 500 !important; letter-spacing: -.02em; }
.lp-compare-plan { display: block; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: 12px; }
.lp-compare-btn { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; font-size: .86rem; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .15s, color .15s; }
.lp-compare-btn:hover { background: var(--ink); color: #fff; }
.lp-compare-group th { padding-top: 44px; padding-bottom: 14px; font-size: 1.35rem; font-weight: 500 !important; letter-spacing: -.02em; color: var(--ink); border-bottom: 1px solid var(--line-strong); }
.lp-compare tbody:first-of-type .lp-compare-group th { padding-top: 32px; }
.lp-compare tbody th[scope=row] { color: var(--ink); }
.lp-compare td { color: var(--ink); }
.lp-yes { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; background: #2f9e44 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") no-repeat center; }
.lp-no { display: inline-block; width: 12px; height: 1.5px; background: var(--ink); vertical-align: middle; }
.lp-pricing .lp-compare-wrap { background: transparent; border: 0; border-radius: 0; }
@media (max-width: 640px) {
    .lp-compare { font-size: .86rem; min-width: 0; }
    .lp-compare thead th:first-child { width: 44%; }
    .lp-compare-title { font-size: 1.05rem; }
    .lp-compare-plan { font-size: 1.05rem; margin-bottom: 8px; }
    .lp-compare-btn { height: 30px; padding: 0 10px; font-size: .78rem; }
    .lp-compare-group th { font-size: 1.1rem; padding-top: 32px; }
    .lp-compare th, .lp-compare td { padding: 12px 10px 12px 0; }
}
.lp-note { max-width: 640px; margin: 24px auto 0; text-align: center; font-size: .86rem; color: var(--muted); }

/* Vragen */
.lp-faq { max-width: 760px; margin: 0 auto; }
.lp-faq details { border-bottom: 1px solid var(--line); }
.lp-faq details:first-of-type { border-top: 1px solid var(--line); }
.lp-faq summary { cursor: pointer; list-style: none; position: relative; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.04rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.5rem; font-weight: 300; color: var(--muted); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq details p { margin: 0; padding: 0 48px 22px 0; color: var(--ink-soft); line-height: 1.65; }

/* Afsluiter */
.lp-final { position: relative; overflow: hidden; text-align: center; padding: 80px 32px; margin: 32px 0 24px; border-radius: 24px; background: var(--lp-dark); color: #fff; }
.lp-final::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(12, 122, 92, .55), rgba(12, 122, 92, 0) 70%); }
.lp-final h2 { position: relative; color: #fff; }
.lp-final p { position: relative; color: #b5c3be; margin: 0 0 30px; font-size: 1.08rem; }
.lp-final .btn { position: relative; }

@media (max-width: 1000px) {
    .lp-templates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-hero { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; }
    .lp-hero-visual { max-width: 620px; }
    .lp-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lp-split { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
    .lp-split.reverse .lp-split-text { order: 0; }
}
@media (max-width: 640px) {
    .lp-section, .lp-band { padding: 64px 0; }
    .lp-head { margin-bottom: 32px; }
    .lp-hero-visual { padding: 0 24px 36px 0; }
    .lp-toast { left: -6px; bottom: 6px; padding: 10px 12px; font-size: .78rem; }
    .lp-phone { border-width: 4px; border-radius: 18px; }
    .lp-stats { grid-template-columns: repeat(2, 1fr); padding: 32px 0; }
    /* Telefoon: de ontwerpen gewoon onder elkaar */
    .lp-templates { grid-template-columns: 1fr; gap: 24px; }
    .lp-template:hover .lp-template-shot { transform: none; }
    .lp-feature-grid { grid-template-columns: 1fr; gap: 28px; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-split-visual { padding: 16px; }
    .lp-feed-row { grid-template-columns: 1.3fr 1fr 1fr; }
    .lp-feed-row > :nth-child(2) { display: none; }
    .lp-final { padding: 56px 20px; }
}
.lp-split > * { min-width: 0; }
.lp-split-visual { overflow: hidden; }
@media (max-width: 640px) {
    .lp-sheet th, .lp-sheet td { padding: 8px 10px; font-size: .78rem; }
    .lp-feed-row { padding: 10px 12px; font-size: .8rem; }
    .lp-feed-foot { flex-wrap: wrap; }
    .lp-hero h1 { font-size: 2.3rem; }
}
.lp-compare th, .lp-compare td { border-top: 0; }
.lp-compare thead th { top: 64px; color: var(--ink); font-size: 1rem; text-transform: none; letter-spacing: normal; white-space: normal; border-radius: 0 !important; background: #fff; }
.lp-compare thead .lp-compare-title { font-size: 1.45rem; }
.lp-compare-btn { text-transform: none; letter-spacing: normal; }
@media (max-width: 640px) { .lp-compare thead th { top: 56px; } .lp-compare thead .lp-compare-title { font-size: 1.05rem; } }
.lp-compare-wrap { overflow: visible; }
@media (max-width: 640px) { .lp-compare thead th { top: 104px; } }

/* Prijzenpagina en korte prijzen op de startpagina */
.page-prijzen main.wrap { max-width: 1160px; padding-top: 0; }
.lp-prices-page .lp-pricing { padding-top: 64px; }
.lp-prices-page .lp-pricing::before { display: none; }
.lp-prices-page h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; margin: 0 0 14px; }
.lp-teaser { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.lp-teaser > div:first-child { max-width: 620px; }
.lp-teaser p { color: var(--ink-soft); font-size: 1.06rem; line-height: 1.6; margin: 0; }
.lp-teaser-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.lp-prices-page .lp-compare-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 0 32px 16px; margin-top: 48px; }
@media (max-width: 640px) { .lp-prices-page .lp-compare-wrap { padding: 0 14px 8px; border-radius: 14px; } }

/* Boekhouding en e-mail */
.acc-intro, .acc-status { display: flex; gap: 18px; align-items: flex-start; }
.acc-intro h2, .acc-status h2 { margin-top: 2px; }
.acc-logo { flex: none; width: 48px; height: 48px; border-radius: 12px; background: #1e5ef0; color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; letter-spacing: -.02em; }
.acc-numbers { display: flex; gap: 40px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.acc-numbers strong { display: block; font-size: 1.7rem; letter-spacing: -.02em; }
.acc-numbers span { color: var(--muted); font-size: .88rem; }
.acc-sub { font-size: 1rem; margin: 6px 0 4px; }
.cols.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 16px; }
@media (max-width: 720px) { .cols.three { grid-template-columns: 1fr; } }
.fwd-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px solid var(--line); }
.fwd-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fwd-from { font-weight: 600; }
.fwd-arrow { color: var(--muted); }
.fwd-to { color: var(--ink-soft); flex: 1; }
.fwd-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; }
.fwd-row label { margin-top: 0; }
.fwd-alias { display: flex; align-items: center; gap: 6px; }
.fwd-alias span { color: var(--muted); white-space: nowrap; }
.form .fwd-alias input[type=text] { min-width: 0; }
@media (max-width: 720px) { .fwd-row { grid-template-columns: 1fr; } }
.dns-records { border: 1px solid var(--line); border-radius: var(--radius-small); overflow: hidden; margin: 14px 0; font-size: .9rem; }
.dns-records > div { display: grid; grid-template-columns: 60px 60px 80px 1fr 90px; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.dns-records > div:first-child { border-top: 0; }
.dns-head { background: var(--bg); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.dns-records code { font-size: .86rem; word-break: break-all; background: var(--bg); padding: 4px 8px; border-radius: 6px; }
.dns-records b { font-size: .8rem; font-weight: 600; }
.dns-records b.ok { color: var(--ok-ink); }
.dns-records b.warn { color: var(--err-ink); }
@media (max-width: 720px) { .dns-records > div { grid-template-columns: 50px 40px 1fr; } .dns-records > div > span:nth-child(3), .dns-head > span:nth-child(3) { display: none; } .dns-records b { grid-column: 1 / -1; } }
.cols.three + label { margin-top: 20px; }

/* Functie zit niet in het pakket */
.plan-upsell { position: relative; border: 1.5px dashed var(--line); background: linear-gradient(180deg, var(--accent-soft), var(--card) 70%); }
.plan-upsell h2 { margin-top: 0; padding-right: 110px; }
.plan-upsell-badge { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: #fff; font-size: .76rem; font-weight: 700; }

/* Hulpcentrum */
.help-page { max-width: 980px; margin: 0 auto; }
.help-hero { text-align: center; padding: 28px 0 8px; }
.help-hero h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.help-hero .sub { margin: 0 auto 22px; }
.help-search { position: relative; max-width: 620px; margin: 0 auto; }
.help-search svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.help-search input { width: 100%; height: 56px; padding: 0 48px 0 50px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 1.02rem; box-shadow: var(--shadow); }
.help-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.help-search input::-webkit-search-cancel-button { display: none; }
.help-search-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.help-search-clear:hover { background: var(--line); }
.help-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; max-width: 760px; font-size: .88rem; }
.help-popular span { color: var(--muted); padding: 6px 2px; }
.help-popular a { padding: 6px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--ink-soft); text-decoration: none; }
.help-popular a:hover { border-color: var(--accent); color: var(--accent); }
.help-result { margin: 22px 0 0; color: var(--muted); font-weight: 600; }
.help-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 34px 0 8px; }
.help-topic { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: inherit; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.help-topic:hover { border-color: var(--accent); transform: translateY(-1px); box-shadow: var(--shadow); }
.help-topic-icon { flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.help-topic-icon.small { width: 32px; height: 32px; border-radius: 9px; margin-right: 10px; vertical-align: middle; }
.help-topic-icon.small svg { width: 18px; height: 18px; }
.help-topic-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.help-topic-text strong { font-size: .98rem; }
.help-topic-text small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.help-topic-count { flex: none; min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--bg, #f3f5f7); color: var(--muted); font-size: .78rem; font-weight: 700; text-align: center; }
.help-section { padding-top: 26px; scroll-margin-top: 80px; }
.help-section-title { display: flex; align-items: center; margin: 0 0 12px; font-size: 1.2rem; }
.help-list details { scroll-margin-top: 84px; transition: box-shadow .3s, border-color .3s; }
.help-list details[open] { border-color: #cfd5dc; }
.help-list details.help-flash { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.help-answer { padding: 0 18px 16px; color: var(--ink-soft); line-height: 1.6; }
.help-answer p, .help-list .help-answer p { margin: 0 0 10px; padding: 0; }
.help-answer ul, .help-answer ol { margin: 0 0 10px; padding-left: 20px; }
.help-answer li { margin-bottom: 4px; }
.help-answer code { padding: 1px 6px; border-radius: 5px; background: #eef1f4; font-size: .88em; }
.help-copy { border: 0; background: none; padding: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.help-copy:hover { color: var(--accent); }
.help-top { display: inline-block; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.help-empty { margin-top: 22px; text-align: center; }
.help-contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 28px; margin: 48px 0 20px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.help-contact-intro h2 { margin-top: 0; }
.help-contact-intro p { color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 760px) {
    .help-contact { grid-template-columns: 1fr; }
    .help-topics { grid-template-columns: 1fr; }
    .help-popular { justify-content: flex-start; }
    .help-hero { text-align: left; }
}

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Support: tickets */
.nav-badge { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .7rem; font-weight: 700; line-height: 1; vertical-align: 1px; }
.ticket-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-row { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card); color: inherit; text-decoration: none; }
.ticket-row:hover { border-color: var(--accent); }
.ticket-row.unread { border-left: 4px solid var(--accent); }
.ticket-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ticket-row-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-row-main small { color: var(--muted); }
.ticket-new { font-size: .78rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.ticket-chat-hint { margin-bottom: 18px; }
.ticket-chat-hint .link { padding: 0; font: inherit; color: inherit; text-decoration: underline; font-weight: 600; }
.ticket-thread { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 20px; }
.ticket-msg { max-width: 86%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); }
.ticket-msg.me { align-self: flex-end; background: var(--accent-soft); border-color: transparent; }
.ticket-msg.staff { align-self: flex-start; }
.ticket-msg-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 6px; font-size: .85rem; }
.ticket-msg-head span { color: var(--muted); }
.ticket-msg-body { line-height: 1.6; overflow-wrap: anywhere; }
.ticket-file { display: inline-block; margin-top: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.05); font-size: .88rem; text-decoration: none; }
.ticket-system { align-self: center; padding: 4px 12px; border-radius: 999px; background: #eceff3; color: var(--muted); font-size: .8rem; text-align: center; }
.ticket-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ticket-close { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: -6px; }
.admin-ticket { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; align-items: start; }
.admin-ticket aside .card h2 { font-size: 1rem; margin-top: 0; }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.plain-list li:last-child { border-bottom: 0; }
tr.row-unread td { font-weight: 600; }
.filter-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.filter-row .tabs { margin: 0; }
.search-inline input { height: 40px; min-width: 260px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.tab-count { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: rgba(0,0,0,.08); font-size: .75rem; text-align: center; }
.help-support-options { display: flex; flex-direction: column; gap: 10px; }
.help-support-option { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.help-support-option:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.help-support-option span:last-child { display: flex; flex-direction: column; gap: 2px; }
.help-support-option small { color: var(--muted); font-size: .85rem; }
.help-support-option.subtle { border-style: dashed; }
@media (max-width: 860px) {
    .admin-ticket { grid-template-columns: 1fr; }
    .ticket-msg { max-width: 100%; }
    .search-inline input { min-width: 0; width: 100%; }
    .search-inline { width: 100%; }
}

/* Support: live chat (shophouder) */
.chat-widget { position: fixed; right: 20px; bottom: 20px; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chat-toggle { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(12, 122, 92, .7); }
.chat-toggle:hover { filter: brightness(1.05); }
.chat-widget.is-open .chat-toggle-label::after { content: " sluiten"; }
.chat-badge { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .75rem; border: 2px solid #fff; }
.chat-panel { width: min(370px, calc(100vw - 32px)); height: min(540px, calc(100vh - 110px)); display: flex; flex-direction: column; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 30px 70px -25px rgba(15, 26, 23, .45); overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 16px 18px; background: var(--lp-dark, #0f1a17); color: #fff; }
.chat-head strong { display: block; font-size: 1rem; }
.chat-status { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: .8rem; opacity: .85; }
.chat-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9aa3ad; }
.chat-status.on::before { background: #3dd68c; }
.chat-x { border: 0; background: none; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; opacity: .8; }
.chat-intro { margin: 0; padding: 12px 18px; background: var(--accent-soft); color: var(--ink-soft); font-size: .86rem; line-height: 1.5; }
.chat-intro[hidden] { display: none; }
.chat-list { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.chat-msg { display: flex; flex-direction: column; max-width: 82%; }
.chat-msg.mine { align-self: flex-end; align-items: flex-end; }
.chat-msg.theirs { align-self: flex-start; }
.chat-bubble { padding: 9px 13px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); line-height: 1.45; font-size: .93rem; overflow-wrap: anywhere; }
.chat-msg.mine .chat-bubble { background: var(--accent); color: #fff; border-color: transparent; border-bottom-right-radius: 5px; }
.chat-msg.mine .chat-bubble a { color: #fff; }
.chat-msg.theirs .chat-bubble { border-bottom-left-radius: 5px; }
.chat-meta { margin-top: 3px; font-size: .72rem; color: var(--muted); }
.chat-system { align-self: center; max-width: 90%; padding: 5px 12px; border-radius: 999px; background: #e7eaee; color: var(--muted); font-size: .78rem; text-align: center; }
.chat-system.error { background: var(--err-bg); color: var(--err-ink); border-radius: 10px; }
.chat-form { padding: 10px 12px 12px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form textarea { width: 100%; min-height: 48px; max-height: 120px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; font-size: .93rem; resize: none; }
.chat-form textarea:focus { outline: none; border-color: var(--accent); }
.chat-form-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.chat-end { margin-right: auto; font-size: .82rem; color: var(--muted); }
@media (max-width: 520px) {
    .chat-widget { right: 12px; bottom: 12px; }
    .chat-widget.is-open { left: 12px; }
    .chat-panel { width: 100%; height: calc(100vh - 96px); }
    .chat-toggle-label { display: none; }
    .chat-widget.is-open .chat-toggle-label { display: inline; }
    .chat-toggle { padding: 0 16px; }
}

/* Support: live chat (beheerder) */
.switch-row { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-weight: 600; cursor: pointer; }
.switch-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.staff-chat { display: grid; grid-template-columns: 300px minmax(0, 1fr); height: calc(100vh - 240px); min-height: 460px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.staff-convs { overflow-y: auto; border-right: 1px solid var(--line); background: var(--bg); }
.staff-empty { padding: 16px; }
.staff-conv { display: flex; flex-direction: column; gap: 3px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--line); background: transparent; font: inherit; text-align: left; cursor: pointer; }
.staff-conv:hover { background: #eef1f4; }
.staff-conv.active { background: var(--card); box-shadow: inset 3px 0 0 var(--accent); }
.staff-conv.closed { opacity: .6; }
.staff-conv-top { display: flex; justify-content: space-between; gap: 8px; }
.staff-conv small { color: var(--muted); font-size: .78rem; }
.staff-conv-last { color: var(--ink-soft); font-size: .84rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.staff-unread { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #e5484d; color: #fff; font-size: .72rem; font-weight: 700; }
.staff-main { display: flex; flex-direction: column; min-width: 0; }
.staff-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.staff-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.staff-form { padding: 12px; border-top: 1px solid var(--line); }
.staff-form[hidden] { display: none; }
.staff-form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; font: inherit; resize: vertical; }
.staff-form-row { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 8px; }
@media (max-width: 860px) {
    .staff-chat { grid-template-columns: 1fr; height: auto; }
    .staff-convs { max-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
    .staff-messages { min-height: 320px; }
}

/* Openbare pagina Ontwerpen */
.lp-designs-hero { max-width: 760px; margin: 0 auto; padding: 64px 0 36px; text-align: center; }
.lp-designs-hero h1 { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 16px; }
.lp-designs-hero p { font-size: 1.1rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 28px; }
.lp-designs-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lp-designs-filter button { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font: inherit; font-size: .9rem; color: var(--ink-soft); cursor: pointer; }
.lp-designs-filter button:hover { border-color: var(--accent); color: var(--accent); }
.lp-designs-filter button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.lp-designs { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; padding: 24px 0 88px; }
.lp-design { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: var(--card); overflow: hidden; box-shadow: var(--shadow); }
.lp-design[hidden] { display: none; }
.lp-design-shot { position: relative; display: block; aspect-ratio: 4 / 3.4; overflow: hidden; background: #eef0f2; border-bottom: 1px solid var(--line); }
.lp-design-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 4s ease; }
.lp-design-shot:hover img { object-position: bottom; }
.lp-design-hover { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(15, 26, 23, 0); transition: background .2s; }
.lp-design-hover span { padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; font-size: .9rem; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
.lp-design-shot:hover .lp-design-hover, .lp-design-shot:focus-visible .lp-design-hover { background: rgba(15, 26, 23, .25); }
.lp-design-shot:hover .lp-design-hover span, .lp-design-shot:focus-visible .lp-design-hover span { opacity: 1; transform: none; }
.lp-design-info { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.lp-design-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lp-design-title h2 { margin: 0; font-size: 1.35rem; letter-spacing: -.02em; }
.lp-design-info > p { margin: 8px 0 12px; color: var(--ink-soft); line-height: 1.55; }
.lp-design-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 10px; padding: 0; }
.lp-design-tags li { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .78rem; font-weight: 600; }
.lp-design-fonts { margin: 0 0 18px !important; font-size: .82rem; color: var(--muted) !important; }
.lp-design-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.lp-design-buttons .btn { flex: 1; justify-content: center; }
.lp-designs-none { grid-column: 1 / -1; text-align: center; color: var(--muted); }
.lp-design-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.lp-design-features div { padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.lp-design-features strong { display: block; margin-bottom: 6px; }
.lp-design-features span { color: var(--ink-soft); font-size: .93rem; line-height: 1.55; }
.lp-template a { color: inherit; text-decoration: none; }

/* Demo van één ontwerp, op een eigen pagina */
body.demo-viewer { margin: 0; height: 100vh; display: flex; flex-direction: column; background: #e9ecef; overflow: hidden; }
.dv-bar { display: flex; align-items: center; gap: 16px; padding: 10px 18px; background: #0f1a17; color: #fff; flex-wrap: nowrap; }
.dv-back { color: #c8d3cf; text-decoration: none; font-weight: 600; white-space: nowrap; }
.dv-back:hover { color: #fff; }
.dv-templates { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.dv-templates::-webkit-scrollbar { display: none; }
.dv-templates a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; color: #c8d3cf; text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.dv-templates a:hover { background: rgba(255,255,255,.08); color: #fff; }
.dv-templates a.active { background: #fff; color: #0f1a17; }
.dv-templates i { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.dv-size { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.1); }
.dv-size input { position: absolute; opacity: 0; pointer-events: none; }
.dv-size span { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; color: #c8d3cf; cursor: pointer; }
.dv-size input:checked + span { background: #fff; color: #0f1a17; }
.dv-size input:focus-visible + span { outline: 2px solid #fff; }
.dv-start { white-space: nowrap; }
.dv-note { padding: 9px 18px; background: #fff; border-bottom: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.dv-note-hint { color: var(--muted); margin-left: 8px; }
.dv-stage { flex: 1; display: flex; justify-content: center; align-items: flex-start; min-height: 0; padding: 16px; }
.dv-scaler { width: 100%; height: 100%; }
.dv-frame { display: flex; flex-direction: column; width: 100%; height: 100%; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px -25px rgba(15, 26, 23, .45); }
.dv-frame iframe { flex: 1; width: 100%; min-height: 0; border: 0; display: block; }
.dv-phone-status, .dv-phone-bar { display: none; }

/* Telefoon: iPhone-formaat (393 x 852), met statusbalk, Dynamic Island en de adresbalk van Safari */
.dv-stage.mobile { align-items: center; padding: 16px 8px; background: radial-gradient(circle at 50% 30%, #f4f6f8, #dde2e7); }
.dv-stage.mobile .dv-scaler { flex: none; }
.dv-stage.mobile .dv-frame { width: 393px; height: 852px; box-sizing: content-box; border: 12px solid #16181a; border-radius: 62px; transform-origin: top left; background: #fff;
    box-shadow: 0 0 0 2px #3a3d41, 0 0 0 4px #1b1d1f, 0 40px 80px -30px rgba(15, 26, 23, .55); }
.dv-stage.mobile .dv-phone-status { display: flex; align-items: center; justify-content: space-between; flex: none; height: 54px; padding: 0 30px 0 44px; background: #fff; color: #000; position: relative; font: 600 16px/1 -apple-system, "SF Pro Text", system-ui, sans-serif; }
.dv-island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.dv-icons { display: inline-flex; align-items: center; gap: 6px; }
.dv-icons svg { fill: currentColor; }
.dv-stage.mobile .dv-phone-bar { display: flex; flex-direction: column; align-items: center; flex: none; height: 82px; padding: 10px 16px 0; background: rgba(246, 246, 246, .97); border-top: 1px solid #e3e3e3; }
.dv-url { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 44px; border-radius: 13px; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.12); font: 15px/1 -apple-system, system-ui, sans-serif; color: #111; white-space: nowrap; overflow: hidden; }
.dv-url svg { fill: #666; flex: none; }
.dv-home { width: 134px; height: 5px; margin-top: 14px; border-radius: 3px; background: #111; }
@media (max-width: 900px) {
    .dv-back span, .dv-note-hint { display: none; }
    .dv-bar { flex-wrap: wrap; gap: 10px; }
    .dv-templates { order: 3; flex-basis: 100%; }
    .dv-size { margin-left: auto; }
}
@media (max-width: 560px) {
    /* Op een echte telefoon: gewoon de winkel over het hele scherm */
    .dv-size { display: none; }
    .dv-stage, .dv-stage.mobile { padding: 0; background: none; }
    .dv-stage.mobile .dv-scaler { width: 100% !important; height: 100% !important; }
    .dv-frame, .dv-stage.mobile .dv-frame { width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; transform: none !important; }
    .dv-stage.mobile .dv-phone-status, .dv-stage.mobile .dv-phone-bar { display: none; }
    .dv-note { display: none; }
}

.lp-center { text-align: center; margin: 36px 0 0; }
@media (max-width: 420px) { .nav-hide-small { display: none; } }

/* Kennisbank: artikelen voor winkeliers */
.kb-page { max-width: 760px; margin: 0 auto; }
.kb-article-card { padding: 34px 38px; }
.kb-article-card h1 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 10px; }
.kb-lead { font-size: 1.08rem; color: var(--ink-soft); }
.kb-article { line-height: 1.7; color: var(--ink-soft); }
.kb-article h2 { margin: 26px 0 8px; font-size: 1.15rem; color: var(--ink); }
.kb-article ul, .kb-article ol { padding-left: 22px; margin: 0 0 14px; }
.kb-article li { margin-bottom: 6px; }
.kb-article strong { color: var(--ink); }
.kb-updated { margin: 24px 0 0; }
.kb-vote { display: flex; align-items: center; margin-top: 16px; padding: 18px 24px; }
.kb-vote form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0; }
.kb-vote p { margin: 0; }
.kb-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.kb-related a { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card); color: inherit; text-decoration: none; transition: border-color .15s; }
.kb-related a:hover { border-color: var(--accent); }
.kb-related a span { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.help-guides { margin-top: 28px; }
.help-guide { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 13px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius-small); background: var(--card); color: inherit; text-decoration: none; }
.help-guide:hover { border-color: var(--accent); text-decoration: none; }
.help-guide-tag { padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) { .kb-article-card { padding: 22px 18px; } }

/* Demo: keuzelijst voor kleine schermen */
.dv-select { display: none; }
@media (max-width: 900px) {
    .dv-templates { display: none; }
    .dv-select { display: block; flex: 1; min-width: 0; }
    .dv-select select { width: 100%; height: 38px; padding: 0 34px 0 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; color: #fff; font: 600 .92rem/1 inherit; -webkit-appearance: none; appearance: none; }
    .dv-select option { color: #111; }
    .dv-bar { flex-wrap: nowrap; }
}

/* Demo op de telefoon: kortere knop, zodat de keuzelijst de naam van het ontwerp helemaal laat zien */
.dv-start-short { display: none; }
@media (max-width: 700px) {
    .dv-start-long { display: none; }
    .dv-start-short { display: inline; }
}

/* Verzending: Sendcloud en verzendlabels */
.section-title { margin: 40px 0 14px; font-size: 1.3rem; }
.acc-logo.sc { background: #18325a; font-size: .95rem; }
.label-card h2 { margin-bottom: 14px; }
.label-done { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; padding: 16px 18px; margin-bottom: 14px; border-radius: var(--radius-small); background: var(--ok-bg); }
.label-done > div:first-child { display: grid; gap: 3px; }
.label-code { font-size: 1.15rem; letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.label-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Vindbaar in Google: invulvelden met een voorbeeld van het zoekresultaat */
.seo-box { margin: 24px 0 8px; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--card); }
.seo-box > summary { list-style: none; cursor: pointer; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.seo-box > summary::-webkit-details-marker { display: none; }
.seo-box > summary > span { display: grid; gap: 2px; }
.seo-box > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); }
.seo-box[open] > summary::after { transform: rotate(-135deg); }
.seo-box[open] { padding: 0 16px 16px; }
.seo-box[open] > summary { padding: 14px 0; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.seo-preview { display: grid; gap: 3px; margin: 14px 0 6px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid #e3e5e8; font-family: Arial, sans-serif; }
.seo-url { font-size: 13px; color: #202124; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seo-title { font-size: 19px; line-height: 1.3; color: #1a0dab; }
.seo-desc { font-size: 14px; line-height: 1.5; color: #4d5156; }
.seo-count { float: right; font-weight: 500; color: var(--muted); font-size: .8rem; }
.seo-count.over { color: var(--err-ink); }
.seo-slug { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius-small); overflow: hidden; background: var(--card); }
.seo-slug span { display: flex; align-items: center; padding: 0 10px; background: var(--bg); color: var(--muted); font-size: .85rem; white-space: nowrap; max-width: 55%; overflow: hidden; text-overflow: ellipsis; }
.seo-slug input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.icon-btn { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); cursor: pointer; font-size: .95rem; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.nowrap { white-space: nowrap; }
tr.row-active td { background: var(--ok-bg); }

/* ---------------------------------------------------------------
   Statistieken
   --------------------------------------------------------------- */
.segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; flex-wrap: wrap; }
.segmented a { padding: 7px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--ink-soft); text-decoration: none; white-space: nowrap; }
.segmented a.active { background: var(--ink); color: #fff; }
.stats-5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.stats .delta { display: block; margin-top: 4px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.stats .delta.up { color: var(--ok-ink); }
.stats .delta.down { color: var(--err-ink); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.stats-grid > .card { margin: 0; min-width: 0; }
.stats-grid h2 { font-size: 1.05rem; margin-bottom: 14px; }
.table-title { padding: 18px 22px 0; }
.stats-grid .table-wrap table { margin-top: 10px; }
.chart { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.chart-scale { display: flex; flex-direction: column; justify-content: space-between; height: 178px; padding-top: 2px; font-size: .72rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chart-plot { position: relative; }
.chart-svg { display: block; width: 100%; height: 178px; overflow: visible; }
.chart-x { position: relative; height: 22px; }
.chart-x span { position: absolute; top: 6px; transform: translateX(-50%); font-size: .72rem; color: var(--muted); white-space: nowrap; }
.chart-grid { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.chart-base { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart-bar { fill: var(--accent); }
.chart-hit { fill: transparent; cursor: default; }
.chart-hit.on { fill: rgba(23, 32, 46, .05); }
.chart-tip { position: absolute; top: -6px; transform: translate(-50%, -100%); padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; pointer-events: none; }
.funnel, .bars-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.funnel-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; margin-bottom: 6px; }
.funnel-row strong { font-variant-numeric: tabular-nums; }
.funnel-row small { color: var(--muted); font-weight: 500; margin-left: 4px; }
.meter { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; }
.meter span { display: block; height: 100%; min-width: 2px; border-radius: 999px; background: var(--accent); }
@media (max-width: 860px) {
    .stats-grid { grid-template-columns: minmax(0, 1fr); }
    .chart-svg { height: 150px; }
    .chart-scale { height: 150px; }
}
.chart-empty { display: grid; place-items: center; height: 200px; margin: 0; border-radius: var(--radius-small); background: var(--bg); color: var(--muted); font-size: .92rem; text-align: center; padding: 0 20px; }
@media (max-width: 640px) {
    .segmented { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; border-radius: 12px; }
    .segmented a { padding: 8px 2px; font-size: .8rem; text-align: center; border-radius: 9px; }
    .chart-x span:nth-child(even) { display: none; }
    /* Menu van het beheer: alles zichtbaar op twee regels, niet opzij schuiven */
    body.is-app .top nav { flex-wrap: wrap; overflow-x: visible; row-gap: 2px; padding-bottom: 8px; }
    body.is-app .top nav .nav-link, body.is-app .top nav button.link.nav-link { height: 34px; padding: 0 8px; font-size: .86rem; }
}

/* Marketing en reviews */
.notice:not(.ok):not(.error) { background: var(--warn-bg); color: var(--warn-ink); border-color: #f1dfa6; }
.section-title.first { margin-top: 8px; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 16px; }
.channel-grid > .card { margin: 0; min-width: 0; }
.channel-grid + form.inline { display: block; margin: 0 0 36px; }
.channel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.channel-head h2 { margin: 0 0 2px; }
.channel-logo { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; color: #fff; font-weight: 800; font-size: 1.2rem; }
.channel-logo.g { background: #3b6fd8; }
.channel-logo.f { background: #2f55a4; font-family: Georgia, serif; }
.copy-row { display: flex; gap: 8px; margin-bottom: 16px; }
.copy-row input { flex: 1; min-width: 0; font-size: .82rem; color: var(--ink-soft); background: var(--bg); }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.mini-stats div { padding: 12px 14px; border-radius: var(--radius-small); background: var(--bg); display: grid; gap: 2px; }
.mini-stats strong { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: .78rem; color: var(--muted); }
input.short { max-width: 120px; }
.review-admin-list { display: grid; gap: 12px; margin-bottom: 20px; }
.review-admin { margin: 0; }
.review-admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-admin-head > div { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.stars { color: #f2a516; letter-spacing: 1px; font-size: 1.05rem; }
.stars-off { color: var(--line-strong); }
.review-reply { margin: 10px 0; }
.review-reply summary { cursor: pointer; color: var(--accent); font-weight: 600; font-size: .9rem; }
.review-reply form { margin-top: 10px; }
.review-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
.review-actions form.inline { display: inline-flex; gap: 8px; }
@media (max-width: 860px) {
    .channel-grid { grid-template-columns: minmax(0, 1fr); }
    .mini-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* bol.com */
.acc-logo.bol, .channel-logo.bol { background: #0000a4; font-size: .85rem; letter-spacing: -.02em; }
.acc-logo.bol.small { width: 38px; height: 38px; border-radius: 10px; font-size: .75rem; }
.badge.bol { background: #e6e8fb; color: #0000a4; }
.channel-wide { margin: 0 0 16px; }
.channel-wide .btn { margin-right: 10px; }
.bol-card { border-left: 4px solid #0000a4; }
.bol-card-head { display: flex; align-items: center; gap: 12px; }
.bol-card-head > div { display: grid; gap: 2px; }
.bol-card .notice { margin: 14px 0 0; }
.bol-cancel { margin-top: 14px; }
.bol-cancel summary { cursor: pointer; color: var(--err-ink); font-weight: 600; font-size: .9rem; }
.bol-cancel form { margin-top: 10px; max-width: 360px; }
.small-text { font-size: .8rem; margin-top: 4px; }

/* Herroeping bij een bestelling */
.withdrawal-card { border-left: 4px solid #d92d20; margin-bottom: 20px; }
.withdrawal-card.handled { border-left-color: var(--line); opacity: .8; }
.withdrawal-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 8px; }
.withdrawal-head strong { display: block; font-size: 1rem; }
.withdrawal-card p { margin: 8px 0 0; }

/* Juridische teksten */
.legal-docs { display: grid; gap: 10px; margin-top: 18px; }
.legal-doc { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-small); }
.legal-doc strong { min-width: 170px; }
.legal-doc .badge { margin-left: 0; }
.legal-doc-links { margin-left: auto; font-size: .9rem; }
.check-row { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.check-row .check { margin: 0; }
.legal-services { margin: 22px 0 6px; padding: 16px 18px; border-radius: var(--radius-small); background: var(--accent-soft); }
.legal-services strong { display: block; }
.legal-services ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
.legal-services li { padding: 4px 10px; border-radius: 999px; background: #fff; font-size: .85rem; border: 1px solid var(--line); }
.cookie-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cookie-preview { position: relative; height: 330px; overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--radius-small); background: #f7f7f5; }
.cookie-preview-page { padding: 18px; display: grid; gap: 10px; }
.cookie-preview-page span { display: block; height: 14px; border-radius: 4px; background: #e6e6e1; }
.cookie-preview-page span:first-child { height: 90px; }
.cookie-preview-page span:nth-child(3) { width: 70%; }
.cookie-preview-shade { display: none; position: absolute; inset: 0; background: rgba(0, 0, 0, .4); }
.cookie-preview-box { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 26px rgba(0, 0, 0, .14); font-size: .82rem; }
.cookie-preview-box strong { display: block; font-size: .92rem; }
.cookie-preview-box p { margin: 4px 0 10px; color: var(--ink-soft); line-height: 1.45; }
.cookie-preview-actions { display: flex; gap: 6px; justify-content: flex-end; }
.cookie-preview-actions span { padding: 7px 12px; border-radius: 8px; background: var(--preview-accent); color: #fff; font-weight: 600; border: 1px solid var(--preview-accent); }
.cookie-preview-actions span.ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.cookie-preview.pos-bar .cookie-preview-box { left: 0; right: 0; bottom: 0; border-radius: 0; border-width: 1px 0 0; }
.cookie-preview.pos-corner .cookie-preview-box { right: auto; width: 62%; }
.cookie-preview.pos-corner .cookie-preview-actions span, .cookie-preview.pos-center .cookie-preview-actions span { flex: 1; text-align: center; }
.cookie-preview.pos-center .cookie-preview-shade { display: block; }
.cookie-preview.pos-center .cookie-preview-box { top: 50%; bottom: auto; left: 10%; right: 10%; transform: translateY(-50%); }
@media (max-width: 760px) {
    .cookie-editor { grid-template-columns: 1fr; gap: 6px; }
    .legal-doc strong { min-width: 0; width: 100%; }
    .legal-doc-links { margin-left: 0; }
}

/* Nieuwsbrief */
.newsletter-editor { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.newsletter-editor > .card { margin: 0; }
.newsletter-editor fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.newsletter-editor fieldset:disabled { opacity: .85; }
.nb-preview-wrap { position: sticky; top: 16px; }
.nb-preview-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.nb-preview { display: block; width: 100%; height: 760px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #f3f4f6; }
.nb-preview.empty-preview { height: 320px; }
.nb-preview-actions { margin-top: 12px; display: flex; justify-content: flex-end; }
.nb-product-search { margin-bottom: 8px; }
.nb-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 330px; overflow-y: auto; padding: 2px; }
.form label.nb-product { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px; font-weight: 400; font-size: .88rem; border: 1px solid var(--line-strong); border-radius: var(--radius-small); cursor: pointer; position: relative; }
.form label.nb-product[hidden] { display: none; }
.form label.nb-product.chosen { border-color: var(--accent); background: var(--accent-soft); }
.nb-product input { position: absolute; opacity: 0; pointer-events: none; }
.nb-product:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.nb-thumb { width: 40px; height: 40px; flex: none; border-radius: 6px; overflow: hidden; background: var(--bg); }
.nb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-name { display: grid; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.nb-name small { color: var(--muted); }
.nb-send { max-width: 640px; }
.nb-table td { vertical-align: top; }
.filter-row input[type=search] { flex: 1 1 220px; min-width: 0; }
@media (max-width: 980px) {
    .newsletter-editor { grid-template-columns: 1fr; }
    .nb-preview-wrap { position: static; }
    .nb-preview { height: 600px; }
}
.nb-filter { margin-bottom: 0; justify-content: flex-start; }
.nb-filter input[type=search], .nb-filter select { height: var(--control-height); padding: 0 12px; font: inherit; font-size: .95rem; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius-small); }
.nb-filter input[type=search] { flex: 1 1 240px; }
.nb-filter select { flex: 0 1 200px; }
@media (max-width: 640px) {
    .nb-filter > * { flex: 1 1 100% !important; }
}
@media (max-width: 640px) {
    .nb-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
    .nb-stats .card { padding: 14px 16px; }
    .nb-stats .value { font-size: 1.35rem; }
    .nb-stats .delta { display: none; }
    .table-wrap:has(.nb-stack) { overflow: visible; }
    .nb-stack thead { display: none; }
    .nb-stack, .nb-stack tbody, .nb-stack tr, .nb-stack td { display: block; width: 100%; }
    .nb-stack tr { padding: 14px 18px; border-bottom: 1px solid var(--line); }
    .nb-stack tr:last-child { border-bottom: 0; }
    .nb-stack td { padding: 3px 0; border: 0; text-align: left; }
    .nb-stack td[data-label] { display: flex; justify-content: space-between; gap: 12px; }
    .nb-stack td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
    .nb-stack td.num:last-child:not([data-label]) { text-align: left; padding-top: 6px; }
}

/* Cadeaubonnen */
.mono { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .02em; }
.gc-details { display: grid; grid-template-columns: 130px 1fr; gap: 8px 14px; margin: 0; font-size: .93rem; }
.gc-details dt { color: var(--muted); }
.gc-details dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) {
    .gc-details { grid-template-columns: 1fr; gap: 2px; }
    .gc-details dd { margin-bottom: 8px; }
    .stats-grid { grid-template-columns: 1fr; }
}

/* Digitale producten */
.digital-box { margin-bottom: 18px; }
.form label.check.digital-toggle { margin-top: 0; }
.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--line); }
.file-list li:last-child { border-bottom: 0; }
.file-list .file-name { font-weight: 600; overflow-wrap: anywhere; }
.file-list form { margin-left: auto; }

/* Retouren */
.reject-box summary { cursor: pointer; font-weight: 600; color: var(--err-ink); }
.reject-box form { margin-top: 12px; }

/* Blog */
.blog-list { display: grid; gap: 10px; }
.card.blog-row { display: flex; align-items: center; gap: 16px; margin: 0; padding: 14px 16px; color: inherit; text-decoration: none; }
.card.blog-row:hover { border-color: var(--accent); text-decoration: none; }
.blog-thumb { width: 88px; height: 58px; flex: none; border-radius: 8px; overflow: hidden; background: var(--bg); }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-row-text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.blog-row-text .hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blog-row-meta { display: grid; gap: 4px; justify-items: end; flex: none; }
.blog-cover-card { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.blog-cover-card img { width: 220px; max-width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.editor-bar { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 6px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: var(--radius-small) var(--radius-small) 0 0; background: var(--bg); }
.editor-bar button, .form .editor-bar .editor-photo { height: 32px; padding: 0 10px; margin: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; font: inherit; font-size: .85rem; font-weight: 500; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; }
.editor-bar button:hover, .editor-bar .editor-photo:hover { border-color: var(--accent); }
.editor-status { margin-left: 4px; }
.form textarea.editor-text { border-radius: 0 0 var(--radius-small) var(--radius-small); font-size: .98rem; line-height: 1.6; min-height: 360px; }
@media (max-width: 640px) {
    .card.blog-row { flex-wrap: wrap; }
    .blog-row-meta { justify-items: start; grid-auto-flow: column; align-items: center; gap: 10px; }
}

/* Inloggen in twee stappen */
.form input.code-input { font-size: 1.5rem; letter-spacing: .18em; text-align: center; font-variant-numeric: tabular-nums; max-width: 260px; }
.twofa-status { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.twofa-setup { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; margin: 8px 0 4px; }
.twofa-qr { width: 200px; height: 200px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.twofa-qr svg, .twofa-qr img { display: block; width: 100%; height: 100%; }
.twofa-steps { margin: 0; padding-left: 20px; }
.twofa-steps li { margin-bottom: 8px; }
.twofa-secret { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .95rem; letter-spacing: .04em; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; word-break: break-all; }
.backup-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; margin: 12px 0 16px; padding: 16px 18px; background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; list-style: none; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.05rem; }
.backup-codes li { margin: 0; padding: 0; }
.backup-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.twofa-off { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.twofa-off summary { cursor: pointer; color: var(--muted); }
@media (max-width: 640px) {
    .twofa-setup { grid-template-columns: minmax(0, 1fr); }
    .twofa-qr { margin: 0 auto; }
    .backup-codes { grid-template-columns: minmax(0, 1fr); }
}
@media print {
    body.twofa-printing * { visibility: hidden; }
    body.twofa-printing .backup-print, body.twofa-printing .backup-print * { visibility: visible; }
    body.twofa-printing .backup-print { position: absolute; left: 0; top: 0; }
}

/* Talen en vertalingen */
.form span.label { display: block; font-weight: 600; font-size: .92rem; margin: 18px 0 8px; }
.check-list { display: grid; gap: 8px; margin-bottom: 18px; }
.tr-lang-title { margin: 18px 0 8px; font-size: 1rem; }
.tr-progress { list-style: none; margin: 0; padding: 0; }
.tr-progress a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(80px, 160px) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tr-progress a:hover { color: var(--accent); }
.tr-bar { height: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.tr-bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.tr-tabs, .tr-kinds { display: flex; gap: 6px; flex-wrap: wrap; margin: 0 0 14px; }
.tr-tabs a, .tr-kinds a { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--card); color: var(--ink-soft); font-size: .9rem; text-decoration: none; }
.tr-tabs a.active, .tr-kinds a.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.tr-list-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tr-filter { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 14px; }
.tr-filter input, .tr-filter select { height: 38px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font: inherit; min-width: 0; }
.tr-filter input { flex: 1 1 180px; }
.tr-items { list-style: none; margin: 0; padding: 0; }
.tr-items a { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tr-items a:hover .tr-name { color: var(--accent); }
.tr-name { min-width: 0; overflow-wrap: anywhere; }
.tr-status { flex: none; font-size: .8rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--err-bg); color: var(--err-ink); }
.tr-status.partly { background: var(--warn-bg); color: var(--warn-ink); }
.tr-status.done { background: var(--ok-bg); color: var(--ok-ink); }
.tr-field { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tr-field label { margin-top: 0; }
.tr-original { background: var(--bg); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; color: var(--ink-soft); font-size: .92rem; max-height: 220px; overflow: auto; overflow-wrap: anywhere; }
.tr-copy { font-size: .85rem; margin-top: 6px; }
.tr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 640px) {
    .tr-progress a { grid-template-columns: minmax(0, 1fr) auto; }
    .tr-bar { grid-column: 1 / -1; grid-row: 2; }
}

/* =====================================================================
   Beheer van de winkelier: menu links, inhoud over de hele breedte
   ===================================================================== */
body.is-app { --side: #111c19; --side-ink: #c3cfcb; --side-muted: #6f837c; --side-hover: rgba(255, 255, 255, .06); --side-active: rgba(255, 255, 255, .1); --side-width: 252px; }
.app-shell { display: flex; min-height: 100vh; }
.app-side { position: sticky; top: 0; flex: none; width: var(--side-width); height: 100vh; display: flex; flex-direction: column; background: var(--side); color: var(--side-ink); z-index: 60; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.15) transparent; }
.app-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 18px 16px 10px 18px; }
.app-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: .98rem; letter-spacing: -.01em; text-decoration: none !important; min-width: 0; }
.app-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-shopcard { display: flex; align-items: center; gap: 11px; margin: 8px 12px 6px; padding: 11px 12px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.app-shopcard-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.app-shopcard-text strong { color: #fff; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-shopcard-text small { font-size: .78rem; color: var(--side-muted); display: inline-flex; align-items: center; gap: 6px; }
.app-shopcard-text small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #6f837c; }
.app-shopcard-text small.on::before { background: #3dd68c; }
.app-avatar { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; font-size: .95rem; }
.app-avatar.small { width: 28px; height: 28px; font-size: .8rem; }
.app-nav { flex: 1; padding: 4px 12px 12px; }
.app-nav-group { margin: 18px 10px 6px; color: var(--side-muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.app-nav-link { position: relative; display: flex; align-items: center; gap: 11px; width: 100%; height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--side-ink); font: inherit; font-size: .95rem; font-weight: 500; text-align: left; text-decoration: none !important; cursor: pointer; transition: background .12s, color .12s; }
.app-nav-link:hover { background: var(--side-hover); color: #fff; }
.app-nav-link.active { background: var(--side-active); color: #fff; }
.app-nav-link.active::before { content: ""; position: absolute; left: -12px; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: #3dd68c; }
.app-nav-link svg { flex: none; opacity: .9; }
.app-nav-link span { flex: 1; min-width: 0; }
.app-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #e5484d; color: #fff; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.app-side-foot { padding: 10px 12px 16px; border-top: 1px solid rgba(255, 255, 255, .07); }
.app-side-foot form { margin: 0; }
.app-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; }
.app-icon-btn:hover { background: rgba(127, 127, 127, .12); }
.app-side-close { display: none; color: var(--side-ink); }
.app-backdrop { position: fixed; inset: 0; background: rgba(10, 16, 14, .45); z-index: 55; }

.app-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.app-top { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 0 28px; background: var(--card); border-bottom: 1px solid var(--line); }
.app-menu-btn { display: none; margin-left: -8px; }
.app-top-title { font-weight: 600; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.app-top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.app-top-link { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 10px; border-radius: 8px; color: var(--ink-soft); font-size: .92rem; font-weight: 500; text-decoration: none !important; }
.app-top-link:hover { background: var(--bg); color: var(--ink); }
.app-top-shop { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }

/* Inhoud vult de breedte en past zich aan het venster aan */
body.is-app main.wrap.app-content { flex: 1; width: 100%; max-width: none; margin: 0; padding: 28px clamp(16px, 2.5vw, 40px) 56px; min-height: 0; }
body.is-app .narrow.wide { max-width: none; }
body.is-app.page-design main.wrap.app-content { max-width: none; }
.app-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px clamp(16px, 2.5vw, 40px); border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
.app-foot .foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.app-foot a { color: var(--muted); }

/* Tablet en telefoon: menu klapt weg achter de menuknop */
@media (max-width: 1024px) {
    .app-side { position: fixed; left: 0; top: 0; bottom: 0; height: 100%; transform: translateX(-100%); transition: transform .2s ease; }
    body.app-menu-open .app-side { transform: none; box-shadow: 0 0 40px rgba(0, 0, 0, .35); }
    body.app-menu-open { overflow: hidden; }
    .app-side-close, .app-menu-btn { display: inline-flex; }
    .app-top { padding: 0 16px; }
}
@media (max-width: 640px) {
    .app-top-link span:not(.app-avatar), .app-top-shop span { display: none; }
    .app-top-link { padding: 0 6px; }
    .app-top-shop { padding: 0 10px; margin-left: 2px; }
    body.is-app main.wrap.app-content { padding-top: 20px; }
}
/* Vastgeplakte onderdelen schuiven onder de bovenbalk van het beheer door */
body.is-app .designer-panel { top: 76px; max-height: calc(100vh - 92px); }
body.is-app .nb-preview-wrap { top: 76px; }
body.is-app .bulk-bar { top: 68px; }

/* =====================================================================
   Kassa
   ===================================================================== */
.pos-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.pos-open-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 20px; align-items: start; }
.pos-money-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; overflow: hidden; }
.pos-money-input span { padding: 0 4px 0 14px; color: var(--muted); font-weight: 600; }
.form .pos-money-input input, .pos-money-input input { border: 0 !important; box-shadow: none !important; flex: 1; min-width: 0; height: var(--control-height); padding: 0 12px 0 6px; font: inherit; font-size: 1.05rem; background: transparent; outline: none; }
.pos-money-input:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pos-money-input.big input { height: 58px; font-size: 1.6rem; font-weight: 600; }
.pos-history { list-style: none; margin: 0; padding: 0; }
.pos-history a { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pos-history a:hover { color: var(--accent); }
.pos-history .badge { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.pos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 20px; align-items: start; }
.pos-left { min-width: 0; }
.pos-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.pos-search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--muted); }
.pos-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pos-search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; height: 100%; }
.pos-more { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.pos-cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pos-cats button { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--card); color: var(--ink-soft); font: inherit; font-size: .9rem; cursor: pointer; }
.pos-cats button.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pos-tile { position: relative; display: flex; flex-direction: column; text-align: left; padding: 0 0 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); cursor: pointer; overflow: hidden; font: inherit; color: var(--ink); transition: transform .08s, box-shadow .12s, border-color .12s; }
.pos-tile:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.pos-tile:active { transform: scale(.97); }
.pos-tile img, .pos-tile-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; color: var(--line-strong); }
.pos-tile-name { padding: 8px 10px 2px; font-size: .9rem; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.pos-tile-price { padding: 0 10px; font-weight: 700; font-size: .95rem; }
.pos-stock { position: absolute; top: 8px; right: 8px; padding: 2px 8px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-size: .75rem; font-weight: 600; color: var(--ink-soft); }
.pos-stock.low { background: var(--warn-bg); color: var(--warn-ink); }
.pos-stock.out { background: var(--err-bg); color: var(--err-ink); }
.pos-none { color: var(--muted); padding: 30px 0; text-align: center; grid-column: 1 / -1; }

.pos-right { position: sticky; top: 76px; display: flex; flex-direction: column; max-height: calc(100vh - 96px); background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.pos-bon-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 10px; border-bottom: 1px solid var(--line); }
.pos-bon-head h2 { margin: 0; }
.pos-lines { list-style: none; margin: 0; padding: 0 8px; overflow-y: auto; flex: 1 1 auto; min-height: 60px; }
.pos-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 28px; gap: 8px; align-items: center; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.pos-line-main { display: flex; flex-direction: column; align-items: flex-start; border: 0; background: none; padding: 0; font: inherit; text-align: left; cursor: pointer; color: var(--ink); min-width: 0; }
.pos-line-name { font-weight: 500; font-size: .93rem; line-height: 1.3; overflow-wrap: anywhere; }
.pos-line-name small { display: block; color: var(--muted); font-weight: 400; }
.pos-line-price { font-size: .82rem; color: var(--muted); }
.pos-line-price s { margin-left: 4px; }
.pos-qty { display: flex; align-items: center; gap: 4px; }
.pos-qty button { width: 30px; height: 30px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-size: 1.05rem; cursor: pointer; color: var(--ink); }
.pos-qty span { min-width: 22px; text-align: center; font-weight: 600; }
.pos-line-total { font-variant-numeric: tabular-nums; font-size: .95rem; white-space: nowrap; }
.pos-line-x { width: 28px; height: 28px; border: 0; background: none; color: var(--muted); font-size: 1.3rem; cursor: pointer; border-radius: 6px; }
.pos-line-x:hover { background: var(--err-bg); color: var(--err-ink); }
.pos-empty { padding: 28px 18px; text-align: center; color: var(--muted); font-size: .95rem; }
.pos-sums { padding: 12px 18px 4px; border-top: 1px solid var(--line); }
.pos-sum-row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.pos-sum-row.total { font-size: 1.45rem; font-weight: 700; padding: 6px 0; }
.pos-sum-row.due { font-weight: 700; font-size: 1.15rem; }
.pos-sum-row.vat { color: var(--muted); font-size: .85rem; }
.link.small { font-size: .8rem; }
.pos-extra { display: flex; gap: 8px; padding: 8px 18px; flex-wrap: wrap; }
.pos-pay { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px 18px 18px; }
.pos-pay-btn { height: 64px; border: 0; border-radius: 12px; background: #c8d3cf; color: #fff; font: inherit; font-size: 1.05rem; font-weight: 700; cursor: pointer; }
.pos-pay-btn.ready { background: var(--accent); }
.pos-pay-btn.ready:hover { background: var(--accent-dark); }
.pos-pay-btn[data-pay="pin"].ready { background: #2f4d8f; }
.pos-pay-btn[data-pay="qr"].ready { background: #cc0066; }
.pos-pay-btn:disabled { background: #e0e4e9 !important; color: #9aa3ae; cursor: not-allowed; }
.pos-to-bon { display: none; }

.pos-dialog { width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 32px); border: 0; border-radius: 16px; padding: 22px; box-shadow: 0 30px 80px -20px rgba(15, 26, 23, .5); color: var(--ink); }
.pos-dialog.wide { width: min(520px, calc(100vw - 24px)); }
.pos-dialog::backdrop { background: rgba(10, 16, 14, .5); }
.pos-dialog h2 { margin-bottom: 14px; }
.pos-dialog .form, .pos-dialog form.form { margin: 0; }
.pos-dlg-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pos-dlg-error { color: var(--err-ink); background: var(--err-bg); padding: 8px 12px; border-radius: 8px; margin: 12px 0 0; font-size: .92rem; }
.pos-variant-list { display: grid; gap: 8px; }
.pos-variant { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; text-align: left; color: var(--ink); }
.pos-variant:hover { border-color: var(--accent); }
.pos-variant small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; text-align: right; }
.pos-variant.out { opacity: .6; }
.pos-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pos-quick button { flex: 1 1 70px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font: inherit; font-weight: 600; cursor: pointer; color: var(--ink); }
.pos-quick button:hover { border-color: var(--accent); }
.pos-quick.big button { height: 54px; font-size: 1.05rem; }
.pos-disc-row { display: flex; gap: 8px; }
.pos-disc-row .pos-money-input { flex: 1; }
.pos-disc-row select { height: var(--control-height); border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 10px; font: inherit; background: #fff; }
.pos-pay-amount { text-align: center; margin-bottom: 18px; }
.pos-pay-amount span { display: block; color: var(--muted); }
.pos-pay-amount strong { font-size: 2.4rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pos-change { text-align: center; font-size: 1.2rem; margin-top: 12px; min-height: 1.6em; }
.pos-change strong { font-size: 1.6rem; color: var(--accent); }
.pos-change .short { color: var(--err-ink); font-weight: 600; }
.pos-change.big { font-size: 1.3rem; margin: 6px 0 14px; }
.pos-change.big strong { font-size: 2.2rem; }
.pos-qr { width: min(260px, 70vw); margin: 0 auto 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.pos-qr svg { display: block; width: 100%; height: auto; }
.pos-mail { margin-top: 16px; }
.pos-mail summary { cursor: pointer; color: var(--ink-soft); font-size: .92rem; }
.pos-mail input, .pos-done-mail input { width: 100%; height: var(--control-height); margin-top: 8px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.pos-done { text-align: center; }
.pos-done-check { width: 64px; height: 64px; margin: 4px auto 10px; border-radius: 50%; background: var(--ok-bg); color: var(--accent); font-size: 2rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.pos-done-mail { display: flex; gap: 8px; align-items: flex-end; margin-top: 8px; }
.pos-done-mail input { flex: 1; min-width: 0; }
.pos-done .pos-dlg-actions { justify-content: center; }
.pos-recent { list-style: none; margin: 0; padding: 0; max-height: 60vh; overflow-y: auto; }
.pos-recent li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pos-recent .pos-recent-actions { grid-column: 1 / -1; display: flex; gap: 14px; font-size: .9rem; }
.pos-recent .badge { margin-left: 4px; }
.pos-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 200; max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 10px; background: var(--ink); color: #fff; font-size: .92rem; transition: opacity .2s, transform .2s; pointer-events: none; }
.pos-toast.on { opacity: 1; transform: translate(-50%, 0); }

.pos-report { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; }
.pos-report-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.pos-report-total { font-size: 2rem; font-weight: 700; text-align: right; line-height: 1.1; }
.pos-report-total small { display: block; font-size: .85rem; font-weight: 500; color: var(--muted); }
.pos-report-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.pos-report h3 { font-size: .95rem; margin: 0 0 8px; }
.pos-report-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.pos-report-table td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pos-report-table td.num { text-align: right; white-space: nowrap; padding-left: 12px; }
.pos-report-table tr.head td { color: var(--muted); font-size: .82rem; }
.pos-report-table tr.sum td { font-weight: 700; border-bottom: 0; }
.pos-report-table tr.ok td { color: var(--ok-ink); font-weight: 700; }
.pos-report-table tr.off td { color: var(--err-ink); font-weight: 700; }
.pos-close-form { max-width: 560px; }

@media (max-width: 900px) {
    .pos { grid-template-columns: minmax(0, 1fr); }
    .pos-right { position: static; max-height: none; }
    .pos-lines { max-height: none; }
    .pos-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .pos-more { margin-left: 0; }
    .pos-to-bon { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; justify-content: space-between; align-items: center; gap: 8px; height: 54px; padding: 0 18px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); cursor: pointer; }
    .pos-to-bon span { margin-right: auto; opacity: .8; }
    body.page-kassa .app-content { padding-bottom: 90px; }
    body.page-kassa .chat-widget { bottom: 80px; }
}
@media print {
    body.page-kassa .app-side, body.page-kassa .app-top, body.page-kassa .app-foot, body.page-kassa .pos-page-head .btn, body.page-kassa .chat-widget, body.page-kassa .pos-close-form { display: none !important; }
    body.page-kassa .app-content { padding: 0; }
}
.badge.kassa { background: #efe6fb; color: #5b2a9e; }
@media (max-width: 900px) { .pos-to-bon.hide { display: none; } }
.pos-quick button { white-space: nowrap; padding: 0 8px; }
@media (max-width: 500px) {
    .pos-quick.big button { flex: 1 1 calc(33.333% - 8px); font-size: .95rem; height: 48px; }
    .pos-pay-amount strong { font-size: 2rem; }
}

/* Social media instellingen */
.social-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 4px 20px; }
.social-field label { display: flex; align-items: center; gap: 8px; }
.social-ico { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); color: var(--ink-soft); }
.social-advanced summary { cursor: pointer; font-weight: 600; }
.social-advanced[open] summary { margin-bottom: 12px; }
.form .card + .card, .form .card + details.card, .form details.card + .btn, .form .card + .btn { margin-top: 20px; }
.form label.check + input[type=hidden] + label.check { margin-top: 14px; }
.social-preview { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.social-preview a { display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--ink); }
.social-preview a:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

/* Inkoop */
.badge.po-draft { background: #eceff3; color: var(--muted); }
.badge.po-ordered { background: #e6eefc; color: #234b9a; }
.badge.po-partial { background: var(--warn-bg); color: var(--warn-ink); }
.badge.po-received { background: var(--ok-bg); color: var(--ok-ink); }
.badge.po-cancelled { background: var(--err-bg); color: var(--err-ink); }
h1 .badge { vertical-align: middle; font-size: .75rem; }
.po-card-title { padding: 18px 22px 0; }
.card.table-wrap > h2.po-card-title { margin: 0; padding-bottom: 6px; }
.po-group h2 { padding: 16px 20px 4px; margin: 0; }
.po-totals { display: flex; justify-content: flex-end; gap: 22px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.qty-input { width: 80px !important; text-align: right; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
input.price-input { width: 110px !important; text-align: right; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.sku-input { width: 150px !important; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.form .qty-input, .form input.price-input, .form .sku-input { display: inline-block; margin: 0; }
.po-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.po-search { display: flex; gap: 8px; margin-bottom: 12px; }
.po-search input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.po-found { list-style: none; margin: 0; padding: 0; }
.po-found li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.po-found .grow { flex: 1; min-width: 0; }
.po-add { display: flex; gap: 6px; align-items: center; margin: 0; flex: none; }
.po-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.po-grid .card { margin: 0; }
.po-dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.po-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.purchase-box h2 { margin-bottom: 10px; }
@media (max-width: 640px) {
    .po-found li { flex-wrap: wrap; }
    .po-add { width: 100%; justify-content: flex-end; }
    .nb-stack td input.qty-input, .nb-stack td input.price-input, .nb-stack td input.sku-input { width: 130px !important; }
}

/* Inkoop: scannen */
.po-scan-bar { display: flex; gap: 8px; align-items: center; }
.po-scan-bar #scan-code, .po-scan-bar #recv-code { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 2px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 1.05rem; }
.po-scan-bar #scan-code:focus, .po-scan-bar #recv-code:focus { border-color: var(--accent, #2f6fed); outline: none; }
.po-scan-bar .qty-input { width: 64px; height: 46px; text-align: center; flex: none; }
.po-scan-bar .btn { flex: none; height: 46px; }
.po-scan-msg { margin: 10px 0 0; color: var(--muted); font-size: .92rem; }
.po-scan-msg.is-ok { color: var(--ok-ink); font-weight: 600; }
.po-scan-msg.is-warn { color: var(--warn-ink); font-weight: 600; }
.po-scan-msg.is-err { color: var(--err-ink); font-weight: 600; }
.po-scan-new { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.po-scan-new h3 { margin: 0 0 10px; font-size: 1.05rem; }
#receive-scan { padding-bottom: 12px; }
@keyframes po-hit { from { background: #fff4c2; } to { background: transparent; } }
tr.po-hit > td { animation: po-hit 1.2s ease-out; }
tr.po-done > td { background: var(--ok-bg); }
tr.po-over > td { background: var(--warn-bg); }
@media (max-width: 600px) {
    .po-scan-bar { flex-wrap: wrap; }
    .po-scan-bar #scan-code, .po-scan-bar #recv-code { flex-basis: 100%; }
    .po-scan-bar .btn { flex: 1; }
}

/* Betalingen: methoden kiezen */
.pay-head { margin-bottom: 6px; align-items: center; }
.pay-head h2 { margin: 0; }
.pay-methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.pay-method { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; margin: 0; font-weight: 400; }
.pay-method:has(input:checked) { border-color: var(--accent, #1f7a5c); background: var(--ok-bg); }
.pay-method input { margin-top: 4px; flex: none; }
.pay-logo { width: 40px; height: 30px; flex: none; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.pay-logo img { width: 32px; height: 24px; object-fit: contain; }
.pay-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-text .badge { align-self: flex-start; }
.pay-more { margin: 4px 0 14px; padding: 14px 16px; border-radius: 10px; background: var(--warn-bg); }
.pay-more h3 { margin: 0 0 4px; font-size: 1rem; }
.pay-more .hint { margin: 0; color: var(--warn-ink); }
.pay-note { margin: -4px 0 14px; }
.pay-note-col { display: flex; align-items: flex-end; }
.pay-wait { border-left: 4px solid var(--warn-ink); }

/* Prijzen en voorraad */
.qe-filter { flex-wrap: wrap; }
.qe-filter select { height: 40px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; background: #fff; max-width: 100%; }
.qe-table td { vertical-align: middle; }
.qe-name { min-width: 220px; white-space: nowrap; }
.qe-name img, .qe-noimg, .qe-indent { display: inline-block; vertical-align: middle; margin-right: 10px; }
.qe-name img, .qe-noimg { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; background: var(--line); }
.qe-name > div { display: inline-block; vertical-align: middle; white-space: normal; max-width: calc(100% - 60px); }
.qe-variant .qe-name { padding-left: 28px; }
.qe-indent { color: var(--muted); flex: none; }
.qe-variant td { background: #fafbfc; }
.qe-table .price-input { display: inline-flex; align-items: center; gap: 6px; }
.qe-table .price-input input { width: 92px; height: 38px; padding: 0 10px; text-align: right; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; background: #fff; }
.qe-table input.qty-input { width: 72px !important; }
.price-tool .price-input.wide input[type=text] { width: 160px; }
.qe-table .qty-input { width: 72px; text-align: right; }
.qe-stock { display: inline-flex; align-items: center; gap: 10px; justify-content: flex-end; }
.qe-track { display: inline-flex; align-items: center; gap: 4px; margin: 0; font-weight: 400; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.qe-out .qty-input { border-color: var(--err-ink); color: var(--err-ink); }
input.qe-changed { background: #fff8db; border-color: #d9a400 !important; }
.qe-bar { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 14px; padding: 12px 16px; margin: -8px 0 16px; background: var(--bg, #f4f5f7); border-top: 1px solid var(--line); }
.qe-bar.is-dirty { background: #fff8db; }
.price-tool h2.small-space { margin-top: 22px; }
.price-preview { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-preview .table-wrap { max-height: 520px; overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.price-up { display: block; font-size: .8rem; color: var(--ok-ink); }
.price-down { display: block; font-size: .8rem; color: var(--err-ink); }
.price-skip td, .price-same td { opacity: .55; }
.price-history li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.price-history li:last-child { border-bottom: 0; }
@media (max-width: 760px) {
    .qe-name { min-width: 0; white-space: normal; }
    .qe-variant .qe-name { padding-left: 0; }
    .nb-stack.qe-table td.num { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 4px 0; }
    .nb-stack.qe-table td.num::before { content: attr(data-label); color: var(--muted); font-size: .85rem; }
    .nb-stack.qe-table td.qe-empty { display: none; }
    .qe-filter > * { flex: 1 1 100%; }
    .price-history li { flex-wrap: wrap; }
}

/* Doorverwijzingen */
.rd-head { margin-bottom: 4px; align-items: center; }
.rd-head h2 { margin: 0; }
.rd-list { list-style: none; margin: 0; padding: 0; }
.rd-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) auto; gap: 6px 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.rd-info { display: flex; flex-direction: column; min-width: 0; }
.rd-path { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9rem; overflow-wrap: anywhere; }
.rd-fix { display: flex; gap: 8px; margin: 0; min-width: 0; }
.rd-fix input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 8px; font: inherit; }
.rd-suggest { grid-column: 2 / 4; margin-top: -2px; }
.rd-list-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 18px 22px 10px; }
.rd-list-head h2 { margin: 0; margin-right: auto; }
.rd-search { margin: 0; }
.rd-search input { height: 36px; }
.rd-empty { padding: 0 22px 18px; }
.tabs.small a { padding: 5px 10px; font-size: .88rem; }
#bulk { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; }
@media (max-width: 760px) {
    .rd-list li { grid-template-columns: minmax(0, 1fr) auto; }
    .rd-fix { grid-column: 1 / -1; grid-row: 2; }
    .rd-suggest { grid-column: 1 / -1; }
    .rd-search, .rd-search input { width: 100%; }
}
.rd-wrap { overflow-wrap: anywhere; }
#lijst { margin-top: 20px; }
.klant-export { margin: -6px 0 18px; } @media (max-width: 600px) { .klant-export select, .klant-export .btn { flex: 1 1 100%; } }

/* Ontwerp: slider */
.dp-slide { margin: 12px 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg, #f7f8fa); }
.dp-slide-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dp-slide-head span { display: flex; align-items: center; gap: 4px; }
.dp-slide-head button[data-slide-move] { width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; }
.dp-slide-head button[disabled] { opacity: .35; cursor: default; }
.dp-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 0 8px; }

/* Productboekje */
.seg-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 8px; margin: 4px 0 16px; }
.radio-card { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 400; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--accent, #1f7a5c); background: var(--ok-bg); }
#boekje-form h2.small-space { margin-top: 22px; }

/* Medewerkers */
.team-list { list-style: none; margin: 0; padding: 0; }
.team-member { padding: 16px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8px 20px; align-items: start; }
.team-head { display: flex; gap: 12px; align-items: center; min-width: 0; }
.team-head .app-avatar { background: var(--accent, #1f7a5c); color: #fff; flex: none; }
.team-who { min-width: 0; overflow-wrap: anywhere; }
.team-rights { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.team-chip { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok-ink); font-size: .82rem; font-weight: 600; }
.team-edit { grid-column: 1 / -1; }
.team-edit summary { cursor: pointer; color: var(--accent, #1f7a5c); font-weight: 600; font-size: .92rem; }
.team-edit[open] summary { margin-bottom: 12px; }
.team-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.team-perms { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 8px; margin: 6px 0 16px; }
.team-perm { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; font-weight: 400; cursor: pointer; }
.team-perm:has(input:checked) { border-color: var(--accent, #1f7a5c); background: var(--ok-bg); }
.team-perm input { margin-top: 3px; flex: none; }
.team-perm span { display: flex; flex-direction: column; gap: 2px; }
.team-perm small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.team-presets { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 2px 0 6px; }
@media (max-width: 700px) { .team-member { grid-template-columns: 1fr; } }
