.scb-vst{--scb-yellow:#f5c400;--scb-dark:#111;--scb-border:#e6e6e6;font-family:Arial,sans-serif;max-width:1200px}.scb-vst *{box-sizing:border-box}.scb-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:16px 0}.scb-grid-3{grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.scb-grid-4{grid-template-columns:repeat(auto-fit,minmax(210px,1fr))}.scb-card{background:#fff;border:1px solid var(--scb-border);border-radius:14px;padding:20px;margin:18px 0;box-shadow:0 8px 22px rgba(0,0,0,.05)}.scb-card h2{margin-top:0}.scb-card h3{border-left:6px solid var(--scb-yellow);padding-left:10px;margin-top:28px}.scb-big{font-size:42px;font-weight:800;margin:8px 0;color:#111}.scb-btn,.scb-vst .button.button-primary{display:inline-block;background:#111!important;color:#fff!important;border:0!important;border-radius:8px;padding:10px 16px;text-decoration:none;font-weight:700;cursor:pointer}.scb-btn:hover{opacity:.86;color:#fff}.scb-status{display:inline-block;background:#fff7cf;border:1px solid #efd56a;border-radius:20px;padding:6px 12px;font-weight:700}.scb-warning{background:#fff4e5;border-left:5px solid #ff9f1a;padding:12px}.scb-goal-warning{background:#fff1f1;border-left:5px solid #d63638;padding:12px 14px;margin:12px 0;border-radius:8px}.scb-goal-warning ul{margin:8px 0 0 18px}.scb-goal-warning li{margin:4px 0}.scb-vst label{display:block;font-weight:700;margin:10px 0 6px}.scb-vst input[type=text],.scb-vst input[type=number],.scb-vst input[type=date],.scb-vst input[type=time],.scb-vst input[type=password],.scb-vst select,.scb-vst textarea{width:100%;max-width:100%;padding:10px;border:1px solid #d2d2d2;border-radius:8px;font-weight:400;background:#fff}.scb-check{font-weight:400!important;display:block;margin:7px 0}.scb-check input{margin-right:7px}.scb-fieldset{border:1px solid #ddd;border-radius:10px;padding:12px;margin:10px 0}.scb-fieldset legend{font-weight:800;padding:0 8px}.scb-steps{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 20px}.scb-steps span{background:#111;color:#fff;border-radius:20px;padding:7px 12px;font-size:13px;font-weight:700}.scb-schema-public{border-top:6px solid var(--scb-yellow)}.scb-schema-public table{width:100%;border-collapse:collapse}.scb-schema-public td,.scb-schema-public th{border:1px solid #eee;padding:8px}@media(max-width:640px){.scb-card{padding:14px}.scb-grid{grid-template-columns:1fr}.scb-big{font-size:32px}}

/* V2.9 voortgangsoverzicht */
.scb-progress{overflow:hidden}.scb-progress-title{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.scb-progress-title h2{margin-bottom:4px}.scb-progress-title p{margin:0;color:#666}.scb-progress-date{background:#f5f5f5;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:700;white-space:nowrap}.scb-progress-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:18px 0}.scb-progress-kpi{position:relative;border:1px solid #ececec;border-radius:12px;padding:14px 14px 14px 17px;background:#fff;overflow:hidden}.scb-progress-kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:var(--kpi-color)}.scb-progress-kpi span{display:block;color:#666;font-size:12px;font-weight:700}.scb-progress-kpi strong{display:block;font-size:24px;line-height:1.2;margin-top:3px}.scb-progress-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.scb-progress-chart{border:1px solid #ececec;background:#fff;border-radius:14px;padding:14px;min-width:0}.scb-progress-chart h3{border:0;padding:0;margin:0;font-size:16px}.scb-chart-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}.scb-chart-head strong{font-size:18px}.scb-progress-chart svg{width:100%;height:auto;display:block;overflow:visible}.scb-chart-grid{stroke:#e9e9e9;stroke-width:1}.scb-chart-axis,.scb-chart-date{fill:#777;font-size:10px}.scb-chart-target{stroke:#111;stroke-width:1.5;stroke-dasharray:6 5;opacity:.55}.scb-chart-target-label{fill:#111;font-size:10px;font-weight:700}.scb-progress-empty{display:flex;flex-direction:column;justify-content:center;min-height:235px;background:#fafafa}.scb-progress-empty p{color:#777}.scb-progress-note{font-size:12px;color:#777;margin:14px 0 0}
@media(max-width:820px){.scb-progress-charts{grid-template-columns:1fr}.scb-progress-title{display:block}.scb-progress-date{display:inline-block;margin-top:10px}}

/* V3.0.1 - leesbaarheidsfix / bescherming tegen admin dark-mode en thema-overrides */
.scb-vst{
  color:#1d2327!important;
  color-scheme:light;
}
.scb-vst h1,.scb-vst h2,.scb-vst h3,.scb-vst h4,.scb-vst h5,.scb-vst h6,
.scb-vst p,.scb-vst label,.scb-vst legend,.scb-vst li,.scb-vst td,.scb-vst th,
.scb-vst strong,.scb-vst small{
  color:#1d2327;
}
.scb-vst .scb-card,
.scb-vst .scb-progress-kpi,
.scb-vst .scb-progress-chart{
  background:#fff!important;
  color:#1d2327!important;
}
.scb-vst .scb-big{color:#111!important}
.scb-vst .scb-status{color:#1d2327!important;background:#fff7cf!important}
.scb-vst input[type=text],.scb-vst input[type=email],.scb-vst input[type=tel],
.scb-vst input[type=number],.scb-vst input[type=date],.scb-vst input[type=time],
.scb-vst input[type=password],.scb-vst select,.scb-vst textarea{
  background:#fff!important;
  color:#1d2327!important;
  border-color:#8c8f94!important;
  -webkit-text-fill-color:#1d2327;
}
.scb-vst input::placeholder,.scb-vst textarea::placeholder{color:#646970!important;opacity:1}
.scb-vst table.widefat,.scb-vst table.widefat thead,.scb-vst table.widefat tbody,
.scb-vst table.widefat tr,.scb-vst table.widefat td,.scb-vst table.widefat th{
  background-color:#fff!important;
  color:#1d2327!important;
}
.scb-vst table.widefat.striped>tbody>:nth-child(odd){background-color:#f6f7f7!important}
.scb-vst code{background:#f0f0f1!important;color:#2c3338!important}

/* Alleen in wp-admin: de plugin-interface bewust licht houden. */
body.wp-admin .wrap.scb-vst{
  background:#f0f0f1!important;
  color:#1d2327!important;
  padding:1px 20px 28px 20px;
  margin-left:0;
  border-radius:10px;
  min-height:calc(100vh - 70px);
}
body.wp-admin .scb-vst h1,
body.wp-admin .scb-vst h2,
body.wp-admin .scb-vst h3,
body.wp-admin .scb-vst p,
body.wp-admin .scb-vst label,
body.wp-admin .scb-vst legend,
body.wp-admin .scb-vst td,
body.wp-admin .scb-vst th,
body.wp-admin .scb-vst strong{
  color:#1d2327!important;
}
body.wp-admin .scb-vst .scb-card{
  background:#fff!important;
  border-color:#dcdcde!important;
  box-shadow:0 5px 18px rgba(0,0,0,.07)!important;
}
body.wp-admin .scb-vst .button.button-primary,
body.wp-admin .scb-vst .scb-btn{
  background:#111!important;
  color:#fff!important;
  border-color:#111!important;
  -webkit-text-fill-color:#fff!important;
}
body.wp-admin .scb-vst .button.button-primary:hover,
body.wp-admin .scb-vst .scb-btn:hover{
  background:#2c3338!important;
  color:#fff!important;
}
body.wp-admin .scb-vst a:not(.button):not(.scb-btn){color:#2271b1}

.scb-food-preferences{grid-column:1/-1;margin:8px 0 20px;padding:18px;border:1px solid #dfe3e8;border-radius:12px;background:#fbfcfd}
.scb-food-preferences h4{margin:0 0 8px;font-size:20px}
.scb-food-help,.scb-food-mode-explain{color:#4b5563}
.scb-taste-mode{display:block;max-width:620px;margin:14px 0}
.scb-taste-mode select{display:block;width:100%;margin-top:7px}
.scb-food-mode-explain{padding:10px 12px;border-left:4px solid var(--scb-primary,#f5c400);background:#fff}
.scb-food-mode-explain p{margin:4px 0}
.scb-food-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}
.scb-food-category{min-width:0;padding:12px;border:1px solid #e5e7eb;border-radius:10px;background:#fff}
.scb-food-category legend{font-weight:700;padding:0 5px}
.scb-food-category .scb-check{display:block;margin:7px 0}
@media(max-width:900px){.scb-food-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.scb-food-grid{grid-template-columns:1fr}}

.scb-food-favorites{margin-top:18px;padding-top:12px;border-top:1px solid #e5e7eb}.scb-food-favorites summary{cursor:pointer;padding:8px 0}.scb-food-favorites[open] summary{margin-bottom:8px}
