/* Oplever Klaar v91 — tabbalk (telefoon), rustiger dashboard, lijniconen, koppen in pagina's niet als bovenbalk */

/* Fix: de algemene 'header'-stijl (bovenbalk: vaste hoogte 70 px, wit, hoofdletters) gold ook voor koppen ín pagina's,
   zoals Website-statistieken en de AI-assistent. Daar liepen titel, datumfilter en knoppen over elkaar. */
:where(.content,.qchat-app,.wa) header{height:auto;min-height:0;background:transparent;border-bottom:0;padding:0;font-size:inherit;font-weight:inherit;text-transform:none;letter-spacing:normal;color:inherit;box-shadow:none;position:static}
.content .wa-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px 24px;flex-wrap:wrap;margin:8px 0 22px}
.content .wa-heading>div{min-width:0;flex:1 1 320px}
.content .wa-heading h1{margin:8px 0 6px;line-height:1.1;color:var(--ink,#13261f)}
.content .wa-heading p{margin:0}
.content .wa-heading .wa-eyebrow{display:block}
.content .wa-heading .wa-button{flex:0 0 auto;margin-top:6px}
.qchat-app .qchat-header{padding:18px 24px;border-bottom:1px solid #f0f1f4}
@media (max-width:900px){
  .content .wa-heading{display:block}
  .content .wa-heading h1{font-size:28px}
  .wa-toolbar{align-items:stretch}
  .wa-toolbar .wa-presets{display:flex;flex-wrap:wrap;gap:8px;width:100%}
  .wa-toolbar label{flex:1 1 140px}
  .wa-toolbar input{width:100%!important;min-width:0}
}

/* lijniconen in het menu */
.grouped-nav-icon svg{width:20px;height:20px;display:block}
.grouped-nav-icon{display:inline-grid;place-items:center;width:22px}
.notification-bell svg{width:20px;height:20px;display:block}
.notification-bell>span{display:grid;place-items:center}

/* tabbalk */
.okt-tabbar{display:none}
@media (max-width:900px){
  .okt-tabbar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;
    padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.96);border-top:1px solid #dfe7e2;
    -webkit-backdrop-filter:saturate(1.4) blur(12px);backdrop-filter:saturate(1.4) blur(12px)}
  .okt-tabbar a,.okt-tabbar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:50px;
    border:0;background:none;color:#55645e;font-family:inherit;font-size:11px;font-weight:600;line-height:1.1;text-decoration:none;border-radius:12px;cursor:pointer;padding:4px 2px}
  .okt-tabbar svg{width:24px;height:24px}
  .okt-tabbar .actief{color:#123c35}
  .okt-tabbar .actief svg{stroke-width:2.3}
  .okt-tabbar .actief span{font-weight:800}
  .okt-tabbar a:focus-visible,.okt-tabbar button:focus-visible{outline:2px solid #85621a;outline-offset:-2px}
  body.okt-met-tabbalk{padding-bottom:calc(68px + env(safe-area-inset-bottom,0px))}
  body.okt-typen .okt-tabbar{display:none}
  /* snelknoppen bovenaan zijn vervangen door de tabbalk */
  body.okt-met-tabbalk nav.crm-quick-access{display:none}
  /* zwevende knoppen boven de tabbalk */
  body.okt-met-tabbalk .ai-chat-launcher,body.okt-met-tabbalk .qchat-fab{bottom:calc(80px + env(safe-area-inset-bottom,0px))!important}

  /* rustiger dashboard */
  [data-okv-grid]:not(.okt-alles) .okv-w[data-okt-extra]{display:none}
  [data-okv-dash].okv-editing [data-okv-grid] .okv-w[data-okt-extra]{display:revert}
  [data-okv-dash].okv-editing ~ .okt-dash-meer,[data-okv-dash].okv-editing .okt-dash-meer{display:none}
  .okt-dash-meer{display:flex;width:100%;justify-content:center;min-height:48px;margin:14px 0 6px}
}
@media (min-width:901px){.okt-dash-meer{display:none}}
@media print{.okt-tabbar{display:none}}

/* herstel v88: font-verkorting met 'inherit' was ongeldig */
.v88-modus button{font-family:inherit;font-size:12px;font-weight:600;line-height:1.2}
