/*
   Tesselion-beheer. Opbouw naar het voorbeeld van een klassiek beheerthema (witte kopbalk,
   donkere zijbalk, donkere paginabalk, kaarten met een kop), volledig eigen CSS.
*/

:root {
    --a-primary: #0088cc;
    --a-primary-dark: #0077b3;
    --a-primary-darker: #005f8f;
    --a-primary-light: #e6f3fa;
    --a-body: #ecedf0;
    --a-text: #555b63;
    --a-heading: #33353f;
    --a-muted: #8a919a;
    --a-border: #dadada;
    --a-card-head: #f6f6f6;
    --a-sidebar: #1d2127;
    --a-sidebar-hover: #262b33;
    --a-sidebar-text: #abb4be;
    --a-sidebar-label: #5d6672;
    --a-page-header: #171717;
    --a-header-height: 60px;
    --a-sidebar-width: 260px;
    --a-radius: 5px;

    /* Syncfusion volgt dezelfde hoofdkleur. */
    --color-sf-primary: #0088cc;
    --color-sf-primary-light: #b3dcf0;
    --color-sf-primary-lighter: #e6f3fa;
    --color-sf-primary-dark: #0077b3;
    --color-sf-primary-darker: #005f8f;
    --color-sf-primary-bg-color-hover: #0077b3;
    --color-sf-primary-bg-color-pressed: #005f8f;
    --color-sf-primary-bg-color-selected: #006da3;
    --color-sf-primary-border-color-hover: #0077b3;
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
    background: var(--a-body);
    color: var(--a-text);
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.55;
}

a { color: var(--a-primary); }
a:hover { color: var(--a-primary-dark); }

h1, h2, h3, h4 { color: var(--a-heading); font-weight: 600; line-height: 1.25; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }

.a-visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.a-svg-icon { flex: none; vertical-align: middle; }

/* ---------------------------------------------------------------- kopbalk */

.a-header {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; gap: .75rem;
    height: var(--a-header-height); padding: 0 1rem 0 0;
    background: #fff; border-bottom: 1px solid #e3e3e3;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.a-brand {
    display: flex; align-items: center; gap: .6rem;
    height: 100%; width: var(--a-sidebar-width); padding-left: 1.25rem;
    color: var(--a-heading); font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; text-decoration: none;
}
.a-brand:hover { color: var(--a-heading); }

