/* Owner pages (SIMPL). Self-contained: no web fonts, no external files.
   --brand is set per deployment (BRAND_PRIMARY) in the page head. */
:root {
  --brand: #136595;
  --on-brand: #ffffff;
  --brand-dark: color-mix(in srgb, var(--brand) 75%, #000);
  --brand-soft: color-mix(in srgb, var(--brand) 12%, #fff);
  --bg: #f1f4f8;
  --card: #ffffff;
  --ink: #163142;
  --muted: #475a68;
  --line: #cfd8e3;
  --ok: #15803d;
  --ok-soft: #e3f4e8;
  --warn-soft: #fdf1e2;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 20px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2 { line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
:focus-visible { outline: 4px solid var(--brand); outline-offset: 3px; border-radius: 10px; }

/* Header and width exactly as in the owner report (beheer core/report/style.css), so the logo does not jump
   when the owner goes from the report to this form. White, so the blue logo shows; the brand colour as a thin line. */
.top { background: #ffffff; color: var(--ink); border-top: 4px solid var(--brand); box-shadow: 0 1px 0 var(--line); padding-top: env(safe-area-inset-top); }
.top-inner { max-width: 880px; margin: 0 auto; padding: 14px 20px; min-height: 68px; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.1rem; line-height: 1.55; }
.brand-logo { display: block; height: 36px; width: auto; max-width: 100%; }

.wrap { max-width: 880px; margin: 0 auto; padding: 22px 16px 56px; }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 22px; }
.center { text-align: center; margin-top: 18px; }
.panel h1 { font-size: 2rem; font-weight: 800; }
.lead { color: var(--muted); font-size: 1.15rem; margin: 12px 0 0; }
.lead.big { font-size: 1.35rem; color: var(--ink); font-weight: 600; }
.hint { color: var(--muted); font-size: 1rem; margin: 18px 0 0; }

.hero-mark {
  width: 84px; height: 84px; border-radius: 24px; margin: 0 auto 18px; background: var(--brand); color: var(--on-brand);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(15, 23, 42, .18);
}
.hero-mark svg { width: 48px; height: 48px; }
.hero-mark.soft { background: var(--warn-soft); color: #b45309; box-shadow: none; }
.hero-mark.ok { background: var(--ok); color: #fff; }

.steps { display: grid; gap: 12px; margin: 26px 0 0; text-align: left; }
.step { display: flex; gap: 14px; align-items: center; background: var(--brand-soft); border-radius: 16px; padding: 14px 16px; }
.step p { margin: 0; font-weight: 600; }
.num {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 1.05rem;
}

.back {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none;
  color: var(--brand-dark); min-height: 52px; font-size: 1.1rem; margin-bottom: 6px;
}
.back svg { width: 26px; height: 26px; }
.about { display: grid; gap: 2px; background: var(--brand-soft); border-radius: 14px; padding: 12px 16px; margin: 16px 0 0; }
.about-label { color: var(--brand-dark); font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.about-address { color: var(--muted); font-size: 1rem; }
.notice { background: var(--warn-soft); color: #7c2d12; border: 2px solid #f3c48d; border-radius: 14px; padding: 14px 16px; margin: 16px 0 0; font-weight: 700; }

form { margin-top: 22px; }
fieldset { border: 0; margin: 0; padding: 0; }
legend, .field-label { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.2rem; margin: 0 0 12px; padding: 0; }
.field-label { margin-top: 26px; }
.choices { display: grid; gap: 12px; }
.choice { display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile {
  display: flex; gap: 16px; align-items: center; padding: 16px; min-height: 84px;
  border: 3px solid var(--line); border-radius: 18px; background: #fff; transition: border-color .12s, background .12s;
}
.tile-icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand-dark);
}
.tile-icon svg { width: 32px; height: 32px; }
.tile-text { display: grid; gap: 2px; }
.tile-text strong { font-size: 1.15rem; }
.tile-text small { color: var(--muted); font-size: 1rem; }
.choice input:checked + .tile { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 3px var(--brand-soft); }
.choice input:checked + .tile .tile-icon { background: var(--brand); color: var(--on-brand); }
.choice input:focus-visible + .tile { outline: 4px solid var(--brand); outline-offset: 3px; }

textarea {
  display: block; width: 100%; font: inherit; color: var(--ink); background: #fff; min-height: 160px; resize: vertical;
  border: 3px solid #94a3b8; border-radius: 16px; padding: 14px 16px;
}
textarea:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
select, input[type=tel] {
  display: block; width: 100%; font: inherit; color: var(--ink); background: #fff; min-height: 60px;
  border: 3px solid #94a3b8; border-radius: 16px; padding: 10px 16px;
}
select:focus, input[type=tel]:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.optional { display: block; color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.emergency { display: flex; gap: 12px; align-items: flex-start; background: #fdecec; color: #7f1d1d; border: 2px solid #f3b4b4;
  border-radius: 14px; padding: 12px 16px; margin: 0 0 20px; font-size: 1.05rem; }
.emergency svg { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.emergency a { color: inherit; font-weight: 800; white-space: nowrap; }
textarea::placeholder { color: #64748b; }
.panel form .hint { margin-top: 8px; }

.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 66px; margin-top: 24px;
  padding: 14px 20px; border: 0; border-radius: 18px; background: var(--brand); color: var(--on-brand);
  font: inherit; font-size: 1.3rem; font-weight: 800; text-decoration: none; cursor: pointer;
  box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: scale(.985); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 600px) {
  .brand { font-size: 1rem; }
  .brand-logo { height: 28px; }
}
