/* Site styles of the LB Omgevingsadvies tools, taken from the NIBM-check (2026-11-20) and trimmed
   to what the starter uses. Hand-written CSS, self-hosted variable font, no framework. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.477b564b86e0.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}


/* ---------- Tokens ---------- */
:root {
  --paper: #f6f6f2;
  --ground: #ffffff;
  --ink: #16201a;
  --ink-2: #3d4a42;
  --muted: #5f6c65;
  --line: #dcdfd8;
  --line-2: #c3c9c0;
  --n2k-deep: #1f5c38;
  --n2k-soft: #e3efe6;
  --signal: #bf3a1d;
  --signal-2: #a3301a;
  --signal-soft: #fbe9e4;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --r: 4px;
  --shadow-panel: 0 24px 48px -28px rgba(22, 32, 26, 0.38), 0 3px 8px -3px rgba(22, 32, 26, 0.14);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;
  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --shadow-label: 0 6px 14px -8px rgba(22, 32, 26, 0.4), 0 1px 2px rgba(22, 32, 26, 0.12);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--line-2) var(--paper); }
body {
  margin: 0; font-family: var(--font); font-optical-sizing: auto; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: tabular-nums; caret-color: var(--signal);
}
h1, h2, h3 { margin: 0 0 0.5em; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
h1, h2 { font-stretch: 100%; letter-spacing: -0.008em; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(1.9rem, 2.6vw, 2.5rem); }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; text-decoration-color: var(--line-2); transition: text-decoration-color 0.2s; }
a:hover { text-decoration-color: var(--signal); }
ol, ul { margin: 0; padding: 0; }
strong { font-weight: 650; }
img, svg { max-width: 100%; }
::selection { background: var(--signal-soft); color: var(--signal-2); }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 38rem; }
.eyebrow { display: block; font-size: 0.85rem; font-weight: 600; color: var(--muted); margin: 0 0 0.5rem; }
.page-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 0.9rem; background: var(--ink); color: #fff; border-radius: var(--r); }
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 30; height: var(--header-h); background: rgba(246, 246, 242, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.4s var(--ease); }
.nav { display: flex; align-items: center; gap: 2rem; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linejoin: round; flex: none; }
.brand-mark circle { fill: var(--signal); stroke: none; }
.brand-name { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.015em; white-space: nowrap; }
.brand-name span { font-weight: 400; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { white-space: nowrap; color: var(--ink-2); font-size: 0.95rem; font-weight: 500; text-decoration: none; padding: 0.3rem 0; border-bottom: 1.5px solid transparent; transition: border-color 0.25s var(--ease), color 0.25s; }
.nav-links a:hover { color: var(--ink); border-color: var(--signal); }
.nav-links a[aria-current] { color: var(--ink); border-color: var(--signal); }
/* The tools domain (stikstoftool.nl): its own wordmark, the same system */
.brand-stack { display: flex; flex-direction: column; line-height: 1.05; }
.brand-tools .brand-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; }
.brand-by { margin-top: 0.2rem; font-size: 0.72rem; font-weight: 500; color: var(--muted); white-space: nowrap; }
/* A link that leaves for the company site: a small outward arrow after its text */
.link-out svg { width: 0.72em; height: 0.72em; margin-left: 0.3em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.35rem; border: 1px solid transparent; border-radius: var(--r); font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background 0.2s var(--ease), border-color 0.2s, color 0.2s, box-shadow 0.25s var(--ease), transform 0.25s var(--ease); }
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 8px 18px -12px rgba(191, 58, 29, 0.9); }
.btn-primary:hover { background: var(--signal-2); box-shadow: 0 12px 22px -12px rgba(163, 48, 26, 0.9); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); box-shadow: none; }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.45; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-about p { margin: 1rem 0 0; font-size: 0.95rem; color: var(--ink-2); max-width: 36rem; }
.footer-title { font-size: 0.95rem; font-weight: 650; margin: 0 0 0.6rem; }
.footer-grid p { font-size: 0.95rem; color: var(--ink-2); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.footer-attrib { flex-basis: 100%; }
.site-footer-slim { padding-top: 2rem; }
.footer-slim { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; }
.footer-owner { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0; font-size: 0.95rem; color: var(--ink-2); }
.footer-owner .brand-mark { width: 22px; height: 22px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; font-size: 0.95rem; }
.footer-links a { color: var(--ink-2); }
.site-footer-slim .footer-bottom { margin-top: 1.5rem; }

/* ---------- Forms ---------- */
.form-section { background: var(--paper); }
.form-head { max-width: 40rem; margin-bottom: 2rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: 0.93rem; margin-bottom: 0.35rem; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="url"], .field select, .field textarea { width: 100%; padding: 0.72rem 0.85rem; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(22, 32, 26, 0.12); }
.field .help { font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 0; }
.field .error { font-size: 0.85rem; color: var(--signal-2); margin: 0.3rem 0 0; font-weight: 600; }
.field-error input, .field-error select, .field-error textarea { border-color: var(--signal); }
.field-checkbox label { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 500; }
.field-checkbox input { margin-top: 0.3rem; accent-color: var(--signal); }
.form-actions { display: grid; gap: 0.75rem; }
.form-foot { margin-top: 2rem; }
.form-switch { margin: 0.9rem 0 0; font-size: 0.95rem; color: var(--ink-2); }
.alert { padding: 1rem 1.25rem; border-radius: var(--r); margin-bottom: 1.5rem; border: 1px solid; }
.alert-error { background: var(--signal-soft); color: #7a2a1b; border-color: #efc6bb; }
.alert-success { background: var(--n2k-soft); color: var(--n2k-deep); border-color: #bcd9c6; }
.card { background: #fff; border: 1px solid var(--line-2); border-radius: 6px; padding: 1.5rem 1.75rem; margin: 1.5rem 0; }
.card ol { padding-left: 1.2rem; }
.card li { margin-bottom: 0.5rem; }


/* ---------- The tool page ---------- */
main > .form-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.field textarea { font-family: var(--font); }
.result { margin-top: 2.5rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); background: var(--ground); border: 1px solid var(--line-2); border-radius: 6px; box-shadow: var(--shadow-panel); }
.result h2 { font-size: 1.2rem; }
.result-value { margin: 0 0 0.5rem; font-size: 1.2rem; color: var(--ink-2); }
.result-number { font-size: clamp(2.6rem, 6vw, 3.6rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
/* What the figure is not: plain ink under a hairline, next to the answer. The family sets it in a
   red wash; here it stands beside "4,1 m onder NAP", which must not read as an alarm. */
.notice { max-width: 36rem; margin: 0.9rem 0 0; padding: 0.7rem 0 0; border-top: 1px solid var(--line); font-size: 0.84rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { gap: 1.25rem; }
  .nav-links { gap: 1.15rem; }
}
@media (max-width: 760px) {
  :root { --header-h: 62px; }
  body { font-size: 16px; }
  .nav { gap: 1rem; }
  .nav-links { gap: 0.9rem; }
  .nav-links a { font-size: 0.88rem; }
  .nav-links a:last-child { display: none; } /* the footer holds the company link too */
  .brand-by { display: none; }
}
/* A phone: "Bureaus vergelijken" ran off the screen at 390 px; the footer holds it too */
@media (max-width: 480px) {
  .nav-links a:nth-child(2) { display: none; }
}

/* ---------- Hoogte op adres: result table and choices ---------- */
.table-wrap { overflow-x: auto; margin: 1.5rem 0 0; }
.values { width: 100%; border-collapse: collapse; font-size: 0.97rem; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.values caption { text-align: left; font-weight: 650; padding-bottom: 0.5rem; color: var(--ink); }
.values th, .values td { text-align: left; padding: 0.55rem 0.6rem 0.55rem 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.values th { font-weight: 500; color: var(--ink-2); }
.values-note { display: block; font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.values td.num { padding-right: 0; text-align: right; font-weight: 650; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.choices { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.choices form { margin: 0; }
.choices .btn { white-space: normal; text-align: left; justify-content: flex-start; width: 100%; }
.result .small { font-size: 0.9rem; }
.result .fold { margin-top: 1rem; }
.result .fold summary { cursor: pointer; font-weight: 600; }

/* ---------- Hoogte op adres: the map stage (templates/tool/_map.html) ----------
   The family's map stage (the sister tools' map): a white panel over the left of the sheet on wide
   screens and around it on phones, the credit on the sheet. The sheet holds one picture, drawn
   by the server for every visitor: the grey BRT Achtergrondkaart at street level with the relief
   of the AHN drawn over it from the grid (templates/tool/_map_static.html). The overlay uses
   Ink and one green only, as the house's map rules ask; the background is never repainted. */

/* With a result on the page the search steps back, so the answer starts high on the screen */
.form-section.has-map { padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(1rem, 2.5vw, 1.5rem); }
.has-map .form-head { margin-bottom: 0.9rem; }
.has-map .page-title { margin-bottom: 0.2rem; font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
.has-map .lead { margin: 0; font-size: 1rem; }
.has-map .lookup .field { margin-bottom: 0.75rem; }
#resultaat { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

.gk-section { padding: 0 0 clamp(1.75rem, 4vw, 3rem); }
.gk { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.gk-head { padding: 0 0 1rem; }
.gk-place { margin: 0; font-size: 0.95rem; line-height: 1.4; color: var(--ink-2); }
.gk-sheet { position: relative; height: clamp(340px, 60svh, 540px); height: round(down, clamp(340px, 60svh, 540px), 1px); overflow: hidden; isolation: isolate; background: #f1f1ee; border: 1px solid var(--line-2); border-radius: 6px 6px 0 0; }
.gk-body { padding: 0.4rem 1rem 1.1rem; background: var(--ground); border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 6px 6px; }
.gk-credit { position: absolute; z-index: 3; right: 0; bottom: 0; max-width: 100%; margin: 0; padding: 2px 7px; background: rgba(255, 255, 255, 0.86); border-top-left-radius: 3px; font-size: 0.68rem; font-stretch: 90%; line-height: 1.4; color: var(--ink-2); }
.gk-note { max-width: 46rem; margin: 0.85rem 0 0; font-size: 0.82rem; line-height: 1.5; color: var(--muted); }

/* The answer: the sentence with its figure set large, the gap line small under it, then the
   comparison, then what the figure is not. No colour of alarm anywhere: below NAP is common. */
.hz-answer { margin: 0.3rem 0 0; font-size: 1.05rem; font-weight: 500; line-height: 1.35; letter-spacing: 0; color: var(--ink-2); font-variation-settings: normal; text-wrap: pretty; }
.hz-lead { display: block; }
.hz-figure, .hz-stop { font-size: clamp(2.3rem, 8vw, 2.9rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; color: var(--ink); font-variation-settings: "opsz" 96; }
.hz-figure { display: inline-block; margin-top: 0.1rem; }
.hz-gap { max-width: 36rem; margin: 0.45rem 0 0; font-size: 0.84rem; line-height: 1.45; color: var(--muted); }
.hz-compare { max-width: 36rem; margin: 0.75rem 0 0; font-size: 1rem; line-height: 1.45; color: var(--ink); text-wrap: pretty; }

/* The key in the body of the panel: the scale of the three figures, then the symbols */
.hz-key-title { margin: 0.8rem 0 0.1rem; font-size: 0.92rem; font-weight: 650; letter-spacing: 0; line-height: 1.3; font-variation-settings: normal; }
.hz-key-note { margin: 0 0 0.6rem; font-size: 0.86rem; line-height: 1.45; color: var(--ink-2); }
.hz-key { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 0.9rem; margin: 0; padding: 0.7rem 0 0; border-top: 1px solid var(--line); font-size: 0.84rem; line-height: 1.35; color: var(--ink-2); }
.hz-key li { display: grid; grid-template-columns: 26px minmax(0, 1fr); column-gap: 0.5rem; align-items: start; }
.hz-sym { display: block; width: 26px; height: 12px; margin-top: 0.15rem; overflow: visible; }
.hz-sym-line { fill: none; stroke: var(--ink); stroke-opacity: 0.7; stroke-width: 1.2; }
.hz-sym-gap { fill: #fff; stroke: var(--line-2); stroke-width: 1; }
.hz-sym-hatch { fill: none; stroke: rgba(22, 32, 26, 0.5); stroke-width: 1; }
.hz-sym-spot { fill: var(--ink); stroke: #fff; stroke-width: 1.5; }
.hz-sym-radius { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 4 3; }
.hz-sym-section { stroke: var(--ink); stroke-opacity: 0.6; stroke-width: 1; }

/* The scale: the column of tints with the three figures and the address beside it */
.hz-scale { display: block; width: 100%; max-width: 300px; height: auto; margin: 0.2rem 0 0.2rem; overflow: visible; }
.hz-scale text { font-family: var(--font); font-size: 12.5px; fill: var(--ink-2); }
.hz-scale-unit { font-size: 11px; fill: var(--muted); }
.hz-scale-frame { fill: none; stroke: rgba(22, 32, 26, 0.28); stroke-width: 1; }
.hz-scale-edge { stroke: var(--muted); stroke-width: 1; }
.hz-scale .hz-scale-num { font-size: 11.5px; fill: var(--muted); }
.hz-scale-mark { stroke: var(--ink); stroke-width: 1.6; }
.hz-scale-leader { fill: none; stroke: var(--ink-2); stroke-opacity: 0.7; stroke-width: 1; stroke-linejoin: round; }
.hz-scale .hz-scale-fig { font-weight: 650; fill: var(--ink); }
.hz-scale .is-address { fill: var(--ink); font-weight: 650; }
.hz-scale-halo { stroke-width: 4; }
.hz-scale-ring { stroke-width: 2; }
.hz-scale-dot { stroke-width: 1.5; }

/* The picture. Its type is set in the frame's units, which the sheet shows at about 0.65 on a
   phone and about 1 on a wide screen, so the sizes below land near 12 px on both. */
.gk-static { position: absolute; inset: 0; }
.gk-static-svg { display: block; width: 100%; height: 100%; }
.gk-static-paper { fill: #f1f1ee; }
.hz-pic { --t: 18.5px; --halo: 5.5px; }
.hz-pic text { font-family: var(--font); font-size: var(--t); }
.hz-band { shape-rendering: crispEdges; }
.hz-gaps { fill: url(#hz-hatch); }
.hz-hatch-line { stroke: rgba(22, 32, 26, 0.42); stroke-width: 0.06; }
.hz-line { fill: none; stroke: var(--ink); stroke-opacity: 0.72; stroke-width: 1.15px; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.hz-radius { fill: none; stroke: var(--ink); stroke-width: 1.5px; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; }
.hz-sections line { stroke: var(--ink); stroke-opacity: 0.55; stroke-width: 1px; vector-effect: non-scaling-stroke; }
.hz-ends text, .hz-labels text, .hz-spot-label, .hz-bar text, .hz-pic-note { paint-order: stroke; stroke: #fff; stroke-width: var(--halo); stroke-linejoin: round; }
.hz-ends text { font-weight: 700; fill: var(--ink); }
.hz-labels text { font-weight: 600; fill: var(--ink); stroke: rgba(255, 255, 255, 0.88); }
.hz-spot { fill: var(--ink); stroke: #fff; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.hz-spot-label { font-weight: 650; fill: var(--ink); }
.hz-bar line { stroke: var(--ink); stroke-width: 3px; stroke-linecap: butt; vector-effect: non-scaling-stroke; }
.hz-bar text { font-weight: 650; fill: var(--ink); }
.hz-pic-note { font-weight: 500; fill: var(--ink-2); }
.gk-mark-halo { fill: none; stroke: #fff; stroke-width: 9; stroke-opacity: 0.9; }
.gk-mark-ring { fill: none; stroke: var(--ink); stroke-width: 3.5; }
.gk-mark-dot { fill: var(--signal); stroke: #fff; stroke-width: 3; }
.gk-static-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 22px)); padding: 4px 9px; background: #fff; color: var(--signal-2); border: 1px solid var(--line-2); border-radius: 3px; box-shadow: var(--shadow-label); font-size: 13px; font-weight: 650; line-height: 1.25; white-space: nowrap; }

/* The profiles under the map: a white panel as wide as the map, the two sections side by side
   from 900px, stacked below. Their type is set in the drawing's units per width, so it lands
   between about 10 and 14 px wherever the drawing is shown. */
.hz-profile-section { padding: 0 0 0.5rem; }
.hz-profile-panel { margin-top: 0; }
.hz-profile-panel h2 { margin-bottom: 0.3rem; }
.hz-section-lead { max-width: 44rem; margin: 0; font-size: 0.97rem; color: var(--ink-2); }
.hz-profiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 2rem; margin: 1.2rem 0 0.6rem; }
.hz-profile { max-width: 560px; margin: 0; }
.hz-profile figcaption { margin: 0 0 0.25rem; font-size: 0.95rem; font-weight: 650; }
.hz-profile-svg { --pt: 17px; --pn: 16px; display: block; width: 100%; height: auto; overflow: visible; }
.hz-profile-svg text { font-family: var(--font); font-size: var(--pt); fill: var(--ink-2); }
.hz-grid line { stroke: var(--line); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.hz-profile-svg .hz-pnum text, .hz-profile-svg .hz-punit, .hz-profile-svg .hz-pends text { font-size: var(--pn); fill: var(--muted); }
.hz-psteps rect { shape-rendering: crispEdges; }
.hz-phatch-line { stroke: rgba(22, 32, 26, 0.32); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.hz-poutline { fill: none; stroke: var(--ink); stroke-width: 1.5px; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.hz-paxis { stroke: var(--ink-2); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.hz-pmiddle { stroke: var(--ink); stroke-width: 1.3px; stroke-dasharray: 5 4; vector-effect: non-scaling-stroke; }
.hz-profile-svg .hz-pmiddle-label { font-weight: 600; fill: var(--ink); }
.hz-paddress { stroke: var(--ink); stroke-opacity: 0.45; stroke-width: 1px; stroke-dasharray: 2 3; vector-effect: non-scaling-stroke; }
.hz-profile-note { max-width: 44rem; margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--muted); }
@media (min-width: 481px) { .hz-profile-svg { --pt: 13px; --pn: 12px; } }
@media (min-width: 900px) {
  .hz-profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hz-profile { max-width: none; }
  .hz-profile-svg { --pt: 12.5px; --pn: 11.5px; }
}

/* Phones: the sheet from edge to edge, the panel parts round it */
@media (max-width: 760px) {
  .gk-sheet, .gk-body { margin-inline: calc(-1 * var(--gutter)); border-left: 0; border-right: 0; border-radius: 0; }
  .gk-body { padding-inline: var(--gutter); border-bottom: 1px solid var(--line-2); }
}

/* Wide screens: the panel lies over the left of the sheet, as on the stikstofkaart. From 1100px
   (the house's breakpoint for a simpler layout) and not from 900px as in the sister tools: the
   100 m circle needs about 540px beside the panel. The stage fills the window and grows when the
   panel needs more room, so nothing of the panel hides behind a scroll on a short laptop. */
@media (min-width: 1100px) {
  .gk { min-height: clamp(600px, calc(100svh - var(--header-h) - 3rem), 860px); min-height: round(down, clamp(600px, calc(100svh - var(--header-h) - 3rem), 860px), 1px); grid-template-columns: minmax(380px, 40%) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .gk-sheet { grid-column: 1 / -1; grid-row: 1 / -1; height: auto; border-radius: 6px; }
  .gk-head, .gk-body { position: relative; z-index: 2; grid-column: 1; margin-left: 1rem; background: var(--ground); border: 1px solid var(--line-2); box-shadow: var(--shadow-panel); }
  .gk-head { grid-row: 1; margin-top: 1rem; padding: 1.1rem 1.35rem 0.2rem; border-bottom: 0; border-radius: 6px 6px 0 0; }
  .gk-body { grid-row: 2; align-self: start; margin-bottom: 1rem; padding: 0.1rem 1.35rem 1.1rem; border-top: 0; border-radius: 0 0 6px 6px; }
  .gk-credit { right: 6px; bottom: 6px; border-radius: 3px; font-size: 0.7rem; }
  /* the picture: its middle (the address) in the middle of the part beside the panel, which
     takes max(380px, 40%) plus its 1rem margin */
  .gk-static { right: auto; width: calc(100% + max(380px, 40%) + 1rem); }
  .hz-pic { --t: 11.5px; --halo: 3.6px; }
  .hz-pic-note.is-narrow { display: none; }
}
@media (max-width: 1099px) {
  .hz-pic-note.is-wide { display: none; }
}
@media (min-width: 761px) {
  .has-map .lookup { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 0.75rem; align-items: start; }
  .has-map .lookup > .alert, .has-map .lookup > .error { grid-column: 1 / -1; }
  .has-map .lookup .form-actions { padding-top: calc(0.93rem * 1.6 + 0.35rem); }
}
