/* =============================================================================
   lamson-portal.css — Lamson-look voor het klantportaal (laadt ná site.css)
   -----------------------------------------------------------------------------
   Zelfde stijl als FileShare: navy + Lamson-goud.
   Donker is standaard; licht met <html data-theme="light"> (zon/maan-knop).
   Werkt via de variabelen van site.css; de pagina's zelf hoeven niet te veranderen.
   Stijlgids: /design-system in de repo.
   ============================================================================= */

/* ---------- 1. Kleuren: donker (standaard) ---------- */
:root {
  color-scheme: dark;
  --bg: #0a1020; --bg-elev: #0d1528;
  --surface: #111a2f; --surface-2: #16213a; --surface-3: #1c2945;
  --border: #2a3a5e; --border-soft: #1f2c4a;
  --text: #f4f6fb; --text-muted: #b4bed3; --text-dim: #8592ad;
  --accent: #d9b680; --accent-2: #e6c896; --accent-soft: rgba(217, 182, 128, .12);
  --success: #6ccb5f; --warning: #f2a65a; --danger: #f1707b; --info: #7fb2f0; --violet: #d9b680;
  --radius: 14px; --radius-sm: 6px; --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35);
  --shadow-md: inset 0 1px 0 rgba(255, 255, 255, .035), 0 1px 2px rgba(0, 0, 0, .35), 0 12px 32px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .75);

  --lp-ok-soft: rgba(108, 203, 95, .12);   --lp-ok-line: rgba(108, 203, 95, .30);
  --lp-warn-soft: rgba(242, 166, 90, .12); --lp-warn-line: rgba(242, 166, 90, .30);
  --lp-bad-soft: rgba(241, 112, 123, .12); --lp-bad-line: rgba(241, 112, 123, .30);
  --lp-info-soft: rgba(127, 178, 240, .12); --lp-info-line: rgba(127, 178, 240, .30);
  --lp-gold-line: rgba(217, 182, 128, .32);
  --lp-gold-grad: linear-gradient(180deg, #e0bf8a 0%, #c9a36b 100%);
  --lp-gold-grad-hover: linear-gradient(180deg, #ecd0a0 0%, #d4b07a 100%);
  --lp-tile: linear-gradient(140deg, #e3c48f 0%, #ac8a63 100%);
  --lp-on-gold: #0a1020;
  --lp-glow-a: rgba(40, 90, 200, .20);
  --lp-glow-b: rgba(217, 182, 128, .07);
  --lp-bubble-me: rgba(217, 182, 128, .10);
  --lp-row-hover: rgba(217, 182, 128, .04);
  --lp-th-bg: rgba(255, 255, 255, .015);
  --lp-sidebar: rgba(6, 10, 22, .92);
  --lp-focus: rgba(217, 182, 128, .18);
}

/* ---------- 2. Kleuren: licht ---------- */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f6fa; --bg-elev: #eef1f6;
  --surface: #ffffff; --surface-2: #f7f8fb; --surface-3: #eef1f6;
  --border: #d3dae6; --border-soft: #e3e8f0;
  --text: #0f172a; --text-muted: #475569; --text-dim: #5a6a80;
  --accent: #7a5a2e; --accent-2: #5f4522; --accent-soft: rgba(172, 138, 99, .12);
  --success: #15803d; --warning: #b45309; --danger: #c62828; --info: #1a5fb4; --violet: #7a5a2e;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05);
  --shadow-md: 0 1px 2px rgba(15, 23, 42, .06), 0 10px 28px -16px rgba(15, 23, 42, .18);
  --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, .55);

  --lp-ok-soft: rgba(21, 128, 61, .09);   --lp-ok-line: rgba(21, 128, 61, .28);
  --lp-warn-soft: rgba(180, 83, 9, .09);  --lp-warn-line: rgba(180, 83, 9, .28);
  --lp-bad-soft: rgba(198, 40, 40, .08);  --lp-bad-line: rgba(198, 40, 40, .28);
  --lp-info-soft: rgba(26, 95, 180, .08); --lp-info-line: rgba(26, 95, 180, .26);
  --lp-gold-line: rgba(172, 138, 99, .45);
  --lp-gold-grad: linear-gradient(180deg, #d4b07a 0%, #b8925e 100%);
  --lp-gold-grad-hover: linear-gradient(180deg, #e0bf8a 0%, #c9a36b 100%);
  --lp-glow-a: rgba(40, 90, 200, .05);
  --lp-glow-b: rgba(172, 138, 99, .08);
  --lp-bubble-me: rgba(172, 138, 99, .10);
  --lp-row-hover: rgba(172, 138, 99, .06);
  --lp-th-bg: #f7f8fb;
  --lp-sidebar: #0b1222;
  --lp-focus: rgba(172, 138, 99, .22);
}

/* ---------- 3. Basis ---------- */
html, body { font-family: "Segoe UI Variable Text", "Segoe UI", "Inter", system-ui, sans-serif; }
html { background: var(--bg); }
body {
  background:
    radial-gradient(1200px 600px at 105% -10%, var(--lp-glow-a), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, var(--lp-glow-b), transparent 60%),
    var(--bg) !important;
  background-attachment: fixed !important;
  min-height: 100vh;
}
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
::selection { background: rgba(217, 182, 128, .35); }
.muted { color: var(--text-muted) !important; }
.dim { color: var(--text-dim) !important; }

/* ---------- 4. Menu links (in beide thema's navy) ---------- */
.sidebar {
  --text: #f4f6fb; --text-muted: #b4bed3; --text-dim: #8592ad; --surface: #111a2f; --border-soft: #1f2c4a; --accent: #d9b680;
  background: var(--lp-sidebar) !important; border-right: 1px solid #1f2c4a !important; position: sticky !important; top: 0; height: 100vh;
}
.sidebar::after { content: ""; position: absolute; top: 0; bottom: 0; right: -1px; width: 1px; pointer-events: none; background: linear-gradient(180deg, transparent, #ac8a63 40%, #d9b680 50%, #ac8a63 60%, transparent); opacity: .5; }
.sidebar-brand { background: transparent !important; border-bottom-color: #1f2c4a !important; }
.sidebar-brand-logo { background: none; border-radius: 0; padding: 0; width: 190px; max-width: 100%; height: auto; max-height: none; }
.sidebar-section-title { color: #8592ad !important; letter-spacing: .14em; }
.sidebar-nav a { color: #b4bed3 !important; position: relative; }
.sidebar-nav a:hover { background: #111a2f !important; color: #fff !important; }
.sidebar-nav a.active { background: linear-gradient(90deg, rgba(217, 182, 128, .16), rgba(217, 182, 128, .02)) !important; color: #fff !important; font-weight: 600; }
.sidebar-nav a.active::before { content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #d9b680; box-shadow: 0 0 10px rgba(217, 182, 128, .8); }
.sidebar-nav a.active .icon { color: #d9b680; }
.sidebar-footer { border-top-color: #1f2c4a !important; }
.sidebar-user-name { color: #f4f6fb !important; }
.sidebar-user-mail { color: #8592ad !important; }
.sidebar .avatar { background: var(--lp-tile) !important; color: var(--lp-on-gold) !important; }
.sidebar-logout { color: #b4bed3 !important; border-color: #1f2c4a !important; background: transparent !important; }
.sidebar-logout:hover { color: #fff !important; background: #111a2f !important; }
.lp-side-actions { display: flex; align-items: center; gap: 8px; }
.lp-side-actions .sidebar-logout { flex: 1; }

/* Volledige breedte: geen maximale breedte meer op de inhoud */
.app { grid-template-columns: var(--sidebar-w) minmax(0, 1fr) !important; }
.main { max-width: none !important; width: 100% !important; padding: 2rem 2.5rem 3rem !important; box-sizing: border-box; }
.new-ticket-card { max-width: none !important; }

/* ---------- 5. Paginakop met gouden tegel ---------- */
.page-header > div:first-child:has(.page-title) { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-items: center; }
.page-header > div:first-child:has(.page-title)::before {
  content: ""; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 12px;
  background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1020' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E") center / 22px no-repeat, var(--lp-tile);
  box-shadow: 0 10px 24px -10px rgba(217, 182, 128, .6), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.page-title { font-size: 26px !important; font-weight: 600 !important; letter-spacing: -.02em; color: var(--text) !important; }
.page-subtitle { color: var(--text-muted) !important; }
.new-ticket-icon { background: var(--lp-tile) !important; color: var(--lp-on-gold) !important; border: 0 !important; }

/* ---------- 6. Knoppen en velden ---------- */
.btn:not(.btn-ghost):not(.btn-danger) {
  background: var(--lp-gold-grad) !important; color: var(--lp-on-gold) !important; border: 0 !important; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px -8px rgba(217, 182, 128, .7) !important;
}
.btn:not(.btn-ghost):not(.btn-danger):hover { background: var(--lp-gold-grad-hover) !important; }
.btn:disabled { opacity: .55 !important; box-shadow: none !important; }
.btn-ghost { background: var(--surface) !important; color: var(--text) !important; border: 1px solid var(--border) !important; box-shadow: none !important; }
.btn-ghost:hover { border-color: var(--text-dim) !important; }
.btn-danger { background: transparent !important; color: var(--danger) !important; border: 1px solid var(--lp-bad-line) !important; }
.btn-danger:hover { background: var(--lp-bad-soft) !important; }
.btn, .input, .textarea, select.input { border-radius: 6px !important; }
.input, .textarea, select.input { background: var(--bg-elev) !important; color: var(--text) !important; border: 1px solid var(--border) !important; }
html[data-theme="light"] .input, html[data-theme="light"] .textarea, html[data-theme="light"] select.input { background: #fff !important; }
.input::placeholder, .textarea::placeholder { color: var(--text-dim) !important; }
.input:focus, .textarea:focus { border-color: var(--accent) !important; box-shadow: 0 0 0 3px var(--lp-focus) !important; outline: none; }
.field label { color: var(--text-muted); }
.field label .req { color: var(--danger) !important; }
input[type=checkbox], input[type=radio] { accent-color: #c9a36b; }

/* ---------- 7. Kaarten, tegels, tabel ---------- */
.card, .stat-card, .ticket-table-wrap, .new-ticket-card {
  background: linear-gradient(90deg, transparent, var(--lp-gold-line), transparent) top center / calc(100% - 36px) 1px no-repeat, var(--surface) !important;
  border: 1px solid var(--border-soft) !important; box-shadow: var(--shadow-md) !important; border-radius: 14px !important;
}
.stat-ico-open   { background: var(--lp-info-soft) !important; color: var(--info) !important; }
.stat-ico-closed { background: var(--lp-ok-soft) !important;   color: var(--success) !important; }
.stat-ico-total  { background: var(--accent-soft) !important;  color: var(--accent) !important; }
.stat-value { font-weight: 600 !important; letter-spacing: -.02em; color: var(--text) !important; }
.ticket-filter-btn { background: var(--surface) !important; border-color: var(--border) !important; color: var(--text-muted) !important; }
.ticket-filter-btn.is-active { background: var(--accent-soft) !important; color: var(--accent) !important; border-color: var(--lp-gold-line) !important; }
.ticket-filter-btn.is-active .ticket-filter-count { background: var(--accent) !important; color: var(--lp-on-gold) !important; }
html[data-theme="light"] .ticket-filter-btn.is-active .ticket-filter-count { color: #fff !important; }
.ticket-table th { font-size: 11.5px !important; letter-spacing: .06em !important; text-transform: uppercase; color: var(--text-dim) !important; background: var(--lp-th-bg) !important; border-color: var(--border-soft) !important; }
.ticket-table td { border-color: var(--border-soft) !important; color: var(--text); }
.ticket-table tbody tr:hover td { background: var(--lp-row-hover) !important; }
.row-ico-new    { background: var(--accent-soft) !important;  color: var(--accent) !important; }
.row-ico-open   { background: var(--lp-info-soft) !important; color: var(--info) !important; }
.row-ico-wait   { background: var(--lp-warn-soft) !important; color: var(--warning) !important; }
.row-ico-closed { background: var(--lp-ok-soft) !important;   color: var(--success) !important; }

/* ---------- 8. Statuslabels ---------- */
.badge-new    { background: var(--accent-soft) !important;  color: var(--accent) !important;  border-color: var(--lp-gold-line) !important; }
.badge-open   { background: var(--lp-info-soft) !important; color: var(--info) !important;    border-color: var(--lp-info-line) !important; }
.badge-wait   { background: var(--lp-warn-soft) !important; color: var(--warning) !important; border-color: var(--lp-warn-line) !important; }
.badge-closed { background: var(--lp-ok-soft) !important;   color: var(--success) !important; border-color: var(--lp-ok-line) !important; }
.badge-danger { background: var(--lp-bad-soft) !important;  color: var(--danger) !important;  border-color: var(--lp-bad-line) !important; }
.badge-muted  { background: var(--surface-2) !important;    color: var(--text-muted) !important; border-color: var(--border-soft) !important; }
.dot-new { background: var(--accent) !important; box-shadow: 0 0 0 3px var(--accent-soft) !important; }
.dot-open { box-shadow: 0 0 0 3px var(--lp-info-soft) !important; }
.dot-wait { box-shadow: 0 0 0 3px var(--lp-warn-soft) !important; }
.dot-closed { box-shadow: 0 0 0 3px var(--lp-ok-soft) !important; }

/* ---------- 9. Ticket en gesprek ---------- */
.ticket-omschrijving { background: var(--surface-2) !important; border-color: var(--border-soft) !important; color: var(--text) !important; }
.ticket-hero-nummer { color: var(--text-dim) !important; }
.reply-bubble { background: var(--surface-2) !important; border-color: var(--border-soft) !important; color: var(--text) !important; }
.reply.is-klant .reply-bubble { background: var(--lp-bubble-me) !important; border-color: var(--lp-gold-line) !important; }
.reply-avatar.mw { background: #0b1222 !important; color: #d9b680 !important; box-shadow: 0 0 0 1px #2a3a5e; }
.reply-avatar.klant { background: var(--lp-tile) !important; color: var(--lp-on-gold) !important; }
.reply-tag { color: var(--accent) !important; background: var(--accent-soft) !important; border-color: var(--lp-gold-line) !important; }
.reply-date { color: var(--text-dim) !important; }
.attach-chip { background: var(--surface-2) !important; border-color: var(--border-soft) !important; color: var(--text) !important; }
.attach-chip:hover { border-color: var(--lp-gold-line) !important; }

/* ---------- 10. Meldingen en lege staten ---------- */
.alert-error { background: var(--lp-bad-soft) !important; border-color: var(--lp-bad-line) !important; color: var(--danger) !important; }
.alert-info  { background: var(--lp-info-soft) !important; border-color: var(--lp-info-line) !important; color: var(--info) !important; }
.empty { color: var(--text-muted); }
.empty-title { color: var(--text) !important; }
.empty-icon { color: var(--accent) !important; }

/* ---------- 11. Inloggen, wachtwoord, activeren ---------- */
.auth-shell {
  background:
    radial-gradient(1000px 520px at 100% -10%, rgba(40, 90, 200, .28), transparent 60%),
    radial-gradient(800px 460px at -10% 110%, rgba(217, 182, 128, .14), transparent 60%),
    #0a1020 !important;
}
html[data-theme="light"] .auth-shell {
  background:
    radial-gradient(1000px 520px at 100% -10%, rgba(40, 90, 200, .10), transparent 60%),
    radial-gradient(800px 460px at -10% 110%, rgba(172, 138, 99, .16), transparent 60%),
    #eef1f6 !important;
}
html[data-theme="light"] .auth-card { box-shadow: 0 24px 60px -28px rgba(15, 23, 42, .35), 0 0 0 1px rgba(172, 138, 99, .35) !important; }
html[data-theme="light"] .auth-brand img { background: transparent; padding: 0; }
html[data-theme="light"] .lp-theme-float { background: #fff; color: #7a5a2e; border-color: rgba(172, 138, 99, .45); }
.auth-card {
  background: var(--surface) !important; border: 0 !important; border-radius: 16px !important; position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(217, 182, 128, .25) !important;
}
.auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #ac8a63, #e3c48f, #ac8a63); }
.auth-brand img { background: #fff; border-radius: 10px; padding: 8px 14px; box-sizing: content-box; height: 40px !important; }
.auth-brand-title { color: var(--text) !important; }
.auth-brand-sub { color: var(--accent) !important; }
.auth-h1 { color: var(--text) !important; }
.auth-sub, .auth-footer, .auth-link { color: var(--text-muted) !important; }

/* ---------- 12. Thema-knop (zon / maan) ---------- */
.lp-theme-btn {
  width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; cursor: pointer;
  border-radius: 6px; border: 1px solid #1f2c4a; background: transparent; color: #b4bed3;
}
.lp-theme-btn:hover { color: #d9b680; border-color: rgba(217, 182, 128, .45); background: #111a2f; }
.lp-theme-btn svg { width: 17px; height: 17px; }
.lp-theme-btn .lp-ico-moon { display: none; }
html[data-theme="light"] .lp-theme-btn .lp-ico-sun { display: none; }
html[data-theme="light"] .lp-theme-btn .lp-ico-moon { display: block; }
.lp-theme-float {
  position: fixed; top: 18px; right: 18px; z-index: 50;
  background: rgba(17, 26, 47, .7); border-color: rgba(217, 182, 128, .35); color: #e6c896; backdrop-filter: blur(6px);
}

/* ---------- 13. Pagina niet gevonden ---------- */
.lp-notfound { max-width: 520px; margin: 12vh auto; text-align: center; padding: 40px 32px !important; }
.lp-notfound h1 { font-size: 22px; margin: 14px 0 6px; color: var(--text); }
.lp-notfound p { color: var(--text-muted); margin: 0 0 20px; }
.lp-notfound .lp-nf-code { font: 600 13px "Cascadia Mono", "JetBrains Mono", monospace; color: var(--accent); letter-spacing: .1em; }

/* Thema-knop in het menu: met tekst, zodat hij opvalt */
.lp-side-actions { margin-top: .75rem; }
.lp-side-actions .sidebar-logout { margin-top: 0 !important; height: 36px; padding: 0 10px; border: 1px solid #1f2c4a; border-radius: 6px; }
.lp-theme-wide { width: auto; padding: 0 12px; gap: 7px; display: inline-flex; align-items: center; font-family: inherit; font-size: .8rem; font-weight: 600; color: #e6c896; border-color: rgba(217, 182, 128, .35); }
.lp-theme-wide .lp-t-to-dark { display: none; }
html[data-theme="light"] .lp-theme-wide .lp-t-to-light { display: none; }
html[data-theme="light"] .lp-theme-wide .lp-t-to-dark { display: inline; }

/* =============================================================================
   PREMIUM-OPBOUW: bovenbalk, welkom, tegels, tickettabel, zijkolom
   ============================================================================= */
/* ---------- Premium: shell met bovenbalk ---------- */
.app { grid-template-columns: 248px minmax(0, 1fr) !important; }
.main { padding: 0 !important; display: flex; flex-direction: column; min-height: 100vh; }
.lp-top {
  position: sticky; top: 0; z-index: 20; height: 60px; display: flex; align-items: center; gap: 14px; padding: 0 28px;
  background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.lp-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--lp-gold-line) 30%, var(--accent) 50%, var(--lp-gold-line) 70%, transparent); opacity: .7; }
.lp-crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-dim); }
.lp-crumbs b { color: var(--text); font-weight: 600; }
.lp-crumbs svg { width: 14px; height: 14px; opacity: .6; }
.lp-search { margin-left: auto; position: relative; width: 340px; }
.lp-search input { width: 100%; height: 36px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 12px 0 36px; font: inherit; font-size: 13px; }
.lp-search svg { position: absolute; left: 11px; top: 10px; width: 16px; height: 16px; color: var(--text-dim); }
.lp-search kbd { position: absolute; right: 8px; top: 8px; font: 600 10.5px "JetBrains Mono", monospace; color: var(--text-dim); border: 1px solid var(--border); border-radius: 4px; padding: 2px 5px; }
.lp-ibtn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); position: relative; }
.lp-ibtn svg { width: 17px; height: 17px; }
.lp-ibtn .lp-badge { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--warning); color: #0a1020; font: 700 10px/16px inherit; font-family: inherit; text-align: center; padding: 0 4px; box-shadow: 0 0 0 2px var(--bg); }
.lp-me { display: flex; align-items: center; gap: 10px; padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--border-soft); }
.lp-me .avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; background: var(--lp-tile); color: var(--lp-on-gold); }
.lp-me-n { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.2; }
.lp-me-c { font-size: 11.5px; color: var(--text-dim); }
.lp-body { padding: 28px 32px 40px; flex: 1; }
.lp-foot { padding: 14px 32px; border-top: 1px solid var(--border-soft); display: flex; gap: 18px; font-size: 12px; color: var(--text-dim); }
.lp-foot .ok { color: var(--success); display: inline-flex; align-items: center; gap: 6px; }
.lp-foot .ok i { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px var(--lp-ok-soft); }

/* ---------- Menu links: bedrijf + hulpkaart ---------- */
.lp-org { margin: 14px 12px 4px; padding: 10px 12px; border-radius: 8px; border: 1px solid #1f2c4a; background: #0d1528; display: flex; align-items: center; gap: 10px; }
.lp-org-ico { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: rgba(127, 178, 240, .12); color: #7fb2f0; font-weight: 700; font-size: 11px; }
.lp-org-n { color: #f4f6fb; font-size: 12.5px; font-weight: 600; line-height: 1.2; }
.lp-org-s { color: #8592ad; font-size: 11px; }
.sidebar-nav a .lp-count { margin-left: auto; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; background: rgba(242, 166, 90, .16); color: #f2a65a; padding: 0 6px; }
.lp-help { margin: auto 12px 14px; padding: 14px; border-radius: 10px; position: relative; overflow: hidden; border: 1px solid rgba(217, 182, 128, .28);
  background: radial-gradient(180px 120px at 100% 0%, rgba(217, 182, 128, .18), transparent 70%), #0d1528; }
.lp-help-t { color: #f4f6fb; font-weight: 600; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.lp-help-t svg { width: 16px; height: 16px; color: #d9b680; }
.lp-help p { color: #8592ad; font-size: 11.5px; margin: 6px 0 10px; line-height: 1.45; }
.lp-help a { display: flex; align-items: center; gap: 8px; color: #e6c896 !important; font-size: 12px; text-decoration: none; padding: 3px 0; }
.lp-help a svg { width: 14px; height: 14px; }
.lp-ver { padding: 0 20px 14px; font-size: 10.5px; color: #5a6a80; letter-spacing: .04em; display: flex; align-items: center; gap: 6px; }
.lp-ver svg { width: 12px; height: 12px; color: #6ccb5f; }

/* ---------- Welkom + KPI ---------- */
.lp-hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.lp-hello h1 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; margin: 0; color: var(--text); }
.lp-hello p { margin: 6px 0 0; color: var(--text-muted); font-size: 14px; }
.lp-hello p b { color: var(--warning); font-weight: 600; }
.lp-hello .eyebrow { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.lp-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }
.lp-kpi { position: relative; overflow: hidden; padding: 18px 18px 16px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--surface); box-shadow: var(--shadow-md); }
.lp-kpi::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--k); opacity: .9; }
.lp-kpi::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--k) 16%, transparent), transparent 70%); }
.lp-kpi-top { display: flex; align-items: center; justify-content: space-between; }
.lp-kpi-l { font-size: 12.5px; color: var(--text-muted); font-weight: 500; }
.lp-kpi-i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; color: var(--k); background: color-mix(in srgb, var(--k) 13%, transparent); }
.lp-kpi-i svg { width: 17px; height: 17px; }
.lp-kpi-v { font-size: 30px; font-weight: 600; letter-spacing: -.03em; color: var(--text); margin-top: 6px; line-height: 1.1; }
.lp-kpi-s { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.lp-kpi-s b { color: var(--k); font-weight: 600; }
.lp-kpi.is-hot { border-color: color-mix(in srgb, var(--k) 45%, transparent); box-shadow: var(--shadow-md), 0 0 0 1px color-mix(in srgb, var(--k) 20%, transparent), 0 10px 30px -14px color-mix(in srgb, var(--k) 60%, transparent); }

/* ---------- Lijst-kaart ---------- */
.lp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.lp-card { border-radius: 12px; border: 1px solid var(--border-soft); background: linear-gradient(90deg, transparent, var(--lp-gold-line), transparent) top center / calc(100% - 36px) 1px no-repeat, var(--surface); box-shadow: var(--shadow-md); overflow: hidden; }
.lp-card-h { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-soft); }
.lp-card-t { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--text); }
.lp-tile { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.lp-tile svg { width: 15px; height: 15px; }
.lp-tabs { display: flex; gap: 2px; margin-left: 18px; }
.lp-tabs button { padding: 8px 12px; font-size: 13px; color: var(--text-muted); text-decoration: none; border-radius: 6px; display: flex; align-items: center; gap: 7px; position: relative; }
.lp-tabs button i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; background: var(--surface-3); color: var(--text-muted); }
.lp-tabs button.on { color: var(--text); font-weight: 600; }
.lp-tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -15px; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); border-radius: 2px; }
.lp-tabs button.on i { background: var(--accent); color: var(--lp-on-gold); }
.lp-card-h .lp-filter { margin-left: auto; position: relative; }
.lp-filter input { width: 220px; height: 32px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg-elev); color: var(--text); padding: 0 10px 0 32px; font: inherit; font-size: 12.5px; }
html[data-theme="light"] .lp-filter input { background: #fff; }
.lp-filter svg { position: absolute; left: 10px; top: 9px; width: 14px; height: 14px; color: var(--text-dim); }
table.lp-t { width: 100%; border-collapse: collapse; }
.lp-t th { text-align: left; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; padding: 10px 18px; background: var(--lp-th-bg); border-bottom: 1px solid var(--border-soft); }
.lp-t td { padding: 13px 18px; border-bottom: 1px solid var(--border-soft); font-size: 13px; color: var(--text); vertical-align: middle; }
.lp-t tr:last-child td { border-bottom: 0; }
.lp-t tbody tr:hover td { background: var(--lp-row-hover); }
.lp-t tr.need { background: linear-gradient(90deg, color-mix(in srgb, var(--warning) 9%, transparent), transparent 55%); }
.lp-t tr.need td:first-child { box-shadow: inset 3px 0 0 var(--warning); }
.lp-subj { font-weight: 600; color: var(--text); }
.lp-meta { font-size: 12px; color: var(--text-dim); margin-top: 3px; display: flex; gap: 8px; align-items: center; }
.lp-meta .mono { font-family: "JetBrains Mono", monospace; font-size: 11.5px; }
.lp-need { font-size: 11px; font-weight: 700; color: var(--warning); background: var(--lp-warn-soft); border: 1px solid var(--lp-warn-line); border-radius: 4px; padding: 1px 6px; }
.lp-pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 5px; border: 1px solid; }
.lp-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.lp-pill.new { color: var(--accent); background: var(--accent-soft); border-color: var(--lp-gold-line); }
.lp-pill.open { color: var(--info); background: var(--lp-info-soft); border-color: var(--lp-info-line); }
.lp-pill.wait { color: var(--warning); background: var(--lp-warn-soft); border-color: var(--lp-warn-line); }
.lp-pill.closed { color: var(--success); background: var(--lp-ok-soft); border-color: var(--lp-ok-line); }
.lp-who { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.lp-who span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; background: #0b1222; color: #d9b680; box-shadow: 0 0 0 1px #2a3a5e; }
.lp-who.none { color: var(--text-dim); font-style: italic; }
.lp-when { color: var(--text-muted); font-size: 12.5px; }
.lp-when small { display: block; color: var(--text-dim); font-size: 11.5px; }
.lp-prio { font-size: 12px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; }
.lp-prio.hoog { color: var(--danger); font-weight: 600; }
.lp-card-f { padding: 11px 18px; font-size: 12px; color: var(--text-dim); display: flex; justify-content: space-between; border-top: 1px solid var(--border-soft); }

/* ---------- Zijkolom ---------- */
.lp-side-card { padding: 16px 18px; }
.lp-side-card + .lp-side-card { border-top: 1px solid var(--border-soft); }
.lp-side-h { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 12px; }
.lp-act { display: flex; gap: 10px; padding: 8px 0; }
.lp-act-d { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.lp-act-d svg { width: 13px; height: 13px; }
.lp-act-t { font-size: 12.5px; color: var(--text); line-height: 1.4; }
.lp-act-t b { font-weight: 600; }
.lp-act-s { font-size: 11.5px; color: var(--text-dim); }
.lp-sla { display: flex; align-items: center; gap: 14px; }
.lp-ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) 0 92%, var(--surface-3) 0); position: relative; }
.lp-ring::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--surface); }
.lp-ring b { position: relative; font-size: 15px; color: var(--text); }
.lp-sla-t { font-size: 13px; color: var(--text); font-weight: 600; }
.lp-sla-s { font-size: 12px; color: var(--text-dim); margin-top: 3px; line-height: 1.4; }
.lp-quick { display: grid; gap: 8px; }
.lp-quick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-soft); color: var(--text) !important; font-size: 13px; text-decoration: none; background: var(--surface-2); }
.lp-quick a svg { width: 16px; height: 16px; color: var(--accent); }
.lp-quick a em { margin-left: auto; font-style: normal; color: var(--text-dim); }
.lp-t td, .lp-t th { background-color: transparent; }
.lp-t th { background: var(--lp-th-bg); white-space: nowrap; }
.lp-pill, .lp-need, .lp-meta, .lp-when, .lp-who { white-space: nowrap; }
.lp-ring b { font-size: 13px; }

/* ---------- Premium: knoppen die er niet als knop uit moeten zien ---------- */
.lp-tabs button, .lp-kpi, .lp-act, .lp-quick button, .lp-link { font: inherit; cursor: pointer; text-align: left; }
.lp-tabs button { background: none; border: 0; }
.lp-tabs button:hover { color: var(--text); background: var(--surface-2); }
.lp-kpi { color: inherit; width: 100%; transition: border-color .12s, transform .12s; }
.lp-kpi:hover { border-color: color-mix(in srgb, var(--k) 45%, transparent); }
.lp-kpi > * { position: relative; z-index: 1; }
.lp-act { display: flex; gap: 10px; padding: 8px; margin: 0 -8px; width: calc(100% + 16px); background: none; border: 0; border-radius: 8px; color: inherit; }
.lp-act:hover { background: var(--surface-2); }
.lp-act > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.lp-act-mw { background: var(--lp-info-soft); color: var(--info); }
.lp-act-ok { background: var(--lp-ok-soft); color: var(--success); }
.lp-quick button { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border-soft); color: var(--text); font-size: 13px; background: var(--surface-2); width: 100%; }
.lp-quick a:hover, .lp-quick button:hover { border-color: var(--lp-gold-line); }
.lp-quick button svg { width: 16px; height: 16px; color: var(--accent); }
.lp-quick button em { margin-left: auto; font-style: normal; color: var(--text-dim); }
.lp-link { background: none; border: 0; color: var(--accent); padding: 0; text-decoration: underline; }
.lp-t-wrap { overflow-x: auto; }
.lp-t tbody tr { cursor: pointer; }
.lp-chev { color: var(--text-dim); width: 36px; }
.lp-chev svg { width: 16px; height: 16px; }
.lp-t tbody tr:hover .lp-chev { color: var(--accent); }
.lp-empty { text-align: center; padding: 48px 24px; color: var(--text-muted); }
.lp-empty-i { width: 48px; height: 48px; border-radius: 12px; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 12px; }
.lp-empty-i svg { width: 22px; height: 22px; }
.lp-empty-t { font-size: 16px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.lp-empty p { margin: 0 0 16px; font-size: 13.5px; }
.lp-crumbs a { color: var(--text-dim); text-decoration: none; }
.lp-crumbs a:hover { color: var(--accent); }
.lp-me-txt { min-width: 0; }
.lp-me-n, .lp-me-c { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.lp-me .lp-ibtn { margin-left: 6px; }
.lp-ibtn { cursor: pointer; text-decoration: none; }
.lp-ibtn:hover { color: var(--accent); border-color: var(--lp-gold-line); }
.lp-top .lp-theme-btn { border-color: var(--border); background: var(--surface); color: var(--text-muted); }
.lp-top .lp-theme-btn:hover { color: var(--accent); border-color: var(--lp-gold-line); background: var(--surface); }
.lp-search input::-webkit-search-cancel-button { display: none; }
.lp-search input:focus, .lp-filter input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--lp-focus); }
.lp-foot a { color: var(--text-dim); }
.lp-foot-r { margin-left: auto; }
.lp-org-txt { min-width: 0; }
.lp-org-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-nav a { display: flex; align-items: center; }
.lp-body > .page-header:first-child { margin-top: 0; }

/* ---------- Premium: smallere schermen ---------- */
@media (max-width: 1280px) {
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-aside .lp-side-card + .lp-side-card { border-top: 0; border-left: 1px solid var(--border-soft); }
}
@media (max-width: 1100px) {
  .lp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-search { width: 240px; }
  .lp-me-txt { display: none; }
}
h1:focus, h1:focus-visible { outline: none; }
.lp-kpi { display: flex; flex-direction: column; justify-content: flex-start; }

/* =============================================================================
   STARTPAGINA EN NIEUWS
   ============================================================================= */
.lp-sst { margin-top: 18px; }
.lp-sst:first-of-type { margin-top: 6px; }

/* Soortkleuren (product = goud, advies = oranje, update = blauw, evenement = groen, bedrijf = grijs-blauw) */
.lp-k-product, .lp-chip-product     { --c: var(--accent); }
.lp-k-advies, .lp-chip-advies       { --c: var(--warning); }
.lp-k-update, .lp-chip-update       { --c: var(--info); }
.lp-k-evenement, .lp-chip-evenement { --c: var(--success); }
.lp-k-bedrijf, .lp-chip-bedrijf     { --c: var(--text-muted); }
:where(.lp-chip) { --c: var(--accent); }
.lp-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; padding: 3px 9px; border-radius: 5px;
  color: var(--c); background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); white-space: nowrap; }
.lp-chip svg { width: 13px; height: 13px; }

/* Uitgelicht */
.lp-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center;
  border-radius: 16px; padding: 36px 40px; margin-bottom: 18px; border: 1px solid rgba(217, 182, 128, .28);
  background: radial-gradient(700px 360px at 85% 30%, rgba(40, 90, 200, .35), transparent 65%), radial-gradient(500px 300px at 0% 100%, rgba(217, 182, 128, .16), transparent 60%), linear-gradient(135deg, #0d1528, #0a1020);
  box-shadow: var(--shadow-md), 0 24px 60px -30px rgba(0, 0, 0, .6); color: #f4f6fb; }
.lp-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 32px 32px;
  mask-image: radial-gradient(600px 300px at 80% 40%, #000, transparent 70%); -webkit-mask-image: radial-gradient(600px 300px at 80% 40%, #000, transparent 70%); }
.lp-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, #ac8a63 20%, #e3c48f 50%, #ac8a63 80%, transparent); }
.lp-hero > * { position: relative; }
.lp-hero .lp-chip { --c: #e6c896; }
.lp-hero h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.025em; font-weight: 650; margin: 14px 0 10px; color: #fff; }
.lp-hero p { color: #b4bed3; font-size: 15px; line-height: 1.55; margin: 0 0 22px; max-width: 560px; }
.lp-hero-act { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-hero .btn-ghost { background: rgba(255, 255, 255, .04) !important; color: #f4f6fb !important; border-color: rgba(255, 255, 255, .18) !important; }
.lp-hero .btn-ghost:hover { border-color: rgba(217, 182, 128, .5) !important; }
.lp-hero-meta { margin-top: 18px; font-size: 12px; color: #8592ad; }
.lp-hero-art { height: 260px; position: relative; }
.lp-orb { position: absolute; width: 240px; height: 240px; right: 12%; top: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(227, 196, 143, .5), rgba(172, 138, 99, .12) 45%, transparent 70%); filter: blur(4px); }
.lp-device { position: absolute; right: 6%; top: 24px; width: 330px; border-radius: 14px; padding: 12px; background: rgba(13, 21, 40, .82); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .06); }
.lp-device-top { display: flex; gap: 5px; margin-bottom: 10px; }
.lp-device-top span { width: 8px; height: 8px; border-radius: 50%; background: #2a3a5e; }
.lp-device-row { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; font-size: 12.5px; }
.lp-device-row + .lp-device-row { border-top: 1px solid rgba(255, 255, 255, .05); }
.lp-device-row i { width: 8px; height: 8px; border-radius: 50%; }
.lp-device-row i.ok { background: #6ccb5f; box-shadow: 0 0 0 3px rgba(108, 203, 95, .18); }
.lp-device-row i.warn { background: #f2a65a; box-shadow: 0 0 0 3px rgba(242, 166, 90, .2); animation: lp-pulse 2.4s infinite; }
.lp-device-row b { color: #f4f6fb; font-weight: 600; }
.lp-device-row em { font-style: normal; color: #8592ad; font-size: 11.5px; }
.lp-float { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(10, 16, 32, .85); border: 1px solid rgba(217, 182, 128, .35); color: #e6c896; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .6); }
.lp-float svg { width: 14px; height: 14px; }
.lp-float-a { left: 4%; top: 58px; }
.lp-float-b { right: 0; bottom: 8px; }
@keyframes lp-pulse { 50% { box-shadow: 0 0 0 6px rgba(242, 166, 90, 0); } }
@media (prefers-reduced-motion: reduce) { .lp-device-row i.warn { animation: none; } }

/* Strook: mijn support */
.lp-strip { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 26px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); color: var(--text); }
.lp-strip:hover { border-color: var(--lp-gold-line); }
.lp-strip-i { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }
.lp-strip-i svg { width: 18px; height: 18px; }
.lp-strip-t { display: flex; flex-direction: column; gap: 2px; }
.lp-strip-t b { font-size: 14px; font-weight: 600; }
.lp-strip-t span { font-size: 12.5px; color: var(--text-muted); }
.lp-strip-go { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); white-space: nowrap; }
.lp-strip-go svg { width: 15px; height: 15px; }
.lp-strip.is-hot { border-color: var(--lp-warn-line); background: linear-gradient(90deg, var(--lp-warn-soft), transparent 60%), var(--surface); }
.lp-strip.is-hot .lp-strip-i { background: var(--lp-warn-soft); color: var(--warning); }
.lp-strip.is-hot .lp-strip-t b { color: var(--warning); }

/* Kolommen */
.lp-home { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.lp-home-side { display: flex; flex-direction: column; gap: 16px; }
.lp-sec-h { display: flex; align-items: center; justify-content: space-between; margin: 0 0 12px; }
.lp-sec-h + .lp-news, .lp-sec-h + .lp-products { margin-bottom: 28px; }
.lp-sec-h h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin: 0; color: var(--text); }
.lp-sec-h a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; }
.lp-sec-h a svg { width: 14px; height: 14px; }

/* Nieuwskaarten */
.lp-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.lp-news-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-news-card { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); transition: border-color .12s, transform .12s; }
.lp-news-card:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); transform: translateY(-2px); }
.lp-news-band { height: 92px; display: grid; place-items: center; position: relative; overflow: hidden; color: var(--c);
  background: radial-gradient(260px 120px at 80% 0%, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%), linear-gradient(135deg, color-mix(in srgb, var(--c) 10%, var(--surface-2)), var(--surface-2)); border-bottom: 1px solid var(--border-soft); }
.lp-news-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--c) 30%, transparent) 1px, transparent 1px); background-size: 14px 14px; opacity: .35; }
.lp-news-band svg { position: relative; width: 34px; height: 34px; padding: 10px; box-sizing: content-box; border-radius: 14px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.lp-news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.lp-news-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.lp-news-card h4 { font-size: 15.5px; line-height: 1.35; font-weight: 600; margin: 0 0 6px; color: var(--text); }
.lp-news-card p { font-size: 13px; line-height: 1.5; color: var(--text-muted); margin: 0 0 14px; flex: 1; }
.lp-more { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.lp-more svg { width: 14px; height: 14px; transition: transform .12s; }
.lp-news-card:hover .lp-more svg, .lp-advisory:hover .lp-more svg { transform: translateX(3px); }

/* Producten */
.lp-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-product { display: flex; flex-direction: column; padding: 18px; border-radius: 12px; border: 1px solid var(--border-soft); box-shadow: var(--shadow-md);
  background: radial-gradient(240px 140px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); }
.lp-product-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.lp-product-i { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--lp-tile); color: var(--lp-on-gold); box-shadow: 0 8px 20px -10px rgba(217, 182, 128, .6); }
.lp-product-i svg { width: 20px; height: 20px; }
.lp-product-l { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--lp-gold-line); padding: 2px 8px; border-radius: 4px; }
.lp-product h4 { margin: 0 0 4px; font-size: 15.5px; font-weight: 600; color: var(--text); }
.lp-product p { margin: 0 0 12px; font-size: 13px; color: var(--text-muted); }
.lp-product ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 7px; flex: 1; }
.lp-product li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text); }
.lp-product li svg { width: 14px; height: 14px; color: var(--success); flex: none; }
.lp-product .btn { justify-content: center; }

/* Zijkolom */
.lp-advisory { display: block; padding: 18px; border-radius: 12px; text-decoration: none; color: inherit; position: relative; overflow: hidden;
  border: 1px solid var(--lp-warn-line); background: linear-gradient(160deg, var(--lp-warn-soft), transparent 70%), var(--surface); box-shadow: var(--shadow-md); }
.lp-advisory::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--warning); }
.lp-advisory-h { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--warning); margin-bottom: 8px; }
.lp-advisory-h svg { width: 15px; height: 15px; }
.lp-advisory h4, .lp-maint h4 { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.35; }
.lp-advisory p, .lp-maint p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.lp-side-h svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; color: var(--accent); }
.lp-maint-when { display: inline-block; font-size: 12px; font-weight: 600; color: var(--info); background: var(--lp-info-soft); border: 1px solid var(--lp-info-line); border-radius: 5px; padding: 2px 8px; margin-bottom: 8px; }
.lp-event { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.lp-event + .lp-event { border-top: 1px solid var(--border-soft); }
.lp-event-d { width: 44px; height: 48px; flex: none; border-radius: 9px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--surface-2); border: 1px solid var(--border-soft); }
.lp-event-d b { font-size: 17px; line-height: 1; color: var(--text); }
.lp-event-d span { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; margin-top: 3px; }
.lp-event-t { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.35; }
.lp-event-s { font-size: 12px; color: var(--text-dim); margin-top: 2px; }
.lp-side-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; }
.lp-side-link svg { width: 14px; height: 14px; }

/* Afsluitende band */
.lp-cta { margin-top: 28px; display: flex; align-items: center; gap: 24px; justify-content: space-between; padding: 24px 28px; border-radius: 14px;
  border: 1px solid var(--lp-gold-line); background: radial-gradient(500px 200px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); box-shadow: var(--shadow-md); }
.lp-cta h3 { margin: 0 0 4px; font-size: 18px; font-weight: 600; color: var(--text); }
.lp-cta p { margin: 0; color: var(--text-muted); font-size: 13.5px; }
.lp-cta-act { display: flex; gap: 10px; flex: none; }

/* Nieuwsoverzicht: filterchips */
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lp-chips button { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13px; cursor: pointer; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted); }
.lp-chips button svg { width: 14px; height: 14px; }
.lp-chips button i { font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 9px; background: var(--surface-3); }
.lp-chips button:hover { color: var(--text); }
.lp-chips button.on { color: var(--accent); border-color: var(--lp-gold-line); background: var(--accent-soft); }
.lp-chips button.on i { background: var(--accent); color: var(--lp-on-gold); }

