/*
  Manillen — privacy, terms and support pages.
  Family garden palette and shapes from DESIGN.md / Assets.xcassets;
  SF Rounded headings and system body text, no downloaded fonts.
*/

:root {
  color-scheme: light dark;

  --canvas: #F6F1E3;
  --surface: #FFFDF8;
  --field: #8ED462;
  --ink: #22261F;
  --lilac: #E3D0F6;
  --sun: #FFD54A;
  --border: #4B6441;
  --support: #43503B;
  --accent: #1F6634;
  --accent-fg: #FFFFFF;
  --accent-hover: #174F28;
  --hair: rgba(75, 100, 65, 0.28);
  --row-hover: rgba(142, 212, 98, 0.2);
  --head-tint: #EDF6DF;

  --edge: 1px;
  --edge-strong: 2px;

  --r-region: 16px;
  --r-tile: 12px;
  --r-choice: 14px;
  --r-ledge: 24px;

  --f-round: ui-rounded, "SF Pro Rounded", "SF Compact Rounded", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --page: 75rem;
  --column: 40rem;
  --gutter: clamp(1rem, 0.55rem + 1.9vw, 2rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #131A15;
    --surface: #222D25;
    --field: #2C5233;
    --ink: #F4F3EA;
    --lilac: #3D3150;
    --sun: #5A4A14;
    --border: #9FB394;
    --support: #C5CDBE;
    --accent: #A8E07E;
    --accent-fg: #132013;
    --accent-hover: #BCEA98;
    --hair: rgba(159, 179, 148, 0.26);
    --row-hover: rgba(168, 224, 126, 0.09);
    --head-tint: #26372A;
  }
}

@media (prefers-contrast: more) {
  :root {
    --canvas: #FFFDF6;
    --surface: #FFFFFF;
    --field: #9ADB70;
    --ink: #111510;
    --lilac: #E8D9F8;
    --border: #2E4426;
    --support: #283023;
    --accent: #144D25;
    --accent-hover: #0E3A1B;
    --hair: #2E4426;
    --head-tint: #E6F3D6;
    --edge: 2px;
    --edge-strong: 3px;
  }
}

@media (prefers-color-scheme: dark) and (prefers-contrast: more) {
  :root {
    --canvas: #0B100C;
    --surface: #18221A;
    --field: #224428;
    --ink: #FFFFFF;
    --lilac: #33284A;
    --sun: #4C3E0E;
    --border: #CBDDBE;
    --support: #E3EBDC;
    --accent: #C4F2A2;
    --accent-fg: #0B100C;
    --accent-hover: #D6F7BE;
    --hair: #CBDDBE;
    --head-tint: #1E3022;
  }
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--canvas);
  scrollbar-color: var(--border) var(--canvas);
  scroll-padding-top: 1.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  font-kerning: normal;
  font-variant-numeric: proportional-nums;
  overflow-wrap: break-word;
}

:lang(nl) {
  hyphens: auto;
  hyphenate-limit-chars: 12 5 5;
}

h1,
h2,
h3,
.brand,
.docnav,
.lang,
.button,
.address {
  hyphens: manual;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-line: underline;
  text-decoration-thickness: 0.075em;
  text-underline-offset: 0.2em;
  text-decoration-skip-ink: auto;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

strong {
  font-weight: 650;
}

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  z-index: 10;
  left: var(--gutter);
  top: -6rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-tile);
  background: var(--sun);
  color: var(--ink);
  box-shadow: inset 0 0 0 var(--edge-strong) var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.num {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}

/* ---------- Masthead: the field, meeting the top edge squarely ---------- */

.masthead {
  background: var(--field);
  color: var(--ink);
  border-radius: 0 0 var(--r-ledge) var(--r-ledge);
  padding:
    env(safe-area-inset-top, 0px)
    max(var(--gutter), env(safe-area-inset-right, 0px))
    clamp(1.75rem, 1rem + 3vw, 3.25rem)
    max(var(--gutter), env(safe-area-inset-left, 0px));
}

.masthead > * {
  max-width: var(--page);
  margin-inline: auto;
}

.bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand lang"
    "nav nav";
  align-items: center;
  gap: 0.75rem 1rem;
  padding-block: 0.875rem 0.25rem;
}

@media (min-width: 52rem) {
  .bar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav lang";
    gap: 1rem 1.5rem;
  }
}

.brand {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  padding-inline-end: 0.25rem;
  color: inherit;
  font-family: var(--f-round);
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 2.125rem;
  height: 2.125rem;
  flex: none;
}

.docnav {
  grid-area: nav;
  justify-self: stretch;
}

@media (min-width: 52rem) {
  .docnav {
    justify-self: end;
  }
}

.docnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.docnav li {
  flex: 1 1 auto;
}

