/*
 * Hark Platform
 * Eén zelfstandig designsysteem, gebaseerd op de huisstijl van harkync.com.
 * AdminLTE levert alleen layoutgedrag; alle zichtbare platformstijl staat hier.
 */
:root {
    --hark-ink: #17221d;
    --hark-ink-soft: #405049;
    --hark-forest: #0f432f;
    --hark-forest-deep: #0a3224;
    --hark-lime: #c8ff32;
    --hark-lime-hover: #b9ef2e;
    --hark-coral: #ff674d;
    --hark-cream: #f4f0e8;
    --hark-paper: #fffdf8;
    --hark-white: #fff;
    --hark-line: #dcd8cf;
    --hark-muted: #69766f;
    --hark-danger: #b73729;
    --hark-warning: #a65e00;
    --hark-radius-sm: 10px;
    --hark-radius: 18px;
    --hark-radius-lg: 28px;
    --hark-shadow: 0 18px 50px rgba(23, 34, 29, .08);
    --hark-shadow-sm: 0 8px 24px rgba(23, 34, 29, .07);
    --hark-tabs-bg: #f5f8f3;
    --hark-tabs-border: #d8e2dc;
    --hark-tabs-border-strong: #b7c8bf;
    --hark-tab-active: #07533b;
    --hark-tab-accent: #b9ff2a;
    --hark-tabs-radius: 11px;
    --hark-tab-radius: 7px;
    --hark-tab-height: 43px;
    --cms-brand: var(--hark-forest);
    --hc-rail-width: 220px;
    --hc-rail-gap: 24px;
    --hc-admin-header-height: 68px;
    --hc-admin-menubar-height: 44px;
    --hc-page-gutter: clamp(18px, 3vw, 48px);
    --hc-subrail-top: calc(var(--hc-admin-header-height) + var(--hc-admin-menubar-height));
    --hc-subrail-content-offset: calc(var(--hc-rail-width) + var(--hc-rail-gap));
    --bs-primary: var(--hark-forest);
    --bs-primary-rgb: 15, 67, 47;
    --bs-body-color: var(--hark-ink);
    --bs-body-color-rgb: 23, 34, 29;
    --bs-body-bg: var(--hark-cream);
    --bs-body-bg-rgb: 244, 240, 232;
    --bs-border-color: var(--hark-line);
    --bs-link-color: var(--hark-forest);
    --bs-link-hover-color: var(--hark-forest-deep);
    --bs-font-sans-serif: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* HARK AI taskbar: live tasks, approvals and short-lived completed results. */
.cms-navbar-ai-taskbar{position:relative}.cms-navbar-ai-status{font:inherit;cursor:pointer}.cms-navbar-ai-status.is-attention{border-color:rgba(196,89,48,.38);background:rgba(255,225,214,.72)}.cms-navbar-ai-status.is-attention .cms-navbar-ai-status__icon{color:#fff;background:#b74b27}.cms-navbar-ai-status.is-completed{border-color:rgba(39,125,72,.25);background:rgba(222,246,226,.78)}.cms-navbar-ai-status.is-completed .cms-navbar-ai-status__icon{color:#fff;background:#277d48}.cms-navbar-ai-panel{width:min(420px,calc(100vw - 20px));padding:0;overflow:hidden;border:1px solid rgba(15,67,47,.15);border-radius:18px;box-shadow:0 18px 55px rgba(18,38,29,.18)}.cms-navbar-ai-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1rem 1.05rem .85rem;color:#fff;background:#0f432f}.cms-navbar-ai-panel>header strong,.cms-navbar-ai-panel>header small{display:block}.cms-navbar-ai-panel>header strong{font-size:.95rem}.cms-navbar-ai-panel>header small{margin-top:.14rem;color:rgba(255,255,255,.7);font-size:.7rem}.cms-navbar-ai-panel>header>span{padding:.28rem .52rem;border-radius:999px;color:#0f432f;background:#c8ff32;font-size:.64rem;font-weight:800;white-space:nowrap}.cms-navbar-ai-panel__list{max-height:min(60vh,530px);overflow:auto;background:#f8faf7}.cms-navbar-ai-task-group{padding:.65rem}.cms-navbar-ai-task-group+.cms-navbar-ai-task-group{padding-top:0}.cms-navbar-ai-task-group__heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.2rem .28rem .45rem;color:#536159}.cms-navbar-ai-task-group__heading strong{font-size:.66rem;text-transform:uppercase;letter-spacing:.07em}.cms-navbar-ai-task-group__heading small{font-size:.61rem}.cms-navbar-ai-task{display:grid;grid-template-columns:34px minmax(0,1fr);gap:.65rem;margin-bottom:.45rem;padding:.7rem;border:1px solid rgba(15,67,47,.1);border-radius:13px;color:#17221d;background:#fff;text-decoration:none;transition:border-color .15s ease,transform .15s ease}.cms-navbar-ai-task:hover{border-color:rgba(15,67,47,.28);color:#17221d;transform:translateY(-1px)}.cms-navbar-ai-task__icon{display:grid;width:34px;height:34px;place-items:center;border-radius:10px;color:#0f432f;background:#edf4ea}.cms-navbar-ai-task.is-running .cms-navbar-ai-task__icon,.cms-navbar-ai-task.is-processing .cms-navbar-ai-task__icon{background:#eaffad}.cms-navbar-ai-task.is-approval .cms-navbar-ai-task__icon,.cms-navbar-ai-task.is-failed .cms-navbar-ai-task__icon{color:#a54220;background:#ffe4d9}.cms-navbar-ai-task.is-completed .cms-navbar-ai-task__icon{color:#277d48;background:#def4e2}.cms-navbar-ai-task__body,.cms-navbar-ai-task__head{display:block;min-width:0}.cms-navbar-ai-task__head{display:flex;align-items:flex-start;justify-content:space-between;gap:.55rem}.cms-navbar-ai-task__head strong{overflow:hidden;font-size:.78rem;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}.cms-navbar-ai-task__head small{flex:none;padding:.15rem .34rem;border-radius:999px;color:#536159;background:#edf1ed;font-size:.56rem;font-weight:800}.cms-navbar-ai-task__detail{display:-webkit-box;margin-top:.2rem;overflow:hidden;color:#657068;font-size:.67rem;line-height:1.35;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cms-navbar-ai-task time{display:block;margin-top:.25rem;color:#89918c;font-size:.58rem}.cms-navbar-ai-task__progress{display:block;height:3px;margin-top:.42rem;overflow:hidden;border-radius:999px;background:#e6ece7}.cms-navbar-ai-task__progress i{display:block;height:100%;border-radius:inherit;background:#0f432f}.cms-navbar-ai-task__actions{display:flex;flex-wrap:wrap;gap:.35rem;margin-top:.55rem}.cms-navbar-ai-task__actions .btn{padding:.22rem .5rem;font-size:.63rem}.cms-navbar-ai-panel__empty{display:grid;justify-items:center;padding:2rem 1.2rem;text-align:center;color:#657068}.cms-navbar-ai-panel__empty i{display:grid;width:42px;height:42px;margin-bottom:.55rem;place-items:center;border-radius:14px;color:#0f432f;background:#eaffad}.cms-navbar-ai-panel__empty strong{color:#17221d;font-size:.83rem}.cms-navbar-ai-panel__empty span{max-width:260px;margin-top:.2rem;font-size:.68rem;line-height:1.45}.cms-navbar-ai-panel>footer{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.72rem .9rem;border-top:1px solid rgba(15,67,47,.1);background:#fff}.cms-navbar-ai-panel>footer a{color:#0f432f;font-size:.69rem;font-weight:800;text-decoration:none}.cms-navbar-ai-panel>footer a:hover{text-decoration:underline}@media(max-width:575.98px){.cms-navbar-ai-panel{position:fixed!important;top:58px!important;right:10px!important;left:10px!important;width:auto;transform:none!important}.cms-navbar-ai-status{min-width:40px;padding-inline:6px}.cms-navbar-ai-panel__list{max-height:58vh}}

/* Every dropdown remains reachable, including on short/mobile viewports. */
.dropdown-menu.show {
    max-width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    overscroll-behavior: contain;
}
.cms-navbar-ai-panel {
    display: flex;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    flex-direction: column;
}
.cms-navbar-ai-panel__list {
    min-height: 0;
    flex: 1 1 auto;
}
.cms-navbar-ai-panel[hidden],
.cms-navbar-ai-panel:not(.show) {
    display: none !important;
}

html { background: var(--hark-cream); }
body {
    margin: 0;
    color: var(--hark-ink);
    background: var(--hark-cream) !important;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: .94rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .card-title, .modal-title {
    color: var(--hark-ink);
    font-family: "Manrope", "DM Sans", sans-serif;
    font-weight: 800;
    letter-spacing: -.035em;
}
a { color: var(--hark-forest); }
a:hover { color: var(--hark-forest-deep); }
::selection { color: var(--hark-ink); background: var(--hark-lime); }

/* App shell */
.app-wrapper { min-height: 100vh; background: var(--hark-cream); }
.app-header.navbar {
    position: sticky !important;
    inset: 0 0 auto;
    z-index: 1035;
    display: flex !important;
    flex-wrap: wrap;
    min-height: 68px;
    padding: 0 !important;
    border: 0 !important;
    background: rgba(244, 240, 232, .96) !important;
    box-shadow: none;
    backdrop-filter: blur(16px);
}
.app-header > .container-fluid {
    min-height: 68px;
    padding: 8px clamp(18px, 3vw, 48px);
    overflow: visible;
}
body.cms-topnav-layout .app-sidebar { display: none !important; }
body.cms-topnav-layout .app-wrapper > .app-header,
body.cms-topnav-layout .app-wrapper > .app-main,
body.cms-topnav-layout .app-wrapper > .app-footer { margin-left: 0 !important; }
body.cms-topnav-layout .app-main { padding-top: 0 !important; }
.app-main { background: var(--hark-cream); }
.app-content-header { padding: 0; }
.app-content { padding: 0 0 48px; }
.app-content > .container-fluid {
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 28px var(--hc-page-gutter) 0 !important;
}
.app-content > .container-fluid.has-left-rail {
    position: relative;
    width: min(100%, calc(1504px + var(--hc-subrail-content-offset) + var(--hc-page-gutter)));
    max-width: none;
    margin-left: 0;
    margin-right: auto;
    padding: 0 var(--hc-page-gutter) 0 var(--hc-subrail-content-offset) !important;
}
.app-content > .container-fluid.has-left-rail::before {
    display: none;
    content: none;
}
.app-content > .container-fluid.has-left-rail > * {
    position: relative;
    z-index: 1;
}
.app-footer {
    margin: 0 !important;
    padding: 0 clamp(18px, 3vw, 48px) 28px;
    border: 0;
    color: var(--hark-muted);
    background: var(--hark-cream);
}
.cms-hark-footer {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 24px;
    width: min(100%, 1504px);
    margin: 0 auto;
    padding: 26px 28px;
    border-radius: var(--hark-radius-lg);
    color: rgba(255,255,255,.7);
    background: var(--hark-forest);
}
.cms-hark-footer .cms-hark-brand { color: #fff !important; }
.cms-hark-footer .cms-hark-brand__mark { color: var(--hark-ink); background: var(--hark-lime); }
.cms-hark-footer__promise { margin: 0; font-size: .86rem; }
.cms-hark-footer__links { display: flex; align-items: center; gap: 18px; }
.cms-hark-footer__links a { color: rgba(255,255,255,.72); font-size: .82rem; font-weight: 700; text-decoration: none; }
.cms-hark-footer__links a:hover { color: var(--hark-lime); }
.cms-hark-footer__meta { font-size: .76rem; white-space: nowrap; }
@media (min-width: 768px) {
    body.cms-topnav-layout.has-admin-left-rail:not(.builder-fullscreen) .app-wrapper > .app-footer {
        width: calc(100% - var(--hc-rail-width));
        margin-left: var(--hc-rail-width) !important;
        padding: 0 var(--hc-page-gutter) 28px var(--hc-rail-gap);
    }
    body.has-admin-left-rail:not(.builder-fullscreen) .cms-hark-footer {
        width: min(100%, 1504px);
        margin-left: 0;
        margin-right: auto;
    }
}

/* Hark wordmark */
.cms-hark-brand {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--hark-ink) !important;
}
.cms-hark-brand__mark {
    display: inline-grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 50%;
    color: var(--hark-lime);
    background: var(--hark-forest);
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
}
.cms-hark-brand__name {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.04em;
    white-space: nowrap;
}
.cms-hark-brand__context {
    max-width: 220px;
    overflow: hidden;
    padding-left: 12px;
    border-left: 1px solid var(--hark-line);
    color: var(--hark-muted);
    font-size: 12px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Header tools */
.cms-navbar-tools {
    display: flex;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 5px;
}
.cms-navbar-tools > .nav-item { display: flex; align-items: center; }
.cms-navbar-tool-btn,
.cms-admin-topbar-menu-toggle {
    display: inline-flex !important;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border: 1px solid transparent !important;
    border-radius: 50% !important;
    color: var(--hark-ink-soft) !important;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.cms-navbar-tool-btn:hover,
.cms-admin-topbar-menu-toggle:hover {
    border-color: var(--hark-line) !important;
    color: var(--hark-forest) !important;
    background: var(--hark-paper) !important;
}
.cms-navbar-tool-btn:focus-visible,
.cms-admin-topbar-menu-toggle:focus-visible {
    outline: 3px solid rgba(200, 255, 50, .75);
    outline-offset: 2px;
}
.cms-navbar-tool-symbol,
.cms-navbar-fs-slot { display: inline-grid; width: 22px; height: 22px; place-items: center; }
.cms-navbar-fs-slot { position: relative; }
.cms-navbar-fs-slot > i { position: absolute; }
.cms-navbar-ticket-badge,
.cms-navbar-notify-badge {
    position: absolute;
    top: 1px;
    right: 0;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border: 2px solid var(--hark-cream);
    border-radius: 99px;
    color: var(--hark-white);
    background: var(--hark-coral);
    font-size: 9px;
    font-weight: 800;
    line-height: 13px;
    text-align: center;
}
.cms-navbar-user-trigger {
    min-height: 44px;
    padding: 4px 8px 4px 5px !important;
    border: 1px solid var(--hark-line);
    border-radius: 999px;
    color: var(--hark-ink) !important;
    background: rgba(255, 253, 248, .72);
}
/* Eigen chevron-icoon gebruiken; Bootstrap's automatische dropdown-caret verbergen (anders twee pijltjes). */
.cms-navbar-user-trigger.dropdown-toggle::after {
    display: none;
}
.cms-navbar-user-avatar {
    display: inline-grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--hark-lime);
    background: var(--hark-forest);
    font-size: 11px;
    font-weight: 800;
}
.cms-navbar-ai-status.is-compact {
    width: 42px;
    min-width: 42px;
    padding: 5px 7px;
    border-color: transparent;
    border-radius: 50%;
    background: transparent;
}
.cms-navbar-ai-status.is-compact .cms-navbar-ai-status__copy,
.cms-navbar-ai-status.is-compact .cms-navbar-ai-status__progress { display: none !important; }
.cms-navbar-utility-item .dropdown-toggle::after { display: none; }
.cms-navbar-utility-menu { width: min(280px, calc(100vw - 24px)); }
.cms-navbar-utility-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 2px;
}
.cms-navbar-utility-menu .dropdown-item > i { width: 20px; text-align: center; }

/* Primary navigation */
.cms-sidebar-clean {
    --cms-sidebar-active-bg: rgba(15, 67, 47, .075);
    --cms-sidebar-open-bg: rgba(15, 67, 47, .035);
    --cms-sidebar-hover-bg: rgba(15, 67, 47, .06);
    --cms-sidebar-child-active-bg: rgba(15, 67, 47, .09);
    left: 0 !important;
    border-right: 1px solid var(--hark-line) !important;
    color: var(--hark-ink);
    background: var(--hark-paper) !important;
    box-shadow: none !important;
}
.cms-sidebar-clean .sidebar-brand {
    min-height: 72px;
    border-bottom: 1px solid rgba(23, 34, 29, .08);
    background: transparent !important;
}
.cms-sidebar-clean .sidebar-wrapper {
    padding: 8px 8px 20px 0;
}
.cms-sidebar-clean .sidebar-menu {
    gap: 2px;
}
.cms-sidebar-clean .nav-header {
    padding: 15px 14px 7px 18px !important;
    color: var(--hark-muted) !important;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
}
.cms-sidebar-clean .sidebar-menu .nav-link {
    min-height: 34px;
    margin: 1px 0;
    padding: 7px 10px 7px 18px !important;
    border-radius: 0 8px 8px 0;
    color: var(--hark-ink-soft) !important;
    background: transparent !important;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.25;
    transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.cms-sidebar-clean .sidebar-menu .nav-link p {
    min-width: 0;
    margin: 0;
    line-height: 1.25;
    white-space: normal;
}
.cms-sidebar-clean .sidebar-menu .nav-icon {
    width: 1.25rem;
    min-width: 1.25rem;
    margin-right: .48rem;
    color: var(--hark-muted);
    text-align: center;
}
.cms-sidebar-clean .sidebar-menu .nav-link:hover {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-hover-bg) !important;
}
.cms-sidebar-clean .sidebar-menu .nav-link:hover .nav-icon,
.cms-sidebar-clean .sidebar-menu .nav-link.active .nav-icon,
.cms-sidebar-clean .sidebar-menu .nav-link.parent-active .nav-icon {
    color: var(--hark-forest);
}
.cms-sidebar-clean .nav-section-toggle.active,
.cms-sidebar-clean .has-treeview > .nav-link.active,
.cms-sidebar-clean .sidebar-menu > .nav-item > .nav-link.active {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-active-bg) !important;
    box-shadow: inset 2px 0 0 var(--hark-forest);
}
.cms-sidebar-clean .has-treeview > .nav-link.parent-active {
    color: var(--hark-ink) !important;
    background: transparent !important;
    box-shadow: none !important;
}
.cms-sidebar-clean .has-treeview.menu-open > .nav-link {
    color: var(--hark-ink) !important;
    background: var(--cms-sidebar-open-bg) !important;
}
.cms-sidebar-clean .has-treeview.menu-open > .nav-link.active {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-active-bg) !important;
}
.cms-sidebar-clean .has-treeview.menu-open > .nav-link.parent-active {
    color: var(--hark-ink) !important;
    background: transparent !important;
}
.cms-sidebar-clean .nav-treeview {
    margin: 2px 0 8px 18px;
    padding-left: 8px;
    border-left: 1px solid rgba(15, 67, 47, .18);
}
.cms-sidebar-clean .nav-treeview .nav-link {
    min-height: 31px;
    padding: 6px 9px !important;
    border-radius: 0 7px 7px 0;
    font-size: .84rem;
    font-weight: 650;
}
.cms-sidebar-clean .nav-treeview .nav-link.active {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-child-active-bg) !important;
    box-shadow: inset 2px 0 0 var(--hark-forest);
}
.cms-sidebar-clean .nav-treeview .nav-icon {
    width: 1.05rem;
    min-width: 1.05rem;
    margin-right: .42rem;
    font-size: .78rem;
}
.cms-sidebar-clean .nav-arrow {
    margin-left: auto;
    color: var(--hark-muted);
    transition: transform .16s ease;
}
.cms-sidebar-clean .menu-open > .nav-link .nav-arrow,
.cms-sidebar-clean .section-open > .nav-link .nav-arrow {
    transform: rotate(-90deg);
}