/* Nieuwsbericht */
.lp-back { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text-muted); text-decoration: none; margin-bottom: 16px; }
.lp-back svg { width: 15px; height: 15px; }
.lp-back:hover { color: var(--accent); }
.lp-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.lp-article { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-soft); background: var(--surface); box-shadow: var(--shadow-md); }
.lp-article-h { position: relative; padding: 34px 40px 28px; border-bottom: 1px solid var(--border-soft);
  background: radial-gradient(600px 240px at 100% 0%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--surface-2), var(--surface)); }
.lp-article-ico { position: absolute; right: 36px; top: 30px; color: var(--c); }
.lp-article-ico svg { width: 30px; height: 30px; padding: 12px; box-sizing: content-box; border-radius: 16px; background: color-mix(in srgb, var(--c) 14%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); }
.lp-article-h h1 { font-size: 30px; line-height: 1.2; letter-spacing: -.02em; font-weight: 650; margin: 14px 90px 10px 0; color: var(--text); }
.lp-article-meta { font-size: 12.5px; color: var(--text-dim); }
.lp-article-body { padding: 28px 40px 36px; max-width: 760px; }
.lp-article-body p { font-size: 15px; line-height: 1.7; color: var(--text-muted); margin: 0 0 16px; }
.lp-article-body .lp-lead { font-size: 17px; color: var(--text); line-height: 1.6; }
.lp-article-cta { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 10px;
  border: 1px solid var(--lp-gold-line); background: var(--accent-soft); }