@media (min-width: 52rem) {
  .docnav li {
    flex: none;
  }
}

.docnav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 44px;
  padding: 0.5rem 0.875rem;
  border-radius: var(--r-tile);
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 var(--edge) var(--border);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.docnav a:hover:not([aria-current]) {
  background: color-mix(in srgb, var(--surface) 80%, var(--sun));
}

.docnav a[aria-current="page"] {
  background: var(--sun);
  box-shadow: inset 0 0 0 var(--edge-strong) var(--ink);
}

.tick {
  width: 1rem;
  height: 1rem;
  flex: none;
}

.lang {
  grid-area: lang;
  display: flex;
  border-radius: var(--r-tile);
  box-shadow: inset 0 0 0 var(--edge) var(--ink);
}

.lang a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-tile);
  color: var(--ink);
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.lang a:hover:not([aria-current]) {
  background: color-mix(in srgb, var(--field) 70%, var(--surface));
}

.lang a[aria-current] {
  background: var(--ink);
  color: var(--canvas);
}

/* Title block */

.title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "heading art"
    "lead lead"
    "meta meta";
  column-gap: 1rem;
  align-items: end;
  padding-top: clamp(1.25rem, 0.6rem + 2.6vw, 2.75rem);
}

@media (min-width: 48rem) {
  .title {
    grid-template-areas:
      "heading art"
      "lead art"
      "meta art";
    column-gap: clamp(2rem, 5vw, 5rem);
  }
}

.title h1 {
  grid-area: heading;
  margin: 0;
  font-family: var(--f-round);
  font-size: clamp(2.125rem, 1.45rem + 3vw, 3.875rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.title .lead {
  grid-area: lead;
  max-width: 38ch;
  margin: 0.875rem 0 0;
  font-size: clamp(1.125rem, 1.03rem + 0.45vw, 1.3125rem);
  line-height: 1.45;
  text-wrap: pretty;
}

.meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.875rem;
  margin: 1.25rem 0 0;
  font-size: 0.9375rem;
}


.art {
  grid-area: art;
  justify-self: end;
  align-self: end;
  width: clamp(5.25rem, 2.6rem + 12vw, 14rem);
}

.art img {
  width: 100%;
}

@media (max-width: 23rem) {
  .title {
    column-gap: 0.75rem;
  }

  .title .art {
    width: 4rem;
  }
}

.hub-head .art {
  width: clamp(6.5rem, 2.5rem + 18vw, 18rem);
}

/* ---------- Page: key (contents) + reading column ---------- */

.page {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  display: grid;
  gap: 2rem;
}

@media (min-width: 64rem) {
  .page {
    grid-template-columns: 16.5rem minmax(0, var(--column));
    column-gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
  }
}

.key h2 {
  margin: 0 0 0.625rem;
  font-family: var(--f-round);
  font-size: 1rem;
  font-weight: 650;
  color: var(--support);
}

.key ol {
  display: grid;
  gap: var(--edge);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: var(--edge) solid var(--hair);
  border-radius: var(--r-region);
  background: var(--hair);
}

@media (min-width: 22rem) and (max-width: 63.99rem) {
  .key ol {
    grid-template-columns: 1fr 1fr;
  }

  .key li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

.key li {
  display: flex;
  background: var(--surface);
}

.key a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.25;
  text-decoration: none;
  hyphens: manual;
}

.key a:hover {
  background: var(--row-hover);
}

.key a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.key a:focus-visible {
  outline-offset: -3px;
  border-radius: 4px;
}

.key img {
  width: 1.625rem;
  height: 1.625rem;
  flex: none;
}

@media (min-width: 64rem) {
  .key {
    position: sticky;
    top: 1.5rem;
    max-height: calc(100vh - 3rem);
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }

  .key a {
    font-size: 1rem;
    padding-inline: 0.875rem;
  }
}

/* Reading column */

.doc {
  min-width: 0;
  max-width: var(--column);
}

.doc > section {
  padding-top: clamp(2.5rem, 2rem + 1.6vw, 3.5rem);
}

.doc > section:first-child:not(.summary, .panel) {
  padding-top: 0;
}

.doc h2 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 -0.75rem 0.875rem;
  padding: 0.375rem 0.75rem;
  font-family: var(--f-round);
  font-size: clamp(1.375rem, 1.24rem + 0.55vw, 1.6875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.doc h2 img {
  width: 2.25rem;
  height: 2.25rem;
  flex: none;
}

/* The sun mat: the section you jumped to settles on it, like the winning card. */
.doc h2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: var(--r-choice);
  background: var(--sun);
  box-shadow: inset 0 0 0 var(--edge-strong) var(--ink);
  opacity: 0;
  transform: scale(0.96);
}

.doc section:target > h2::before {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .doc h2::before {
    transition:
      opacity 0.42s var(--ease-out),
      transform 0.6s var(--ease-out);
  }
}

.doc h3 {
  margin: 1.875rem 0 0.5rem;
  font-family: var(--f-round);
  font-size: 1.1875rem;
  font-weight: 650;
  line-height: 1.3;
}

.doc p,
.doc ul,
.doc ol {
  margin: 0 0 1rem;
}

.doc ul,
.doc ol {
  padding-inline-start: 1.25rem;
}

.doc li {
  margin-bottom: 0.5rem;
  padding-inline-start: 0.125rem;
}

.doc li::marker {
  color: var(--support);
}

.doc :is(p, ul, ol, .datamap, .table, .note, .panel):last-child {
  margin-bottom: 0;
}

.path {
  font-weight: 600;
  white-space: nowrap;
}

/* Summary region: lilac, as the app's help introduction */

.summary,
.doc > .summary {
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-radius: var(--r-region);
  background: var(--lilac);
}

.summary h2 {
  margin-bottom: 0.75rem;
}

.summary ul {
  padding: 0;
  list-style: none;
}

.summary li {
  position: relative;
  padding-inline-start: 1.5rem;
}

.summary li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.6em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 1px;
  background: var(--ink);
  transform: rotate(45deg);
}

