:root {
  color-scheme: light;
  --ink: #16313b;
  --muted: #58717a;
  --blue: #0f6f8f;
  --blue-dark: #084c67;
  --mint: #c8efe6;
  --cream: #fff9ed;
  --orange: #ef7b45;
  --line: #d5e3e6;
  --panel: #ffffff;
  --shadow: 0 18px 48px rgba(18, 57, 68, .11);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(circle at 90% 0, rgba(200, 239, 230, .8), transparent 28rem),
    linear-gradient(180deg, #f8fcfb 0, #eef6f7 100%);
  color: var(--ink);
  font: 16px/1.58 "Segoe UI", system-ui, sans-serif;
}
a { color: var(--blue-dark); text-underline-offset: .18em; overflow-wrap: anywhere; }
a:hover { color: #9b3f1e; }
.local-banner {
  padding: .55rem 1rem;
  background: #153c48;
  color: #fff;
  text-align: center;
  font-size: .88rem;
  letter-spacing: .025em;
}
.topbar {
  display: flex;
  align-items: center;
  gap: .9rem;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}
.topbar img { width: 52px; height: 52px; }
.brand { display: grid; line-height: 1.18; }
.brand strong { font-size: 1.16rem; letter-spacing: -.02em; }
.brand span { color: var(--muted); font-size: .86rem; }
.layout {
  display: grid;
  grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
  gap: clamp(1.1rem, 3vw, 2rem);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}
.side-nav {
  align-self: start;
  position: sticky;
  top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow);
  overflow: clip;
}
.side-nav summary {
  cursor: pointer;
  padding: .85rem 1rem;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
}
.side-nav nav { display: grid; padding: .55rem; }
.side-nav a {
  padding: .58rem .7rem;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.side-nav a:hover, .side-nav a[aria-current="page"] { background: var(--mint); color: #073d51; }
main { min-width: 0; }
.hero, .panel {
  border: 1px solid rgba(213, 227, 230, .95);
  border-radius: 24px;
  background: rgba(255, 255, 255, .93);
  box-shadow: var(--shadow);
}
.hero { padding: clamp(1.4rem, 4vw, 3rem); }
.eyebrow {
  margin: 0 0 .4rem;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
h1 { max-width: 19ch; margin: 0; font-size: clamp(2rem, 5vw, 4.15rem); }
h2 { margin-top: 0; font-size: clamp(1.35rem, 2.8vw, 2rem); }
h3 { margin-bottom: .35rem; }
.lead { max-width: 72ch; color: var(--muted); font-size: 1.08rem; }
.badge {
  display: inline-flex;
  margin: .35rem .35rem .35rem 0;
  padding: .35rem .65rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid #f0dec0;
  font-size: .85rem;
}
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.panel { margin-top: 1rem; padding: clamp(1.15rem, 3vw, 2rem); }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; margin-top: 1.25rem; }
.metric { padding: 1rem; border-radius: 16px; background: #edf8f6; border: 1px solid #cde8e2; }
.metric strong { display: block; color: var(--blue-dark); font-size: clamp(1.35rem, 3vw, 2rem); }
.callout { border-left: 5px solid var(--orange); background: #fff4ec; padding: .85rem 1rem; border-radius: 0 14px 14px 0; }
.good { border-left-color: #21865b; background: #eefaf4; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding: .15rem 0 1rem 3rem; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .93rem; }
th, td { padding: .7rem .65rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--blue-dark); }
code { padding: .08rem .3rem; border-radius: 6px; background: #edf3f4; font-family: Consolas, monospace; overflow-wrap: anywhere; word-break: break-word; }
.button-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .65rem .9rem;
  border-radius: 11px;
  background: var(--blue-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.button.secondary { background: #e6f4f1; color: var(--blue-dark); }
footer { max-width: 1240px; margin: 0 auto; padding: 1rem 2rem 2.5rem; color: var(--muted); font-size: .85rem; }
iframe.report { width: 100%; min-height: 740px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.procedure-shot { margin: 1.2rem 0 0; }
.procedure-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 26px rgba(18, 57, 68, .12); }
.procedure-shot figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }

@media (max-width: 820px) {
  .layout { grid-template-columns: 1fr; }
  .side-nav { position: static; }
  .grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { max-width: none; }
}

@media (max-width: 480px) {
  .metric-grid { grid-template-columns: 1fr; }
  .hero, .panel { border-radius: 18px; }
  .topbar img { width: 44px; height: 44px; }
}

@media print {
  .local-banner, .side-nav { display: none; }
  .layout { display: block; }
  .hero, .panel { box-shadow: none; }
}