.cms-admin-menubar {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgba(23, 34, 29, .1) !important;
    background: var(--hark-forest);
}
.cms-admin-menubar .container-fluid {
    width: min(100%, 1600px);
    min-height: 44px;
    margin: 0 auto;
    padding: 6px clamp(18px, 3vw, 48px) !important;
}
.cms-admin-menubar-shell,
.cms-admin-menubar-list { display: flex; width: 100%; align-items: center; }
.cms-admin-menubar-list {
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.cms-admin-menubar-link {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 7px 13px !important;
    border-radius: 999px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}
.cms-admin-menubar-link:hover { color: var(--hark-white) !important; background: rgba(255,255,255,.1); }
.cms-admin-menubar-link.active {
    color: var(--hark-ink) !important;
    background: var(--hark-lime);
}
.cms-admin-menubar-dropdown,
.dropdown-menu {
    min-width: 240px;
    padding: 8px;
    border: 1px solid var(--hark-line);
    border-radius: 15px;
    background: var(--hark-paper);
    box-shadow: var(--hark-shadow);
}
.cms-admin-menubar-dropdown {
    max-height: min(70vh, 640px);
    overflow-y: auto;
}
.dropdown-item {
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--hark-ink);
    font-size: .88rem;
}
.dropdown-item:hover, .dropdown-item:focus { color: var(--hark-ink); background: rgba(15,67,47,.08); }
.dropdown-item.active, .dropdown-item:active { color: var(--hark-white); background: var(--hark-forest); }
.dropdown-header {
    color: var(--hark-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.cms-user-menu {
    width: min(300px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
}
.cms-user-menu-identity { padding: 12px; }
.cms-user-menu-name { font-family: "Manrope", sans-serif; font-weight: 800; }
.cms-user-menu-email { color: var(--hark-muted); font-size: .78rem; }

/* Page hero */
.hc-admin-content-hero { margin-bottom: 24px !important; }
.hc-tool-header,
.hc-plugin-hero,
.growth-suite-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 3vw, 38px) !important;
    border: 0 !important;
    border-radius: var(--hark-radius-lg) !important;
    color: var(--hark-white);
    background: var(--hark-forest) !important;
    box-shadow: none !important;
}
.hc-tool-header::after,
.hc-plugin-hero::after,
.growth-suite-hero::after {
    position: absolute;
    right: -60px;
    bottom: -105px;
    width: 280px;
    height: 190px;
    border: 3px solid var(--hark-coral);
    border-color: var(--hark-coral) transparent transparent;
    border-radius: 50%;
    transform: rotate(-7deg);
    content: "";
    pointer-events: none;
}
.hc-tool-header h1, .hc-tool-header h2, .hc-tool-header h3,
.hc-plugin-hero h1, .hc-plugin-hero h2, .hc-plugin-hero h3,
.growth-suite-hero h1 { color: var(--hark-white); }
.hc-tool-header .text-body-secondary,
.hc-plugin-hero .text-body-secondary,
.growth-suite-hero .text-body-secondary { color: rgba(255,255,255,.68) !important; }
/* Decoratiecurve achter de inhoud houden: ::after is absoluut gepositioneerd en
   tekent anders bóven knoppen die in dezelfde hoek staan. */
.hc-tool-header::after,
.hc-plugin-hero::after,
.growth-suite-hero::after { z-index: 0; }
.hc-tool-header > *,
.hc-plugin-hero > *,
.growth-suite-hero > * { position: relative; z-index: 1; }
/* Outline-knoppen zijn standaard forest-op-transparant en daarmee onleesbaar
   op de forest-groene hero; binnen de hero wit maken. */
.hc-tool-header .btn-outline-primary,
.hc-plugin-hero .btn-outline-primary,
.growth-suite-hero .btn-outline-primary {
    border-color: rgba(255,255,255,.55);
    color: var(--hark-white);
    background: transparent;
}
.hc-tool-header .btn-outline-primary:hover,
.hc-tool-header .btn-outline-primary:focus,
.hc-plugin-hero .btn-outline-primary:hover,
.hc-plugin-hero .btn-outline-primary:focus,
.growth-suite-hero .btn-outline-primary:hover,
.growth-suite-hero .btn-outline-primary:focus {
    border-color: var(--hark-white);
    color: var(--hark-ink);
    background: var(--hark-white);
}
.hc-tool-header__icon {
    display: inline-grid;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    place-items: center;
    border-radius: 50%;
    color: var(--hark-ink);
    background: var(--hark-lime);
    box-shadow: none;
}
.letter-spacing-1 { letter-spacing: .12em; }
.min-w-0 { min-width: 0 !important; }
.hc-hero-actions-mobile, .growth-suite-switcher-mobile { display: none; }

/* Components */
.card {
    border: 1px solid var(--hark-line);
    border-radius: var(--hark-radius);
    background: var(--hark-paper);
    box-shadow: none;
}
.card-header {
    padding: 18px 20px;
    border-bottom: 1px solid var(--hark-line);
    border-radius: var(--hark-radius) var(--hark-radius) 0 0 !important;
    background: transparent;
}
.card-header:has(> :nth-child(2)):has(> .btn),
.card-header:has(> :nth-child(2)):has(> .btn-group),
.card-header:has(> :nth-child(2)):has(> .dropdown),
.card-header:has(> :nth-child(2)):has(> form),
.card-header:has(> :nth-child(2)):has(> .form-check),
.card-header:has(> :nth-child(2)):has(> .form-switch),
.card-header:has(> :nth-child(2)):has(> .card-header-actions) {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
}
.card-header:has(> :nth-child(2)) > .btn,
.card-header:has(> :nth-child(2)) > .btn-group,
.card-header:has(> :nth-child(2)) > .dropdown,
.card-header:has(> :nth-child(2)) > form,
.card-header:has(> :nth-child(2)) > .form-check,
.card-header:has(> :nth-child(2)) > .form-switch,
.card-header:has(> :nth-child(2)) > .card-header-actions,
.card-header:has(> :nth-child(2)) > .d-flex:last-child {
    margin-left: auto;
}
.card-header > .form-check,
.card-header > .form-switch {
    margin-bottom: 0;
}
.card-body { padding: 20px; }
.card-footer {
    padding: 15px 20px;
    border-top: 1px solid var(--hark-line);
    background: rgba(23,34,29,.025);
}
.card:hover { border-color: #c9c4ba; }
.border, .border-top, .border-end, .border-bottom, .border-start { border-color: var(--hark-line) !important; }
.rounded, .rounded-1, .rounded-2, .rounded-3, .rounded-4 { border-radius: var(--hark-radius-sm) !important; }
.shadow, .shadow-sm, .shadow-lg { box-shadow: var(--hark-shadow-sm) !important; }
.bg-body, .bg-white { background-color: var(--hark-paper) !important; }
.bg-body-tertiary, .bg-body-secondary, .bg-light { background-color: rgba(23,34,29,.045) !important; }
.text-primary { color: var(--hark-forest) !important; }
.text-success { color: #47720c !important; }
.text-info { color: #176050 !important; }
.text-warning { color: var(--hark-warning) !important; }
.text-danger { color: var(--hark-danger) !important; }
.btn {
    min-height: 42px;
    padding: 9px 17px;
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.25;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary,
.btn-success {
    border-color: var(--hark-lime) !important;
    color: var(--hark-ink) !important;
    background: var(--hark-lime) !important;
}
.btn-primary:hover,
.btn-success:hover { border-color: var(--hark-lime-hover) !important; background: var(--hark-lime-hover) !important; }
.btn-outline-primary {
    border-color: var(--hark-forest);
    color: var(--hark-forest);
    background: transparent;
}
.btn-outline-primary:hover { border-color: var(--hark-forest); color: var(--hark-white); background: var(--hark-forest); }
.btn-secondary, .btn-outline-secondary {
    border-color: var(--hark-line);
    color: var(--hark-ink);
    background: var(--hark-paper);
}
.btn-danger { border-color: var(--hark-danger); background: var(--hark-danger); }
.btn-sm { min-height: 36px; padding: 7px 14px; font-size: .8rem; }
.btn-xs { min-height: 30px; padding: 5px 11px; font-size: .74rem; }
.form-control, .form-select {
    min-height: 46px;
    border: 1px solid #cbc7be;
    border-radius: 12px;
    color: var(--hark-ink);
    background-color: var(--hark-white);
    box-shadow: none;
}
.form-control:focus, .form-select:focus {
    border-color: var(--hark-forest);
    box-shadow: 0 0 0 3px rgba(15,67,47,.12);
}
.form-label { color: var(--hark-ink-soft); font-weight: 700; }
.form-text, .text-muted, .text-body-secondary { color: var(--hark-muted) !important; }
.form-check-input:checked { border-color: var(--hark-forest); background-color: var(--hark-forest); }
.form-switch .form-check-input { width: 2.4em; border-color: #b9b5ab; background-color: #d8d4cb; }
.form-switch .form-check-input:checked { border-color: var(--hark-forest); background-color: var(--hark-forest); }
.form-range::-webkit-slider-thumb { background: var(--hark-forest); }
.form-range::-moz-range-thumb { background: var(--hark-forest); }
.input-group-text { border-color: #cbc7be; background: #ebe7de; }
.table { --bs-table-bg: transparent; --bs-table-color: var(--hark-ink); margin: 0; }
.table > :not(caption) > * > * { padding: 13px 14px; border-bottom-color: var(--hark-line); }
.table thead th {
    color: var(--hark-muted);
    background: rgba(23,34,29,.035);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.table-responsive { border: 1px solid var(--hark-line); border-radius: 14px; }
.badge { padding: .48em .7em; border-radius: 999px; font-weight: 700; }
.text-bg-primary, .bg-primary { color: var(--hark-white) !important; background: var(--hark-forest) !important; }
.text-bg-success, .bg-success { color: var(--hark-ink) !important; background: var(--hark-lime) !important; }
.alert {
    padding: 15px 17px;
    border-width: 1px;
    border-radius: 14px;
    box-shadow: none !important;
}
.alert-info { border-color: #b9d1c6; color: var(--hark-forest-deep); background: #e8f2ed; }
.alert-success { border-color: #bfdc82; color: #294112; background: #edf8d7; }
.alert-warning { border-color: #ead19d; color: #6a4300; background: #fff5db; }
.alert-danger { border-color: #ebbbb4; color: #7e2117; background: #fff0ed; }
.saas-upsell-banner {
    display: flex;
    min-height: 56px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 14px;
    padding: 10px 14px 10px 16px;
    border: 1px solid rgba(15,67,47,.12);
    border-radius: 16px;
    color: var(--hark-ink);
    background: rgba(232,242,237,.82);
    box-shadow: none;
}
.saas-upsell-banner__main {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 12px;
}
.saas-upsell-banner__icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 50%;
    color: var(--hark-forest);
    background: rgba(200,255,50,.52);
}
.saas-upsell-banner__copy {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    font-size: .86rem;
    line-height: 1.35;
}
.saas-upsell-banner__copy strong {
    color: var(--hark-forest-deep);
    font-weight: 800;
}
.saas-upsell-banner__copy span {
    color: var(--hark-ink-soft);
}
.saas-upsell-banner__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}
.saas-upsell-banner__primary {
    min-height: 36px;
    padding-inline: 15px;
    white-space: nowrap;
}
.saas-upsell-banner__link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--hark-ink-soft);
    font-size: .8rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.saas-upsell-banner__link:hover {
    color: var(--hark-forest);
    background: rgba(15,67,47,.07);
}
.saas-upsell-banner.is-contextual{min-height:0;padding:10px 12px;border-radius:14px;box-shadow:none}.saas-upsell-banner.is-contextual .saas-upsell-banner__icon{width:34px;height:34px;flex-basis:34px}.saas-upsell-banner.is-contextual .saas-upsell-banner__copy strong{font-size:.82rem}.saas-upsell-banner.is-contextual .saas-upsell-banner__copy span{font-size:.76rem;line-height:1.35}.saas-upsell-banner.is-contextual .saas-upsell-banner__actions{gap:8px}.saas-upsell-banner.is-contextual .btn{min-height:34px;padding:.35rem .7rem;font-size:.76rem}
.saas-upsell-banner.is-sandbox{position:fixed;right:18px;bottom:18px;left:18px;z-index:1050;max-width:1180px;min-height:0;margin:0 auto;padding:12px 14px;border:1px solid rgba(200,255,50,.5);border-radius:18px;background:rgba(15,67,47,.97);color:#fff;box-shadow:0 18px 55px rgba(10,50,36,.32);backdrop-filter:blur(14px)}.saas-upsell-banner.is-sandbox .saas-upsell-banner__icon{width:38px;height:38px;flex-basis:38px;background:var(--hark-lime);color:var(--hark-forest)}.saas-upsell-banner.is-sandbox .saas-upsell-banner__copy strong{color:#fff;font-size:.88rem}.saas-upsell-banner.is-sandbox .saas-upsell-banner__copy span{color:rgba(255,255,255,.76);font-size:.76rem;line-height:1.35}.saas-upsell-banner.is-sandbox .saas-upsell-banner__primary{border-color:var(--hark-lime);background:var(--hark-lime);color:var(--hark-forest)}.saas-upsell-banner.is-sandbox .saas-upsell-banner__link{color:#fff}.saas-upsell-banner.is-sandbox .saas-upsell-banner__link:hover{color:var(--hark-lime);background:rgba(255,255,255,.1)}
.cms-navbar-ai-status{position:relative;display:flex;min-width:44px;min-height:40px;align-items:center;gap:8px;margin-right:5px;padding:5px 9px;border:1px solid rgba(15,67,47,.14);border-radius:14px;background:rgba(15,67,47,.055);color:var(--hark-forest);text-decoration:none}.cms-navbar-ai-status:hover{color:var(--hark-forest);background:rgba(15,67,47,.1)}.cms-navbar-ai-status__icon{width:27px;height:27px;display:grid;place-items:center;flex:none;border-radius:9px;background:var(--hark-forest);color:var(--hark-lime);font-size:.72rem}.cms-navbar-ai-status__copy{line-height:1.05}.cms-navbar-ai-status__copy strong{font-size:.68rem;letter-spacing:.04em}.cms-navbar-ai-status__copy small{max-width:120px;margin-top:3px;overflow:hidden;color:var(--hark-ink-soft);font-size:.62rem;text-overflow:ellipsis;white-space:nowrap}.cms-navbar-ai-status__count{position:absolute;right:-4px;top:-5px;min-width:17px;height:17px;display:grid;place-items:center;border:2px solid var(--hark-paper);border-radius:999px;background:var(--hark-coral);color:#fff;font-size:.58rem;font-weight:800}.cms-navbar-ai-status__progress{position:absolute;right:8px;bottom:3px;left:44px;height:2px;overflow:hidden;border-radius:999px;background:rgba(15,67,47,.12)}.cms-navbar-ai-status__progress i{display:block;height:100%;border-radius:inherit;background:var(--hark-lime)}.cms-navbar-ai-status.is-running{border-color:rgba(15,67,47,.3);background:rgba(200,255,50,.16)}.cms-navbar-ai-status.is-pending .cms-navbar-ai-status__icon{color:#fff;background:#a66a00}
.modal-content {
    overflow: hidden;
    border: 1px solid var(--hark-line);
    border-radius: 22px;
    background: var(--hark-paper);
    box-shadow: var(--hark-shadow);
}
.modal-backdrop {
    --bs-backdrop-zindex: 2147483000;
    z-index: 2147483000 !important;
}
.modal {
    --bs-modal-zindex: 2147483010;
    z-index: 2147483010 !important;
}
.modal .modal-dialog {
    position: relative;
    z-index: 1;
}
.modal-header, .modal-footer { padding: 18px 20px; border-color: var(--hark-line); }
.modal-body { padding: 20px; }
.offcanvas, .popover {
    border-color: var(--hark-line);
    color: var(--hark-ink);
    background: var(--hark-paper);
}
.toast {
    overflow: hidden;
    border: 1px solid var(--hark-line);
    border-radius: 14px;
    background: var(--hark-paper);
    box-shadow: var(--hark-shadow);
}
.list-group { border-radius: 14px; }
.list-group-item {
    padding: 13px 15px;
    border-color: var(--hark-line);
    color: var(--hark-ink);
    background: var(--hark-paper);
}
.list-group-item-action:hover { color: var(--hark-forest); background: rgba(15,67,47,.055); }
.list-group-item.active { border-color: var(--hark-forest); color: #fff; background: var(--hark-forest); }
.accordion-item {
    overflow: hidden;
    border-color: var(--hark-line);
    color: var(--hark-ink);
    background: var(--hark-paper);
}
.accordion-button { color: var(--hark-ink); background: var(--hark-paper); box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--hark-forest); background: rgba(15,67,47,.065); }
.accordion-button:focus { border-color: var(--hark-forest); box-shadow: 0 0 0 3px rgba(15,67,47,.1) !important; }
.nav-tabs { gap: 4px; border-color: var(--hark-line); }
.nav-tabs .nav-link {
    border: 0;
    border-radius: 999px;
    color: var(--hark-muted);
    font-weight: 700;
}
.nav-tabs .nav-link:hover { color: var(--hark-forest); background: rgba(15,67,47,.06); }
.nav-tabs .nav-link.active { color: var(--hark-ink); background: var(--hark-lime); }
.nav-pills .nav-link { border-radius: 999px; color: var(--hark-ink-soft); font-weight: 700; }
.nav-pills .nav-link.active { color: var(--hark-ink); background: var(--hark-lime); }
.pagination { gap: 5px; }
.page-link {
    min-width: 38px;
    border: 1px solid var(--hark-line);
    border-radius: 999px !important;
    color: var(--hark-ink);
    background: var(--hark-paper);
    text-align: center;
}
.active > .page-link, .page-link.active { border-color: var(--hark-forest); color: var(--hark-white); background: var(--hark-forest); }
.progress, .analytics-progress { overflow: hidden; border-radius: 99px; background: #dedbd2; }
.progress-bar, .analytics-fill { background: var(--hark-forest) !important; }
.analytics-progress--success .analytics-fill { background: var(--hark-lime) !important; }
.analytics-progress--warning .analytics-fill { background: #f0a638 !important; }
.analytics-progress--danger .analytics-fill { background: var(--hark-coral) !important; }

/* Rails and dashboard */
.hc-ct-hub-rail,
.growth-suite-rail {
    top: var(--hc-subrail-top) !important;
    padding: 14px !important;
    border: 1px solid rgba(15, 67, 47, .12) !important;
    border-radius: 8px !important;
    background: rgba(255,253,248,.92) !important;
    box-shadow: 0 18px 42px rgba(15, 67, 47, .08) !important;
}
.hc-ct-hub-shell {
    display: grid;
    grid-template-columns: var(--hc-rail-width) minmax(0, 1fr);
    gap: var(--hc-rail-gap);
    align-items: start;
    margin-top: 0;
    margin-left: 0;
}
.hc-plugin-suite-layout {
    display: grid;
    grid-template-columns: var(--hc-rail-width) minmax(0, 1fr);
    gap: var(--hc-rail-gap);
    align-items: start;
    margin-top: 0;
    margin-left: 0;
}
.hc-ct-hub-main {
    min-width: 0;
    padding-top: 0;
    padding-right: 0;
}
.hc-plugin-suite-main {
    min-width: 0;
    padding-top: 0;
}
.has-left-rail > .hc-admin-content-hero,
.has-left-rail > .hc-plugin-suite-header,
.has-left-rail > .growth-suite-hero,
.has-left-rail > .hc-admin-page-hub > .hc-plugin-hero {
    margin-left: 0;
}
.has-left-rail > .hc-admin-content-hero .hc-tool-header,
.has-left-rail > .hc-plugin-suite-header .hc-plugin-hero,
.has-left-rail > .growth-suite-hero,
.has-left-rail > .hc-admin-page-hub > .hc-plugin-hero {
    min-height: 128px;
}
.hc-machine-intro {
    background: rgba(255,253,248,.86) !important;
}
.hc-machine-intro-icon {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 12px;
    color: var(--hark-forest);
    background: var(--hark-lime);
}
.hc-ct-hub-rail-wrap {
    min-width: 0;
}
.hc-ct-mobile-menu-toggle,
.hc-ct-mobile-menu-button {
    display: none;
}
.hc-plugin-suite-rail-wrap {
    min-width: 0;
}
.hc-ct-hub-rail-wrap > .hc-ct-hub-rail,
.hc-plugin-suite-rail-wrap > .hc-plugin-suite-rail {
    top: var(--hc-subrail-top) !important;
    width: 100%;
    min-height: calc(100dvh - 152px);
    max-height: calc(100dvh - 144px);
    overflow: auto;
    margin: 0 !important;
    padding: 14px 10px !important;
    border: 1px solid rgba(15, 67, 47, .12) !important;
    border-radius: 8px !important;
    background: rgba(255,253,248,.94) !important;
    box-shadow: 0 18px 42px rgba(15, 67, 47, .08) !important;
}
.has-left-rail.has-saas-upsell .saas-upsell-banner {
    margin-top: 16px;
    margin-left: 0;
}
.has-left-rail.has-saas-upsell .hc-ct-hub-shell,
.has-left-rail.has-saas-upsell .hc-plugin-suite-layout {
    margin-top: 0;
}
.has-left-rail.has-saas-upsell .hc-ct-hub-main,
.has-left-rail.has-saas-upsell .hc-plugin-suite-main {
    padding-top: 0;
}
.hc-ct-hub-rail .nav-link,
.growth-suite-rail .nav-link,
#account-hub-tabs .nav-link {
    min-height: 38px;
    padding: 9px 11px !important;
    border-radius: 8px !important;
    color: var(--hark-ink-soft) !important;
    font-weight: 750 !important;
}
.hc-ct-hub-rail .nav-link:hover,
.growth-suite-rail .nav-link:hover,
#account-hub-tabs .nav-link:hover { color: var(--hark-forest) !important; background: rgba(15,67,47,.08) !important; }
.hc-ct-hub-rail .nav-link.active,
.growth-suite-rail .nav-link.active,
#account-hub-tabs .nav-link.active { color: var(--hark-ink) !important; background: var(--hark-lime) !important; box-shadow: none !important; }
#account-hub-tabs {
    float: left;
    flex-direction: column;
    width: var(--hc-rail-width);
    min-height: calc(100dvh - 152px);
    margin: 0 var(--hc-rail-gap) 16px 0 !important;
    padding: 14px 10px !important;
    border: 1px solid rgba(15, 67, 47, .12) !important;
    border-radius: 8px !important;
    background: rgba(255,253,248,.94) !important;
    box-shadow: 0 18px 42px rgba(15, 67, 47, .08) !important;
}
#account-hub-tabs::before {
    display: block;
    margin: 0 8px 14px;
    color: var(--hark-muted);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    content: "Navigatie";
}
#account-hub-tabs .nav-item {
    width: 100%;
}
#account-hub-tabs .nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 8px;
    border: 0 !important;
    background: transparent;
    font-weight: 700;
    line-height: 1.2;
}
#account-hub-tabs .nav-link i {
    width: 16px;
    min-width: 16px;
    margin-right: 0 !important;
    color: var(--hark-muted);
    text-align: center;
}
#account-hub-tabs .nav-link.active i {
    color: var(--hark-forest);
}
#account-hub-tabs + .row,
#account-hub-tabs + .account-subpage-anchor {
    min-width: 0;
    margin-left: calc(var(--hc-rail-width) + var(--hc-rail-gap));
    padding-top: 0;
}
#account-hub-tabs + .account-subpage-anchor {
    display: block;
}
.hc-ct-hub-rail .nav-link,
.growth-suite-rail .nav-link {
    min-width: 0;
    gap: 8px;
    line-height: 1.2;
}
.hc-ct-hub-rail .nav-link i,
.growth-suite-rail .nav-link i {
    width: 16px;
    min-width: 16px;
    margin-right: 0 !important;
    color: var(--hark-muted);
    text-align: center;
}
.hc-ct-hub-rail .nav-link.active i,
.growth-suite-rail .nav-link.active i {
    color: var(--hark-forest);
}
.hc-ct-hub-rail .nav-link span,
.growth-suite-rail .nav-link span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.hc-ct-rail-label, .growth-suite-rail-label {
    color: var(--hark-muted) !important;
    font-size: .66rem !important;
    letter-spacing: .08em;
}
.hc-ct-rail-section-label {
    margin: 12px 8px 4px;
    color: var(--hark-muted);
    font-size: .62rem;
    font-weight: 850;
    letter-spacing: .08em;
    line-height: 1.15;
    text-transform: uppercase;
}
.hc-ct-rail-label + .nav .hc-ct-rail-section-label:first-child {
    margin-top: 4px;
}
.hc-ct-rail-section-label--sub {
    margin-top: 8px;
    font-size: .6rem;
    opacity: .82;
}
@media (min-width: 768px) {
    body.has-admin-left-rail .has-left-rail .hc-ct-hub-shell,
    body.has-admin-left-rail .has-left-rail .hc-plugin-suite-layout,
    body.has-admin-left-rail .hc-ct-page-container .hc-ct-hub-shell,
    body.has-admin-left-rail .hc-plugin-suite-layout {
        display: block;
        grid-template-columns: none;
        gap: 0;
        margin-top: 0;
        margin-left: 0;
    }
    body.has-admin-left-rail .has-left-rail .hc-ct-hub-main,
    body.has-admin-left-rail .has-left-rail .hc-plugin-suite-main,
    body.has-admin-left-rail .has-left-rail .hc-admin-page-hub-body,
    body.has-admin-left-rail .hc-ct-page-container .hc-ct-hub-main,
    body.has-admin-left-rail .hc-plugin-suite-main {
        min-width: 0;
        padding-top: 0;
    }
    body.has-admin-left-rail .has-left-rail .hc-ct-hub-rail-wrap,
    body.has-admin-left-rail .has-left-rail .hc-plugin-suite-rail-wrap,
    body.has-admin-left-rail .hc-ct-page-container .hc-ct-hub-rail-wrap,
    body.has-admin-left-rail .hc-plugin-suite-rail-wrap {
        position: fixed;
        top: var(--hc-subrail-top);
        bottom: 0;
        left: 0;
        z-index: 1020;
        width: var(--hc-rail-width);
        min-width: var(--hc-rail-width);
        margin: 0 !important;
        padding: 14px 0 18px;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border-right: 1px solid rgba(15, 67, 47, .12);
        background: rgba(255, 253, 248, .97);
        box-shadow: 10px 0 28px rgba(15, 67, 47, .045);
    }
    body.has-admin-left-rail .has-left-rail .hc-ct-hub-rail-wrap > .hc-ct-hub-rail,
    body.has-admin-left-rail .has-left-rail .hc-plugin-suite-rail-wrap > .hc-plugin-suite-rail,
    body.has-admin-left-rail .hc-ct-page-container .hc-ct-hub-rail-wrap > .hc-ct-hub-rail,
    body.has-admin-left-rail .hc-plugin-suite-rail-wrap > .hc-plugin-suite-rail {
        position: static !important;
        top: auto !important;
        width: 100%;
        min-height: 0;
        max-height: none;
        margin: 0 !important;
        padding: 0 8px 0 10px !important;
        overflow: visible;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    body.has-admin-left-rail .has-left-rail #account-hub-tabs,
    body.has-admin-left-rail #account-hub-tabs {
        position: fixed;
        top: var(--hc-subrail-top);
        bottom: 0;
        left: 0;
        z-index: 1020;
        float: none;
        flex-direction: column;
        width: var(--hc-rail-width);
        min-height: 0;
        max-height: calc(100dvh - var(--hc-subrail-top));
        margin: 0 !important;
        padding: 14px 8px 18px 10px !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        border: 0 !important;
        border-right: 1px solid rgba(15, 67, 47, .12) !important;
        border-radius: 0 !important;
        background: rgba(255, 253, 248, .97) !important;
        box-shadow: 10px 0 28px rgba(15, 67, 47, .045) !important;
    }
    body.has-admin-left-rail .has-left-rail #account-hub-tabs + .row,
    body.has-admin-left-rail .has-left-rail #account-hub-tabs + .account-subpage-anchor,
    body.has-admin-left-rail #account-hub-tabs + .row,
    body.has-admin-left-rail #account-hub-tabs + .account-subpage-anchor {
        margin-left: 0;
    }
    body.has-admin-left-rail:not(.builder-fullscreen) .app-content > .container-fluid.has-left-rail {
        min-height: calc(100dvh - var(--hc-subrail-top) - 48px);
    }
}
@media (max-width: 767.98px) {
    .app-content > .container-fluid.has-left-rail {
        width: min(100%, 1600px);
        margin: 0 auto;
        padding: 20px clamp(14px, 3vw, 28px) 0 !important;
    }
    .app-content > .container-fluid.has-left-rail::before {
        display: none;
    }
    .has-left-rail.has-saas-upsell .saas-upsell-banner {
        margin-top: 0;
        margin-left: 0;
    }
    .saas-upsell-banner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 13px;
    }
    .saas-upsell-banner__actions {
        width: 100%;
        flex-wrap: wrap;
    }
    .saas-upsell-banner__primary {
        flex: 1 1 160px;
        justify-content: center;
    }
    .saas-upsell-banner.is-sandbox{right:8px;bottom:8px;left:8px;gap:8px;padding:10px 11px;border-radius:15px}.saas-upsell-banner.is-sandbox .saas-upsell-banner__icon{display:none}.saas-upsell-banner.is-sandbox .saas-upsell-banner__copy span{font-size:.7rem}.saas-upsell-banner.is-sandbox .saas-upsell-banner__actions{flex-wrap:nowrap}.saas-upsell-banner.is-sandbox .saas-upsell-banner__primary{min-height:36px;flex:1 1 auto;font-size:.75rem}.saas-upsell-banner.is-sandbox .saas-upsell-banner__link{padding:0 6px;font-size:.72rem}
    .has-left-rail.has-saas-upsell .hc-ct-hub-shell,
    .has-left-rail.has-saas-upsell .hc-plugin-suite-layout {
        margin-top: 0;
    }
    .has-left-rail.has-saas-upsell .hc-ct-hub-main,
    .has-left-rail.has-saas-upsell .hc-plugin-suite-main {
        padding-top: 0;
    }
    .has-left-rail > .hc-admin-content-hero,
    .has-left-rail > .hc-plugin-suite-header,
    .has-left-rail > .growth-suite-hero,
    .has-left-rail > .hc-admin-page-hub > .hc-plugin-hero {
        margin-left: 0;
    }
    .hc-ct-hub-shell,
    .hc-plugin-suite-layout {
        display: block;
        margin-top: 0;
        margin-left: 0;
    }
    .hc-ct-hub-main,
    .hc-plugin-suite-main { padding-top: 0; }
    .hc-ct-hub-rail-wrap {
        width: 100% !important;
        max-width: none !important;
        margin-bottom: 16px;
    }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger {
        width: 100% !important;
        max-width: none !important;
    }
    .hc-ct-mobile-menu-button {
        display: flex;
        width: 100% !important;
        max-width: none !important;
        box-sizing: border-box;
        min-height: 62px;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 11px 14px;
        border: 1px solid rgba(15, 67, 47, .14);
        border-radius: 12px;
        color: var(--hark-ink);
        background: rgba(255,253,248,.97);
        box-shadow: 0 10px 28px rgba(15,67,47,.08);
        cursor: pointer;
    }
    .hc-ct-mobile-menu-kicker {
        display: block;
        margin-bottom: 2px;
        color: var(--hark-muted);
        font-size: .62rem;
        font-weight: 850;
        letter-spacing: .09em;
        text-transform: uppercase;
    }
    .hc-ct-mobile-menu-button strong {
        display: block;
        font-size: .96rem;
    }
    .hc-ct-mobile-menu-action {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--hark-forest);
        font-size: .75rem;
        font-weight: 800;
    }
    .hc-ct-mobile-menu-close { display: none; }
    .hc-ct-mobile-menu-toggle:focus-visible + .hc-ct-mobile-menu-button {
        outline: 3px solid rgba(178,255,26,.55);
        outline-offset: 2px;
    }
    .hc-ct-mobile-menu-toggle:not(:checked) ~ .hc-ct-hub-rail {
        display: none !important;
    }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger:not(.is-mobile-open) > .hc-plugin-suite-rail {
        display: none !important;
    }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger.is-mobile-open > .hc-ct-mobile-menu-button {
        border-radius: 12px 12px 0 0;
        box-shadow: none;
    }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger.is-mobile-open > .hc-ct-mobile-menu-button .hc-ct-mobile-menu-open { display: none; }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger.is-mobile-open > .hc-ct-mobile-menu-button .hc-ct-mobile-menu-close { display: inline; }
    .hc-plugin-suite-rail-wrap.has-mobile-rail-trigger.is-mobile-open > .hc-ct-mobile-menu-button i { transform: rotate(180deg); }
    .hc-ct-mobile-menu-toggle:checked + .hc-ct-mobile-menu-button {
        border-radius: 12px 12px 0 0;
        box-shadow: none;
    }
    .hc-ct-mobile-menu-toggle:checked + .hc-ct-mobile-menu-button .hc-ct-mobile-menu-open { display: none; }
    .hc-ct-mobile-menu-toggle:checked + .hc-ct-mobile-menu-button .hc-ct-mobile-menu-close { display: inline; }
    .hc-ct-mobile-menu-toggle:checked + .hc-ct-mobile-menu-button i { transform: rotate(180deg); }
    .hc-ct-hub-rail-wrap > .hc-ct-hub-rail,
    .hc-plugin-suite-rail-wrap > .hc-plugin-suite-rail {
        position: static !important;
        width: auto;
        min-height: 0;
        max-height: none;
        margin-bottom: 0 !important;
        border: 1px solid rgba(15, 67, 47, .12) !important;
        border-radius: 0 0 12px 12px !important;
        background: rgba(255,253,248,.94) !important;
    }
    #account-hub-tabs {
        float: none;
        flex-direction: row;
        width: 100% !important;
        max-width: none !important;
        min-height: 0;
        margin: 0 0 16px !important;
        padding: 12px !important;
        border: 1px solid rgba(15, 67, 47, .12) !important;
        border-radius: 8px !important;
        background: rgba(255,253,248,.94) !important;
    }
    #account-hub-tabs::before {
        width: 100%;
        margin: 0 0 8px;
    }
    #account-hub-tabs .nav-item {
        width: auto;
    }
    #account-hub-tabs + .row,
    #account-hub-tabs + .account-subpage-anchor {
        margin-left: 0;
    }
}

