/* Modern dashboard styling (geen build-stap nodig) */
:root{
  --bg: #0b1220;
  --panel: #0f1b33;
  --card: #0b162c;
  --card2: #0f213f;
  --text: #eaf0ff;
  --muted: rgba(234,240,255,.75);
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 25px rgba(0,0,0,.25);
  --accent: #6ee7ff;
  --accent2: #a78bfa;
  --good: #34d399;
  --bad: #fb7185;
  --warn: #fbbf24;
  --ink: #0b1220;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  background: radial-gradient(1200px 800px at 15% 10%, rgba(167,139,250,.20), transparent 60%),
              radial-gradient(900px 700px at 75% 15%, rgba(110,231,255,.18), transparent 55%),
              var(--bg);
  color: var(--text);
}

.is-light{
  --bg: #f6f8ff;
  --panel: rgba(255,255,255,.92);
  --card: rgba(255,255,255,.92);
  --card2: rgba(255,255,255,.92);
  --text: #0b1220;
  --muted: rgba(11,18,32,.72);
  --border: rgba(11,18,32,.10);
  --shadow: 0 10px 25px rgba(11,18,32,.10);
  --accent: #0ea5e9;
  --accent2: #7c3aed;
  --ink: #ffffff;
}

body.is-light{
  background: radial-gradient(1200px 800px at 15% 10%, rgba(124,58,237,.10), transparent 60%),
              radial-gradient(900px 700px at 75% 15%, rgba(14,165,233,.10), transparent 55%),
              var(--bg);
}

.container{ width:min(1200px, calc(100% - 40px)); margin:0 auto; }
.content{ padding: 22px 0 44px; }
.muted{ color: var(--muted); }

.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,18,32,.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand__mark{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(135deg, rgba(110,231,255,.9), rgba(167,139,250,.9));
  color: var(--ink);
  font-weight:800;
  box-shadow: var(--shadow);
}
.brand__mark--logo{
  width: 150px;
  height: 40px;
  padding: 6px 10px;
/*  background: rgba(255,255,255,.92);*/
background: transparent;
}
.brand__logo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display:block;
}
.brand__title{ font-weight: 750; letter-spacing: .2px; }
.brand__subtitle{ font-size: 12px; color: var(--muted); margin-top:2px; }

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip: rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

.nav{ display:flex; gap:6px; }
.nav__link{
  color: var(--muted);
  text-decoration:none;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.nav__link:hover{ color: var(--text); border-color: var(--border); background: rgba(255,255,255,.04); }
.nav__link.is-active{ color: var(--text); border-color: rgba(110,231,255,.35); background: rgba(110,231,255,.08); }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
}
.btn:hover{ background: rgba(255,255,255,.10); }
.btn--primary{
  border-color: rgba(110,231,255,.35);
  background: linear-gradient(135deg, rgba(110,231,255,.25), rgba(167,139,250,.18));
}
.btn--danger{
  border-color: rgba(251,113,133,.35);
  background: rgba(251,113,133,.10);
}
.btn--ghost{ background: transparent; }
.btn--sm{ padding: 8px 10px; border-radius: 10px; font-size: 13px; }

.userpill{ display:flex; align-items:center; gap:10px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.userpill__name{ font-size: 13px; color: var(--muted); }

.page-title{ display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin: 10px 0 16px; }
.page-title h1{ margin:0; font-size: 24px; letter-spacing: .2px; }
.page-title .subtitle{ margin-top:4px; color: var(--muted); font-size: 13px; }

.panel{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,27,51,.85), rgba(15,27,51,.65));
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.panel__body{ padding: 16px; }
.panel__header{
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.panel__header h2{ margin:0; font-size: 14px; letter-spacing: .3px; text-transform: uppercase; color: var(--muted); }

.grid{ display:grid; gap:14px; }
.grid--kpis{ grid-template-columns: repeat(6, 1fr); }
.grid--2{ grid-template-columns: repeat(2, 1fr); }
.grid--3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px){
  .grid--kpis{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px){
  .grid--kpis{ grid-template-columns: repeat(2, 1fr); }
  .grid--2, .grid--3{ grid-template-columns: 1fr; }
}

.card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11,22,44,.75), rgba(11,22,44,.55));
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 26px rgba(0,0,0,.20);
}
.kpi__label{ color: var(--muted); font-size: 12px; letter-spacing: .2px; }
.kpi__value{ font-size: 20px; font-weight: 750; margin-top: 6px; }
.kpi__hint{ margin-top: 6px; font-size: 12px; color: var(--muted); }
.kpi__trend--good{ color: var(--good); }
.kpi__trend--bad{ color: var(--bad); }
.kpi__trend--warn{ color: var(--warn); }