/* Notes and choices */

.note {
  margin: 1.25rem 0;
  padding: 1rem 1.25rem;
  border: var(--edge) solid var(--border);
  border-radius: var(--r-region);
  background: var(--surface);
}

.note.choice {
  border: var(--edge-strong) solid var(--ink);
  background: var(--sun);
}

.note > :last-child {
  margin-bottom: 0;
}

.note-title {
  margin: 0 0 0.25rem;
  font-family: var(--f-round);
  font-weight: 700;
}

/* Data map: grouped rows */

.datamap {
  margin: 1.25rem 0;
  overflow: hidden;
  border: var(--edge) solid var(--hair);
  border-radius: var(--r-region);
  background: var(--surface);
}

.datamap > div {
  display: grid;
  gap: 0.25rem 1rem;
  padding: 1rem 1.25rem;
}

.datamap > div + div {
  border-top: var(--edge) solid var(--hair);
}

@media (min-width: 40rem) {
  .datamap > div {
    grid-template-columns: 9rem minmax(0, 1fr);
  }

  .datamap dt {
    grid-row: span 2;
  }
}

.datamap dt {
  font-family: var(--f-round);
  font-weight: 700;
  line-height: 1.35;
}

.datamap dd {
  margin: 0;
}

.datamap .why {
  color: var(--support);
  font-size: 0.9688rem;
}

.datamap .why span {
  font-weight: 650;
  color: var(--ink);
}

/* Tables */

.table {
  width: 100%;
  margin: 1.25rem 0;
  border: var(--edge) solid var(--hair);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--r-region);
  overflow: hidden;
  background: var(--surface);
  font-size: 1rem;
  line-height: 1.45;
}

.table caption {
  caption-side: top;
  padding: 0 0 0.5rem;
  text-align: start;
  font-family: var(--f-round);
  font-weight: 700;
}

.table th,
.table td {
  padding: 0.75rem 1rem;
  text-align: start;
  vertical-align: top;
}

.table thead th {
  background: var(--head-tint);
  font-size: 0.9375rem;
  font-weight: 650;
}

.table tbody th {
  font-weight: 600;
}

.table.retention tbody th {
  width: 56%;
}

.table.choices tbody th {
  width: 34%;
}

@media (max-width: 30rem) {
  .table th,
  .table td {
    padding: 0.625rem 0.75rem;
  }

  .table.choices tbody th {
    width: 38%;
  }
}

.table tbody tr > * {
  border-top: var(--edge) solid var(--hair);
}

/* Parties list */

.parties {
  padding: 0 !important;
  list-style: none;
}

.parties li {
  padding: 0 0 0.75rem;
  margin: 0 0 0.75rem;
  border-bottom: var(--edge) solid var(--hair);
}

.parties li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
}

.parties strong {
  display: block;
  font-family: var(--f-round);
  font-weight: 700;
}

/* Support contact panel */

.panel,
.doc > .panel {
  padding: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  border: var(--edge-strong) solid var(--ink);
  border-radius: var(--r-region);
  background: var(--surface);
}

