/* One set of controls and surfaces for Planner, Docent and Klant. */
:root[data-theme="light"]{--t6142-button-bg:#fff;--t6142-button-hover:#edf4e8;--t6142-primary:#8ce729;--t6142-primary-hover:#a2f348;--t6142-primary-ink:#14280d;--t6142-accent-text:#3d720c;--t6142-nav-bg:#eef9e6;--t6142-nav-text:#234a15;--t6142-nav-line:#b4d998;--t6142-shadow:0 6px 18px #17386b0a}
:root[data-theme="dark"]{--t6142-button-bg:#14243b;--t6142-button-hover:#203752;--t6142-primary:#91ea2d;--t6142-primary-hover:#a8f64e;--t6142-primary-ink:#14280d;--t6142-accent-text:#a1f451;--t6142-nav-bg:#213f31;--t6142-nav-text:#e2f4d8;--t6142-nav-line:#5e8d43;--t6142-shadow:0 6px 20px #0002}
body[data-portalux6142] [hidden]{display:none!important}
:root[data-theme] body[data-portalux6142] :where(button,.btn,.button):not(:where(.nav-button,.navlink,.icon,.icon-button,.mobile-only,.theme-toggle,.t450-close,.sidebar button,[role="tab"],[role="menuitem"],.wb-quick-item,.wb-global-item,.t450-tab,.t365-tab,.w6144-event)){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:10px 18px;border:1px solid var(--line);border-radius:999px;background:var(--t6142-button-bg);color:var(--text);font:inherit;font-size:12px;font-weight:750;line-height:1.4;text-decoration:none;box-shadow:var(--t6142-shadow);cursor:pointer;transition:background-color .15s,border-color .15s,box-shadow .15s}
:root[data-theme] body[data-portalux6142] :where(button,.btn,.button):not(:where(.nav-button,.navlink,.icon,.icon-button,.mobile-only,.theme-toggle,.t450-close,.sidebar button,[role="tab"],[role="menuitem"],.wb-quick-item,.wb-global-item,.t450-tab,.t365-tab,.w6144-event)):not(:disabled):hover{background:var(--t6142-button-hover);border-color:var(--t6142-nav-line)}
:root[data-theme] body[data-portalux6142] :is(button.primary,.btn.primary,.button.primary,button[type="submit"]:not(.secondary):not(.quiet):not(.subtle):not(.danger),.mc6130-primary,.kn6140-primary,.wb-quick-trigger):not(.danger){background:var(--t6142-primary);background-image:linear-gradient(115deg,var(--t6142-primary),var(--t6142-primary-hover));border-color:transparent;color:var(--t6142-primary-ink)}
:root[data-theme] body[data-portalux6142] :is(button.primary,.btn.primary,.button.primary,button[type="submit"]:not(.secondary):not(.quiet):not(.subtle):not(.danger),.mc6130-primary,.kn6140-primary,.wb-quick-trigger):not(.danger):not(:disabled):hover{background:var(--t6142-primary-hover);border-color:#70b52b;color:var(--t6142-primary-ink)}
:root[data-theme] body[data-portalux6142] :is(button,.btn,.button):disabled{opacity:.52;cursor:not-allowed;box-shadow:none}
:root[data-theme] body[data-portalux6142] :is(button,.btn,.button):focus-visible{outline:3px solid #4699cc;outline-offset:3px}
:root[data-theme] body[data-portalux6142] :is(button.danger,.btn.danger,.button.danger){color:var(--error);border-color:var(--error);background:var(--t6142-button-bg)}
:root[data-theme] body[data-portalux6142] :is(.session-card,.metric,.notification,.panel,.card,.empty,.t450-dialog,.t450-content,.t450-header,.di6110-card,.di6110-kpis>div,.dh-card,.h6120-topic,.w6110 .panel){background-color:var(--surface);color:var(--text);border-color:var(--line)}
:root[data-theme] body[data-portalux6142] :is(.eyebrow,.brand-accent,.nav-icon){color:var(--t6142-accent-text)}
:root[data-theme] body[data-portalux6142] :is(.brand small,.sub,.muted,.session-card p,.session-date small,.metric span,.notification small,.notification p,.sidebar-foot){color:var(--muted)}
:root[data-theme] body[data-portalux6142] :is(.topbar,#context){background:var(--surface);color:var(--text);border-color:var(--line)}
:root[data-theme] body[data-portalux6142="klant"]>header{background:var(--surface);color:var(--text);border-bottom:1px solid var(--line)}
:root[data-theme] body[data-portalux6142="klant"] main header{background:transparent;color:var(--text)}
:root[data-theme] body[data-portalux6142] .nav-button{background:transparent;color:var(--text);border-radius:14px}
:root[data-theme] body[data-portalux6142] .nav-button.active{background:var(--t6142-nav-bg);color:var(--t6142-nav-text);border-color:var(--t6142-nav-line);box-shadow:inset 3px 0 0 #78d528}
:root[data-theme] body[data-portalux6142] .nav-button:not(.active):hover{background:var(--surface-2)}
:root[data-theme] body[data-portalux6142] :is(input,select,textarea){background-color:var(--input);color:var(--text);border-color:var(--line)}
:root[data-theme] body[data-portalux6142] :is(input[type="checkbox"],input[type="radio"]){width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#69bd24}
:root[data-theme] body[data-portalux6142] label:has(>input[type="checkbox"]),:root[data-theme] body[data-portalux6142] label:has(>input[type="radio"]){display:flex;align-items:center;gap:9px}
:root[data-theme] body[data-portalux6142] #theme-toggle{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 auto;gap:9px;min-height:44px;padding:7px 12px;border:1px solid var(--line);border-radius:999px;background:var(--t6142-button-bg);color:var(--text);box-shadow:var(--t6142-shadow);font-size:12px;font-weight:750;line-height:1.4;white-space:nowrap;opacity:1;visibility:visible}
:root[data-theme] body[data-portalux6142] #theme-toggle[hidden]{display:none!important}
:root[data-theme] body[data-portalux6142] #theme-toggle .theme-toggle-track{position:relative;display:flex;align-items:center;justify-content:space-between;gap:8px;width:58px;height:29px;min-height:29px;border-radius:999px;padding:0 7px;background:var(--surface-2);color:var(--text);font-size:12px}
:root[data-theme] body[data-portalux6142] #theme-toggle .theme-toggle-track>span:not(.theme-toggle-thumb){position:relative;z-index:1}
:root[data-theme] body[data-portalux6142] #theme-toggle .theme-toggle-thumb{position:absolute;z-index:0;top:3px;left:3px;width:23px;height:23px;border-radius:50%;background:var(--t6142-primary);transform:translateX(0);transition:transform .18s}
:root[data-theme="dark"] body[data-portalux6142] #theme-toggle .theme-toggle-thumb{transform:translateX(29px)}
:root[data-theme] body[data-portalux6142] #theme-toggle :is([data-theme-label],.theme-toggle-text){display:inline;color:var(--text)}
@media(max-width:760px){body[data-portalux6142="docent"] .topbar{flex-wrap:wrap;gap:10px}body[data-portalux6142="docent"] .tenant-control{min-width:125px;flex:1}body[data-portalux6142="docent"] .top-actions{flex-wrap:wrap;justify-content:flex-end;gap:7px}body[data-portalux6142="docent"] .sidebar{top:var(--t6142-header-height,75px);height:calc(100dvh - var(--t6142-header-height,75px))}body[data-portalux6142="klant"]>header{flex-wrap:wrap}body[data-portalux6142="klant"]>header>.toolbar{flex-wrap:wrap;justify-content:flex-end}body[data-portalux6142] #theme-toggle{padding:6px 10px}}
@media(max-width:520px){body[data-portalux6142="docent"] .top-actions{width:100%}body[data-portalux6142="klant"]>header>.toolbar{width:100%}body[data-portalux6142] :is(button,.btn,.button){white-space:normal}}
@media(prefers-reduced-motion:reduce){body[data-portalux6142] :is(button,.btn,.button,.theme-toggle-thumb){transition:none!important}}