.tabs{ display:flex; gap:8px; padding: 8px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.03); }
.tabs--with-action{ justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.tabs__main{ display:flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tabs__refresh{ flex-shrink: 0; padding: 8px 10px; min-width: 40px; }
.tabs__refresh-icon{ display:block; vertical-align: middle; }
.tabs__refresh.is-loading .tabs__refresh-icon{ animation: alv-spin 0.85s linear infinite; }
@keyframes alv-spin{ to { transform: rotate(360deg); } }
.btn--icon{ padding: 8px 10px; line-height: 1; }

.home-intro-panel{ margin-bottom: 14px; }
.home-intro__html{ line-height: 1.55; }
.home-intro__html p:last-child{ margin-bottom: 0; }

.home-snapshots-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}
@media (max-width: 1100px){
  .home-snapshots-grid{ grid-template-columns: 1fr; }
}
.home-snapshot{
  margin-top: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.home-snapshot__kpis-body{
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}
.home-snapshot__kpis{ margin-bottom: 0; }
.home-snapshot .grid--kpis{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px){
  .home-snapshot .grid--kpis{ grid-template-columns: 1fr; }
}
body.is-light .tabs__refresh{ color: rgba(11,18,32,.75); }
.tab{
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration:none;
  color: var(--muted);
  border: 1px solid transparent;
}
.tab:hover{ color: var(--text); background: rgba(255,255,255,.04); }
.tab.is-active{
  color: var(--text);
  border-color: rgba(110,231,255,.35);
  background: rgba(110,231,255,.08);
}

.filters{ display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.field{ display:flex; flex-direction:column; gap:6px; }
.field label{ font-size: 12px; color: var(--muted); }
.input, select{
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  outline:none;
}
select{
  cursor:pointer;
  /* Native dropdown (Windows/Chrome): voorkomt witte optielijst met onleesbare tekst */
  color-scheme: dark;
}
body.is-light select{
  color-scheme: light;
}
select option,
select optgroup{
  background-color:#0c2744;
  color:#f8fafc;
}
body.is-light select option,
body.is-light select optgroup{
  background-color:#fff;
  color:#0b1220;
}
.input:focus, select:focus{ border-color: rgba(110,231,255,.35); box-shadow: 0 0 0 3px rgba(110,231,255,.10); }

html{
  color-scheme: dark;
}
body.is-light{
  color-scheme: light;
}

/* Dashboard-filter: donkerblauwe dropdown, witte tekst */
.page-title .filters select,
#yearSelect{
  background: #0c2744;
  color: #fff;
  border-color: rgba(255,255,255,.22);
}
.page-title .filters select option,
#yearSelect option{
  background: #0c2744;
  color: #fff;
}
body.is-light .page-title .filters select,
body.is-light #yearSelect{
  background: #0a2540;
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
body.is-light .page-title .filters select option,
body.is-light #yearSelect option{
  background: #0a2540;
  color: #fff;
}
.page-title .filters select:focus,
#yearSelect:focus{
  border-color: rgba(147,197,253,.55);
  box-shadow: 0 0 0 3px rgba(59,130,246,.2);
}

.alert{
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  margin: 0 0 14px;
}
.alert--success{ border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.10); }
.alert--danger{ border-color: rgba(251,113,133,.35); background: rgba(251,113,133,.10); }
.alert--info{ border-color: rgba(110,231,255,.35); background: rgba(110,231,255,.08); }