.lp-article-cta b { display: block; color: var(--text); font-size: 14px; }
.lp-article-cta span { font-size: 12.5px; color: var(--text-muted); }
.lp-act.lp-k-product, .lp-act-d.lp-k-product, .lp-act-d[class*="lp-k-"] { background: color-mix(in srgb, var(--c) 13%, transparent); color: var(--c); }
a.lp-act { text-decoration: none; }

/* Smallere schermen */
@media (max-width: 1280px) {
  .lp-home, .lp-article-wrap { grid-template-columns: minmax(0, 1fr); }
  .lp-home-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .lp-news-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .lp-hero { grid-template-columns: 1fr; }
  .lp-hero-art { display: none; }
  .lp-products { grid-template-columns: 1fr; }
}

/* Licht thema: de uitgelichte banner blijft donker (zoals het menu), de rest volgt het thema */
html[data-theme="light"] .lp-hero { border-color: rgba(172, 138, 99, .4); }

/* =============================================================================
   MIJN INSTALLATIE EN DOCUMENTEN
   ============================================================================= */
.lp-kpi-v-sm { font-size: 22px !important; margin-top: 10px !important; }
.lp-inst { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; align-items: start; }
.lp-inst-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lp-inst-side { display: flex; flex-direction: column; gap: 16px; }
.lp-card { border-radius: 12px; border: 1px solid var(--border-soft); background: linear-gradient(90deg, transparent, var(--lp-gold-line), transparent) top center / calc(100% - 36px) 1px no-repeat, var(--surface); box-shadow: var(--shadow-md); }
.lp-loc { overflow: hidden; }
.lp-loc-h { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--border-soft); }
.lp-loc-ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-tile); color: var(--lp-on-gold); flex: none; }
.lp-loc-ico svg { width: 19px; height: 19px; }
.lp-loc-txt { min-width: 0; }
.lp-loc-h h3 { margin: 0; font-size: 16px; font-weight: 600; color: var(--text); }
.lp-loc-adr { font-size: 12.5px; color: var(--text-dim); margin-top: 2px; }
.lp-loc-stats { margin-left: auto; display: flex; gap: 14px; font-size: 12.5px; color: var(--text-muted); white-space: nowrap; }
.lp-loc-stats b { color: var(--text); font-weight: 600; }
.lp-btn-sm { padding: 6px 12px !important; font-size: 12.5px !important; }
.lp-btn-block { width: 100%; justify-content: center; margin-top: 14px; }
.lp-subs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 20px; border-bottom: 1px solid var(--border-soft); background: var(--lp-th-bg); }
.lp-subs-l { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-right: 4px; }
.lp-sub { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); }
.lp-sub i { font-style: normal; font-size: 11px; font-weight: 700; color: var(--text-dim); }
.lp-t-hw tbody tr { cursor: default; }
.lp-t-hw td { padding: 11px 18px; }
.lp-t .mono, .lp-lic .mono { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--text-muted); }
.lp-dev { display: flex; align-items: center; gap: 11px; }
.lp-dev > span:last-child { display: flex; flex-direction: column; }
.lp-dev .lp-meta { margin-top: 1px; }
.lp-dev-i { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--lp-info-soft); color: var(--info); flex: none; }
.lp-dev-i svg { width: 16px; height: 16px; }
.lp-td-act { text-align: right; }
.lp-report { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-muted); text-decoration: none; padding: 5px 10px; border-radius: 6px; border: 1px solid transparent; opacity: .75; }
.lp-report svg { width: 13px; height: 13px; }
.lp-t-hw tr:hover .lp-report { opacity: 1; color: var(--warning); border-color: var(--lp-warn-line); background: var(--lp-warn-soft); }
.lp-loc-empty { padding: 18px 20px; font-size: 13px; color: var(--text-dim); }
.lp-srv { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--border-soft); }
.lp-srv-card { border: 1px solid var(--border-soft); border-radius: 10px; padding: 12px 14px; background: var(--surface-2); }
.lp-srv-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.lp-srv-h > span:last-child { display: flex; flex-direction: column; }
.lp-srv-h .lp-dev-i { background: var(--lp-ok-soft); color: var(--success); }
.lp-sw { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 7px 0; border-top: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text); }
.lp-sw .mono { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--accent); }
.lp-sw em { grid-column: 1 / -1; font-style: normal; font-size: 11.5px; color: var(--text-dim); }
.lp-sw em:empty { display: none; }
.lp-lic h4 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--text); }
.lp-lic-nr { font-size: 12px; color: var(--text-dim); margin-bottom: 10px; }
.lp-lic { --s: var(--success); }
.lp-lic-warn { --s: var(--warning); border-color: var(--lp-warn-line); }
.lp-lic-bad { --s: var(--danger); border-color: var(--lp-bad-line); }
.lp-lic-state { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--s); margin-bottom: 12px; }
.lp-lic-state i { width: 8px; height: 8px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s) 20%, transparent); }
.lp-bar { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.lp-bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, color-mix(in srgb, var(--s) 70%, transparent), var(--s)); }
.lp-lic-dates { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--text-dim); margin-top: 6px; }
.lp-side-p { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); margin: 0; }

