/* Climate Graph Practice: a weather station logbook. Cool rain-grey page, white Stevenson-screen panels, an ochre
   accent for actions (sun and dry ground), condensed signage headings, and the climate graph's own two colours:
   blue rainfall bars and a red temperature line. Black on white with grey bars on paper. */
:root {
  --bg: #eef2f4;
  --paper: #ffffff;
  --ink: #172026;
  --muted: #4a5660;
  --line: #d3dce2;
  --edge: #84919b;
  --accent: #865300;
  --accent-ink: #ffffff;
  --accent-soft: #f6ead3;
  --info: #1f5f8b;
  --ok: #17663a;
  --ok-soft: #dff1e6;
  --close: #7a5300;
  --close-soft: #f7ecd4;
  --bad: #a2261f;
  --bad-soft: #f8e1de;
  --focus: #1b5fd0;
  --g-bg: #ffffff;
  --g1: #d8e0e6;
  --g2: #a9b7c2;
  --gv: #eef2f5;
  --g-box: #4a5660;
  --bar: #4f8cc4;
  --bar-edge: #2d6597;
  --temp: #c8321e;
  --user: #865300;
  --head: Bahnschrift, "DIN Alternate", "Roboto Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "DejaVu Sans Mono", monospace;
  --r: 4px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121619;
    --paper: #1a2025;
    --ink: #e6ebef;
    --muted: #a6b2bb;
    --line: #2c353c;
    --edge: #62707b;
    --accent: #f0b65a;
    --accent-ink: #1f1300;
    --accent-soft: #33260f;
    --info: #86c0f0;
    --ok: #8adca6;
    --ok-soft: #142c1e;
    --close: #f0c56b;
    --close-soft: #352a12;
    --bad: #ff9c8f;
    --bad-soft: #3a1c18;
    --focus: #8ab8ff;
    --g-bg: #161b1f;
    --g1: #252e35;
    --g2: #43515c;
    --gv: #1c2329;
    --g-box: #a6b2bb;
    --bar: #3f78ad;
    --bar-edge: #7fb3e3;
    --temp: #ff7a63;
    --user: #f0b65a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
a { color: var(--info); text-underline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.hero { padding: 18px 0 2px; max-width: 840px; border-bottom: 3px solid var(--ink); }
h1 { font: 700 clamp(1.8rem, 5.4vw, 2.7rem)/1.05 var(--head); font-stretch: condensed; margin: 0 0 8px; letter-spacing: 0; }
.lede { margin: 0 0 12px; color: var(--muted); max-width: 70ch; }
h2 { font: 700 1.35rem/1.2 var(--head); margin: 0 0 10px; }

.tool { display: flex; flex-direction: column; }
.setup { order: 1; margin: 14px 0 4px; }
.work-area { order: 2; min-width: 0; }
.typecard { order: 3; }
@media (min-width: 1020px) {
  .tool { display: grid; grid-template-columns: minmax(0, 1fr) 330px; column-gap: 36px; align-items: start; }
  .setup { grid-column: 1; grid-row: 1; }
  .typecard { grid-column: 2; grid-row: 1 / span 2; margin-top: 14px; }
  .work-area { grid-column: 1; grid-row: 2; }
}
fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.tdet { margin: 0 0 10px; }
.tdet > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; gap: 6px; list-style: none; }
.tdet > summary::-webkit-details-marker { display: none; }
.tdet > summary::before { content: "+"; font-family: var(--mono); font-weight: 700; color: var(--accent); width: 1ch; }
.tdet[open] > summary::before { content: "−"; }
.tdet .tsum { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.tdet .topics { margin-bottom: 4px; }
.toggles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.tg { position: relative; display: block; cursor: pointer; }
.tg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tg span { display: flex; flex-direction: column; justify-content: center; min-height: 44px; height: 100%; padding: 5px 10px 5px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); color: var(--muted); line-height: 1.2; }
.tg span::before { content: ""; position: absolute; left: 10px; top: 50%; width: 14px; height: 14px; margin-top: -8px; border: 2px solid var(--edge); border-radius: 2px; }
.tg b { font-size: 0.95rem; font-weight: 600; }
.tg small { display: none; color: var(--muted); font-size: 0.84rem; }
@media (min-width: 1020px) { .tg small { display: block; } .tg span::before { top: 9px; margin-top: 0; } .tg input:checked + span::after { top: 10px !important; margin-top: 0 !important; } }
.tg input:checked + span { color: var(--ink); border-color: var(--edge); }
.tg input:checked + span::before { border-color: var(--accent); background: var(--accent); }
.tg input:checked + span::after { content: ""; position: absolute; left: 15px; top: 50%; width: 4px; height: 8px; margin-top: -7px; border: solid var(--accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tg input:focus-visible + span, .sg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.tg .short { display: none; }
.setgrid { display: grid; gap: 0 20px; }
@media (min-width: 700px) { .setgrid { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); } }
.seg { display: grid; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.seg4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.seg2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sg { position: relative; display: block; cursor: pointer; }
.sg + .sg { border-left: 1px solid var(--edge); }
.sg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sg input:disabled { cursor: not-allowed; }
.sg .nw { white-space: nowrap; }
.sg > span { display: flex; align-items: center; justify-content: center; min-height: 44px; height: 100%; padding: 4px 4px; text-align: center; font-size: 0.92rem; font-weight: 600; background: var(--paper); line-height: 1.15; }
.sg input:checked + span { background: var(--accent); color: var(--accent-ink); }
.sg input:disabled + span { color: var(--edge); background: var(--bg); }
.lvhint { margin: 4px 0 0; font-size: 0.86rem; color: var(--muted); }
.lvhint:empty { display: none; }
.setrow { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; }
label.inline { display: flex; align-items: center; gap: 8px; font-weight: 600; }
select, input { font: inherit; font-size: 16px; color: var(--ink); background: var(--paper); border: 1px solid var(--edge); border-radius: var(--r); min-height: 44px; padding: 6px 10px; }
select { max-width: 100%; }
.btn { font: inherit; font-weight: 650; min-height: 44px; padding: 8px 16px; border-radius: var(--r); border: 1px solid var(--ink); background: var(--paper); color: var(--ink); cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.small { padding: 6px 14px; }
.btn:hover { filter: brightness(0.95); }
.link { font: inherit; background: none; border: 0; padding: 10px 0; min-height: 44px; color: var(--info); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* the reference card: a station notice pinned beside the setup */
.typecard { margin: 16px 0 6px; padding: 10px 14px 8px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--accent); max-width: 560px; font-size: 0.92rem; }
.typecard h2 { font-size: 1.05rem; margin: 0 0 4px; }
.typecard ul { margin: 0; padding: 0; list-style: none; }
.typecard li { padding: 4px 0; border-bottom: 1px solid var(--line); line-height: 1.35; }
.typecard li:last-child { border-bottom: 0; }
.typecard dl { margin: 0; }
.typecard dt { font-weight: 600; padding-top: 5px; border-top: 1px solid var(--line); }
.typecard dt:first-child { border-top: 0; padding-top: 0; }
.typecard dd { margin: 0 0 5px; color: var(--muted); line-height: 1.35; }
.typecard .kc { font-family: var(--mono); font-size: 0.84rem; }

.note { overflow-wrap: anywhere; margin: 12px 0; padding: 10px 12px; border-left: 5px solid var(--close); background: var(--close-soft); }
.note.info { border-left-color: var(--info); background: var(--paper); }
.note .link { min-height: 0; padding: 0; font-weight: 600; }

/* the sheet */
.sheet { margin: 12px 0 0; }
.sheet:focus { outline: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; border-bottom: 2px solid var(--ink); padding-bottom: 4px; }
.sheet-head h2 { margin: 0; font-size: 1.3rem; }
.code { font-family: var(--mono); letter-spacing: 0.08em; color: var(--accent); }
.score { margin: 0; font-size: 0.95rem; color: var(--muted); }
.practice { margin: 6px 0 0; font-size: 0.93rem; color: var(--muted); }
.qs { list-style: none; margin: 0; padding: 0; }
.q { border-bottom: 1px solid var(--line); padding: 20px 0 10px; }
.qhead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.q h3 { font: 700 1.2rem/1.25 var(--head); margin: 0 0 4px; }
.q h3 .qn { color: var(--accent); margin-right: 6px; }
.q .scen { margin: 0 0 10px; max-width: 75ch; }
.zoom { flex: none; background: transparent; }
@media (min-width: 900px) { .zoom { display: none; } }

/* the figures: graph on the left, the parts beside it on wide screens */
@media (min-width: 1100px) {
  .qbody { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0 24px; align-items: start; }
  .q-compare .qbody { grid-template-columns: 1fr; }
}
.fig { margin: 0 0 14px; max-width: 640px; }
.fig-two { display: grid; gap: 10px 18px; max-width: none; }
@media (min-width: 760px) { .fig-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gfig { margin: 0; min-width: 0; }
.figwrap { position: relative; }
.figview { overflow: hidden; border: 1px solid var(--line); background: var(--g-bg); }
/* zoomed on a phone: both axes stay in view as strips over the scroller, drawn at the zoomed graph's own scale
   (220% of the box; the left strip is 40 and the right 42 of the graph's 340 units) */
svg.cgraph.axov { display: none; }
.axov .axbg { fill: var(--g-bg); fill-opacity: 0.95; }
.axov .axedge { stroke: var(--g-box); stroke-width: 0.8; }
@media (max-width: 899px) {
  .qs.zoomed svg.cgraph.axov { display: block; position: absolute; top: 1px; height: auto; pointer-events: none; }
  .qs.zoomed .axl { left: 1px; width: calc((100% - 2px) * 2.2 * 40 / 340); }
  .qs.zoomed .axr { right: 1px; width: calc((100% - 2px) * 2.2 * 42 / 340); }
}
.qs.zoomed .figview { overflow-x: auto; }
.qs.zoomed .figview svg { width: 220%; max-width: none; }
@media (min-width: 900px) { .qs.zoomed .figview svg { width: 100%; } .qs.zoomed .figview { overflow: hidden; } }
svg.cgraph { display: block; width: 100%; height: auto; background: var(--g-bg); }
.cgraph .g1 { stroke: var(--g1); stroke-width: 0.35; }
.cgraph .g2 { stroke: var(--g2); stroke-width: 0.6; }
.cgraph .gv { stroke: var(--gv); stroke-width: 0.35; }
.cgraph .gbox { fill: none; stroke: var(--g-box); stroke-width: 0.8; }
.cgraph .bar { fill: var(--bar); stroke: var(--bar-edge); stroke-width: 0.5; fill-opacity: 0.8; }
.cgraph .kbar { fill: var(--user); stroke: var(--user); fill-opacity: 0.55; }
.cgraph .gap { fill: none; stroke: var(--edge); stroke-width: 0.6; stroke-dasharray: 2 1.6; }
.cgraph .ubar { fill: var(--user); fill-opacity: 0.45; stroke: var(--user); stroke-width: 0.8; }
.cgraph .tline { fill: none; stroke: var(--temp); stroke-width: 1.4; stroke-linejoin: round; }
.cgraph .tpt { fill: var(--temp); }
.cgraph .kpt { fill: var(--g-bg); stroke: var(--user); stroke-width: 1.2; }
.cgraph .upt { fill: none; stroke: var(--user); stroke-width: 1.4; }
.cgraph .tl, .cgraph .tr, .cgraph .mo { font: 8.2px var(--sans); fill: var(--ink); }
.cgraph .tl { text-anchor: end; fill: var(--temp); }
.cgraph .tr { text-anchor: start; fill: var(--bar-edge); }
.cgraph .mo { text-anchor: middle; }
.cgraph .gax { font: 600 7.8px var(--sans); fill: var(--ink); text-anchor: middle; }
.cgraph .gtitle { font: 700 8.4px var(--sans); fill: var(--ink); }
.cgraph .tgap { stroke: var(--temp); stroke-width: 0.6; stroke-dasharray: 2 1.6; }
.cgraph .hit { fill: transparent; cursor: crosshair; }
.cgraph .hit:hover { fill: var(--accent-soft); fill-opacity: 0.5; }
.tapnote { margin: 4px 0 0; font-size: 0.88rem; color: var(--muted); }
.keyfig { max-width: 480px; margin: 0 0 8px; }

/* the data table of a plotting question, in two halves */
.dtabs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0 0 8px; }
.dtab { border-collapse: collapse; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.dtab th, .dtab td { border: 1px solid var(--line); padding: 3px 6px; text-align: center; min-width: 2.7em; }
.dtab thead th { background: var(--bg); font-weight: 600; }
.dtab tbody th { font-weight: 600; color: var(--muted); text-align: left; }

/* questions */
.qparts { max-width: 760px; }
.part { margin: 0 0 14px; min-width: 0; }
.part > .prompt, .part legend { display: block; font-weight: 600; margin: 0 0 6px; }
.opts { display: grid; gap: 4px; }
.opts.row { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); max-width: 680px; }
.opt { position: relative; display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding: 9px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); cursor: pointer; }
.opt input { margin: 3px 0 0; min-height: 0; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.opt .ot { min-width: 0; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.ain { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.ain input { width: 9em; max-width: 100%; font-family: var(--mono); }
.ain .unit { color: var(--muted); white-space: nowrap; }
.qfoot { display: flex; align-items: center; gap: 4px 16px; flex-wrap: wrap; }
.fbwrap:empty { display: none; }
.fb { margin: 6px 0 0; padding: 6px 10px; border-radius: var(--r); max-width: 70ch; }
.fb.right { background: var(--ok-soft); color: var(--ok); }
.fb.close { background: var(--close-soft); color: var(--close); }
.fb.wrong, .fb.unread { background: var(--bad-soft); color: var(--bad); }
.part.is-right .ain input { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.part.is-wrong .ain input { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.part.is-close .ain input { border-color: var(--close); box-shadow: inset 0 0 0 1px var(--close); }
.work { margin-top: 4px; }
.work > summary { cursor: pointer; color: var(--muted); font-size: 0.93rem; padding: 10px 0; min-height: 44px; display: flex; align-items: center; list-style: none; }
.work > summary::-webkit-details-marker { display: none; }
.work > summary::before { content: "+"; margin-right: 6px; font-weight: 700; font-family: var(--mono); }
.work[open] > summary::before { content: "−"; }
.work .ans { margin: 0 0 2px; }
.steps { margin: 2px 0 10px; padding-left: 1.4em; font-size: 0.94rem; overflow-wrap: anywhere; }
.ask { display: inline-flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; padding: 6px 10px; background: var(--close-soft); border-radius: var(--r); }
.ask .link { padding: 0 4px; }
.sheet-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 12px 0; }

.share { margin: 10px 0 8px; }
.print-row { display: flex; align-items: flex-end; gap: 8px 10px; flex-wrap: wrap; }
.print-row label, .share-out label { display: flex; flex-direction: column; gap: 3px; font-size: 0.9rem; font-weight: 600; }
.share-out input { width: 100%; }
.recent { margin-top: 12px; border-top: 1px solid var(--line); }
.recent summary { cursor: pointer; padding: 11px 0; font-weight: 600; min-height: 44px; }
.recent ul { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding: 4px 0; }
.recent small { display: block; color: var(--muted); }
.hint { color: var(--muted); font-size: 0.9rem; margin: 8px 0 10px; }

.toast { position: fixed; left: 50%; bottom: 16px; transform: translate(-50%, 160%); background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: var(--r); max-width: calc(100% - 32px); transition: transform 0.2s; z-index: 20; }
.toast.on { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* content */
.content { padding: 22px 0 8px; max-width: 840px; }
.content h2 { margin-top: 30px; }
.content p { max-width: 70ch; }
.ltab { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.ltab th, .ltab td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ltab th { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.ltab td:first-child { font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 11px 0; font-weight: 600; min-height: 44px; }
.faq details p { margin: 0 0 12px; }
.sources { font-size: 0.92rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 22px; }

footer { border-top: 1px solid var(--line); margin-top: 20px; padding: 16px 0 28px; color: var(--muted); font-size: 0.92rem; }
.indep { margin: 0 0 10px; }
.sb-footer p { margin: 6px 0; }
.sb-more { line-height: 1.8; }
.sb-footer a { color: var(--ink); }
a.btn { display: inline-flex; align-items: center; text-decoration: none; }

@media (max-width: 600px) {
  .toggles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .tg .long { display: none; }
  .tg .short { display: block; }
  .tg span { padding: 5px 2px; text-align: center; align-items: center; font-size: 0.86rem; }
  .tg span::before, .tg input:checked + span::after { display: none; }
  .tg input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .sg > span { font-size: 0.84rem; }
  .dtab th, .dtab td { padding: 3px 4px; min-width: 2.4em; font-size: 0.86rem; }
  .ltab { font-size: 0.92rem; }
  .ltab thead { display: none; }
  .ltab tr { display: block; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .ltab td { display: block; border: 0; padding: 1px 0; }
}

/* print: worksheet and key only; graphs black on white with grey bars */
.print-root { display: none; }
@page { margin: 0.45in 0.5in; }
@media print {
  :root { --ink: #000; --muted: #333; --line: #999; --paper: #fff; --edge: #555; --g-bg: #fff; --g1: #8f8f8f; --g2: #4d4d4d; --gv: #e4e4e4; --g-box: #000; --bar: #b9b9b9; --bar-edge: #444; --temp: #000; --user: #000; }
  body { background: #fff; color: #000; font: 10.5pt/1.38 var(--sans); }
  main, footer, .toast, .skip, #announce, .axov { display: none !important; }
  .print-root { display: block; }
  svg { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .cgraph .tl, .cgraph .tr { fill: #000; }
  /* minor gridlines dark and thick enough to survive a photocopier */
  .cgraph .g1 { stroke-width: 0.45; }
  .cgraph .g2 { stroke-width: 0.75; }
  .cgraph .bar { fill-opacity: 1; }
  table.pt { width: 100%; border-collapse: collapse; }
  table.pt > tbody > tr > td, table.pt > thead > tr > td { padding: 0; }
  .prun { font: 8.5pt var(--sans); color: #444; text-align: right; padding-bottom: 6pt !important; }
  .ph { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2pt solid #000; margin-bottom: 6pt; }
  .ph h2 { font: 700 15pt var(--head); margin: 0; }
  .ph p { margin: 0; }
  .pmeta { display: flex; justify-content: space-between; gap: 12pt; margin: 4pt 0 6pt; }
  .plabel { margin: 0 0 6pt; font-size: 9pt; font-style: italic; }
  .pq { list-style: none; margin: 0; padding: 0; }
  .pq > li { padding: 6pt 0 6pt; border-bottom: 0.75pt solid #999; break-inside: avoid; page-break-inside: avoid; display: grid; grid-template-columns: 100mm minmax(0, 1fr); column-gap: 7mm; align-items: start; }
  .pq > li .pqh { grid-column: 1 / -1; break-after: avoid; page-break-after: avoid; }
  .pq h3 { font: 700 11.5pt var(--head); margin: 0 0 2pt; }
  .pq .pscen { margin: 0 0 4pt; }
  .pfig .fig { margin: 0; max-width: none; }
  .pfig svg.cgraph { width: 100mm; }
  .pq > li.pk-compare .pfig, .pq > li.pk-compare .pparts { grid-column: 1 / -1; }
  /* a graph to draw on gets the full width: about 2 mm small squares, like exam graph paper */
  .pq > li.pk-plot .pfig, .pq > li.pk-plot .pparts { grid-column: 1 / -1; }
  .pq > li.pk-plot .pfig svg.cgraph { width: 150mm; }
  .pk-plot .pparts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 7mm; margin-top: 3mm; }
  .pfig .fig-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 6mm; }
  .pfig .fig-two svg.cgraph { width: 100%; }
  .pk-compare .pparts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 7mm; margin-top: 3mm; }
  .pfig .dtabs { gap: 2mm; margin-bottom: 2mm; }
  .pfig .dtab { font-size: 8.5pt; }
  .pfig .dtab th, .pfig .dtab td { border-color: #888; padding: 1pt 2pt; min-width: 11mm; }
  .pfig .dtab thead th { background: none; }
  .pparts { font-size: 9.5pt; }
  .pparts .pp { margin: 0 0 8pt; break-inside: avoid; page-break-inside: avoid; }
  .pparts .pp p { margin: 0 0 3pt; }
  .pparts ol.popts { margin: 0; padding-left: 15pt; list-style: upper-alpha; }
  .pparts ol.popts li { margin: 0 0 2pt; }
  .pparts ol.popts.row { display: flex; flex-wrap: wrap; gap: 0 28pt; }
  .pparts .pline { margin-top: 9pt !important; }
  .pdone { font-style: italic; color: #333; }
  .pkey { break-before: page; page-break-before: always; }
  .pk { margin: 0; padding-left: 18pt; }
  .pk > li { padding: 4pt 0 5pt; border-bottom: 0.75pt solid #bbb; }
  .pk .pkp { break-inside: avoid; page-break-inside: avoid; }
  .pk h3 { font: 700 10.5pt var(--head); margin: 0; break-after: avoid; page-break-after: avoid; }
  .pk p { margin: 1pt 0 0; }
  .pk .pka { font-weight: 700; }
  .pk ul { margin: 1pt 0 0; padding-left: 13pt; font-size: 9pt; line-height: 1.35; }
  .pkfig { float: right; width: 66mm; margin: 0 0 4pt 6mm; }
  .pkfig svg.cgraph { width: 66mm !important; }
  .pk > li::after { content: ""; display: block; clear: both; }
}
.ask[hidden] { display: none; }