table{ width:100%; border-collapse: collapse; }
th, td{ padding: 10px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
th{ text-align:left; font-size: 12px; color: var(--muted); letter-spacing:.25px; text-transform: uppercase; }

/* Admin website handmatig: inputs 4px smaller (padding was 10px 12px) */
.website-manual-quarter th,
.website-manual-quarter td{
  padding: 8px 6px;
}
.website-manual-quarter input.input{
  box-sizing: border-box;
  width: 100%;
  padding: 8px 10px;
  border-radius: 10px;
}
td{ font-size: 14px; }
.table-actions{ display:flex; gap:8px; flex-wrap:wrap; }

.row{ display:flex; gap:12px; flex-wrap:wrap; align-items:flex-end; }
.row > .field{ flex: 1 1 220px; }
.form-actions{ display:flex; gap:10px; align-items:center; margin-top: 12px; }
.help{ font-size: 12px; color: var(--muted); }

.chart-wrap{ position:relative; height: 320px; }
.chart-wrap--tall{ height: 380px; }
.empty{
  padding: 18px;
  border: 1px dashed rgba(255,255,255,.20);
  border-radius: 14px;
  color: var(--muted);
  background: rgba(255,255,255,.03);
}

.footer{
  border-top: 1px solid var(--border);
  background: rgba(11,18,32,.55);
  backdrop-filter: blur(10px);
}
.footer__inner{
  display:flex; justify-content:space-between; gap:14px;
  padding: 16px 0;
  color: var(--muted);
  font-size: 13px;
}

/* Presentatiemodus: fullscreen, maximale leesbaarheid, minimale UI */
body.is-present .topbar,
body.is-present .footer,
body.is-present [data-hide-present]{
  display:none !important;
}
body.is-present .container{
  width: min(1500px, calc(100% - 48px));
}
body.is-present .page-title{
  margin-top: 0;
}
body.is-present .page-title h1{
  font-size: 30px;
}
body.is-present .kpi__value{
  font-size: 24px;
}
body.is-present .chart-wrap{ height: 420px; }
body.is-present .chart-wrap--tall{ height: 520px; }
body.is-present .tabs{ position: sticky; top: 10px; z-index: 10; }

/* Website-dashboard */
.website-toolbar{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-end;
  gap:16px;
  margin-bottom:14px;
}
.website-toolbar .field{ margin:0; }
.website-toolbar #btnWebsiteSync{ align-self:center; white-space:nowrap; }
.website-sync-status{ font-size:13px; align-self:center; max-width:min(520px, 100%); }

.website-toolbar--partners{
  align-items:flex-start;
}
.website-partner-scope{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:min(220px, 100%);
}
.website-partner-radio{
  display:flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-size:14px;
  color: var(--text);
}
.website-partner-radio input{
  accent-color: #3b82f6;
}
.website-partner-checkboxes{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:12px;
  background: rgba(255,255,255,.04);
  max-width:100%;
  flex:1 1 280px;
}
.website-partner-cb{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:13px;
  cursor:pointer;
  color: var(--muted);
}
.website-partner-cb input{ accent-color: #60a5fa; }

.panel__header--website-fv{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:8px 16px;
}
.panel__header-titles{
  display:flex;
  flex-wrap:wrap;
  gap:10px 28px;
  align-items:baseline;
}
.panel__header-titles h2{
  margin:0;
  font-size:1.05rem;
}

.chart-wrap--ps{
  height:320px;
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.website-ps-dual{
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  justify-content:center;
  gap:20px 28px;
  padding:8px 0 12px;
}
.website-ps-col{
  flex:1 1 200px;
  max-width:280px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.website-ps-col-label{
  font-size:12px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.website-ps-dual .website-ps-circle{
  width:min(228px, 46vw);
}

.website-manual-table-wrap .table-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  margin:0 -4px;
}
.website-manual-table-wrap table{
  min-width:640px;
}

.panel--website-chart .panel__body{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.panel__header--accent{
/*  background: linear-gradient(90deg, rgba(37,99,235,.95), rgba(59,130,246,.88));
 */ border-bottom: none;
}
.panel__header.panel__header--accent{
  border-radius:16px 16px 0 0;
}
.panel__header--accent h2{
  color: #fff;
  letter-spacing: .4px;
}
.panel__header--accent .muted{
  color: rgba(255,255,255,.88);
}
body.is-light .panel__header--accent{
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.website-chart-total{
  text-align:center;
  font-size: 15px;
  color: var(--muted);
  padding: 4px 0 2px;
}

.website-ps-label{
  text-align:center;
  font-weight:600;
  margin-bottom:8px;
  color: var(--muted);
  font-size: 13px;
}
.website-ps-wrap{
  display:flex;
  justify-content:center;
  padding: 8px 0 16px;
}
.website-ps-circle{
  width: min(240px, 92vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  grid-template: 1fr 1fr / 1fr 1fr;
  box-shadow: var(--shadow);
  outline: 2px solid var(--border);
  container-type: size;
  container-name: pagespeed-circle;
}
.website-ps-cell{
  display:flex;
  flex-direction:column;
  min-height:0;
  min-width:0;
  color: #fff;
  box-sizing:border-box;
}
/* Bovenste rij: blok (cijfer + label) naar de x-as (onderkant van de bovenste helft) */
.website-ps-circle > .website-ps-cell:nth-child(1),
.website-ps-circle > .website-ps-cell:nth-child(2){
  justify-content:flex-end;
  padding-top:4px;
  padding-bottom:2px;
  gap:2px;
}
.website-ps-circle > .website-ps-cell:nth-child(1) .website-ps-lab,
.website-ps-circle > .website-ps-cell:nth-child(2) .website-ps-lab{
  margin-top:0;
  padding-top:0;
}
/* Onderste rij: label op de x-as, cijfer direct eronder (nog steeds dicht bij de x-as) */
.website-ps-circle > .website-ps-cell:nth-child(3),
.website-ps-circle > .website-ps-cell:nth-child(4){
  justify-content:flex-start;
  padding-top:2px;
  padding-bottom:4px;
  gap:2px;
}
.website-ps-circle > .website-ps-cell:nth-child(3) .website-ps-lab,
.website-ps-circle > .website-ps-cell:nth-child(4) .website-ps-lab{
  order:-1;
  margin-bottom:0;
  margin-top:0;
  padding-bottom:0;
}
.website-ps-circle > .website-ps-cell:nth-child(3) .website-ps-val,
.website-ps-circle > .website-ps-cell:nth-child(4) .website-ps-val{
  order:1;
  margin-top:0;
  margin-bottom:0;
}
/* Lichte verticale finetuning t.o.v. de x-as (was te dicht op de as) */
.website-ps-circle > .website-ps-cell:nth-child(1) .website-ps-val,
.website-ps-circle > .website-ps-cell:nth-child(2) .website-ps-val{
  transform:translateY(1px);
}
.website-ps-circle > .website-ps-cell:nth-child(3) .website-ps-val,
.website-ps-circle > .website-ps-cell:nth-child(4) .website-ps-val{
  transform:translateY(-3px);
}
/* Linkerkolom: inhoud naar verticale middenas (rechts in het kwadrant) */
.website-ps-circle > .website-ps-cell:nth-child(1),
.website-ps-circle > .website-ps-cell:nth-child(3){
  align-items:flex-end;
  text-align:right;
  padding-left:12px;
  padding-right:5px;
}
/* Rechterkolom: inhoud naar verticale middenas (links in het kwadrant) */
.website-ps-circle > .website-ps-cell:nth-child(2),
.website-ps-circle > .website-ps-cell:nth-child(4){
  align-items:flex-start;
  text-align:left;
  padding-left:5px;
  padding-right:12px;
}
/* Hogere specificiteit i.v.m. overschrijven / cache */
.website-ps-circle .website-ps-val{
  display:inline-block;
  box-sizing:border-box;
  padding:12px 14px 16px;
  font-size:clamp(2.05rem, 15cqmin, 3.45rem);
  font-weight:800;
  line-height:0.92;
  letter-spacing:-0.03em;
}
.website-ps-lab{
  font-size:clamp(10px, 4cqmin, 13px);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
  line-height:1.15;
  opacity:0.95;
  max-width:100%;
  hyphens:auto;
  overflow-wrap:anywhere;
  word-break:break-word;
}
/* Browsers zonder container queries: fallback */
@supports not (font-size: 1cqmin){
  .website-ps-circle .website-ps-val{
    padding:12px 14px 16px;
    font-size:clamp(2.05rem, 8.5vmin, 3.45rem);
  }
  .website-ps-lab{
    font-size:clamp(10px, 2.35vmin, 13px);
  }
}
.website-ps-cell--seo{ background: linear-gradient(145deg, #c9781e, #e69138); }
.website-ps-cell--perf{ background: linear-gradient(145deg, #312e81, #4338ca); }
.website-ps-cell--bp{ background: linear-gradient(145deg, #047857, #10b981); }
.website-ps-cell--a11y{ background: linear-gradient(145deg, #0369a1, #38bdf8); }

.website-pagespeed-grid{
  align-items: start;
}

.website-tools-pre{
  margin:0;
  padding:12px;
  font-size:12px;
  line-height:1.45;
  overflow:auto;
  max-height:min(420px, 55vh);
  background: rgba(0,0,0,.22);
  border:1px solid var(--border);
  border-radius:10px;
  color: var(--text);
}
body.is-light .website-tools-pre{
  background: rgba(11,18,32,.06);
}
.website-tools-textarea{
  width:100%;
  min-height:88px;
  resize:vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:12px;
  line-height:1.4;
}

/* Research dashboard */
.chart-wrap--research-hours{
  min-height: 300px;
}
.research-toolbar__inner{
  display:flex;
  flex-wrap:wrap;
  gap:16px 24px;
  align-items:flex-end;
}
.research-narrative-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:14px;
  margin-top:14px;
}
@media (max-width: 900px){
  .research-narrative-grid{
    grid-template-columns: 1fr;
  }
}
.research-cat-block{
  background:#162340;
  color:#fff;
  border-radius:10px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.08);
}
body.is-light .research-cat-block{
  background:#1e3a5f;
  border-color: rgba(11,18,32,.12);
}
.research-cat-updated{
  font-size:0.78rem;
  font-weight:400;
  margin-left:6px;
  white-space:nowrap;
}
@media (max-width:520px){
  .research-cat-updated{ white-space:normal; display:block; margin-left:0; margin-top:2px; }
}
.research-cat-title{
  margin:0 0 14px;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.research-sub{
  margin-bottom:16px;
}
.research-sub:last-child{ margin-bottom:0; }
.research-sub-title{
  margin:0 0 8px;
  font-size:0.95rem;
  font-weight:600;
}
.research-bullets{
  margin:0;
  padding-left:1.15rem;
  color: rgba(255,255,255,.92);
  line-height:1.5;
  font-size:0.9rem;
}
body.is-light .research-bullets{
  color: rgba(255,255,255,.95);
}
.research-bullets li{ margin-bottom:4px; }
.research-empty{ margin:0; font-size:0.88rem; }
.research-totals{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:12px;
  margin-top:14px;
}
@media (max-width: 900px){
  .research-totals{ grid-template-columns: 1fr; }
}
.research-total-card{
  border-radius:10px;
  padding:18px 14px;
  text-align:center;
}
.research-total-card--orange{
  background: linear-gradient(145deg, #c9781e, #e69138);
  color:#fff;
}
.research-total-card--navy{
  background:#162340;
  color:#fff;
  border:1px solid rgba(255,255,255,.1);
}
.research-total-big{
  font-size:clamp(1.75rem, 4vw, 2.35rem);
  font-weight:700;
  line-height:1.1;
}
.research-total-label{
  margin-top:6px;
  font-size:0.82rem;
  opacity:0.95;
}
.research-admin-period{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:flex-end;
}
.research-admin-cat{
  margin:20px 0 12px;
  font-size:1rem;
  border-bottom:1px solid var(--border);
  padding-bottom:6px;
}
.input-wide{
  width:100%;
  max-width:52rem;
}

/* Print / PDF */
@media print{
  :root{
    --bg:#ffffff;
    --text:#0b1220;
    --muted: rgba(11,18,32,.72);
    --border: rgba(11,18,32,.12);
    --shadow: none;
  }
  body{
    background: #fff !important;
    color: #0b1220 !important;
  }
  .topbar, .footer, .tabs, .filters, .btn { display:none !important; }
  .panel, .card{
    box-shadow:none !important;
    background:#fff !important;
    border-color: rgba(11,18,32,.18) !important;
  }
  .chart-wrap, .chart-wrap--tall{ height: 320px !important; }
  a{ color:#0b1220 !important; text-decoration:none !important; }
}

/* WordPress iframe (embed.php): geen site-header */
/* html/body height:100% zou inhoud op iframe-hoogte klemmen → interne scrollbalk */
/* Geen min-height:100vh / min-h-screen: iframe-hoogte volgt content; anders groeispiraal met parent resize */
html.embed-dashboard-root {
  height: auto !important;
  min-height: 0 !important;
  overflow-x: hidden;
  overflow-y: visible;
}
body.embed-dashboard {
  height: auto !important;
  min-height: 0 !important;
  overflow-x: hidden;
  overflow-y: visible;
}
.embed-dashboard .app-shell--embed {
  min-height: 0;
}
.embed-dashboard .home-snapshot {
  height: auto;
}
.embed-dashboard .app-shell--embed .content {
  padding-top: 12px;
}
.footer--embed .footer__inner {
  display: flex;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 14px;
  font-size: 12px;
  text-align: center;
}