/* Documenten */
.lp-docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 22px; align-items: start; }
.lp-folders { padding: 10px; }
.lp-folders button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--text-muted); cursor: pointer; text-align: left; }
.lp-folders button svg { width: 16px; height: 16px; }
.lp-folders button i { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; color: var(--text-dim); }
.lp-folders button:hover { background: var(--surface-2); color: var(--text); }
.lp-folders button.on { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.lp-file { display: flex; align-items: center; gap: 12px; }
.lp-file-t { width: 36px; height: 40px; flex: none; border-radius: 6px; display: grid; place-items: end center; padding-bottom: 5px; box-sizing: border-box; font: 700 9px "JetBrains Mono", monospace; letter-spacing: .04em;
  color: var(--c, var(--info)); background: color-mix(in srgb, var(--c, var(--info)) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c, var(--info)) 35%, transparent); position: relative; }
.lp-file-t::before { content: ""; position: absolute; right: -1px; top: -1px; width: 10px; height: 10px; background: linear-gradient(225deg, var(--bg) 50%, color-mix(in srgb, var(--c, var(--info)) 35%, transparent) 50%); border-bottom-left-radius: 3px; }
.lp-file-pdf { --c: var(--danger); } .lp-file-docx { --c: var(--info); } .lp-file-xlsx { --c: var(--success); } .lp-file-zip { --c: var(--warning); }
.lp-file > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.lp-new { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; color: var(--lp-on-gold); background: var(--accent); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 1px; }
.lp-dl { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); text-decoration: none; padding: 6px 10px; border-radius: 6px; border: 1px solid var(--lp-gold-line); background: var(--accent-soft); }
.lp-dl svg { width: 14px; height: 14px; }