/* Vier tegels: het merkteken van Tesselion. */
.a-brand-mark {
    width: 26px; height: 26px; border-radius: 4px;
    background:
        linear-gradient(var(--a-primary), var(--a-primary)) 0 0 / 12px 12px no-repeat,
        linear-gradient(#33353f, #33353f) 14px 0 / 12px 12px no-repeat,
        linear-gradient(#33353f, #33353f) 0 14px / 12px 12px no-repeat,
        linear-gradient(var(--a-primary-darker), var(--a-primary-darker)) 14px 14px / 12px 12px no-repeat;
}

.a-burger {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: .5rem; border-radius: var(--a-radius);
    color: var(--a-heading); cursor: pointer;
}
.a-burger:hover { background: #f2f3f5; }

/* Gekozen klant in de kopbalk */
.a-tenant-switch { position: relative; margin-right: .5rem; }
.a-tenant-badge { font: inherit; cursor: pointer; }
.a-tenant-badge[aria-expanded="true"] { border-color: var(--a-primary); }
.a-tenant-caret {
    width: .45rem; height: .45rem; margin-left: .25rem; flex: none;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .6;
}
.a-tenant-backdrop { position: fixed; inset: 0; z-index: 40; }
.a-tenant-menu {
    position: absolute; right: 0; top: calc(100% + .4rem); z-index: 41;
    width: 18rem; max-width: calc(100vw - 2rem); padding: .4rem 0;
    background: #fff; border: 1px solid #e3e3e3; border-radius: var(--a-radius); box-shadow: 0 10px 28px rgba(0, 0, 0, .15);
}
.a-tenant-search { width: calc(100% - 1rem); margin: .1rem .5rem .4rem; }
.a-tenant-menu ul { list-style: none; margin: 0; padding: 0; max-height: 18rem; overflow-y: auto; }
.a-tenant-menu li button {
    display: flex; align-items: center; justify-content: space-between; gap: .5rem; width: 100%;
    padding: .5rem 1rem .5rem 1.6rem; border: 0; background: none; font: inherit; color: var(--a-heading);
    text-align: left; cursor: pointer; position: relative;
}
.a-tenant-menu li button:hover, .a-tenant-menu li button:focus-visible { background: var(--a-primary-light); }
.a-tenant-menu li button.active { color: var(--a-primary-darker); font-weight: 600; }
.a-tenant-menu li button.active::before {
    content: ""; position: absolute; left: .7rem; top: 50%; width: .35rem; height: .65rem;
    border-right: 2px solid var(--a-primary); border-bottom: 2px solid var(--a-primary); transform: translateY(-60%) rotate(45deg);
}
.a-tenant-empty { padding: .5rem 1rem; }
.a-tenant-all { display: block; padding: .5rem 1rem; margin-top: .3rem; border-top: 1px solid #eee; font-size: .85rem; text-decoration: none; }
.a-tenant-all:hover { background: #fafafa; }

.a-tenant-badge {
    display: flex; align-items: center; gap: .55rem; padding: .3rem .75rem;
    border: 1px solid #e3e3e3; border-radius: var(--a-radius); background: #fafafa;
    color: var(--a-heading); text-decoration: none; max-width: 22rem;
}
.a-tenant-badge:hover { border-color: var(--a-primary); color: var(--a-heading); }
.a-tenant-badge .a-svg-icon { color: var(--a-primary); }
.a-tenant-badge-text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.a-tenant-badge-text small { color: var(--a-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; }
.a-tenant-badge-text strong { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Sitekeuze in de zijbalk, als een klant meer sites heeft */

.a-userbox { display: flex; align-items: center; gap: .65rem; padding-left: 1rem; border-left: 1px solid #e9e9e9; }
.a-avatar {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: var(--a-primary-light); color: var(--a-primary-darker); font-weight: 700; font-size: .8rem;
}
.a-userbox-link { display: flex; align-items: center; gap: .65rem; color: inherit; text-decoration: none; border-radius: 6px; padding: .2rem .35rem; }
.a-userbox-link:hover, .a-userbox-link:focus-visible { background: rgba(0, 0, 0, .05); }
.a-userbox-text { display: flex; flex-direction: column; line-height: 1.2; }
.a-userbox-text strong { color: var(--a-heading); font-weight: 600; }
.a-userbox-text small { color: var(--a-muted); font-size: .75rem; }
.a-userbox form { margin: 0; }
.a-header-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border: 0; border-radius: var(--a-radius);
    background: none; color: var(--a-muted); cursor: pointer;
}
.a-header-button:hover { background: #f2f3f5; color: var(--a-heading); }

/* ---------------------------------------------------------------- zijbalk */

.a-body { display: flex; min-height: calc(100vh - var(--a-header-height)); }

.a-sidebar {
    flex: none; width: var(--a-sidebar-width);
    background: var(--a-sidebar); color: var(--a-sidebar-text);
}

.a-nav { position: sticky; top: var(--a-header-height); padding: .5rem 0 2rem; }
.a-nav-label {
    padding: 1.1rem 1.25rem .45rem;
    color: var(--a-sidebar-label); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.a-nav ul { list-style: none; margin: 0; padding: 0; }
.a-nav a {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 1.25rem;
    color: var(--a-sidebar-text); text-decoration: none;
    box-shadow: inset 0 0 0 transparent; transition: background .15s, color .15s;
}
.a-nav a:hover { background: var(--a-sidebar-hover); color: #fff; }
.a-nav a.active { background: var(--a-sidebar-hover); color: #fff; box-shadow: inset 4px 0 0 var(--a-primary); }
.a-nav a.active .a-svg-icon { color: var(--a-primary); }
.a-nav a:focus-visible { outline: 2px solid var(--a-primary); outline-offset: -2px; }

/* Groep in de zijbalk (Modules), open- en dichtklapbaar */
.a-nav-group {
    display: flex; align-items: center; gap: .75rem; width: 100%;
    padding: .6rem 1.25rem; border: 0; background: none; font: inherit; color: var(--a-sidebar-text);
    text-align: left; cursor: pointer;
}
.a-nav-group:hover { background: var(--a-sidebar-hover); color: #fff; }
.a-nav-group:focus-visible { outline: 2px solid var(--a-primary); outline-offset: -2px; }
.a-nav-caret {
    margin-left: auto; width: .4rem; height: .4rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(-45deg); transition: transform .15s; opacity: .7;
}
.a-nav-group.open .a-nav-caret { transform: rotate(45deg); }
.a-nav-group.active { color: #fff; }
.a-nav-group.active .a-svg-icon { color: var(--a-primary); }
.a-nav-sub { background: rgba(0, 0, 0, .18); }
.a-nav-sub a { padding: .45rem 1.25rem .45rem 2.9rem; font-size: .9rem; }
.a-nav-sub a .a-svg-icon { width: 16px; height: 16px; }
/* Groep in een groep (Pages met de paginaboom) */
.a-nav-sub .a-nav-group { padding: .45rem 1.25rem .45rem 2.9rem; font-size: .9rem; }
.a-nav-sub .a-nav-group .a-svg-icon { width: 16px; height: 16px; }
.a-nav-sub .a-nav-sub a .a-svg-icon { width: 10px; height: 10px; }
.a-nav-sub .a-nav-sub a { padding-left: calc(4rem + var(--a-nav-depth, 0) * .9rem); font-size: .85rem; }
.a-nav-sub .a-nav-sub a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-nav-pending a span { text-decoration: line-through; opacity: .6; }
.a-nav-inactive a span { opacity: .55; font-style: italic; }
.a-nav-sub a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.a-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.a-sidebar-backdrop { display: none; }

/* ---------------------------------------------------------------- paginabalk en inhoud */

.a-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.a-page-header {
    display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap;
    min-height: 50px; padding: 0 1.25rem 0 0;
    background: var(--a-page-header); box-shadow: 0 3px 0 0 #cfd2d6;
}
.a-page-header:empty { display: none; }

.a-page-title {
    margin: 0; padding: 0 1.4rem;
    display: flex; align-items: center;
    color: #fff; font-size: 1.15rem; font-weight: 400;
    border-bottom: 4px solid var(--a-primary);
}

.a-breadcrumbs { display: flex; align-items: center; }
.a-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; list-style: none; margin: 0; padding: .5rem 0; }
.a-breadcrumbs li { display: flex; align-items: center; color: #c3c3c3; font-size: .85rem; }
.a-breadcrumbs li + li::before { content: "/"; margin: 0 .6rem; color: #6b6f75; }
.a-breadcrumbs a { color: #c3c3c3; text-decoration: none; }
.a-breadcrumbs a:hover { color: #fff; }
.a-breadcrumbs [aria-current] { color: #fff; }

.a-content { padding: 2rem 2.25rem 3rem; max-width: 1400px; width: 100%; }
.a-content > h1:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- kaarten */

.a-card {
    /* Lange woorden en adressen breken af in plaats van uit de kaart te lopen. */
    overflow-wrap: break-word; min-width: 0;
    background: #fdfdfd; border-radius: var(--a-radius);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04);
    padding: 1.25rem 1.4rem; margin-bottom: 1.5rem;
}
/* De eerste titel van een kaart wordt haar kop. */
.a-card > h2:first-child, .a-card > h3:first-child {
    margin: -1.25rem -1.4rem 1.25rem; padding: 1rem 1.4rem;
    background: var(--a-card-head); border-bottom: 1px solid var(--a-border);
    border-radius: var(--a-radius) var(--a-radius) 0 0;
    font-size: 1.05rem; font-weight: 600;
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
}
.a-card h3 { margin: 1.25rem 0 .5rem; }

.a-facts { display: grid; grid-template-columns: 10rem 1fr; gap: .45rem 1rem; margin: 0; }
.a-facts dt { font-weight: 600; color: var(--a-heading); }
.a-facts dd { margin: 0; }

/* ---------------------------------------------------------------- tabellen */

.a-table {
    width: 100%; border-collapse: separate; border-spacing: 0;
    background: #fff; border-radius: var(--a-radius); overflow: hidden;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04);
    margin-bottom: 1.5rem;
}
.a-table th, .a-table td { padding: .65rem .85rem; border-bottom: 1px solid #ececec; text-align: left; vertical-align: middle; }
.a-table th { background: var(--a-card-head); color: var(--a-heading); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; }
.a-table tbody tr:nth-child(even) { background: #fafafa; }
.a-table tbody tr:hover { background: var(--a-primary-light); }
.a-table tr:last-child td { border-bottom: 0; }

/* ---------------------------------------------------------------- formulieren */

.a-field { display: flex; flex-direction: column; gap: .3rem; margin-bottom: .85rem; }
.a-field label { font-size: .8rem; font-weight: 600; color: var(--a-heading); }
/* Eigen profiel: smalle formulieren, de keuzelijst niet over de hele breedte. */
.a-profile { max-width: 40rem; }
.a-profile select.e-input { max-width: 16rem; }
.a-field-row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: flex-start; }
.a-check { display: flex; gap: .5rem; align-items: center; margin: .5rem 0; }
.a-compact { width: auto !important; padding: .2rem .4rem !important; font-size: .85rem; }
.validation-message { color: #c0392b; font-size: .85rem; }

input[type=color] { width: 3rem; height: 2.1rem; padding: 2px; border: 1px solid #ccc; border-radius: var(--a-radius); background: #fff; }

/* ---------------------------------------------------------------- meldingen, labels */

.a-ok, .a-error, .a-warn {
    padding: .75rem 1rem; border-radius: var(--a-radius); margin: 0 0 1rem;
    border: 1px solid transparent; border-left-width: 4px;
}
.a-ok { color: #2a6b35; background: #dff0d8; border-color: #c3e6cb; border-left-color: #47a447; }
.a-error { color: #8a2a23; background: #f2dede; border-color: #ebccd1; border-left-color: #d2322d; }
.a-warn { color: #7a4d0b; background: #fcf3e3; border-color: #f5dfb8; border-left-color: #ed9c28; }
.a-error ul { margin: 0; padding-left: 1.2rem; }

.a-badge {
    display: inline-block; padding: .15rem .55rem; border-radius: 3px;
    background: #e4e6ea; color: var(--a-heading); font-size: .72rem; font-weight: 600; vertical-align: middle;
}
/* Razor laat geen spatie tussen tekst en een label staan: de afstand komt van hier.
   Een label dat alleen in zijn cel staat, springt niet in.
   Let op: :only-child telt alleen elementen, geen losse tekst. Zet tekst vóór een label
   daarom altijd in een eigen element (<span>@naam</span>), anders telt het label als
   alleenstaand en plakt het tegen de tekst. */
.a-badge { margin-left: .4rem; }
.a-badge:only-child { margin-left: 0; }
.a-badge-ok { background: #47a447; color: #fff; }
.a-badge-warn { background: #ed9c28; color: #fff; }
.a-chip { display: inline-block; margin: 0 .35rem .35rem 0; padding: .15rem .6rem; border-radius: 3px; background: #e9ecef; font-size: .85rem; }
.a-swatch { display: inline-block; width: 1.1rem; height: 1.1rem; border-radius: 3px; vertical-align: middle; border: 1px solid #0002; }
.a-missing { font-size: .7rem; font-weight: 600; color: #fff; background: #ed9c28; border-radius: 3px; padding: 0 .35rem; margin-left: .35rem; }

.a-legend { font-size: .8rem; color: var(--a-muted); }
.a-muted { color: var(--a-muted); }
.a-danger { color: #d2322d; }
.a-right { float: right; }
.a-spacer { flex: 1; }
.a-grow { flex: 1; }
.a-align-end { align-self: flex-end; }
.a-narrow { width: 3rem; text-align: center !important; }
.a-actions { text-align: right !important; white-space: nowrap; }
.a-url { font-size: .85rem; font-weight: 400; margin-left: .75rem; }
.a-text-key { white-space: nowrap; width: 1%; }
.a-inline { display: inline-flex; font-size: .85rem; font-weight: 400; margin-left: 1rem; }

.a-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 1.9rem; height: 1.9rem; border: 1px solid #ccc; border-radius: var(--a-radius);
    background: #fff; color: var(--a-heading); cursor: pointer;
}
.a-icon:hover { border-color: var(--a-primary); color: var(--a-primary); }
.a-icon:disabled { opacity: .35; cursor: default; }

/* Knoppen in een actiekolom (Open, Archive, ↑, ↓, ✕): even hoog, met ruimte ertussen. */
.a-actions > .e-btn, .a-actions > .a-icon, .a-actions > a.e-btn {
    height: 1.9rem; min-height: 1.9rem; margin: 0 0 0 .4rem; vertical-align: middle; box-sizing: border-box;
}
.a-actions > .e-btn {
    display: inline-flex; align-items: center; padding: 0 .7rem; line-height: 1; font-size: .8rem;
}
.a-actions > :first-child { margin-left: 0; }

.a-image-preview { max-width: 240px; max-height: 140px; border-radius: var(--a-radius); border: 1px solid var(--a-border); }
.a-logo-preview { max-height: 60px; max-width: 240px; align-self: flex-end; border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: 4px; background: #fff; }
.a-thumb { width: 2.5rem; height: 2.5rem; object-fit: cover; border-radius: 50%; display: block; }
.a-icon-preview { width: 1.4rem; height: 1.4rem; color: var(--a-primary); }
/* ---------------------------------------------------------------- statistieken */
.a-stats-periods { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.a-stats-periods .a-muted { margin-left: .5rem; }
.a-stats-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.a-stats-kpi {
    display: grid; gap: .3rem; padding: 1rem 1.2rem; background: #fdfdfd; border-radius: var(--a-radius);
    box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04); border-top: 3px solid var(--a-primary);
}
.a-stats-kpi span { color: var(--a-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.a-stats-kpi strong { color: var(--a-heading); font-size: 1.6rem; font-weight: 600; overflow-wrap: anywhere; }
.a-stats-chart { margin: 0; }
.a-stats-chart svg { display: block; width: 100%; height: auto; }
.a-stats-grid-line { stroke: #e6e8eb; stroke-width: 1; }
.a-stats-axis { fill: var(--a-muted); font-size: 11px; }
.a-stats-bar-views { fill: var(--a-primary); opacity: .35; }
.a-stats-bar-views:hover { opacity: .6; }
.a-stats-line-visits { fill: none; stroke: var(--a-primary-darker); stroke-width: 2.5; stroke-linejoin: round; }
.a-stats-legend { display: flex; gap: 1.25rem; margin-top: .5rem; font-size: .85rem; color: var(--a-text); }
.a-stats-legend i { display: inline-block; width: 12px; height: 12px; margin-right: .4rem; vertical-align: -1px; border-radius: 2px; }
.a-stats-key-views { background: var(--a-primary); opacity: .35; }
.a-stats-key-visits { background: var(--a-primary-darker); height: 3px !important; vertical-align: 3px !important; }
.a-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 1.5rem; }
.a-stats-grid > *, .a-stats-kpis > * { min-width: 0; }
/* Vaste kolommen: anders rekt een lange titel (op één regel) de tabel buiten de kaart. */
.a-stats-table table { width: 100%; border-collapse: collapse; font-size: .9rem; table-layout: fixed; }
.a-stats-table th { text-align: left; font-weight: 600; color: var(--a-muted); font-size: .75rem; text-transform: uppercase; padding: 0 0 .4rem; }
.a-stats-table td { padding: .2rem 0; vertical-align: middle; }
.a-stats-table .a-num { text-align: right; width: 6rem; padding-left: .75rem; font-variant-numeric: tabular-nums; }
.a-stats-bar {
    position: relative; padding: .3rem .5rem; border-radius: 3px; overflow: hidden;
    background: linear-gradient(to right, var(--a-primary-light) calc(var(--share) * 100%), transparent 0);
}
.a-stats-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--a-heading); }
.a-stats-bar small { display: block; color: var(--a-muted); font-size: .75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------------------------------------------------------------- footer */
/* Op een hoog scherm blijft het voorbeeld in beeld tijdens het invullen. */
@media (min-height: 950px) and (min-width: 900px) {
    .a-footer-preview-card { position: sticky; top: calc(var(--a-header-height) + .5rem); z-index: 5; }
}
.a-footer-preview { display: block; width: 100%; height: 260px; min-height: 120px; resize: vertical; border: 1px solid var(--a-border); border-radius: 4px; background: #fff; }
.a-footer-headings { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: .75rem 1rem; }
.a-header-preview { height: 220px; }
.a-footer-links td { vertical-align: top; min-width: 9rem; }
.a-footer-link-url { margin-top: .4rem; }
.a-sticky-save { position: sticky; bottom: 0; padding: .75rem 0; background: linear-gradient(transparent, var(--a-body) 35%); z-index: 4; }

.a-favicon-preview { width: 32px; height: 32px; align-self: flex-end; margin-bottom: .3rem; object-fit: contain; }
/* Templates bij een nieuwe pagina */
.a-templates { border: 0; padding: 0; margin: 1rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); gap: .75rem; }
.a-templates legend { font-weight: 600; color: var(--a-heading); margin-bottom: .5rem; padding: 0; }
.a-template {
    position: relative; display: grid; grid-template-columns: auto 1fr; gap: .15rem .6rem; align-items: center;
    padding: .75rem .9rem; border: 1px solid var(--a-border); border-radius: var(--a-radius); background: #fff; cursor: pointer;
}
.a-template input { position: absolute; opacity: 0; pointer-events: none; }
.a-template .a-svg-icon { grid-row: span 2; width: 24px; height: 24px; color: var(--a-muted); }
.a-template strong { color: var(--a-heading); font-weight: 600; }
.a-template span { grid-column: 2; font-size: .8rem; color: var(--a-muted); line-height: 1.35; }
.a-template:hover { border-color: var(--a-primary); }
.a-template.active { border-color: var(--a-primary); box-shadow: inset 0 0 0 1px var(--a-primary); background: var(--a-primary-light); }
.a-template.active .a-svg-icon { color: var(--a-primary); }
.a-template:focus-within { outline: 2px solid var(--a-primary); outline-offset: 2px; }

.a-card-item { border: 1px solid var(--a-border); border-radius: var(--a-radius); padding: .75rem 1rem; margin: 0 0 1rem; }
.a-card-item legend { padding: 0 .4rem; font-weight: 600; color: var(--a-heading); font-size: .9rem; }
.a-icon-pick { display: flex; align-items: center; gap: .6rem; }
.a-icon-pick-preview {
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    width: 2.4rem; height: 2.4rem; border: 1px solid var(--a-border); border-radius: 4px;
}
.a-icon-pick-preview .a-icon-preview { width: 1.6rem; height: 1.6rem; }

/* ---------------------------------------------------------------- editor */

.a-editor-bar {
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
    padding: .75rem 1rem; margin-bottom: 1rem;
    background: #fff; border-radius: var(--a-radius); box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .04);
}
.a-editor-bar h1 { margin: 0; font-size: 1.2rem; }
.a-pending-bar {
    display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
    padding: .75rem 1rem; margin-bottom: 1rem; border-radius: var(--a-radius);
    background: #fcf3e3; border: 1px solid #f3dcb0; border-left: 4px solid #ed9c28; color: #6b4d00;
}
.a-pending-delete td { opacity: .6; }
.a-pending-delete td:first-child a { text-decoration: line-through; }
.a-badge-danger { background: #d2322d; color: #fff; }
.a-draft-notice { margin: -.5rem 0 1rem; font-size: .85rem; }
.a-menu-toggle {
    margin: 0 0 0 .75rem; padding: .3rem .7rem; cursor: pointer;
    border: 1px solid var(--a-border); border-radius: var(--a-radius); background: #fafafa; font-weight: 600; color: var(--a-heading);
}
.a-menu-toggle:has(input:checked) { border-color: var(--a-primary); background: var(--a-primary-light); color: var(--a-primary-darker); }

.a-tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--a-border); margin: 1rem 0 1.25rem; }
.a-tabs button {
    border: 1px solid transparent; border-bottom: 0; background: none;
    padding: .6rem 1.1rem; cursor: pointer; font: inherit; color: var(--a-text);
    border-radius: var(--a-radius) var(--a-radius) 0 0; margin-bottom: -1px;
}
.a-tabs button:hover { color: var(--a-primary); }
.a-tabs button.active {
    background: #fff; color: var(--a-heading); font-weight: 600;
    border-color: var(--a-border); border-top: 3px solid var(--a-primary);
}

.a-language-switch { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: .9rem; }
.a-language-switch button { border: 1px solid #ccc; background: #fff; border-radius: 3px; padding: .2rem .65rem; cursor: pointer; font: inherit; }
.a-language-switch button.active { background: var(--a-primary); color: #fff; border-color: var(--a-primary); }

.a-section { background: #fff; border-radius: var(--a-radius); margin-bottom: 1rem; box-shadow: 0 1px 1px rgba(0, 0, 0, .05), 0 0 0 1px rgba(0, 0, 0, .06); }
.a-section-head {
    display: flex; gap: .4rem; align-items: center; flex-wrap: wrap;
    padding: .55rem .85rem; background: var(--a-card-head); border-bottom: 1px solid var(--a-border);
    border-radius: var(--a-radius) var(--a-radius) 0 0;
}
.a-columns { display: flex; gap: .75rem; padding: .85rem; flex-wrap: wrap; }
.a-column { min-width: 220px; border: 1px dashed #c4c8ce; border-radius: var(--a-radius); padding: .6rem; background: #fafbfc; }
.a-column-head { font-size: .8rem; margin-bottom: .5rem; }
.a-block { background: #fff; border: 1px solid #e3e3e3; border-left: 3px solid var(--a-primary); border-radius: var(--a-radius); padding: .6rem .8rem; margin-bottom: .6rem; }
.a-block-head { display: flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 600; color: var(--a-heading); margin-bottom: .5rem; }
.a-add { width: 100%; }
.a-add-section { display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; padding: .85rem; border: 1px dashed #c4c8ce; border-radius: var(--a-radius); background: #fafbfc; }

/* ---------------------------------------------------------------- modules */

.a-module-links { display: flex; gap: .5rem; flex-wrap: wrap; margin: 0 0 1.25rem; }
.a-unread td { font-weight: 600; }
.a-message { background: #fafbfc; }
.a-message-text { white-space: pre-wrap; }

/* ---------------------------------------------------------------- aanmelden */

.a-sign {
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 2rem 1rem;
}
.a-sign .a-brand { width: auto; padding: 0; margin-bottom: 1.25rem; font-size: 1.5rem; }
.a-sign-panel { width: 100%; max-width: 400px; }
.a-sign-title {
    display: inline-flex; align-items: center; gap: .5rem;
    margin: 0; padding: .55rem 1.1rem;
    background: var(--a-primary); color: #fff; font-size: .95rem; font-weight: 600;
    border-radius: var(--a-radius) var(--a-radius) 0 0;
}
.a-sign-body {
    background: #fff; padding: 1.75rem; border-top: 5px solid var(--a-primary);
    border-radius: 0 var(--a-radius) var(--a-radius) var(--a-radius);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
.a-sign-body form { display: flex; flex-direction: column; gap: .4rem; }
.a-sign-body label { font-size: .8rem; font-weight: 600; color: var(--a-heading); }
.a-sign-body input[type=email], .a-sign-body input[type=password], .a-sign-body input:not([type]) {
    padding: .6rem .7rem; border: 1px solid #ccc; border-radius: var(--a-radius); font: inherit; margin-bottom: .4rem;
}
.a-sign-body input:focus { outline: none; border-color: var(--a-primary); box-shadow: 0 0 0 3px var(--a-primary-light); }
.a-sign-body .e-btn { margin-top: .5rem; padding: .55rem 1rem; }
.a-sign-footer { margin-top: 1.25rem; color: var(--a-muted); font-size: .8rem; }

/* ---------------------------------------------------------------- fouten van Blazor */

#blazor-error-ui {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    padding: .75rem 1.25rem; background: #fcf8e3; color: #8a6d3b; box-shadow: 0 -1px 4px #0002;
}
#blazor-error-ui .reload { margin-left: .5rem; }

/* ---------------------------------------------------------------- smalle schermen */

@media (max-width: 991px) {
    .a-burger { display: inline-flex; }
    .a-brand { width: auto; padding-left: .25rem; }
    .a-userbox-text { display: none; }
    .a-tenant-badge { padding: .3rem .5rem; max-width: 10rem; }
    .a-tenant-badge-text small { display: none; }
    .a-userbox { border-left: 0; padding-left: 0; }

    .a-sidebar {
        position: fixed; top: var(--a-header-height); bottom: 0; left: 0; z-index: 40;
        transform: translateX(-100%); transition: transform .2s ease;
        overflow-y: auto;
    }
    .a-nav { position: static; }
    .a-nav-toggle:checked ~ .a-shell .a-sidebar { transform: none; box-shadow: 4px 0 12px rgba(0, 0, 0, .25); }
    .a-nav-toggle:checked ~ .a-shell .a-sidebar-backdrop {
        display: block; position: fixed; inset: var(--a-header-height) 0 0 0; z-index: 35; background: rgba(0, 0, 0, .35);
    }

    .a-page-header { padding-right: .75rem; }
    .a-page-title { padding: .6rem 1rem; font-size: 1.05rem; }
    .a-breadcrumbs { padding-left: 1rem; width: 100%; }
    .a-breadcrumbs ol { padding: .4rem 0 .6rem; }
    .a-content { padding: 1rem; }
    .a-card { padding: 1rem; }
    .a-card > h2:first-child, .a-card > h3:first-child { margin: -1rem -1rem 1rem; padding: .85rem 1rem; }
    .a-facts { grid-template-columns: 1fr; }
    .a-field-row { flex-direction: column; align-items: stretch; gap: 0; }
    .a-field-row > .a-field { width: 100%; }
    .a-table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    .a-sidebar, .a-nav a { transition: none; }
}

/* Themakeuze bij een site */
.a-theme-choice { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }

/* Talen van een site */
.a-languages-editor { width: 100%; max-width: 46rem; }
.a-languages-editor .a-muted { margin: .25rem 0 0; font-size: .85rem; }

/* Domeinen van een site */
.a-domains-editor { width: 100%; max-width: 46rem; }
.a-domain-list { list-style: none; margin: 0 0 .5rem; padding: 0; }
.a-domain-list li { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; flex-wrap: wrap; }
.a-domains-editor .a-muted { font-size: .85rem; }

/* Een site bewerken op de tenantpagina */
.a-site-edit { margin: 0 0 1.25rem; padding: 1rem; border: 1px solid var(--a-border); border-radius: var(--a-radius); background: #fafbfc; }
.a-site-edit .a-muted { font-size: .85rem; margin: 0 0 .75rem; }
.e-btn.a-danger { color: #d2322d; border-color: #e7b9b7; }

/* Aantal in een tabblad (bv. vervangen teksten per module) */
.a-tab-count { margin-left: .35rem; background: var(--a-primary-light); color: var(--a-primary-darker); }

/* Gebruikers: knoppen rechts naast elkaar, sitekeuze als lijst vinkjes. */
.a-users .a-actions { text-align: right; white-space: nowrap; }
.a-users .a-actions .e-btn + .e-btn { margin-left: .4rem; }
.a-users td { vertical-align: top; }
.a-site-choice { border: 1px solid var(--a-border, #ddd); border-radius: 6px; padding: .5rem .75rem; margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.a-site-choice legend { padding: 0 .25rem; font-size: .9em; }

/* Inschrijven: breder paneel, subdomein met het vaste deel erachter, verborgen valstrik. */
.a-sign-panel.a-signup { max-width: 640px; }
.a-subdomain { display: flex; align-items: center; gap: .35rem; }
.a-subdomain input { flex: 1; }
.a-subdomain span { color: var(--a-muted, #777); white-space: nowrap; }
.a-signup-languages { border: 0; padding: 0; margin: .5rem 0 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.a-signup-languages legend { font-size: .8rem; font-weight: 600; padding: 0; margin-bottom: .25rem; }
.a-sign-body .a-templates label.a-template { font-weight: normal; }
.a-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.a-sign-alt { margin-top: 1rem; font-size: .9rem; }
.a-approval { margin-top: .75rem; }

/* Zone om bestanden in te slepen; de bestandskiezer ligt er onzichtbaar over. */
.a-dropzone { position: relative; display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: 1.5rem 1rem; margin: .75rem 0; border: 2px dashed var(--a-border, #c8ccd2); border-radius: var(--a-radius, 6px); color: var(--a-muted, #6b7280); text-align: center; transition: background .15s, border-color .15s; }
.a-dropzone strong { color: var(--a-heading, inherit); }
.a-dropzone .a-svg-icon { width: 28px; height: 28px; }
.a-dropzone input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.a-dropzone:hover, .a-dropzone:focus-within, .a-dropzone-over { border-color: var(--a-primary, #2563eb); background: var(--a-primary-light, #eef4ff); }
.a-dropzone-busy { opacity: .6; }
.a-dropzone-busy input[type=file] { cursor: progress; }

/* Kaart met foto: klein voorbeeld naast het adres. */
.a-card-image-preview { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; align-self: flex-end; border: 1px solid var(--a-border, #ddd); }

/* Galerij: foto's van een album als tegels met bijschrift en knoppen. */
.a-photo-grid { list-style: none; margin: .75rem 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.a-photo-grid li { display: flex; flex-direction: column; gap: .35rem; }
.a-photo-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; border: 1px solid var(--a-border, #ddd); background: #f3f4f6; }
.a-photo-actions { display: flex; gap: .25rem; justify-content: flex-end; }

/* Een site in de zijbalk: de naam (wisselen) en achteraan een klein icoon naar de website. */
.a-nav .a-nav-site { display: flex; align-items: stretch; }
.a-nav .a-nav-site > a:first-child { flex: 1; min-width: 0; }
.a-nav .a-nav-site > a:first-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-nav .a-nav-site-visit { flex: none; display: flex; align-items: center; padding: 0 .9rem; color: #8b94a1; box-shadow: none; }
.a-nav .a-nav-site-visit .a-svg-icon { width: 14px; height: 14px; color: inherit; }
.a-nav .a-nav-site-visit:hover, .a-nav .a-nav-site-visit:focus-visible { color: #fff; background: var(--a-sidebar-hover); }
.a-nav .a-nav-site.active .a-nav-site-visit { background: var(--a-sidebar-hover); }

/* Themakiezer: een lijst met minivoorbeelden (ThemePicker). */
.a-theme-picker { list-style: none; margin: .25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; flex-basis: 100%; }
.a-theme-option { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .4rem; background: #fff;
    border: 2px solid transparent; border-radius: var(--a-radius); cursor: pointer; font: inherit; color: var(--a-text); }
.a-theme-option:hover:not(:disabled) { border-color: var(--a-border); }
.a-theme-option.selected { border-color: var(--a-primary); box-shadow: 0 0 0 3px var(--a-primary-light); }
.a-theme-option.selected .a-theme-name { color: var(--a-primary); font-weight: 600; }
.a-theme-option:disabled { cursor: default; opacity: .7; }
.a-theme-option:disabled.selected { opacity: 1; }
.a-theme-option:focus-visible { outline: 2px solid var(--a-primary); outline-offset: 2px; }
.a-theme-name { font-size: .8rem; }

/* Het minivoorbeeld (120 x 90): kop, menu, titel, tekst, kaarten, knop en voet als blokjes. */
.a-theme-mini { --m-text: #c9ccd1; --m-head-bg: #fff; --m-foot-bg: #eef0f2; --m-card-bg: #fff; --m-card-border: 1px solid #e3e5e8;
    --m-radius: 2px; --m-btn-radius: 2px; --m-btn-bg: var(--m-primary); --m-btn-border: 0; --m-page: #fff;
    display: flex; flex-direction: column; width: 120px; height: 90px; overflow: hidden; background: var(--m-page);
    border: 1px solid var(--a-border); border-radius: 3px; text-align: left; }
.a-theme-mini span, .a-theme-mini i { display: block; }
.a-theme-mini .m-top { height: 0; flex: none; }
.a-theme-mini .m-head { display: flex; align-items: center; gap: 6px; padding: 6px 7px; background: var(--m-head-bg); border-bottom: 1px solid #eceef0; }
.a-theme-mini .m-brand { width: 22px; height: 6px; border-radius: 1px; background: var(--m-primary); }
.a-theme-mini .m-nav { display: flex; gap: 4px; margin-left: auto; }
.a-theme-mini .m-nav i { width: 9px; height: 3px; background: var(--m-text); border-radius: 1px; }
.a-theme-mini .m-nav i:first-child { background: var(--m-primary); }
.a-theme-mini .m-body { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 6px 7px; }
.a-theme-mini .m-title { width: 55%; height: 6px; background: #50555c; border-radius: 1px; }
.a-theme-mini .m-text { width: 80%; height: 3px; background: var(--m-text); border-radius: 1px; }
.a-theme-mini .m-cards { display: flex; gap: 4px; }
.a-theme-mini .m-card { flex: 1; height: 16px; background: var(--m-card-bg); border: var(--m-card-border); border-radius: var(--m-radius); }
.a-theme-mini .m-button { width: 26px; height: 7px; background: var(--m-btn-bg); border: var(--m-btn-border); border-radius: var(--m-btn-radius); }
.a-theme-mini .m-foot { height: 9px; flex: none; background: var(--m-foot-bg); }

.a-theme-mini[data-mini="corporate"] { --m-radius: 0; --m-btn-radius: 0; --m-foot-bg: #1f2329; }
.a-theme-mini[data-mini="corporate"] .m-top { height: 2px; background: var(--m-primary); }
.a-theme-mini[data-mini="corporate"] .m-title { width: 45%; box-shadow: 0 2px 0 var(--m-primary); }
.a-theme-mini[data-mini="corporate"] .m-card { border-top: 2px solid var(--m-primary); }

.a-theme-mini[data-mini="modern"] { --m-card-border: 0; --m-radius: 5px; --m-btn-radius: 99px; }
.a-theme-mini[data-mini="modern"] .m-head { border-bottom: 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.a-theme-mini[data-mini="modern"] .m-title { height: 8px; width: 65%; background: #2a2d31; }
.a-theme-mini[data-mini="modern"] .m-card { box-shadow: 0 2px 6px rgba(0, 0, 0, .14); }
.a-theme-mini[data-mini="modern"] .m-nav i:first-child { width: 12px; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--m-primary) 35%, #fff); }

.a-theme-mini[data-mini="classic"] { --m-foot-bg: #f7f5f0; --m-card-border: 1px solid #d6d3cc; --m-btn-bg: transparent; --m-btn-border: 1px solid var(--m-primary); }
.a-theme-mini[data-mini="classic"] .m-head { border-bottom-color: #d6d3cc; }
.a-theme-mini[data-mini="classic"] .m-title { height: 5px; background: #6d6a63; box-shadow: 0 3px 0 -1px #fff, 0 3px 0 0 #d6d3cc; }

.a-theme-mini[data-mini="porto"] .m-head { padding-bottom: 5px; }
.a-theme-mini[data-mini="porto"] .m-body { padding-top: 0; }
.a-theme-mini[data-mini="porto"] .m-title { width: auto; height: 11px; margin: 0 -7px 2px; background: #171717; border-radius: 0; border-top: 2px solid var(--m-primary); }
.a-theme-mini[data-mini="porto"] .m-text { background: #b5b5b5; }

.a-theme-mini[data-mini="minimal"] { --m-card-border: 0; --m-radius: 0; --m-btn-bg: transparent; --m-btn-border: 1px solid #50555c; --m-btn-radius: 0; --m-foot-bg: #fff; }
.a-theme-mini[data-mini="minimal"] .m-head { padding: 9px 7px; }
.a-theme-mini[data-mini="minimal"] .m-brand { background: #50555c; height: 4px; }
.a-theme-mini[data-mini="minimal"] .m-nav i, .a-theme-mini[data-mini="minimal"] .m-nav i:first-child { background: #d4d6d9; width: 8px; height: 2px; }
.a-theme-mini[data-mini="minimal"] .m-title { height: 4px; background: #9a9ea4; }
.a-theme-mini[data-mini="minimal"] .m-card { border-top: 1px solid #e3e3e3; background: transparent; }
.a-theme-mini[data-mini="minimal"] .m-foot { border-top: 1px solid #ececec; }

.a-theme-mini[data-mini="bold"] { --m-card-border: 0; --m-radius: 4px; --m-btn-radius: 99px; --m-btn-bg: var(--m-secondary); --m-head-bg: #111418; --m-foot-bg: #111418; }
.a-theme-mini[data-mini="bold"] .m-head { border-bottom: 0; }
.a-theme-mini[data-mini="bold"] .m-brand { background: #fff; }
.a-theme-mini[data-mini="bold"] .m-nav i { background: rgba(255, 255, 255, .6); }
.a-theme-mini[data-mini="bold"] .m-nav i:first-child { background: #fff; box-shadow: 0 2px 0 var(--m-primary); }
.a-theme-mini[data-mini="bold"] .m-title { height: 9px; width: 70%; background: #111418; }
.a-theme-mini[data-mini="bold"] .m-card { box-shadow: 0 3px 7px rgba(0, 0, 0, .15); }

.a-theme-mini[data-mini="warm"] { --m-card-border: 0; --m-radius: 5px; --m-btn-radius: 4px;
    --m-head-bg: color-mix(in srgb, var(--m-secondary) 8%, #fff); --m-card-bg: color-mix(in srgb, var(--m-secondary) 12%, #fff);
    --m-foot-bg: color-mix(in srgb, var(--m-secondary) 14%, #fff); }
.a-theme-mini[data-mini="warm"] .m-head { border-bottom: 0; }
.a-theme-mini[data-mini="warm"] .m-title { background: color-mix(in srgb, var(--m-secondary) 80%, #000); }
.a-theme-mini[data-mini="warm"] .m-foot { border-radius: 6px 6px 0 0; }

.a-theme-mini[data-mini="elegant"] { --m-radius: 0; --m-btn-radius: 0; --m-card-border: 1px solid color-mix(in srgb, var(--m-secondary) 30%, #fff); }
.a-theme-mini[data-mini="elegant"] .m-head { flex-direction: column; gap: 3px; padding: 5px 7px 4px; border-bottom-color: color-mix(in srgb, var(--m-secondary) 40%, #fff); }
.a-theme-mini[data-mini="elegant"] .m-nav { margin: 0; }
.a-theme-mini[data-mini="elegant"] .m-nav i { width: 8px; height: 2px; }
.a-theme-mini[data-mini="elegant"] .m-nav i:first-child { background: var(--m-secondary); }
.a-theme-mini[data-mini="elegant"] .m-body { align-items: center; }
.a-theme-mini[data-mini="elegant"] .m-title { height: 5px; width: 50%; background: #6d6a63; box-shadow: 0 4px 0 -2px #fff, 0 5px 0 -2px var(--m-secondary); }
.a-theme-mini[data-mini="elegant"] .m-cards { align-self: stretch; }

.a-theme-mini[data-mini="boxed"] { --m-page: #e3e3e3; --m-radius: 1px; --m-btn-radius: 1px; --m-foot-bg: #303030; --m-card-border: 1px solid #e6e6e6; padding: 0 9px; }
.a-theme-mini[data-mini="boxed"] > span { background-color: #fff; }
.a-theme-mini[data-mini="boxed"] .m-head { flex-wrap: wrap; row-gap: 4px; padding: 5px 0 0; border-bottom: 0; }
.a-theme-mini[data-mini="boxed"] .m-brand { margin-left: 5px; }
.a-theme-mini[data-mini="boxed"] .m-nav { flex-basis: 100%; margin: 0; padding: 3px 5px; background: #303030; }
.a-theme-mini[data-mini="boxed"] .m-nav i { background: rgba(255, 255, 255, .7); width: 8px; }
.a-theme-mini[data-mini="boxed"] .m-nav i:first-child { background: var(--m-primary); }
.a-theme-mini[data-mini="boxed"] .m-body { padding: 5px; }
.a-theme-mini[data-mini="boxed"] .m-title { height: 5px; width: 45%; box-shadow: 0 4px 0 -2px #fff, 0 5px 0 -2px #e9e9e9; }
.a-theme-mini[data-mini="boxed"] .m-top { background-color: transparent; }
.a-theme-mini[data-mini="boxed"] .m-foot { background-color: #303030; }

/* Module Paarden: kleine foto in de lijst. */
.a-horse-thumb { width: 48px; height: 36px; object-fit: cover; border-radius: 3px; display: block; }
.a-fieldset-plain { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Module Veelgestelde vragen: elke vraag met haar antwoord als blokje. */
.a-faq-list { margin: 0 0 1rem; padding-left: 1.5rem; }
.a-faq-question { display: flex; flex-direction: column; gap: .4rem; padding: .75rem; margin-bottom: .6rem; border: 1px solid var(--a-border); border-radius: var(--a-radius); background: #fff; }
.a-faq-new { background: var(--a-card-head); }

/* Module API-gegevens: het antwoord van een API en het sjabloon. */
.a-api-result { max-height: 24rem; overflow: auto; background: #1d2127; color: #d6dbe1; padding: .75rem 1rem; border-radius: var(--a-radius); font-size: .8rem; }
textarea.a-code { font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
