/* Roozen APPER shell, gedeeld door scan/calc/replify micro-apps
   Art-pass 2026-08-06: --rz-* aliassen + focus/CTA/panel ritme (RSM-licht). */
:root {
  --rz-navy: #15153c;
  --rz-green: #04784a;
  --rz-orange: #ec6b06;
  --rz-warm-black: #2f2f26;
  --rz-grey: #96969b;
  --rz-white: #ffffff;
  --rz-green-light: #e6f5ee;
  --rz-orange-light: #fef3e9;
  --rz-grey-light: #f5f5f5;
  --rz-logo-green: #48d756;
  --rz-shadow-sm: 0 1px 2px rgba(21, 21, 60, 0.06);
  --rz-shadow-md: 0 8px 24px rgba(21, 21, 60, 0.08);
  --rz-focus-ring: 0 0 0 3px rgba(72, 215, 86, 0.35);

  --navy: var(--rz-navy);
  --green: var(--rz-green);
  --orange: var(--rz-orange);
  --text: var(--rz-warm-black);
  --muted: var(--rz-grey);
  --line: #96969b33;
  --bg: var(--rz-grey-light);
  --panel: var(--rz-white);
  --danger: #b42318;
  --danger-bg: #fee2e2;
  --amber: #a95505;
  --amber-bg: var(--rz-orange-light);
  --ok-bg: var(--rz-green-light);
  --ok: var(--rz-green);
  --brand: var(--rz-navy);
  --primary: var(--rz-green);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Open Sans", system-ui, sans-serif;
  line-height: 1.5;
}

.prototype-banner {
  margin: 0;
  padding: 0.45rem 1rem;
  background: var(--rz-orange-light);
  color: #9a4a08;
  font-size: 0.8125rem;
  text-align: center;
  border-bottom: 1px solid rgba(236, 107, 6, 0.25);
}

.shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

.site-header {
  margin-bottom: 1.5rem;
}

.brandbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.suite-home-link {
  margin-left: auto;
  flex-shrink: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  white-space: nowrap;
}

.suite-home-link:hover {
  text-decoration: underline;
}

.suite-home-link:focus-visible {
  outline: none;
  box-shadow: var(--rz-focus-ring);
  border-radius: 4px;
}

/* Suite iframe, merk zit in WEB-shell (?from=suite=1); directe URL toont wel logo+tekst */
html[data-suite-embed="1"] .brandbar,
html[data-suite-embed="1"] [data-suite-brand],
html[data-suite-embed="1"] .mm__brand,
html[data-suite-embed="1"] .bb__brand,
html[data-suite-embed="1"] .suite-home-link,
body[data-suite-embed="1"] .brandbar,
body[data-suite-embed="1"] [data-suite-brand],
body[data-suite-embed="1"] .mm__brand,
body[data-suite-embed="1"] .bb__brand,
body[data-suite-embed="1"] .suite-home-link {
  display: none !important;
}

html[data-suite-embed="1"] .site-header,
html[data-suite-embed="1"] .mm__header,
html[data-suite-embed="1"] .bb__header,
body[data-suite-embed="1"] .site-header,
body[data-suite-embed="1"] .mm__header,
body[data-suite-embed="1"] .bb__header {
  margin-bottom: 0.75rem;
}

html[data-suite-embed="1"] .shell,
html[data-suite-embed="1"] .mm,
html[data-suite-embed="1"] .bb,
body[data-suite-embed="1"] .shell,
body[data-suite-embed="1"] .mm,
body[data-suite-embed="1"] .bb {
  padding-top: 0.75rem;
}

.brandlogo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  display: block;
}

.brandbar__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brandbar__name {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.04em;
  color: var(--green);
}

.brandbar__tagline {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: clamp(0.72rem, 2vw, 0.82rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tool-title {
  margin: 0 0 0.5rem;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.tool-lead {
  margin: 0;
  color: var(--muted);
  max-width: 62ch;
}

h1,
h2,
.cta,
.secondary {
  font-family: Montserrat, system-ui, sans-serif;
}

.tool-grid {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 900px) {
  .tool-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--rz-shadow-sm);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field > span {
  font-weight: 600;
  color: var(--navy);
}

.input-textarea,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  font: inherit;
}

.input-textarea {
  width: 100%;
  min-height: 12rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  resize: vertical;
}

.input-textarea:focus-visible,
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--green);
  box-shadow: var(--rz-focus-ring);
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.cta {
  appearance: none;
  border: none;
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s ease, transform 0.15s ease;
}

.cta:hover:not(:disabled) {
  filter: brightness(1.05);
}

.cta:focus-visible {
  outline: none;
  box-shadow: var(--rz-focus-ring);
}

.cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.secondary {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.7rem 1.25rem;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  cursor: pointer;
}

.secondary:hover:not(:disabled) {
  border-color: var(--navy);
}

.secondary:focus-visible {
  outline: none;
  box-shadow: var(--rz-focus-ring);
}

/* Payoff-paneel, herbruikbaar resultaat-moment (RSM-licht) */
.rz-payoff,
.score-card,
.results-hero {
  border: 1px solid rgba(4, 120, 74, 0.3);
  border-left: 4px solid var(--green);
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1rem;
  background: var(--rz-green-light);
}

.error {
  margin: 0.75rem 0 0;
  color: var(--danger);
  font-size: 0.95rem;
}

.results-empty {
  color: var(--muted);
}

.results-empty__placeholder {
  margin: 0;
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}

.usage-milestone {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

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