@media (max-width: 1280px) {
  .lp-inst { grid-template-columns: minmax(0, 1fr); }
  .lp-inst-side { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
@media (max-width: 1100px) { .lp-loc-stats { display: none; } .lp-docs { grid-template-columns: 1fr; } }
.lp-report, .lp-dl { white-space: nowrap; }

/* AEPU's (toegangscontrollers) */
.lp-aepus { display: flex; flex-direction: column; }
.lp-aepu { border-top: 1px solid var(--border-soft); }
.lp-loc-h + .lp-aepus .lp-aepu:first-child, .lp-subs + .lp-aepus .lp-aepu:first-child { border-top: 0; }
.lp-aepu-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 13px 20px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.lp-aepu-h:hover { background: var(--lp-row-hover); }
.lp-aepu-caret { color: var(--text-dim); display: grid; transition: transform .12s; }
.lp-aepu-caret svg { width: 15px; height: 15px; }
.lp-aepu.is-open .lp-aepu-caret { transform: rotate(90deg); color: var(--accent); }
.lp-dev-ctrl { background: var(--accent-soft) !important; color: var(--accent) !important; }
.lp-aepu-n { display: flex; flex-direction: column; min-width: 0; }
.lp-aepu-fw { margin-left: auto; font: 12px "JetBrains Mono", monospace; color: var(--text-dim); white-space: nowrap; }
.lp-aepu-c { font-size: 12.5px; color: var(--text-muted); white-space: nowrap; min-width: 96px; text-align: right; }
.lp-aepu-c b { color: var(--text); }
.lp-t-nested { background: var(--lp-th-bg); }
.lp-t-nested th { padding-left: 64px !important; }
.lp-t-nested th ~ th { padding-left: 18px !important; }
.lp-t-nested td:first-child { padding-left: 64px; }
.lp-inst-search { position: relative; display: flex; align-items: center; gap: 12px; }
.lp-inst-search svg { position: absolute; left: 14px; width: 16px; height: 16px; color: var(--text-dim); }
.lp-inst-search input { flex: 1; height: 42px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0 14px 0 40px; font: inherit; font-size: 13.5px; box-shadow: var(--shadow-sm); }
.lp-inst-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--lp-focus); }
.lp-inst-search span { font-size: 12.5px; color: var(--text-dim); white-space: nowrap; }
.lp-report-srv { opacity: 1; display: flex !important; justify-content: center; margin-top: 10px; border-color: var(--border-soft) !important; }
.lp-srv-card:hover .lp-report-srv, .lp-report-srv:hover { color: var(--warning); border-color: var(--lp-warn-line); background: var(--lp-warn-soft); }