.hb-wrap {
    overflow: hidden;
    border: 1px solid var(--hark-line);
    border-radius: 8px;
    background: var(--hark-paper);
}
.hb-top {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--hark-line);
    background: rgba(255,253,248,.96);
}
.hb-top .btn {
    border-radius: 999px;
    font-weight: 800;
}
.hb-status {
    margin-left: auto;
    color: var(--hark-muted);
    font-size: .85rem;
    font-weight: 700;
}
.hb-canvas {
    position: relative;
    min-height: 680px;
    max-height: 72vh;
    overflow: auto;
    background:
        linear-gradient(rgba(15,67,47,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,67,47,.05) 1px, transparent 1px),
        #fbf9f3;
    background-size: 32px 32px;
}
.hb-lines {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: visible;
    min-width: 100%;
    min-height: 100%;
}
.hb-lines path {
    pointer-events: stroke;
}
.hb-node {
    position: absolute;
    z-index: 2;
    width: 280px;
    min-height: 118px;
    overflow: hidden;
    border: 1px solid rgba(15,67,47,.2);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(23,34,29,.08);
    cursor: grab;
    user-select: none;
}
.hb-node.sel {
    border-color: var(--hark-forest);
    box-shadow: 0 0 0 3px rgba(15,67,47,.12), 0 14px 34px rgba(23,34,29,.1);
}
.hb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(15,67,47,.1);
    color: var(--hark-forest-deep);
    font-weight: 900;
}
.hb-body {
    padding: 12px;
    color: var(--hark-ink-soft);
    font-size: .9rem;
    line-height: 1.4;
}
.hb-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid rgba(15,67,47,.16);
    border-radius: 8px;
    color: var(--hark-forest);
    background: #fff;
}
.hb-ctx {
    position: fixed;
    z-index: 1080;
    display: none;
    min-width: 180px;
    padding: 6px;
    border: 1px solid var(--hark-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(23,34,29,.16);
}
.hb-ctx .ctx-btn {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    color: var(--hark-ink);
    background: transparent;
    text-align: left;
    font-weight: 700;
}
.hb-ctx .ctx-btn:hover {
    background: rgba(15,67,47,.07);
}
.hb-help-summary {
    cursor: pointer;
}
@media (max-width: 767.98px) {
    .hb-canvas {
        max-height: none;
    }
    .hb-status {
        flex-basis: 100%;
        margin-left: 0;
    }
}
.small-box {
    overflow: hidden;
    border: 0;
    border-radius: var(--hark-radius);
    color: var(--hark-white);
    background: var(--hark-forest) !important;
    box-shadow: none;
}
.info-box {
    border: 1px solid var(--hark-line);
    border-radius: var(--hark-radius);
    background: var(--hark-paper);
    box-shadow: none;
}
.info-box-icon { border-radius: 14px !important; color: var(--hark-forest); background: rgba(15,67,47,.09) !important; }

/* Uniformiseer legacy adminmodules die nog Bootstrap-kleurutilities gebruiken. */
.app-main .wf-saas .card,
.app-main [class*="dashboard"] .card,
.app-main [class*="platform"] .card {
    border-color: var(--hark-line) !important;
    background: var(--hark-paper) !important;
    box-shadow: none !important;
}
.app-main .wf-saas .card-header,
.app-main [class*="dashboard"] .card-header {
    border-color: var(--hark-line) !important;
    background: transparent !important;
}
.app-main .wf-saas .btn-primary,
.app-main .wf-saas .btn-success,
.app-main .wf-saas .nav-link.active,
.app-main .wf-saas .list-group-item.active {
    border-color: var(--hark-lime) !important;
    color: var(--hark-ink) !important;
    background: var(--hark-lime) !important;
}
.app-main .wf-saas .form-control,
.app-main .wf-saas .form-select { border-color: #cbc7be; border-radius: 12px; }
.app-main .wf-saas-topnav {
    overflow: hidden;
    padding: 5px;
    border: 1px solid var(--hark-line) !important;
    border-radius: 999px !important;
    background: var(--hark-paper) !important;
}
.app-main .wf-saas-topnav .nav-link { border: 0 !important; border-radius: 999px !important; }
.app-main .timeline::before { background: var(--hark-line); }
.app-main .timeline > div > .timeline-item {
    border: 1px solid var(--hark-line);
    border-radius: 14px;
    background: var(--hark-paper);
    box-shadow: none;
}
.app-main .timeline > div > i { color: var(--hark-lime); background: var(--hark-forest) !important; }
.app-main .callout {
    border: 1px solid var(--hark-line);
    border-left: 5px solid var(--hark-forest);
    border-radius: 12px;
    background: var(--hark-paper);
}
.app-main .callout.callout-warning { border-left-color: #e7a52d; }
.app-main .callout.callout-danger { border-left-color: var(--hark-danger); }
.app-main .callout.callout-success { border-left-color: #75a822; }
.app-main code {
    padding: .16em .38em;
    border-radius: 6px;
    color: var(--hark-forest-deep);
    background: rgba(15,67,47,.075);
}
.app-main pre {
    padding: 16px;
    border-radius: 14px;
    color: #e9f5ef;
    background: var(--hark-forest-deep);
}
.app-main .ct-install-code code {
    padding: 0;
    color: #e5f2ff;
    background: transparent;
}
.app-main .text-white,
.app-main .text-white h1,
.app-main .text-white h2,
.app-main .text-white h3,
.app-main .text-white h4,
.app-main .text-white h5,
.app-main .text-white h6,
.app-main .bg-primary,
.app-main .bg-primary h1,
.app-main .bg-primary h2,
.app-main .bg-primary h3,
.app-main .bg-primary h4,
.app-main .bg-dark,
.app-main .bg-dark h1,
.app-main .bg-dark h2,
.app-main .bg-dark h3,
.app-main .bg-dark h4 { color: #fff !important; }
.app-main .text-white .text-body-secondary,
.app-main .bg-primary .text-body-secondary,
.app-main .bg-dark .text-body-secondary { color: rgba(255,255,255,.7) !important; }

/* Utility/behavior retained by the platform */
.cms-admin-minw-220 { min-width: 220px; }
.cms-admin-progress-max-420 { max-width: 420px; }
.cms-table-pagination-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cms-table-pagination-meta { color: var(--hark-muted); font-size: .8rem; }
.cms-table-pagination-list { margin-bottom: 0; }
.cms-save-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 2000;
    min-width: 240px;
    max-width: min(92vw, 440px);
    padding: 13px 16px;
    border-radius: 14px;
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: var(--hark-shadow);
    font-weight: 700;
}
.cms-save-toast.is-visible { opacity: 1; transform: none; }
.cms-save-toast.is-success { color: var(--hark-ink); background: var(--hark-lime); }
.cms-save-toast.is-error { color: var(--hark-white); background: var(--hark-danger); }
.cms-btn-loading { position: relative; opacity: .72; pointer-events: none; }
.cms-btn-loading::after {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 8px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: cms-spin .7s linear infinite;
    content: "";
}
@keyframes cms-spin { to { transform: rotate(360deg); } }
.js-app-market-grid .js-app-market-card,
.js-app-market-grid .js-app-market-card .d-flex { min-width: 0; }
.js-app-market-grid .js-app-market-card > .border { overflow: hidden; }
.js-app-market-grid .fw-semibold,
.js-app-market-grid .small { overflow-wrap: anywhere; }

/* Builder remains a deliberate fullscreen workspace */
body.builder-fullscreen { margin: 0 !important; padding: 0 !important; }
body.builder-fullscreen .app-header,
body.builder-fullscreen .app-sidebar,
body.builder-fullscreen .app-footer,
body.builder-fullscreen .app-content-header { display: none !important; }
body.builder-fullscreen .app-wrapper,
body.builder-fullscreen .app-main { min-height: 100vh; margin: 0 !important; padding: 0 !important; }
body.builder-fullscreen .app-content,
body.builder-fullscreen .app-content > .container-fluid { max-width: none !important; margin: 0 !important; padding: 0 !important; }

@media (max-width: 1199.98px) {
    body.cms-topnav-layout:not(:has(.cms-admin-menubar.is-open)) {
        --hc-subrail-top: var(--hc-admin-header-height);
    }
    body.cms-topnav-layout .cms-admin-menubar {
        display: none;
        max-height: calc(100dvh - 64px);
        overflow-x: hidden;
        overflow-y: auto;
    }
    body.cms-topnav-layout .cms-admin-menubar.is-open { display: block; }
    body.cms-topnav-layout .cms-admin-menubar-list {
        display: none !important;
        width: 100%;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 3px;
        padding: 8px 0;
        overflow: visible;
    }
    body.cms-topnav-layout .cms-admin-menubar.is-open .cms-admin-menubar-list { display: flex !important; }
    body.cms-topnav-layout .cms-admin-menubar-item { width: 100%; }
    body.cms-topnav-layout .cms-admin-menubar-link {
        width: 100%;
        justify-content: space-between;
        border-radius: 10px;
    }
    body.cms-topnav-layout .cms-admin-menubar-item .dropdown-menu {
        position: static !important;
        inset: auto !important;
        transform: none !important;
        width: 100%;
        min-width: 0;
        max-width: none;
        margin: 3px 0;
        border-color: rgba(255,255,255,.12);
        background: rgba(255,255,255,.96);
        box-shadow: none;
    }
    .app-header .nav-item.dropdown:has(.cms-user-menu) { position: static; }
    .app-header .cms-user-menu {
        position: fixed !important;
        top: max(58px, env(safe-area-inset-top)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: auto !important;
        left: auto !important;
        inset: max(58px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) auto auto !important;
        transform: none !important;
        width: min(320px, calc(100vw - 20px)) !important;
        min-width: 0 !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 74px);
        overflow-x: hidden;
        overflow-y: auto;
        margin: 0 !important;
        padding: 8px;
        overscroll-behavior: contain;
        z-index: 1085;
    }
    .app-header .cms-user-menu .dropdown-item {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 10px;
        white-space: normal;
    }
    .app-header .cms-user-menu .dropdown-item span,
    .app-header .cms-user-menu .dropdown-header {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
@media (max-width: 767.98px) {
    :root {
        --hc-admin-header-height: 64px;
    }
    .app-header.navbar, .app-header > .container-fluid { min-height: 64px; }
    .app-header > .container-fluid { padding: 8px 14px; }
    .app-content > .container-fluid { padding: 18px 14px 0 !important; }
    .app-content > .container-fluid.has-left-rail { padding: 18px 14px 0 !important; }
    .cms-hark-brand--mobile { justify-content: center; }
    .cms-hark-brand__mark { width: 32px; height: 32px; flex-basis: 32px; font-size: 15px; }
    .cms-hark-brand__name { font-size: 16px; }
    .cms-navbar-tools { gap: 1px; }
    .cms-navbar-tools .cms-navbar-help-link,
    .cms-navbar-tools .cms-navbar-account-link,
    .cms-navbar-tools .cms-navbar-ticket-link,
    .cms-navbar-tools .cms-navbar-mail-link,
    .cms-navbar-tools .cms-navbar-language-item { display: none !important; }
    .cms-navbar-tools .cms-navbar-fullscreen-item { display: none !important; }
    .cms-navbar-tool-btn { width: 36px; height: 36px; }
    .cms-navbar-user-trigger { min-height: 38px; padding: 2px !important; }
    .cms-navbar-user-avatar { width: 32px; height: 32px; }
    .cms-navbar-user-chevron { display: none; }
    .cms-admin-menubar .container-fluid { padding: 5px 14px !important; }
    .app-header .cms-user-menu .dropdown-item i { flex: 0 0 20px; }
    .app-header .cms-user-menu-language { padding: 2px 12px 8px; }
    .app-header .cms-user-menu-language .dropdown-header { padding: 6px 0; }
    .hc-tool-header, .hc-plugin-hero, .growth-suite-hero { padding: 21px !important; border-radius: 20px !important; }
    .hc-tool-header__icon { width: 42px; height: 42px; flex-basis: 42px; }
    .hc-hero-actions-desktop, .growth-suite-switcher { display: none !important; }
    .hc-hero-actions-mobile, .growth-suite-switcher-mobile { display: block; width: 100%; }
    .card-body { padding: 16px; }
    .table > :not(caption) > * > * { padding: 11px 10px; }
    .btn { min-height: 40px; }
    .cms-hark-footer { grid-template-columns: 1fr; gap: 13px; padding: 22px; }
    .cms-hark-footer__links { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/*
 * Backend workspace navigation
 * Eén WordPress-achtig zijmenu voor alle klant- en beheerpagina's. Modules mogen binnen
 * hun content tabs gebruiken, maar de hoofdroute en actieve context blijven hier zichtbaar.
 */
:root { --lte-sidebar-width: 196px; }

.cms-sidebar-clean {
    --cms-sidebar-active-bg: rgba(15, 67, 47, .085);
    --cms-sidebar-open-bg: rgba(15, 67, 47, .035);
    --cms-sidebar-hover-bg: rgba(15, 67, 47, .055);
    --cms-sidebar-child-active-bg: rgba(15, 67, 47, .075);
    border-right: 1px solid rgba(23, 34, 29, .09) !important;
    color: var(--hark-ink);
    background: #f9f7f1 !important;
    box-shadow: none !important;
}
.cms-sidebar-clean .sidebar-brand {
    display: none !important;
}
.cms-sidebar-mobile-head {
    display: none;
}
.cms-sidebar-clean .sidebar-wrapper {
    padding: 6px 5px 18px 0;
    background: #f9f7f1;
    scrollbar-color: rgba(15, 67, 47, .18) transparent;
    scrollbar-width: thin;
}
.cms-sidebar-search {
    position: relative;
    display: flex;
    align-items: center;
    margin: 2px 7px 7px 9px;
}
.cms-sidebar-search > .fa-magnifying-glass {
    position: absolute;
    left: 10px;
    z-index: 1;
    color: #7d8983;
    font-size: .7rem;
    pointer-events: none;
}
.cms-sidebar-search input {
    width: 100%;
    height: 32px;
    padding: 5px 30px 5px 29px;
    border: 1px solid rgba(23, 34, 29, .12);
    border-radius: 8px;
    outline: none;
    color: var(--hark-ink);
    background: rgba(255, 255, 255, .72);
    font-size: .69rem;
    font-weight: 620;
}
.cms-sidebar-search input::placeholder { color: #87928d; }
.cms-sidebar-search input:focus {
    border-color: rgba(15, 67, 47, .48);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 67, 47, .08);
}
.cms-sidebar-search-clear {
    position: absolute;
    right: 4px;
    display: grid;
    width: 25px;
    height: 25px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 6px;
    color: #6f7c76;
    background: transparent;
    font-size: .68rem;
}
.cms-sidebar-search-clear:hover { color: var(--hark-forest); background: rgba(15, 67, 47, .07); }
.cms-sidebar-search-empty {
    margin: 14px 12px;
    color: var(--hark-muted);
    font-size: .69rem;
    line-height: 1.4;
}
.cms-sidebar-filter-hidden { display: none !important; }
.cms-sidebar-clean.is-filtering .nav-section-body > .nav { margin-bottom: 8px; }
.cms-sidebar-clean .sidebar-menu { gap: 1px; }
.cms-sidebar-clean .nav-header {
    padding: 11px 8px 4px 13px !important;
    color: var(--hark-muted) !important;
    font-size: .59rem;
    letter-spacing: .12em;
}
.cms-sidebar-clean .sidebar-menu .nav-link {
    min-height: 31px;
    margin: 0;
    padding: 5px 7px 5px 12px !important;
    border-radius: 0 7px 7px 0;
    color: #4f5c56 !important;
    font-size: .74rem;
    font-weight: 680;
}
.cms-sidebar-clean .sidebar-menu .nav-link p { line-height: 1.28; }
.cms-sidebar-clean .sidebar-menu .nav-icon {
    width: 1.05rem;
    min-width: 1.05rem;
    margin-right: .36rem;
    color: #7d8983;
    font-size: .78rem;
}
.cms-sidebar-clean .sidebar-menu .nav-link:hover {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-hover-bg) !important;
}
.cms-sidebar-clean .sidebar-menu .nav-link:hover .nav-icon { color: var(--hark-forest); }
.cms-sidebar-clean .nav-section-toggle.active,
.cms-sidebar-clean .has-treeview > .nav-link.active,
.cms-sidebar-clean .sidebar-menu > .nav-item > .nav-link.active {
    color: var(--hark-forest) !important;
    background: var(--cms-sidebar-active-bg) !important;
    box-shadow: inset 2px 0 0 var(--hark-forest);
}
.cms-sidebar-clean .has-treeview > .nav-link.parent-active,
.cms-sidebar-clean .has-treeview.menu-open > .nav-link,
.cms-sidebar-clean .has-treeview.menu-open > .nav-link.parent-active {
    color: var(--hark-ink) !important;
    background: rgba(15, 67, 47, .06) !important;
    box-shadow: inset 2px 0 0 rgba(15, 67, 47, .28);
}
.cms-sidebar-clean .sidebar-menu .nav-link.active .nav-icon,
.cms-sidebar-clean .sidebar-menu .nav-link.parent-active .nav-icon { color: var(--hark-forest); }
.cms-sidebar-clean .nav-treeview {
    margin: 2px 0 5px 12px;
    padding: 2px 0 2px 6px;
    border-left: 1px solid rgba(15, 67, 47, .22);
}
.cms-sidebar-clean .nav-treeview .nav-link {
    min-height: 28px;
    padding: 4px 6px !important;
    border-radius: 0 7px 7px 0;
    color: #627069 !important;
    font-size: .69rem;
    font-weight: 620;
}
.cms-sidebar-clean .nav-treeview .nav-link.active {
    color: #fff !important;
    background: var(--hark-forest) !important;
    box-shadow: 0 2px 7px rgba(15, 67, 47, .18);
    font-weight: 760;
}
.cms-sidebar-clean .nav-treeview .nav-link.active .nav-icon { color: #fff; }
.cms-sidebar-clean .nav-treeview .nav-link[aria-current="page"]::after,
.cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link[aria-current="page"]::after {
    width: 5px;
    height: 5px;
    margin-left: auto;
    border-radius: 50%;
    background: currentColor;
    content: "";
    opacity: .9;
}
.cms-sidebar-clean .nav-arrow { color: #89948f; }
.cms-sidebar-clean .badge.text-bg-danger { color: var(--hark-ink) !important; background: var(--hark-lime) !important; }
.cms-sidebar-clean .nav-cluster-label {
    margin: 13px 7px 4px 12px;
    padding-top: 7px;
    border-top: 1px solid rgba(23, 34, 29, .08);
    color: var(--hark-forest);
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .12em;
}
.cms-sidebar-clean .sidebar-menu > .nav-cluster-label:first-child {
    margin-top: 2px;
    padding-top: 0;
    border-top: 0;
}
.cms-sidebar-clean .nav-section-header > .nav-section-toggle {
    min-height: 35px;
    color: var(--hark-forest) !important;
    font-weight: 820;
}
.cms-sidebar-clean .nav-section-header > .nav-section-toggle.active {
    background: rgba(15, 67, 47, .1) !important;
    box-shadow: inset 3px 0 0 var(--hark-forest);
}
.cms-sidebar-clean .sidebar-menu > .nav-item:not(.nav-section-header) > .nav-section-toggle[aria-current="page"] {
    color: #fff !important;
    background: var(--hark-forest) !important;
    box-shadow: 0 2px 7px rgba(15, 67, 47, .18);
}
.cms-sidebar-clean .sidebar-menu > .nav-item:not(.nav-section-header) > .nav-section-toggle[aria-current="page"] .nav-icon {
    color: #fff;
}
.cms-sidebar-clean .nav-section-body > .nav {
    margin: 1px 0 5px 12px;
    padding: 1px 0 2px 6px;
    border-left: 1px solid rgba(15, 67, 47, .18);
}
.cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link {
    min-height: 28px;
    padding: 4px 6px !important;
    border-radius: 0 6px 6px 0;
    font-size: .69rem;
    font-weight: 620;
}
.cms-sidebar-clean .nav-section-body > .nav > .nav-item.has-treeview > .nav-link {
    min-height: 31px;
    color: #46534d !important;
    font-size: .72rem;
    font-weight: 720;
}
.cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link[aria-current="page"] {
    color: #fff !important;
    background: var(--hark-forest) !important;
    box-shadow: 0 2px 7px rgba(15, 67, 47, .18);
    font-weight: 760;
}
.cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link[aria-current="page"] .nav-icon {
    color: #fff;
}
.cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link .nav-icon {
    width: .92rem;
    min-width: .92rem;
    margin-right: .3rem;
    font-size: .67rem;
}
.cms-sidebar-clean .nav-section-body .nav-treeview {
    margin-left: 9px;
    border-left-style: dashed;
}

body:not(.builder-fullscreen) .app-main { background: #f3f1ea; }
body:not(.builder-fullscreen) .app-content-header { background: #f3f1ea; }

@media (min-width: 992px) {
    body:not(.cms-topnav-layout):not(.builder-fullscreen) .app-wrapper {
        grid-template-areas:
            "lte-app-header lte-app-header"
            "lte-app-sidebar lte-app-main"
            "lte-app-sidebar lte-app-footer";
    }
    body:not(.cms-topnav-layout):not(.builder-fullscreen) .cms-sidebar-clean {
        top: var(--hc-admin-header-height) !important;
        max-height: calc(100vh - var(--hc-admin-header-height)) !important;
    }
    body:not(.cms-topnav-layout):not(.builder-fullscreen) .cms-sidebar-clean .sidebar-wrapper {
        height: calc(100vh - var(--hc-admin-header-height)) !important;
    }
    body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .app-content > .container-fluid.has-left-rail {
        width: min(100%, 1600px);
        margin: 0 auto;
        padding: 28px var(--hc-page-gutter) 0 !important;
    }
    body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-ct-hub-rail-wrap,
    body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-plugin-suite-rail-wrap,
    body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) #account-hub-tabs {
        display: none !important;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean:hover {
        min-width: 52px !important;
        max-width: 52px !important;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .sidebar-wrapper,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean:hover .sidebar-wrapper {
        padding-right: 4px;
        overflow-x: hidden;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-header,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-cluster-label,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-section-body,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .cms-sidebar-search,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .cms-sidebar-search-empty,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-treeview {
        display: none !important;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .sidebar-menu .nav-link,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean:hover .sidebar-menu .nav-link {
        width: 42px !important;
        min-height: 36px;
        justify-content: center;
        margin: 1px auto;
        padding: 7px !important;
        border-radius: 8px;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .sidebar-menu .nav-link p,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean:hover .sidebar-menu .nav-link p,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-arrow,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .nav-badge,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .badge {
        display: none !important;
        width: 0 !important;
        visibility: hidden !important;
    }
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean .sidebar-menu .nav-icon,
    body.sidebar-mini.sidebar-collapse:not(.builder-fullscreen) .cms-sidebar-clean:hover .sidebar-menu .nav-icon {
        width: 1rem;
        min-width: 1rem;
        margin: 0 !important;
        font-size: .82rem;
        text-align: center;
    }
}

@media (max-width: 991.98px) {
    :root { --lte-sidebar-width: min(272px, calc(100vw - 48px)); }
    body.sidebar-mini .cms-sidebar-clean,
    body.sidebar-mini.sidebar-collapse .cms-sidebar-clean,
    body.sidebar-mini.sidebar-collapse .cms-sidebar-clean:hover {
        min-width: var(--lte-sidebar-width) !important;
        max-width: var(--lte-sidebar-width) !important;
    }
    body.sidebar-open { overflow: hidden; }
    .cms-sidebar-clean {
        max-height: 100vh !important;
        max-height: 100dvh !important;
        box-shadow: 18px 0 55px rgba(8, 47, 34, .16) !important;
    }
    .cms-sidebar-mobile-head {
        display: flex;
        min-height: 52px;
        align-items: center;
        justify-content: space-between;
        padding: max(8px, env(safe-area-inset-top)) 10px 8px 14px;
        border-bottom: 1px solid rgba(15, 67, 47, .1);
        color: var(--hark-forest);
        background: #f9f7f1;
    }
    .cms-sidebar-mobile-head strong {
        font-size: .82rem;
        letter-spacing: .02em;
    }
    .cms-sidebar-mobile-close {
        display: inline-grid;
        width: 36px;
        height: 36px;
        place-items: center;
        padding: 0;
        border: 0;
        border-radius: 9px;
        color: var(--hark-forest);
        background: rgba(15, 67, 47, .07);
    }
    .cms-sidebar-clean .sidebar-wrapper {
        height: calc(100vh - 52px) !important;
        height: calc(100dvh - 52px - env(safe-area-inset-top)) !important;
        padding: 6px 7px calc(18px + env(safe-area-inset-bottom)) 0;
        overscroll-behavior: contain;
    }
    .cms-sidebar-clean .sidebar-menu .nav-link {
        min-height: 40px;
        padding: 8px 10px 8px 13px !important;
        font-size: .82rem;
    }
    .cms-sidebar-clean .nav-section-body > .nav > .nav-item > .nav-link,
    .cms-sidebar-clean .nav-treeview .nav-link {
        min-height: 38px;
        padding: 7px 8px !important;
        font-size: .77rem;
    }
    .sidebar-overlay {
        display: none !important;
        position: fixed !important;
        inset: 0 !important;
        height: 100dvh !important;
        pointer-events: none !important;
    }
    body.sidebar-open .sidebar-overlay {
        display: block !important;
        pointer-events: auto !important;
    }
}

/*
 * Gedeelde subnavigatie en tabs.
 * Hospitality is de visuele bron: horizontaal scrollbare witte pillen met een
 * donkergroene actieve pagina. Dit patroon vervangt verticale subrails en
 * afwijkende Bootstrap-tabstijlen in de volledige beheeromgeving.
 */
.hc-admin-page-hub-layout,
.hc-plugin-suite-layout--tabs,
.hc-ct-hub-shell {
    display: block !important;
    margin: 0 !important;
}
.hc-page-tabs-wrap,
.hc-plugin-suite-rail-wrap.hc-page-tabs-wrap,
.hc-ct-hub-rail-wrap.hc-page-tabs-wrap {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-plugin-suite-rail-wrap.hc-page-tabs-wrap,
body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-ct-hub-rail-wrap.hc-page-tabs-wrap {
    display: block !important;
    position: static !important;
}
.hc-page-tabs,
.hc-page-tabs.hc-ct-hub-rail,
.hc-page-tabs.hc-plugin-suite-rail {
    position: static !important;
    top: auto !important;
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.hc-page-tabs > .hc-ct-rail-label,
.hc-page-tabs > .growth-suite-rail-label { display: none !important; }
.hc-page-tabs > .nav,
#account-hub-tabs.hc-page-tabs-native,
.app-content .hgb-section-tabs {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center;
    gap: 8px !important;
    width: 100%;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 18px 2px 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}
.hc-page-tabs > .nav::-webkit-scrollbar,
#account-hub-tabs.hc-page-tabs-native::-webkit-scrollbar,
.app-content .hgb-section-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) #account-hub-tabs.hc-page-tabs-native {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    display: flex !important;
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    max-height: none !important;
}
.hc-page-tabs > .nav > li,
#account-hub-tabs.hc-page-tabs-native > .nav-item,
.app-content .hgb-section-tabs > .nav-item {
    width: auto !important;
    flex: 0 0 auto !important;
}
.hc-page-tabs .nav-link,
#account-hub-tabs.hc-page-tabs-native .nav-link,
.app-content .hgb-section-tabs .nav-link {
    display: block !important;
    min-height: 0 !important;
    padding: 10px 15px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #10231b !important;
    font-size: .94rem !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    border: 1px solid #d8e2dc !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.hc-page-tabs .nav-link:hover,
#account-hub-tabs.hc-page-tabs-native .nav-link:hover,
.app-content .hgb-section-tabs .nav-link:hover {
    color: #07533b !important;
    border-color: #8eaa9e !important;
    background: #f2f8ec !important;
}
.hc-page-tabs .nav-link.active,
#account-hub-tabs.hc-page-tabs-native .nav-link.active,
.app-content .hgb-section-tabs .nav-link.active {
    color: #fff !important;
    border-color: #07533b !important;
    background: #07533b !important;
}
.hc-page-tabs .nav-link.active i,
#account-hub-tabs.hc-page-tabs-native .nav-link.active i,
.app-content .hgb-section-tabs .nav-link.active i {
    color: currentColor !important;
}
.hc-page-tabs .nav-link i,
#account-hub-tabs.hc-page-tabs-native .nav-link i,
.app-content .hgb-section-tabs .nav-link i,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button) > i {
    display: none !important;
}

/* Inhoudstabs zijn een compact tweede niveau en blijven visueel ondergeschikt. */
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native),
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: center;
    gap: 6px !important;
    width: 100%;
    margin-top: 0 !important;
    padding: 0 0 10px !important;
    overflow: visible !important;
    border: 0 !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) > .nav-item,
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) > .nav-item {
    width: auto !important;
    flex: 0 0 auto !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link,
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) .nav-link {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px !important;
    padding: 7px 12px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #405149 !important;
    font-size: .84rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
    border: 1px solid #d8e2dc !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link:hover,
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) .nav-link:hover {
    color: #07533b !important;
    border-color: #8eaa9e !important;
    background: #f2f8ec !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link.active,
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) .nav-link.active {
    color: #fff !important;
    border-color: #07533b !important;
    background: #07533b !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link.active i,
.app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) .nav-link.active i {
    color: currentColor !important;
}

/* De horizontale tabrij vervangt op mobiel de oude uitklapbare zijrail. */
.hc-page-tabs-wrap > .hc-ct-mobile-menu-toggle,
.hc-page-tabs-wrap > .hc-ct-mobile-menu-button {
    display: none !important;
}
.hc-page-tabs-wrap.has-mobile-rail-trigger > .hc-page-tabs {
    display: block !important;
}
.hc-page-tabs-search {
    display: flex;
    width: min(100%, 420px);
    gap: 8px;
    margin: 14px 2px -8px;
}
.hc-page-tabs-search .form-control { border-radius: 999px; }
.hc-page-tabs-search .btn { border-radius: 999px; }
.hc-admin-page-hub-body,
.hc-plugin-suite-layout--tabs > .hc-plugin-suite-main,
.hc-ct-hub-shell > .hc-ct-hub-main {
    min-width: 0;
    width: 100%;
}
.hc-plugin-suite-layout--tabs .hc-plugin-suite-header,
.hc-ct-hub-shell > .hc-ct-hub-main > .hc-plugin-hero {
    margin-bottom: 0 !important;
}
@media (max-width: 767.98px) {
    .hc-page-tabs > .nav,
    #account-hub-tabs.hc-page-tabs-native,
    .app-content .hgb-section-tabs {
        scroll-snap-type: x proximity;
    }
    .hc-page-tabs > .nav > li,
    #account-hub-tabs.hc-page-tabs-native > .nav-item,
    .app-content .hgb-section-tabs > .nav-item {
        scroll-snap-align: start;
    }

    .app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native),
    .app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs) {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }
    .app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native)::-webkit-scrollbar,
    .app-content .nav-pills:not(.flex-column):not(.hgb-section-tabs)::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
}
.cms-bulk-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0 0 .75rem;
    padding: .65rem .75rem;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: .5rem;
    background: var(--bs-tertiary-bg, #f8f9fa);
}
.app-main table.table,
.content-wrapper table.table {
    --bs-table-bg: transparent;
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
    color: #17221d;
}
.app-main table.table thead th,
.content-wrapper table.table thead th {
    padding: .78rem .85rem;
    border-top: 1px solid rgba(15,67,47,.12);
    border-bottom: 1px solid rgba(15,67,47,.16);
    color: #526058;
    background: #f3f6ef;
    font-size: .69rem;
    font-weight: 900;
    letter-spacing: .045em;
    text-transform: uppercase;
    white-space: nowrap;
}
.app-main table.table tbody td,
.content-wrapper table.table tbody td {
    padding: .82rem .85rem;
    border-bottom: 1px solid rgba(15,67,47,.09);
    vertical-align: middle;
}
.app-main table.table tbody tr,
.content-wrapper table.table tbody tr { transition: background-color .15s ease, box-shadow .15s ease; }
.app-main table.table tbody tr:hover,
.content-wrapper table.table tbody tr:hover { background: rgba(200,255,50,.075); }
.app-main table.table tbody tr:has(.cms-bulk-row-select:checked),
.content-wrapper table.table tbody tr:has(.cms-bulk-row-select:checked) {
    background: rgba(200,255,50,.14);
    box-shadow: inset 3px 0 0 #0f432f;
}
.table-responsive {
    border: 1px solid rgba(15,67,47,.11);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15,67,47,.045);
}
.table-responsive > .cms-bulk-toolbar { border-width: 0 0 1px; border-radius: 0; }
.cms-bulk-toolbar {
    min-height: 52px;
    border-color: rgba(15,67,47,.13);
    border-radius: 12px;
    background: linear-gradient(180deg,#fbfcf8,#f3f6ef);
}
.cms-bulk-toolbar.is-active {
    border-color: rgba(15,67,47,.3);
    background: #edf8d7;
    box-shadow: 0 8px 22px rgba(15,67,47,.08);
}
.cms-bulk-toolbar.is-module-toolbar { margin-bottom: .9rem; }
.cms-bulk-toolbar.is-module-toolbar .form-select { min-width: 180px; }
.cms-bulk-toolbar .cms-bulk-count { color: #294639; }
.cms-bulk-toolbar .form-select { border-color: rgba(15,67,47,.22); background-color: #fff; }
.cms-bulk-toolbar .cms-bulk-count { min-width: 7.5rem; font-weight: 600; }
.cms-bulk-toolbar .cms-bulk-status { width: auto; min-width: 11rem; }
.cms-bulk-toolbar:not(.is-active) .cms-bulk-status-apply,
.cms-bulk-toolbar:not(.is-active) .cms-bulk-apply,
.cms-bulk-toolbar:not(.is-active) .cms-bulk-delete { opacity: .55; pointer-events: none; }
.cms-bulk-select-cell { width: 2.5rem; text-align: center; vertical-align: middle !important; }
.cms-bulk-check-all { display: inline-flex; align-items: center; gap: .4rem; margin: 0; cursor: pointer; }
[data-cms-bulk-item] { position: relative; }
.cms-bulk-card-select {
    position: absolute; z-index: 3; top: .65rem; right: .65rem; display: grid; place-items: center;
    width: 2rem; height: 2rem; margin: 0; border-radius: .4rem; background: var(--bs-body-bg, #fff);
    border: 1px solid var(--bs-border-color, #dee2e6); box-shadow: 0 1px 4px rgba(0,0,0,.08); cursor: pointer;
}
@media (max-width: 575.98px) {
    .cms-bulk-toolbar .cms-bulk-count { flex-basis: 100%; }
    .cms-bulk-toolbar .cms-bulk-status { flex: 1 1 10rem; }
}
.hai-module-copilot {
    display: block;
    border: 1px solid rgba(15,67,47,.18);
    border-radius: 1rem;
    background: var(--bs-body-bg, #fff);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15,67,47,.07);
}
.hai-module-copilot__trigger {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 58px;
    padding: .7rem .9rem;
    color: #fff;
    background: linear-gradient(110deg,#0b3828 0%,#176044 72%,#237451 100%);
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.hai-module-copilot__trigger::-webkit-details-marker { display: none; }
.hai-module-copilot__trigger:hover { background: linear-gradient(110deg,#0d422f 0%,#1b6a4b 72%,#287f59 100%); }
.hai-module-copilot__icon {
    position: relative;
    display: grid;
    place-items: center;
    flex: 0 0 52px;
    height: 52px;
    border-radius: 16px;
    background: transparent;
    overflow: hidden;
}
.hai-module-copilot__icon::after { position: absolute; right: -2px; bottom: -2px; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 50%; background: #62c878; box-shadow: 0 0 0 2px rgba(98,200,120,.14); content: ''; animation: haiModuleAvatarOnline 2.2s ease-in-out infinite; }
.hai-module-copilot__icon img { display: block; width: 52px; height: 52px; object-fit: cover; transition: transform .2s ease, filter .2s ease; }
.hai-module-copilot__trigger:hover .hai-module-copilot__icon img { animation: haiModuleMascotHello .58s ease both; filter: drop-shadow(0 4px 7px rgba(0,0,0,.24)); }
.hai-module-copilot[open] .hai-module-copilot__icon img { animation: haiModuleMascotHello .48s ease both; }
.hai-module-copilot__trigger-text { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: .12rem; line-height: 1.25; }
.hai-module-copilot__trigger-text strong { color: #fff !important; font-size: .9rem; }
.hai-module-copilot__trigger-text small { color: rgba(255,255,255,.76) !important; font-size: .75rem; }
.hai-module-copilot__chevron { color: #c8ff32; transition: transform .2s ease; }
.hai-module-copilot[open] .hai-module-copilot__chevron { transform: rotate(180deg); }
.hai-module-copilot__panel { padding: 0; border-top: 0; background: #fff; }
.hai-module-copilot__heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); gap: 1rem; margin-bottom: 1rem; }
.hai-module-copilot__eyebrow { color: var(--bs-primary, #0d6efd); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hai-module-copilot__heading h2 { margin: .2rem 0 .25rem; font-size: 1.1rem; }
.hai-module-copilot__heading p { margin: 0; color: var(--bs-secondary-color, #6c757d); font-size: .9rem; }
.hai-module-copilot__safety { display: flex; align-items: flex-start; gap: .55rem; padding: .75rem; border-radius: .6rem; background: rgba(25, 135, 84, .08); color: #146c43; font-size: .8rem; line-height: 1.4; }
.hai-module-copilot__safety i { margin-top: .15rem; }
.hai-module-copilot__presets { margin-bottom: 1rem; }
.hai-module-copilot__presets > span { display: block; margin-bottom: .4rem; font-size: .85rem; font-weight: 600; }
.hai-module-copilot__presets > div { display: flex; flex-wrap: wrap; gap: .4rem; }
.hai-module-copilot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: .65rem; }
.hai-module-chat { position: relative; overflow: hidden; container-type: inline-size; border: 0; border-radius: 0; background: #fff; box-shadow: none; transition: background-color .2s ease; }
.hai-module-chat.is-busy { background: #fdfff9; box-shadow: none; }
.hai-module-chat__dropzone { position: absolute; z-index: 20; inset: .65rem; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .35rem; padding: 1.5rem; border: 2px dashed #b4e51d; border-radius: 15px; color: #fff; background: rgba(15,67,47,.96); opacity: 0; pointer-events: none; text-align: center; transform: scale(.98); transition: opacity .16s ease,transform .16s ease; }
.hai-module-chat__dropzone i { color: #c8ff32; font-size: 2rem; }.hai-module-chat__dropzone strong { font-size: 1rem; }.hai-module-chat__dropzone span { color: rgba(255,255,255,.78); font-size: .76rem; }
.hai-module-chat.is-file-dragging .hai-module-chat__dropzone { opacity: 1; transform: scale(1); }
.hai-module-chat__header { display: grid; grid-template-columns: minmax(120px,1fr) auto; align-items: center; gap: .65rem; min-height: 58px; padding: .65rem 1rem; border-bottom: 1px solid rgba(15,67,47,.09); background: #f8faf5; }
.hai-module-chat__avatar { position: relative; display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: transparent; }
.hai-module-chat__avatar img { display: block; width: 34px; height: 34px; object-fit: cover; animation: haiModuleAvatarIdle 4.4s ease-in-out infinite; }
.hai-module-chat.is-busy .hai-module-chat__avatar img { animation: haiModuleMascotThink .75s ease-in-out infinite alternate; }
@keyframes haiModuleAvatarIdle { 0%,100% { transform: translateY(1px) rotate(-1.5deg); } 50% { transform: translateY(-3px) rotate(1.5deg); } }
@keyframes haiModuleMascotHello { 0% { transform: scale(.94); opacity: .8; } 42% { transform: translateY(-4px) rotate(5deg) scale(1.1); opacity: 1; } 72% { transform: rotate(-3deg) scale(1.04); } 100% { transform: none; } }
@keyframes haiModuleMascotThink { from { transform: translateY(1px) rotate(-2deg) scale(1); } to { transform: translateY(-3px) rotate(2deg) scale(1.045); filter: drop-shadow(0 3px 5px rgba(15,67,47,.24)); } }
@keyframes haiModuleAvatarOnline { 0%,100% { transform: scale(.82); box-shadow: 0 0 0 2px rgba(98,200,120,.12); } 50% { transform: scale(1); box-shadow: 0 0 0 5px rgba(98,200,120,.14); } }
@media (prefers-reduced-motion: reduce) { .hai-module-copilot__icon img,.hai-module-copilot__icon::after { animation: none !important; transition: none !important; } }
.hai-module-chat__identity { display: flex; min-width: 0; flex-direction: column; gap: .1rem; line-height: 1.2; }
.hai-module-chat__persona { display: flex; min-width: 0; align-items: center; gap: .6rem; }
.hai-module-chat__avatar { position: relative; display: grid; width: 36px; height: 36px; flex: 0 0 36px; overflow: hidden; place-items: center; border: 2px solid rgba(23,96,68,.14); border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(15,67,47,.12); }
.hai-module-chat__avatar::after { position: absolute; right: 0; bottom: 0; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #62c878; content: ''; }
.hai-module-chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.hai-module-chat__name { color: #176044; letter-spacing: .035em; }
.hai-module-chat__header strong { overflow: hidden; color: #17221d; font-size: .84rem; overflow-wrap: normal; text-overflow: ellipsis; white-space: nowrap; word-break: normal; }
.hai-module-chat__header small { overflow: hidden; color: #69766f; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.hai-module-chat__header-actions { display: flex; align-items: center; justify-content: flex-end; gap: .45rem; min-width: 0; }
.hai-module-chat__phase { display: none; }
.hai-module-chat__restart { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .5rem; border: 1px solid rgba(15,67,47,.18); border-radius: 999px; color: #0f432f; background: #fff; font-size: .65rem; font-weight: 800; }.hai-module-chat__restart:hover { background: #eaf4df; }
.hai-module-chat__history-toggle { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .5rem; border: 1px solid rgba(15,67,47,.18); border-radius: 999px; color: #0f432f; background: #fff; font-size: .65rem; font-weight: 800; }.hai-module-chat__history-toggle:hover,.hai-module-chat__history-toggle[aria-expanded="true"] { background: #eaf4df; }
.hai-module-chat__history { position: absolute; z-index: 18; inset: 59px 0 0; display: flex; flex-direction: column; padding: .8rem; color: #17221d; background: rgba(250,252,248,.98); box-shadow: 0 12px 30px rgba(15,67,47,.16); backdrop-filter: blur(10px); }.hai-module-chat__history[hidden] { display: none; }
.hai-module-chat__history-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .65rem; }.hai-module-chat__history-head strong { font-size: .9rem; }.hai-module-chat__history-close { display: grid; width: 30px; height: 30px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #526058; background: transparent; }.hai-module-chat__history-close:hover { background: #e8f2df; }
.hai-module-chat__history-filters { display: flex; gap: .35rem; margin-bottom: .65rem; overflow-x: auto; }.hai-module-chat__history-filters button { padding: .35rem .65rem; border: 1px solid rgba(15,67,47,.16); border-radius: 999px; color: #526058; background: #fff; font-size: .68rem; font-weight: 800; white-space: nowrap; }.hai-module-chat__history-filters button.is-active { border-color: #0f432f; color: #fff; background: #0f432f; }
.hai-module-chat__history-search { position: relative; display: block; margin-bottom: .65rem; }.hai-module-chat__history-search i { position: absolute; z-index: 1; top: 50%; left: .65rem; color: #69766f; font-size: .75rem; transform: translateY(-50%); }.hai-module-chat__history-search input { padding-left: 1.9rem; }
.hai-module-chat__history-list { display: grid; align-content: start; gap: .35rem; min-height: 120px; overflow-y: auto; }.hai-module-chat__history-empty { padding: 1.2rem .75rem; color: #69766f; font-size: .78rem; text-align: center; }
.hai-module-chat__history-item { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .25rem; width: 100%; border: 1px solid transparent; border-radius: 11px; color: #17221d; background: transparent; }.hai-module-chat__history-item:hover { background: #eef3eb; }.hai-module-chat__history-item.is-active { border-color: rgba(15,67,47,.2); background: #e8f2df; }.hai-module-chat__history-open { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: .65rem; min-width: 0; padding: .65rem .3rem .65rem .7rem; border: 0; color: inherit; background: transparent; text-align: left; }.hai-module-chat__history-open > span:first-child { display: flex; min-width: 0; flex-direction: column; }.hai-module-chat__history-item strong,.hai-module-chat__history-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.hai-module-chat__history-item strong { font-size: .78rem; }.hai-module-chat__history-item small { color: #69766f; font-size: .68rem; }.hai-module-chat__history-meta { color: #69766f; font-size: .62rem; white-space: nowrap; }.hai-module-chat__history-archive { display: grid; width: 32px; height: 32px; margin-right: .35rem; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #526058; background: transparent; }.hai-module-chat__history-archive:hover { color: #0f432f; background: #dcebd3; }
.hai-module-chat__progress { height: 4px; background: #e5e9e2; }
.hai-module-chat__progress i { display: block; width: 8%; height: 100%; background: linear-gradient(90deg,#0f432f,#c8ff32); transition: width .5s ease; }
.hai-module-chat__messages { display: grid; max-height: 390px; gap: .65rem; overflow-y: auto; padding: 1rem; scroll-behavior: smooth; }
.hai-module-chat__bubble { width: fit-content; max-width: 90%; padding: .72rem .85rem; border-radius: 5px 14px 14px 14px; color: #17221d; background: #eef3eb; line-height: 1.45; animation: haiModuleChatIn .22s ease both; }
.hai-module-chat__bubble strong { display: block; margin-bottom: .15rem; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
.hai-module-chat__bubble span { display: block; font-size: .84rem; white-space: pre-wrap; }
.hai-module-chat__bubble.is-user { justify-self: end; border-radius: 14px 5px 14px 14px; color: #fff; background: #0f432f; }
.hai-module-chat__feedback { display: flex; align-items: center; gap: 4px; margin-top: .55rem; padding-top: .45rem; border-top: 1px solid rgba(15,67,47,.12); }
.hai-module-chat__feedback button { display: inline-grid; width: 28px; height: 28px; padding: 0; place-items: center; border: 0; border-radius: 999px; background: transparent; color: #607069; }
.hai-module-chat__feedback button:hover, .hai-module-chat__feedback button:focus-visible { background: #dfe9dc; color: #0f432f; }
.hai-module-chat__feedback button.is-selected { background: #0f432f; color: #fff; }
.hai-module-chat__feedback small { margin-left: 3px; color: #64736c; font-size: .68rem; line-height: 1.3; }
.hai-module-chat__safety { display: flex; gap: .5rem; padding: .65rem .75rem; border-radius: 11px; color: #17623e; background: #edf5e9; font-size: .75rem; }
.hai-module-chat__safety i { margin-top: .15rem; }
.hai-module-chat__presets { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0 1rem 1rem; }
.hai-module-chat__presets[hidden] { display: none !important; }
.hai-module-chat__presets .hai-module-preset { padding: .45rem .72rem; border: 1px solid #0f432f; border-radius: 999px; color: #0f432f; background: #fff; font-size: .76rem; font-weight: 800; }
.hai-module-chat__presets .hai-module-preset:hover,.hai-module-chat__presets .hai-module-preset.is-selected { background: #eaf4df; }
.hai-module-chat__composer { padding: .85rem 1rem 1rem; border-top: 1px solid rgba(15,67,47,.09); background: #fbfcf8; }
.hai-module-chat__composer textarea { min-height: 76px; resize: vertical; }
.hai-module-chat__composer-actions { display: flex; justify-content: space-between; gap: .6rem; margin-top: .6rem; }
.hai-module-chat__composer-actions .btn { margin-left: auto; }
.hai-module-chat__attachment-row { display: grid; gap: .35rem; padding: .15rem 1rem .9rem; background: #fbfcf8; }
.hai-module-chat__upload { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: .8rem; width: 100%; min-height: 86px; padding: .8rem 1rem; border: 2px dashed rgba(15,67,47,.42); border-radius: 14px; color: #294639; background: linear-gradient(135deg,#f7fbea,#f1f7ed); cursor: pointer; transition: border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease; }.hai-module-chat__upload:hover,.hai-module-chat__upload:focus-within,.hai-module-chat.is-file-dragging .hai-module-chat__upload { border-color: #0f432f; background: #edf7df; box-shadow: 0 0 0 4px rgba(180,229,29,.16); transform: translateY(-1px); }
.hai-module-chat__upload-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 12px; color: #0f432f; background: #dff2c9; font-size: 1.2rem; }.hai-module-chat__upload-copy { display: flex; min-width: 0; flex-direction: column; gap: .15rem; }.hai-module-chat__upload-copy strong { color: #17221d; font-size: .82rem; }.hai-module-chat__upload-copy small { color: #69766f; font-size: .7rem; }.hai-module-chat__upload-button { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .5rem .7rem; border-radius: 999px; color: #fff; background: #0f432f; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.hai-module-chat__upload input { display: none; }
.hai-module-chat__upload-status { min-height: 17px; color: #69766f; font-size: .7rem; }
.hai-module-chat__upload-status.is-loading { color: #8b6810; }.hai-module-chat__upload-status.is-success { color: #16733a; }.hai-module-chat__upload-status.is-error { color: #a32d2d; }
.hai-module-chat__file-previews { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1rem .85rem; background: #fbfcf8; }.hai-module-chat__file-previews:empty { display: none; }
.hai-module-chat__file { display: grid; grid-template-columns: 38px minmax(0,1fr) 24px; align-items: center; gap: .45rem; width: min(100%,220px); padding: .4rem; border: 1px solid rgba(15,67,47,.15); border-radius: 10px; background: #fff; box-shadow: 0 5px 14px rgba(15,67,47,.05); }.hai-module-chat__file img { width: 38px; height: 38px; border-radius: 7px; object-fit: cover; }.hai-module-chat__file > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 7px; color: #0f432f; background: #eaf4df; }.hai-module-chat__file span { overflow: hidden; font-size: .7rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }.hai-module-chat__file button { display: grid; width: 24px; height: 24px; padding: 0; place-items: center; border: 0; border-radius: 50%; color: #8b2e2e; background: #fbe9e7; }
.hai-module-chat__questions { display: grid; gap: .65rem; padding: 0 1rem 1rem; }
.hai-module-chat__question-head { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.hai-module-chat__question-head span { padding: .25rem .45rem; border-radius: 999px; color: #0f432f; background: #e8f2df; font-size: .65rem; font-weight: 800; }
.hai-module-chat__question { display: grid; gap: .35rem; padding: .75rem; border: 1px solid rgba(23,34,29,.12); border-radius: 12px; color: #17221d; background: #fff; }
.hai-module-chat__question.is-inline { padding: 0; border: 0; background: transparent; box-shadow: none; }
.hai-module-chat__question.is-current { border-color: rgba(15,67,47,.3); }
.hai-module-chat__question.is-missing { border-color: #d65143; box-shadow: 0 0 0 3px rgba(214,81,67,.09); }
.hai-module-chat__question label { color: #17221d; font-size: .82rem; font-weight: 800; }.hai-module-chat__question small { color: #69766f; font-size: .7rem; }
.hai-image-choices { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .55rem; }.hai-image-choice { position: relative; display: grid; overflow: hidden; border: 2px solid transparent; border-radius: 11px; background: #edf2eb; cursor: pointer; }.hai-image-choice input { position: absolute; z-index: 2; top: .45rem; right: .45rem; width: 18px; height: 18px; accent-color: #0f432f; }.hai-image-choice img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }.hai-image-choice span { overflow: hidden; padding: .4rem .45rem; color: #526058; background: #fff; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }.hai-image-choice:has(input:checked) { border-color: #0f432f; box-shadow: 0 0 0 3px rgba(200,255,50,.45); }.hai-image-choice-status { display: block; margin-bottom: .25rem; }.hai-image-choice-status:not(:empty) { padding: .45rem .55rem; border-radius: 8px; background: #f3f7ef; }
.hai-module-chat__choices { display: flex; flex-wrap: wrap; gap: .4rem; }.hai-module-chat__choice { display: flex; align-items: center; gap: .35rem; padding: .4rem .55rem; border: 1px solid rgba(23,34,29,.16); border-radius: 999px; color: #17221d !important; background: #fff; cursor: pointer; font-size: .75rem; -webkit-text-fill-color: #17221d; }
.hai-module-chat__choice:has(input:checked) { border-color: #0f432f; color: #0f432f; background: #eaf4df; }
.hai-module-chat__actions { display: flex; gap: .6rem; padding: 0 1rem 1rem; }.hai-module-chat__actions .btn { min-height: 42px; }
.hai-module-chat__summary { display: flex; gap: .7rem; padding: .85rem; border: 1px solid rgba(15,67,47,.16); border-radius: 12px; background: #edf8d7; }.hai-module-chat__summary > i { color: #16733a; }.hai-module-chat__summary p { margin: .2rem 0 0; color: #526058; font-size: .78rem; }
.hai-module-chat__thinking { display: flex; align-items: center; gap: .5rem; color: #526058; }.hai-module-chat__thinking strong { margin: 0; color: #0f432f; font-size: .68rem; white-space: nowrap; }.hai-module-chat__thinking > .hai-module-chat__typing-dots { display: flex; flex: 0 0 auto; gap: 3px; }.hai-module-chat__thinking i { display: block; flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: #0f432f; animation: haiModuleChatDot 1.1s infinite ease-in-out; }.hai-module-chat__thinking i:nth-child(2){animation-delay:.14s}.hai-module-chat__thinking i:nth-child(3){animation-delay:.28s}.hai-module-chat__thinking em { font-size: .75rem; font-style: normal; }.hai-module-chat__thinking em::after { display: inline-block; width: 1px; height: .9em; margin-left: 3px; background: currentColor; content: ''; vertical-align: -.08em; animation: haiTypingCursor .8s steps(1,end) infinite; }
@keyframes haiModuleChatIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes haiModuleChatDot { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes haiTypingCursor { 0%,45% { opacity: 1; } 46%,100% { opacity: 0; } }
.hai-module-chat__history-module,.hai-chat__history-module { display: inline-flex !important; align-self: flex-start; width: auto; margin: 2px 0; padding: 2px 6px; border-radius: 999px; color: #0f432f !important; background: #e8f3de; font-size: 9px !important; font-weight: 900; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; }
@container (max-width: 520px) {
    .hai-module-chat__header { grid-template-columns: auto minmax(0,1fr); row-gap: .55rem; padding: .7rem .8rem; }
    .hai-module-chat__header-actions { grid-column: 1 / -1; justify-content: flex-start; padding-left: 44px; }
    .hai-module-chat__history { inset-block-start: 96px; }
}
@container (max-width: 360px) {
    .hai-module-chat__header-actions { padding-left: 0; }
    .hai-module-chat__history-toggle span,.hai-module-chat__restart span { display: none; }
}
@media (max-width: 767.98px) {
    .hai-module-copilot__heading { grid-template-columns: 1fr; }
    .hai-module-copilot__trigger-text small { white-space: normal; }
    .hai-module-copilot__panel { padding: .65rem; }
    .hai-module-chat__bubble { max-width: 96%; }
    .hai-module-chat__composer-actions { align-items: stretch; flex-direction: column; }
    .hai-module-chat__composer-actions .btn { width: 100%; }
    .hai-module-chat__upload { grid-template-columns: auto minmax(0,1fr); }.hai-module-chat__upload-button { grid-column: 1 / -1; width: 100%; }.hai-module-chat__upload-copy strong { font-size: .78rem; }
    .hai-image-choices { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .hai-module-chat__header { gap: .4rem; padding-inline: .65rem; }
}

/* Compacte donkere applicatie-topbar. Dropdownpanelen blijven bewust licht. */
:root { --hc-admin-header-height: 54px; }
.app-header.navbar {
    min-height: var(--hc-admin-header-height);
    border-bottom: 1px solid rgba(200, 255, 50, .16) !important;
    background: linear-gradient(90deg, #0a3224 0%, #0f432f 58%, #0b3929 100%) !important;
    box-shadow: 0 4px 16px rgba(8, 38, 28, .16);
    backdrop-filter: none;
}
.app-header > .container-fluid {
    min-height: var(--hc-admin-header-height);
    padding: 4px clamp(12px, 1.5vw, 24px);
}
.app-header > .container-fluid > .navbar-nav:first-child > .nav-item:first-child .nav-link {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 9px;
    color: rgba(255, 255, 255, .78) !important;
}
.app-header > .container-fluid > .navbar-nav:first-child > .nav-item:first-child .nav-link:hover {
    color: var(--hark-lime) !important;
    background: rgba(255, 255, 255, .09);
}
.app-header .cms-hark-brand {
    gap: 8px;
    color: #fff !important;
}
.app-header .cms-hark-brand__mark {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    color: var(--hark-forest-deep);
    background: var(--hark-lime);
    font-size: 14px;
}
.app-header .cms-hark-brand__name {
    color: #fff;
    font-size: 16px;
}
.app-header .cms-hark-brand__context {
    max-width: 180px;
    padding-left: 10px;
    border-left-color: rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
}
.app-header .cms-navbar-tools { gap: 3px; }
.app-header .cms-navbar-tool-btn,
.app-header .cms-admin-topbar-menu-toggle {
    width: 36px;
    height: 36px;
    color: rgba(255, 255, 255, .66) !important;
}
.app-header .cms-navbar-tool-btn .text-body-secondary,
.app-header .cms-navbar-tool-symbol,
.app-header .cms-navbar-fs-slot {
    color: inherit !important;
}
.app-header .cms-navbar-tool-btn:hover,
.app-header .cms-admin-topbar-menu-toggle:hover {
    border-color: rgba(255, 255, 255, .14) !important;
    color: var(--hark-lime) !important;
    background: rgba(255, 255, 255, .09) !important;
}
.app-header .cms-navbar-ai-status {
    min-height: 36px;
    margin-right: 3px;
    padding: 3px 8px;
    border-color: rgba(255, 255, 255, .14);
    border-radius: 10px;
    color: #fff;
    background: rgba(255, 255, 255, .075);
}
.app-header .cms-navbar-ai-status:hover,
.app-header .cms-navbar-ai-status.is-running,
.app-header .cms-navbar-ai-status.is-attention,
.app-header .cms-navbar-ai-status.is-completed {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}
.app-header .cms-navbar-ai-status__icon {
    width: 28px;
    height: 28px;
    color: var(--hark-forest-deep);
    background: var(--hark-lime);
}
.app-header .cms-navbar-ai-status__copy strong { color: rgba(255, 255, 255, .92); }
.app-header .cms-navbar-ai-status__copy small { color: rgba(255, 255, 255, .58); }
.app-header .cms-navbar-ai-status__progress { background: rgba(255, 255, 255, .16); }
.app-header .cms-navbar-notify-badge,
.app-header .cms-navbar-ticket-badge,
.app-header .cms-navbar-ai-status__count { border-color: #0f432f; }
.app-header .cms-navbar-tools form > .btn {
    min-height: 34px;
    padding: 5px 12px !important;
    border-color: rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
}
.app-header .cms-navbar-tools form > .btn:hover {
    border-color: rgba(200, 255, 50, .5);
    color: var(--hark-lime);
    background: rgba(255, 255, 255, .14);
}
.app-header .cms-navbar-user-trigger {
    min-height: 38px;
    padding: 2px 7px 2px 3px !important;
    border-color: rgba(255, 255, 255, .16);
    color: #fff !important;
    background: rgba(255, 255, 255, .075);
}
.app-header .cms-navbar-user-trigger > .text-body { color: #fff !important; }
.app-header .cms-navbar-user-trigger > .text-body-secondary { color: rgba(255, 255, 255, .58) !important; }
.app-header .cms-navbar-user-avatar {
    width: 32px;
    height: 32px;
    color: var(--hark-forest-deep);
    background: var(--hark-lime);
}
@media (max-width: 991.98px) {
    .app-header .cms-hark-brand__context { display: none; }
}
@media (max-width: 767.98px) {
    :root { --hc-admin-header-height: 50px; }
    .app-header.navbar,
    .app-header > .container-fluid { min-height: var(--hc-admin-header-height); }
    .app-header > .container-fluid { padding: 3px 8px; }
    .app-header .cms-hark-brand__mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 13px;
    }
    .app-header .cms-hark-brand__name { font-size: 15px; }
    .app-header .cms-navbar-tool-btn { width: 34px; height: 34px; }
    .app-header .cms-navbar-ai-status { min-width: 34px; min-height: 34px; padding: 3px; }
    .app-header .cms-navbar-user-trigger { min-height: 34px; }
    .app-header .cms-navbar-user-avatar { width: 30px; height: 30px; }
    .app-header .cms-user-menu {
        top: max(54px, env(safe-area-inset-top)) !important;
        inset: max(54px, env(safe-area-inset-top)) max(8px, env(safe-area-inset-right)) auto auto !important;
        max-height: calc(100dvh - 62px);
    }
    .cms-navbar-ai-panel { top: 54px !important; }
}

/* Bestaande paginaspecifieke navigaties volgen hetzelfde Hospitality-patroon. */
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 18px 2px 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none;
}
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs)::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button) {
    display: block !important;
    min-width: max-content !important;
    min-height: 0 !important;
    padding: 10px 15px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #10231b !important;
    font-size: .94rem !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    border: 1px solid #d8e2dc !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
}
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button):hover {
    color: #07533b !important;
    border-color: #8eaa9e !important;
    background: #f2f8ec !important;
}
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(.active, .is-active, [aria-selected="true"], .btn-dark) {
    color: #fff !important;
    border-color: #07533b !important;
    background: #07533b !important;
}

/* Platformbrede, gekoppelde tabbladen. Filters en losse nav-pills blijven compact rond. */
.hc-page-tabs > .nav,
#account-hub-tabs.hc-page-tabs-native,
.app-content .hgb-section-tabs,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) {
    align-items: flex-end !important;
    gap: 2px !important;
    padding: 10px 10px 0 !important;
    border: 1px solid var(--hark-tabs-border) !important;
    border-bottom-color: var(--hark-tabs-border-strong) !important;
    border-radius: var(--hark-tabs-radius) var(--hark-tabs-radius) 0 0 !important;
    background: var(--hark-tabs-bg) !important;
}
body.has-admin-left-rail #account-hub-tabs.hc-page-tabs-native,
#account-hub-tabs.hc-page-tabs-native {
    position: static !important;
    inset: auto !important;
    float: none !important;
    flex-flow: row wrap !important;
    align-content: flex-end !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 10px 10px 0 !important;
    overflow: visible !important;
    border: 1px solid var(--hark-tabs-border) !important;
    border-bottom-color: var(--hark-tabs-border-strong) !important;
    border-radius: var(--hark-tabs-radius) var(--hark-tabs-radius) 0 0 !important;
    background: var(--hark-tabs-bg) !important;
    box-shadow: none !important;
}
#account-hub-tabs.hc-page-tabs-native::before {
    display: none !important;
    content: none !important;
}
.hc-page-tabs .nav-link,
#account-hub-tabs.hc-page-tabs-native .nav-link,
.app-content .hgb-section-tabs .nav-link,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: var(--hark-tab-height) !important;
    min-height: var(--hark-tab-height) !important;
    padding: 10px 15px !important;
    border: 0 !important;
    border-radius: var(--hark-tab-radius) var(--hark-tab-radius) 0 0 !important;
    background: transparent !important;
}
.hc-page-tabs .nav-link:hover,
#account-hub-tabs.hc-page-tabs-native .nav-link:hover,
.app-content .hgb-section-tabs .nav-link:hover,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button):hover {
    color: var(--hark-tab-active) !important;
    background: rgba(15,67,47,.075) !important;
}
.hc-page-tabs .nav-link.active,
#account-hub-tabs.hc-page-tabs-native .nav-link.active,
.app-content .hgb-section-tabs .nav-link.active,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(.active, .is-active, [aria-selected="true"], .btn-dark) {
    color: #fff !important;
    background: var(--hark-tab-active) !important;
    box-shadow: inset 0 -3px 0 var(--hark-tab-accent) !important;
}
.hc-page-tabs .nav-link .badge,
#account-hub-tabs .nav-link .badge,
.app-content .hgb-section-tabs .nav-link .badge,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(a, button) .badge {
    color: var(--hark-tab-active) !important;
    background: rgba(7,83,59,.09) !important;
}
.hc-page-tabs .nav-link.active .badge,
#account-hub-tabs .nav-link.active .badge,
.app-content .hgb-section-tabs .nav-link.active .badge,
.app-content :where(.ci-tabs, .wa-tabs, .hai-plan-tabs, .saw-tabs, .hcc-tabs) > :where(.active, .is-active, [aria-selected="true"], .btn-dark) .badge {
    color: var(--hark-tab-active) !important;
    background: var(--hark-tab-accent) !important;
}

.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) {
    align-items: flex-end !important;
    gap: 2px !important;
    padding: 8px 8px 0 !important;
    border: 1px solid var(--hark-tabs-border) !important;
    border-bottom-color: var(--hark-tabs-border-strong) !important;
    border-radius: var(--hark-tabs-radius) var(--hark-tabs-radius) 0 0 !important;
    background: var(--hark-tabs-bg) !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: var(--hark-tab-height) !important;
    min-height: var(--hark-tab-height) !important;
    border: 0 !important;
    border-radius: var(--hark-tab-radius) var(--hark-tab-radius) 0 0 !important;
    background: transparent !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link:hover {
    color: var(--hark-tab-active) !important;
    background: rgba(15,67,47,.075) !important;
}
.app-content .nav-tabs:not(.flex-column):not(.hc-page-tabs-native) .nav-link.active {
    color: #fff !important;
    background: var(--hark-tab-active) !important;
    box-shadow: inset 0 -3px 0 var(--hark-tab-accent) !important;
}

/* Eén constructie voor tabbladen én het aangesloten inhoudspaneel. */
.hc-tab-stack {
    display: block;
    min-width: 0;
}
.hc-page-tabs-wrap {
    margin-bottom: 0 !important;
}
/*
 * De ademruimte hoort tussen de hero en de tabstrook. Tabs en hun inhoud
 * blijven juist visueel aangesloten als één bedieningsvlak.
 */
body .hc-plugin-suite-main > .hc-plugin-suite-header,
body .hc-ct-hub-shell > .hc-ct-hub-main > .hc-plugin-hero {
    margin-bottom: 16px !important;
}
.hc-ct-hub-form-stack {
    margin-top: 0 !important;
}
.hc-ct-hub-rail-wrap.hc-page-tabs-wrap,
.hc-plugin-suite-rail-wrap.hc-page-tabs-wrap {
    margin-bottom: 0 !important;
}
.hc-page-tab-surface {
    min-width: 0;
    margin-top: 0;
    padding: 16px;
    border: 1px solid var(--hark-tabs-border);
    border-top: 0;
    border-radius: 0 0 var(--hark-tabs-radius) var(--hark-tabs-radius);
    background: rgba(255,253,248,.92);
    box-shadow: 0 12px 32px rgba(15,67,47,.055);
}
#account-hub-tabs.hc-page-tabs-native + .account-subpage-anchor {
    display: block;
    clear: both;
    min-width: 0;
    margin: 0 !important;
    padding: 16px;
    border: 1px solid var(--hark-tabs-border);
    border-top: 0;
    border-radius: 0 0 var(--hark-tabs-radius) var(--hark-tabs-radius);
    background: rgba(255,253,248,.92);
    box-shadow: 0 12px 32px rgba(15,67,47,.055);
}
.hc-page-tab-surface > :first-child {
    margin-top: 0;
}
.hc-unified-tabs {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: flex-end !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 10px 10px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    border: 1px solid var(--hark-tabs-border) !important;
    border-bottom-color: var(--hark-tabs-border-strong) !important;
    border-radius: var(--hark-tabs-radius) var(--hark-tabs-radius) 0 0 !important;
    background: var(--hark-tabs-bg) !important;
    box-shadow: none !important;
    scrollbar-width: none !important;
}
.hc-unified-tabs::-webkit-scrollbar { display: none; }
.hc-unified-tabs > :where(a, button) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 auto !important;
    height: var(--hark-tab-height) !important;
    min-height: var(--hark-tab-height) !important;
    padding: 10px 15px !important;
    border: 0 !important;
    border-radius: var(--hark-tab-radius) var(--hark-tab-radius) 0 0 !important;
    color: #405149 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: .94rem !important;
    font-weight: 750 !important;
    line-height: 1.5 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
}
.hc-unified-tabs > :where(a, button):hover {
    color: var(--hark-tab-active) !important;
    background: rgba(15,67,47,.075) !important;
}
.hc-unified-tabs > :where(.active, .is-active, [aria-selected="true"]) {
    color: #fff !important;
    background: var(--hark-tab-active) !important;
    box-shadow: inset 0 -3px 0 var(--hark-tab-accent) !important;
}
.hc-connected-tabs > .hc-connected-tabs-nav .nav-tabs {
    margin: 0 !important;
}
.hc-connected-tabs > .hc-connected-tabs-panel {
    margin-top: 0 !important;
}
.hc-connected-tab-card {
    margin: 0 !important;
    border-top: 0 !important;
    border-radius: 0 0 var(--hark-tabs-radius) var(--hark-tabs-radius) !important;
    box-shadow: 0 12px 32px rgba(15,67,47,.055) !important;
}
.hc-connected-tab-card > .card-header {
    border-radius: 0 !important;
}
.hos-tab-surface > .hos-grid {
    margin-top: 0 !important;
}
.account-subpage-anchor .card.card-outline {
    border-top: 1px solid var(--hark-tabs-border) !important;
    border-radius: var(--hark-tabs-radius) !important;
    box-shadow: 0 5px 18px rgba(15,67,47,.045) !important;
}
@media (max-width:767.98px) {
    .hc-page-tab-surface { padding: 12px; }
    .hc-unified-tabs > :where(a, button) { padding-inline: 13px !important; }
}

/* Responsive tab overflow: keep the active tab visible and move only the remainder into "Meer". */
.hc-page-tabs.hc-tabs-overflow-ready {
    overflow: visible !important;
}
.hc-page-tabs.hc-tabs-overflow-ready > .nav {
    min-width: 0 !important;
    overflow: visible !important;
}
.hc-page-tabs.hc-tabs-overflow-ready > .nav > .hc-tabs-is-overflowed,
.hc-page-tabs.hc-tabs-overflow-ready > .nav > .hc-tabs-overflow[hidden] {
    display: none !important;
}
.hc-page-tabs.hc-tabs-overflow-ready > .nav > .hc-tabs-overflow {
    position: relative;
    z-index: 40;
    flex: 0 0 auto !important;
    align-self: stretch;
    margin-left: auto !important;
}
.hc-tabs-overflow-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    min-height: var(--hark-tab-height, 44px);
    padding: 10px 14px;
    border: 0;
    border-radius: var(--hark-tab-radius, 8px) var(--hark-tab-radius, 8px) 0 0;
    color: #14382d;
    background: rgba(15, 67, 47, .07);
    font: inherit;
    font-size: .91rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease;
}
.hc-tabs-overflow-toggle:hover,
.hc-tabs-overflow-toggle:focus-visible,
.hc-tabs-overflow.is-open .hc-tabs-overflow-toggle {
    color: #fff;
    background: var(--hark-tab-active, #0f432f);
    outline: none;
}
.hc-tabs-overflow-toggle i {
    font-size: .72rem;
    transition: transform .18s ease;
}
.hc-tabs-overflow.is-open .hc-tabs-overflow-toggle i {
    transform: rotate(180deg);
}
.hc-tabs-overflow-menu {
    display: none;
    position: absolute;
    top: calc(100% + 7px);
    right: 0;
    z-index: 1100;
    width: max-content;
    min-width: 230px;
    max-width: min(360px, calc(100vw - 32px));
    max-height: min(440px, calc(100vh - 160px));
    padding: 7px;
    overflow-y: auto;
    border: 1px solid rgba(15, 67, 47, .18);
    border-radius: 12px;
    background: #fffdf8;
    box-shadow: 0 18px 45px rgba(10, 45, 33, .18);
}
.hc-tabs-overflow.is-open .hc-tabs-overflow-menu {
    display: grid;
    gap: 3px;
}
.hc-tabs-overflow-link {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 0;
    border-radius: 8px;
    color: #203d34;
    background: transparent;
    font: inherit;
    font-size: .91rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: left;
    text-decoration: none;
    white-space: normal;
    cursor: pointer;
}
.hc-tabs-overflow-link:hover,
.hc-tabs-overflow-link:focus-visible {
    color: #0f432f;
    background: rgba(180, 255, 31, .16);
    outline: none;
}
.hc-tabs-overflow-link.active {
    color: #fff;
    background: #0f432f;
}
@media (max-width: 575.98px) {
    .hc-tabs-overflow-toggle {
        width: 42px;
        padding-inline: 10px;
    }
    .hc-tabs-overflow-toggle-label {
        display: none;
    }
    .hc-page-tabs.hc-tabs-overflow-ready > .nav > li:not(.hc-tabs-overflow):not(.hc-tabs-is-overflowed) {
        min-width: 0;
        max-width: calc(100% - 46px);
    }
    .hc-page-tabs.hc-tabs-overflow-ready > .nav > li:not(.hc-tabs-overflow):not(.hc-tabs-is-overflowed) > .nav-link {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Een tab-dropdown moet buiten de voormalige zijrailcontainer kunnen vallen. */
body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-plugin-suite-rail-wrap.hc-page-tabs-wrap,
body.has-admin-left-rail:not(.cms-topnav-layout):not(.builder-fullscreen) .hc-ct-hub-rail-wrap.hc-page-tabs-wrap,
body .hc-page-tabs-wrap {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: 1050 !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
}