.address {
  margin: 0 0 1rem;
  font-family: var(--f-round);
  font-size: clamp(1.25rem, 1.08rem + 0.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.address a {
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-tile);
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover {
  background: var(--accent-hover);
}

.button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

.panel .button {
  margin-bottom: 1.25rem;
}

/* Rows: grouped list for documents and onward reading */

.rows,
.doc .rows {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border: var(--edge) solid var(--hair);
  border-radius: var(--r-region);
  background: var(--surface);
}

.rows li,
.doc .rows li {
  margin: 0;
  padding: 0;
}

.rows li + li {
  border-top: var(--edge) solid var(--hair);
}

.rows a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  padding: 1rem 1.25rem;
  color: var(--ink);
  text-decoration: none;
}

.rows a:hover {
  background: var(--row-hover);
}

.rows a:focus-visible {
  outline-offset: -3px;
}

.rows .t {
  display: block;
  font-family: var(--f-round);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.25;
}

.rows a:hover .t {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.rows .d {
  display: block;
  margin-top: 0.125rem;
  color: var(--support);
  font-size: 0.9688rem;
  line-height: 1.45;
}

.rows img {
  width: 2.75rem;
  height: 2.75rem;
}

.rows.large img {
  width: clamp(3.25rem, 2.6rem + 2vw, 4.5rem);
  height: auto;
}

.rows.compact a {
  gap: 0.75rem;
  padding: 0.625rem 1rem;
}

.rows.compact img {
  width: 1.875rem;
  height: 1.875rem;
}

.rows.compact .t {
  font-family: var(--f-body);
  font-size: 1.0625rem;
  font-weight: 600;
}

.chev {
  width: 1rem;
  height: 1rem;
  color: var(--support);
}

@media (prefers-reduced-motion: no-preference) {
  .chev {
    transition: transform 0.3s var(--ease-out);
  }

  .rows a:hover .chev {
    transform: translateX(3px);
  }
}

.next {
  padding-top: clamp(3rem, 2.4rem + 2vw, 4.5rem);
}

.next h2,
.doc .next h2 {
  display: block;
  margin: 0 0 0.75rem;
  padding: 0;
  font-family: var(--f-round);
  font-size: 1.1875rem;
  font-weight: 650;
}

/* Hub */

.hub {
  max-width: var(--page);
  margin-inline: auto;
  padding: clamp(1.5rem, 1rem + 2vw, 3rem) max(var(--gutter), env(safe-area-inset-right, 0px)) 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  .hub {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
  }
}

.hub h2 {
  margin: 0 0 0.75rem;
  font-family: var(--f-round);
  font-size: 1.1875rem;
  font-weight: 650;
}

.hub-side {
  display: grid;
  gap: 2rem;
}

.hub .summary p {
  margin: 0 0 0.75rem;
}

.hub .summary p:last-child {
  margin-bottom: 0;
}

/* Footer */

.foot {
  max-width: var(--page);
  margin: clamp(3.5rem, 2.5rem + 4vw, 6rem) auto 0;
  padding: 1.5rem max(var(--gutter), env(safe-area-inset-right, 0px)) max(2.5rem, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 2rem;
  border-top: var(--edge) solid var(--hair);
  color: var(--support);
  font-size: 0.9375rem;
}

.foot p {
  margin: 0;
}

.foot-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-family: var(--f-round);
  font-weight: 700;
  margin-inline-end: auto !important;
}

.foot-brand img {
  width: 1.5rem;
  height: 1.5rem;
}

.foot a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ---------- Forced colours and print ---------- */

@media (forced-colors: active) {
  .docnav a,
  .lang,
  .note,
  .panel,
  .rows,
  .datamap,
  .table,
  .key ol {
    border: 1px solid CanvasText;
  }

  .docnav a[aria-current="page"],
  .lang a[aria-current] {
    outline: 2px solid Highlight;
    outline-offset: -2px;
  }

  .doc h2::before {
    display: none;
  }

  .doc section:target > h2 {
    outline: 2px solid Highlight;
  }
}

@media print {
  :root {
    --canvas: #FFFFFF;
    --surface: #FFFFFF;
    --field: #FFFFFF;
    --lilac: #FFFFFF;
    --sun: #FFFFFF;
    --ink: #000000;
    --support: #333333;
    --accent: #000000;
    --hair: #999999;
    --border: #666666;
    --head-tint: #F2F2F2;
  }

  .skip,
  .bar,
  .art,
  .key,
  .next,
  .button {
    display: none !important;
  }

  .masthead {
    padding: 0 0 1rem;
    border-bottom: 2px solid #000;
    border-radius: 0;
  }

  .title {
    display: block;
    padding-top: 0;
  }

  .page,
  .hub {
    display: block;
    padding: 1rem 0 0;
  }

  .doc {
    max-width: none;
  }

  .summary,
  .note,
  .panel {
    border: 1px solid #000;
  }

  a {
    color: inherit;
  }

  .doc a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    overflow-wrap: anywhere;
  }

  h2,
  h3 {
    break-after: avoid;
  }

  .datamap > div,
  .table tr {
    break-inside: avoid;
  }
}