/* =============================================================================
   PUBLIEKE PAGINA'S (Home en Nieuws zonder inloggen)
   ============================================================================= */
.lp-pub { min-height: 100vh; display: flex; flex-direction: column; }
.lp-pub-top { position: sticky; top: 0; z-index: 20; height: 68px; display: flex; align-items: center; gap: 22px; padding: 0 max(32px, calc((100vw - 1400px) / 2));
  background: rgba(6, 10, 22, .9); backdrop-filter: blur(10px); border-bottom: 1px solid #1f2c4a; }
.lp-pub-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 182, 128, .3) 30%, #d9b680 50%, rgba(217, 182, 128, .3) 70%, transparent); opacity: .7; }
.lp-pub-brand img { height: 30px; background: #fff; border-radius: 7px; padding: 5px 10px; display: block; }
.lp-pub-nav { display: flex; gap: 4px; margin-left: 10px; }
.lp-pub-nav a { position: relative; padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; color: #b4bed3; text-decoration: none; }
.lp-pub-nav a:hover { color: #fff; background: #111a2f; }
.lp-pub-nav a.active { color: #fff; font-weight: 600; }
.lp-pub-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -15px; height: 2px; border-radius: 2px; background: #d9b680; box-shadow: 0 0 10px #d9b680; }
.lp-pub-top .lp-theme-btn { margin-left: auto; background: transparent !important; border-color: #1f2c4a !important; color: #b4bed3 !important; }
.lp-pub-top .lp-theme-btn:hover { color: #d9b680 !important; border-color: rgba(217, 182, 128, .45) !important; }
.lp-pub-login { padding: 9px 16px !important; }
.lp-pub-body { flex: 1; width: 100%; max-width: 1400px; margin: 0 auto; padding: 32px 32px 48px; box-sizing: border-box; }
.lp-pub-foot { padding-left: max(32px, calc((100vw - 1400px) / 2)) !important; padding-right: max(32px, calc((100vw - 1400px) / 2)) !important; }
.lp-btn-lg { padding: 11px 18px !important; font-size: 14px !important; white-space: nowrap; }
.lp-strip-login { border-color: var(--lp-gold-line); background: linear-gradient(90deg, var(--accent-soft), transparent 60%), var(--surface); }
.lp-auth-home { position: fixed; top: 22px; left: 24px; z-index: 50; font-size: 13px; font-weight: 600; color: #b4bed3; text-decoration: none; padding: 7px 12px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(17, 26, 47, .6); }
.lp-auth-home:hover { color: #e6c896; border-color: rgba(217, 182, 128, .4); }
html[data-theme="light"] .lp-auth-home { color: #475569; background: #fff; border-color: #d3dae6; }

/* Hoofd- en sublocaties als aparte kaarten */
.lp-loc-group { display: flex; flex-direction: column; gap: 10px; }
.lp-loc-sub { margin-left: 34px; position: relative; overflow: visible; }
.lp-loc-sub::before { content: ""; position: absolute; left: -22px; top: -10px; height: 46px; width: 16px; border-left: 2px solid var(--border); border-bottom: 2px solid var(--border); border-bottom-left-radius: 8px; }
.lp-loc-sub .lp-loc-ico { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--lp-gold-line); }
.lp-loc-sub .lp-loc-h h3 { font-size: 15px; }
.lp-loc-kind { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; margin-bottom: 2px; }
.lp-loc { overflow: hidden; }
.lp-loc-sub { overflow: visible; }
.lp-loc-sub > :last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; overflow: hidden; }

/* Echte inhoud: kennisbank, vertrouwen, klantverhalen, contact */
.lp-k-kennis, .lp-chip-kennis { --c: var(--info); }
.lp-k-update, .lp-chip-update { --c: #9b8cf0; }
html[data-theme="light"] .lp-k-update, html[data-theme="light"] .lp-chip-update { --c: #6d4fd8; }
.lp-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 16px 22px; margin: -8px 0 26px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--surface); box-shadow: var(--shadow-sm); }
.lp-trust-item { display: flex; flex-direction: column; }
.lp-trust-item b { font-size: 15px; color: var(--accent); font-weight: 650; }
.lp-trust-item span { font-size: 12px; color: var(--text-muted); }
.lp-trust-partners { margin-left: auto; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.lp-trust-partners span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.lp-trust-partners b { font-size: 14px; font-weight: 700; color: var(--text-muted); letter-spacing: .01em; }
.lp-ext { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 600; color: var(--text-dim); text-decoration: none; }
.lp-ext svg { width: 13px; height: 13px; }
.lp-ext:hover { color: var(--accent); }
.lp-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.lp-case { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 12px; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border-soft); box-shadow: var(--shadow-md); transition: border-color .12s; }
.lp-case:hover { border-color: var(--lp-gold-line); }
.lp-case-mono { width: 42px; height: 42px; flex: none; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--lp-gold-line); }
.lp-case-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lp-case-s { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); font-weight: 600; }
.lp-case-txt b { font-size: 14.5px; color: var(--text); }
.lp-case-txt span:last-child { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.lp-case-go { margin-left: auto; color: var(--text-dim); }
.lp-case-go svg { width: 15px; height: 15px; }
.lp-case:hover .lp-case-go { color: var(--accent); }
.lp-contact-big { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.01em; color: var(--text); text-decoration: none; }
.lp-contact-big:hover { color: var(--accent); }
.lp-contact-s { font-size: 12px; color: var(--text-dim); margin: 2px 0 12px; }
.lp-contact-l { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); text-decoration: none; padding: 4px 0; }
.lp-contact-l svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
a.lp-contact-l:hover { color: var(--accent); }
.lp-bron { font-size: 13px !important; color: var(--text-dim) !important; border-top: 1px solid var(--border-soft); padding-top: 14px; margin-top: 8px !important; }
@media (max-width: 1100px) { .lp-cases { grid-template-columns: 1fr; } .lp-trust-partners { margin-left: 0; } }

/* Collega's */
.lp-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lp-count-pill { font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 9px; background: var(--surface-3); color: var(--text-muted); }
.lp-toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; margin-bottom: 18px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  color: var(--success); background: var(--lp-ok-soft); border: 1px solid var(--lp-ok-line); }
.lp-toast svg { width: 16px; height: 16px; flex: none; }
.lp-toast.is-bad { color: var(--danger); background: var(--lp-bad-soft); border-color: var(--lp-bad-line); }
.lp-people { display: flex; flex-direction: column; }
.lp-person { display: grid; grid-template-columns: 44px minmax(0, 1fr) 190px 360px; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--border-soft); }
.lp-person:first-child { border-top: 0; }
.lp-person:hover { background: var(--lp-row-hover); }
.lp-person-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: var(--surface-3); color: var(--text-muted); box-shadow: 0 0 0 1px var(--border); }
.lp-person-av.is-main { background: var(--lp-tile); color: var(--lp-on-gold); box-shadow: none; }
.lp-person-n { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
.lp-person-m { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12.5px; color: var(--text-dim); margin-top: 3px; }
.lp-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 7px; border-radius: 4px; background: var(--surface-3); color: var(--text-muted); }
.lp-tag svg { width: 11px; height: 11px; }
.lp-tag-gold { background: var(--accent-soft); color: var(--accent); border: 1px solid var(--lp-gold-line); }
.lp-person-st { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.lp-person-st small { font-size: 11.5px; color: var(--text-dim); }
.lp-pill-muted { color: var(--text-muted); background: var(--surface-2); border-color: var(--border-soft); }
.lp-person-act { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }
.lp-act-btn { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; padding: 6px 10px; border-radius: 6px;
  border: 1px solid var(--border-soft); background: var(--surface-2); color: var(--text-muted); white-space: nowrap; }
.lp-act-btn svg { width: 13px; height: 13px; }
.lp-act-btn:hover:not(:disabled) { color: var(--accent); border-color: var(--lp-gold-line); }
.lp-act-btn.is-danger:hover:not(:disabled) { color: var(--danger); border-color: var(--lp-bad-line); background: var(--lp-bad-soft); }
.lp-act-btn:disabled { opacity: .45; cursor: not-allowed; }
.lp-confirm { font-size: 12.5px; font-weight: 600; color: var(--text); margin-right: 4px; }
.lp-form-card { border-color: var(--lp-gold-line); }
.lp-form { padding: 18px 20px 20px; }
.lp-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.lp-form .field { margin: 0; }
.lp-form .field label { display: block; font-size: 12.5px; font-weight: 600; margin-bottom: 6px; }
.lp-form .input { width: 100%; box-sizing: border-box; }
.lp-check { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 4px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border-soft); background: var(--surface-2); cursor: pointer; }
.lp-check input { margin-top: 3px; width: 16px; height: 16px; }
.lp-check span { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--text); }
.lp-check small { font-size: 12px; color: var(--text-dim); }
.lp-form .alert { margin-top: 14px; }
.lp-form-act { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lp-steps li { display: flex; flex-direction: column; gap: 2px; padding-left: 14px; border-left: 2px solid var(--lp-gold-line); }
.lp-steps b { font-size: 13px; color: var(--text); }
.lp-steps span { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 1100px) { .lp-person { grid-template-columns: 44px minmax(0, 1fr); } .lp-person-st, .lp-person-act { grid-column: 2; justify-content: flex-start; } .lp-form-grid { grid-template-columns: 1fr; } }

/* Webshop */
.lp-ext-ico { width: 12px !important; height: 12px !important; opacity: .6; margin-left: 2px; }
.sidebar-nav a .lp-ext-ico { margin-left: auto; }
.lp-shop { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 12px; text-decoration: none; color: inherit; position: relative; overflow: hidden;
  border: 1px solid var(--lp-gold-line); background: radial-gradient(260px 160px at 100% 0%, var(--accent-soft), transparent 70%), var(--surface); box-shadow: var(--shadow-md); }
.lp-shop:hover { border-color: var(--accent); }
.lp-shop-i { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--lp-tile); color: var(--lp-on-gold); }
.lp-shop-i svg { width: 19px; height: 19px; }
.lp-shop-t { display: flex; flex-direction: column; gap: 3px; }
.lp-shop-t b { font-size: 15px; color: var(--text); }
.lp-shop-t span { font-size: 12.5px; color: var(--text-muted); line-height: 1.45; }
.lp-shop-go { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.lp-shop-go svg { width: 13px; height: 13px; }

/* Gebruikers: rij-opmaak die ook bij inzoomen en smalle schermen netjes blijft */
.lp-person { display: flex !important; align-items: center; gap: 16px; padding: 16px 20px; }
.lp-person-av { flex: none; }
.lp-person-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-person-n { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; }
.lp-person-name { font-size: 14.5px; font-weight: 600; color: var(--text); margin-right: 2px; }
.lp-person-n .lp-tag, .lp-person-n .lp-pill { white-space: nowrap; }
.lp-person-n .lp-pill { font-size: 11.5px; padding: 2px 8px; }
.lp-person-m { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12.5px; color: var(--text-muted); margin-top: 0; }
.lp-person-m span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.lp-person-m svg { width: 13px; height: 13px; color: var(--text-dim); flex: none; }
.lp-person-s { font-size: 11.5px; color: var(--text-dim); }
.lp-person-act { flex: none; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.lp-act-btn { height: 32px; }
.lp-act-btn.is-primary { color: var(--accent); border-color: var(--lp-gold-line); background: var(--accent-soft); }
.lp-act-btn .lbl { display: inline; }
@media (max-width: 1500px) {
  .lp-person-act .lp-act-btn { width: 34px; padding: 0; justify-content: center; }
  .lp-person-act .lp-act-btn .lbl { display: none; }
}
@media (max-width: 720px) {
  .lp-person { flex-wrap: wrap; }
  .lp-person-act { width: 100%; padding-left: 60px; }
}

/* =============================================================================
   INKLAPBAAR MENU (net als FileShare). Stand staat op <html data-nav="collapsed">.
   ============================================================================= */
.sidebar-brand-mark { display: none; width: 32px; height: 32px; }
.lp-collapse { display: flex; align-items: center; gap: 10px; margin: 0 12px 14px; padding: 8px 12px; border-radius: 6px; cursor: pointer;
  font: inherit; font-size: 13px; color: #8592ad; background: none; border: 1px solid #1f2c4a; }
.lp-collapse:hover { color: #d9b680; border-color: rgba(217, 182, 128, .4); }
.lp-collapse svg { width: 16px; height: 16px; flex: none; }
.lp-col-out { display: none; }
.app, .sidebar { transition: grid-template-columns .18s ease; }

html[data-nav="collapsed"] .app { grid-template-columns: 68px minmax(0, 1fr) !important; }
html[data-nav="collapsed"] .sidebar { overflow: visible; }
html[data-nav="collapsed"] .sidebar-brand { padding-left: 0 !important; padding-right: 0 !important; }
html[data-nav="collapsed"] .sidebar-brand-logo { display: none; }
html[data-nav="collapsed"] .sidebar-brand-mark { display: block; margin: 0 auto; }
html[data-nav="collapsed"] .lp-org { margin: 14px 10px 4px; padding: 8px 0; justify-content: center; }
html[data-nav="collapsed"] .lp-org-txt,
html[data-nav="collapsed"] .lp-help,
html[data-nav="collapsed"] .lp-nl,
html[data-nav="collapsed"] .sidebar-nav a .lp-ext-ico { display: none; }
html[data-nav="collapsed"] .sidebar-section-title { font-size: 0; height: 0; margin: 10px 14px; border-top: 1px solid #1f2c4a; padding: 0; }
html[data-nav="collapsed"] .sidebar-nav { padding-left: 10px !important; padding-right: 10px !important; }
html[data-nav="collapsed"] .sidebar-nav a { justify-content: center; padding-left: 0 !important; padding-right: 0 !important; position: relative; }
html[data-nav="collapsed"] .sidebar-nav a.active::before { left: -10px; }
html[data-nav="collapsed"] .sidebar-nav a .lp-count { position: absolute; top: 2px; right: 4px; min-width: 16px; height: 16px; font-size: 10px; padding: 0 4px; margin: 0; }
html[data-nav="collapsed"] .lp-ver { justify-content: center; padding-left: 0; padding-right: 0; margin-top: auto; }
html[data-nav="collapsed"] .lp-collapse { justify-content: center; margin: 0 10px 14px; padding: 8px 0; }
html[data-nav="collapsed"] .lp-col-in { display: none; }
html[data-nav="collapsed"] .lp-col-out { display: block; }
/* Zwevend label bij hover in ingeklapte stand */
html[data-nav="collapsed"] .sidebar-nav a:hover .lp-nl { display: block; position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; z-index: 60;
  padding: 6px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; color: #f4f6fb; background: #0b1222; border: 1px solid #2a3a5e; box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); }

/* Logo transparant, net als in FileShare (geen witte plaat) */
.sidebar-brand-logo, .lp-pub-brand img, .auth-brand img { background: none !important; padding: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

/* Editor met tekst en plaatjes door elkaar (reacties en nieuw ticket) */
.tt-editor { min-height: 120px; max-height: 60vh; overflow: auto; white-space: pre-wrap; word-break: break-word; line-height: 1.55; cursor: text; height: auto !important; }
.tt-editor.tt-groot { min-height: 190px; }
.tt-editor:focus { outline: none; border-color: var(--lp-gold-line, var(--accent)) !important; }
.tt-editor.leeg::before { content: attr(data-placeholder); color: var(--text-dim); pointer-events: none; }
.tt-editor img { display: block; max-width: 100%; max-height: 420px; margin: 8px 0; border-radius: 6px; border: 1px solid var(--border-soft); }
.tt-plaatje { display: block; margin: 8px 0; line-height: 0; }
.tt-plaatje img { max-width: 100%; max-height: 520px; border-radius: 6px; border: 1px solid var(--border-soft); cursor: zoom-in; }
