/* Soil Texture Practice: a soil survey field sheet. Pale dry-loam page, cream sheets, a soil profile (dark topsoil
   down to pale subsoil) as the strong left edge of the header, an old-style serif for headings, deep umber for
   actions, and earth tones for the twelve texture classes. Black lines on white on paper. */
:root {
  --bg: #f3eee4;
  --paper: #fffdf8;
  --ink: #231b14;
  --muted: #5b4f44;
  --line: #ddd2c2;
  --edge: #8a7a69;
  --accent: #6b3d1f;
  --accent-ink: #ffffff;
  --accent-soft: #f1e2d3;
  --info: #285c78;
  --ok: #2b6430;
  --ok-soft: #e1efdc;
  --close: #845400;
  --close-soft: #f6ead0;
  --bad: #a3271f;
  --bad-soft: #f8e0dc;
  --focus: #1f63c6;
  --t-bg: #fffdf8;
  --g2: rgba(74, 52, 30, 0.26);
  --g10: rgba(74, 52, 30, 0.6);
  --bnd: #231b14;
  --pt: #1d1712;
  --upt: #b5381c;
  --kpt: #2c5f8a;
  --r-s: #f5e6bd; --r-ls: #f0dcae; --r-sl: #ead2a2; --r-l: #e0cfa8; --r-sil: #ece2c9; --r-si: #f1ebdb;
  --r-scl: #e4c3a0; --r-cl: #dcc0a5; --r-sicl: #e5d6c4; --r-sc: #ddb49a; --r-sic: #dccbbd; --r-c: #d6b8a8;
  --water: #e3edf1; --ly-s: #dcbd82; --ly-si: #b09174; --ly-c: #87695a;
  --head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, 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: 3px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1612;
    --paper: #231e19;
    --ink: #ece4d9;
    --muted: #b5a899;
    --line: #3a322a;
    --edge: #7f7062;
    --accent: #e3a87a;
    --accent-ink: #24150a;
    --accent-soft: #3a2a1d;
    --info: #8cc4e3;
    --ok: #9bd69b;
    --ok-soft: #1a2e1b;
    --close: #f0c56b;
    --close-soft: #352a12;
    --bad: #ff9c8f;
    --bad-soft: #3a1c18;
    --focus: #8ab8ff;
    --t-bg: #1f1a16;
    --g2: rgba(236, 228, 217, 0.2);
    --g10: rgba(236, 228, 217, 0.48);
    --bnd: #efe6da;
    --pt: #f7efe4;
    --upt: #ff8a66;
    --kpt: #8cc4e3;
    --r-s: #4a3e24; --r-ls: #463a24; --r-sl: #42361f; --r-l: #3d3423; --r-sil: #3a3428; --r-si: #36322a;
    --r-scl: #47321f; --r-cl: #433223; --r-sicl: #3c3229; --r-sc: #4a2f22; --r-sic: #3f322b; --r-c: #45302a;
    --water: #1d2a30; --ly-s: #8a7140; --ly-si: #6d5a47; --ly-c: #574238;
  }
}
* { 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; }

/* the header: a soil profile down the left edge */
.hero { margin-top: 16px; padding: 4px 0 4px 16px; max-width: 860px; border-left: 9px solid #6b4a2f;
  border-image: linear-gradient(#2e2118 0 22%, #6b4a2f 22% 48%, #a8794d 48% 76%, #d3b88f 76%) 1; }
h1 { font: 700 clamp(1.85rem, 5.4vw, 2.75rem)/1.08 var(--head); margin: 0 0 8px; letter-spacing: 0; }
.lede { margin: 0; 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: 16px 0 4px; }
.work-area { order: 2; min-width: 0; }
.refcard { display: none; }
@media (min-width: 1020px) {
  .tool { display: grid; grid-template-columns: minmax(0, 1fr) 460px; column-gap: 28px; align-items: start; }
  .setup { grid-column: 1; grid-row: 1; }
  .work-area { grid-column: 1; grid-row: 2; }
  .refcard { display: block; grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 10px; margin-top: 16px; }
  .tri-open { display: none !important; }
}
fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 6px; }
.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; }
.seg { display: grid; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; max-width: 620px; }
.seg3 { grid-template-columns: repeat(3, 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 > span { display: flex; align-items: center; justify-content: center; min-height: 44px; height: 100%; padding: 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); }
.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 triangle beside the questions (wide screens) */
.refcard { padding: 10px 12px 8px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.refcard h2 { font-size: 1.1rem; margin: 0 0 4px; }
.refcard .tri .cn, .tri-dlg .tri .cn { font-size: 11.4px; }
.refcard .tri .cn-s, .tri-dlg .tri .cn-s { font-size: 8.8px; }
.refcard .tri .tl, .tri-dlg .tri .tl { font-size: 9.4px; }
.refcard .tri .ax, .tri-dlg .tri .ax { font-size: 10px; }
.refnote { margin: 4px 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.35; }

.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.22rem/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 read and plot triangles keep their full width (up to 560 px) above the answer boxes on every screen, so the 2%
   gridlines stay far enough apart to read and to tap */
.fig { margin: 0 0 12px; }
.fig-tri { max-width: 560px; }
.figview { overflow: hidden; border: 1px solid var(--line); background: var(--t-bg); }
.qs.zoomed .figview { overflow-x: auto; }
.qs.zoomed .figview svg { width: 210%; max-width: none; }
@media (min-width: 900px) { .qs.zoomed .figview svg { width: 100%; } .qs.zoomed .figview { overflow: hidden; } }

/* the triangle */
svg.tri { display: block; width: 100%; height: auto; background: var(--t-bg); }
svg.tri:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.tri .reg { stroke: none; }
.tri .r-s { fill: var(--r-s); } .tri .r-ls { fill: var(--r-ls); } .tri .r-sl { fill: var(--r-sl); } .tri .r-l { fill: var(--r-l); }
.tri .r-sil { fill: var(--r-sil); } .tri .r-si { fill: var(--r-si); } .tri .r-scl { fill: var(--r-scl); } .tri .r-cl { fill: var(--r-cl); }
.tri .r-sicl { fill: var(--r-sicl); } .tri .r-sc { fill: var(--r-sc); } .tri .r-sic { fill: var(--r-sic); } .tri .r-c { fill: var(--r-c); }
.tri .g2 { stroke: var(--g2); stroke-width: 0.35; }
.tri .g10 { stroke: var(--g10); stroke-width: 0.6; }
.tri .tick { stroke: var(--ink); stroke-width: 0.6; }
.tri .bnd { fill: none; stroke: var(--bnd); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.tri .tri-out { fill: none; stroke: var(--bnd); stroke-width: 1.3; stroke-linejoin: round; }
.tri .tl { font: 8.2px var(--sans); fill: var(--ink); }
.tri .tl-c { text-anchor: end; }
.tri .tl-s { text-anchor: start; }
.tri .cn { font: italic 600 9.6px var(--head); fill: var(--ink); text-anchor: middle; }
.tri .cn-s { font-size: 7.6px; }
.tri .ax { font: 700 9px var(--sans); fill: var(--ink); text-anchor: middle; }
.tri .arr { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.tri .pt circle { fill: var(--pt); stroke: var(--t-bg); stroke-width: 1; }
.tri .pl { font: 700 10.5px var(--sans); fill: var(--pt); paint-order: stroke; stroke: var(--t-bg); stroke-width: 2.4px; }
.tri .pl.end { text-anchor: end; }
.tri .kpt circle { fill: var(--kpt); stroke: var(--t-bg); stroke-width: 1; }
.tri .kpt .pl { fill: var(--kpt); }
.tri .upt circle { fill: none; stroke: var(--upt); stroke-width: 1.7; }
.tri .upt .pl { fill: var(--upt); }
.tri .upt.cur circle { stroke-width: 2.4; }
.tri .hit { fill: transparent; cursor: crosshair; }
.figview svg.tri { touch-action: manipulation; } /* a quick second tap moves the point instead of zooming the page */
.tapnote { margin: 0 0 10px; font-size: 0.9rem; color: var(--muted); max-width: 62ch; }
.keyfig { max-width: 420px; margin: 0 0 8px; }

/* tables of samples and lab readings */
.stab, .htab { border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--paper); }
.stab th, .stab td, .htab th, .htab td { border: 1px solid var(--line); padding: 5px 10px; text-align: center; }
.stab thead th, .htab thead th { background: var(--bg); font-weight: 600; font-size: 0.92rem; }
.stab tbody th { font-family: var(--head); font-size: 1.05rem; }
.stab td.qm { font-weight: 700; color: var(--accent); }
.htab tbody th { text-align: left; font-weight: 600; }
.hmass { margin: 6px 0 0; font-size: 0.95rem; }
.fig-table { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 16px; }
svg.jar { display: block; width: 100%; max-width: 300px; height: auto; }
.jar .water { fill: var(--water); }
.jar .ly-s { fill: var(--ly-s); } .jar .ly-si { fill: var(--ly-si); } .jar .ly-c { fill: var(--ly-c); }
.jar .glass { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.jar .mk { stroke: var(--accent); stroke-width: 1.2; stroke-dasharray: 3 2; }
.jar .rt { stroke: var(--ink); stroke-width: 0.6; }
.jar .rt10 { stroke-width: 0.9; }
.jar .rl, .jar .bl { font: 8px var(--sans); fill: var(--ink); }
.jar .rl { text-anchor: end; }
.jar .bl { font-size: 9.5px; font-weight: 600; }

/* questions */
.qparts { max-width: 760px; min-width: 0; }
.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(84px, 1fr)); max-width: 420px; }
.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; font-weight: 600; }
.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: 8em; max-width: 100%; font-family: var(--mono); }
.ain select { min-width: 14em; }
.unit { color: var(--muted); white-space: nowrap; }
.comp { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.cf { display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; color: var(--muted); }
.cin { display: inline-flex; align-items: center; gap: 4px; }
.cin input { width: 4.6em; font-family: var(--mono); }
.prow { display: flex; align-items: center; gap: 10px; }
.pick { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--upt); background: var(--paper); color: var(--upt); font: 700 1rem var(--sans); cursor: pointer; }
.pick.on { background: var(--upt); color: var(--paper); }
.prow .prompt { font-weight: 600; }
.pstate { font-weight: 400; color: var(--muted); font-size: 0.92rem; }
.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 input:not([type=radio]), .part.is-right select { border-color: var(--ok); box-shadow: inset 0 0 0 1px var(--ok); }
.part.is-wrong input:not([type=radio]), .part.is-wrong select { border-color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.part.is-close input:not([type=radio]), .part.is-close select { 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; }

/* the triangle in a dialog (phones) */
.tri-dlg { width: min(96vw, 580px); max-width: none; max-height: 94vh; padding: 10px 12px 12px; border: 1px solid var(--edge); border-radius: var(--r); background: var(--paper); color: var(--ink); }
.tri-dlg::backdrop { background: rgba(20, 14, 8, 0.5); }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.dlg-head h2 { margin: 0; font-size: 1.15rem; }
#tri-samples .stab { margin-bottom: 8px; font-size: 0.92rem; }
#tri-samples .stab th, #tri-samples .stab td { padding: 3px 8px; }

.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; }
.also { margin-top: 22px; }
.sources { font-size: 0.92rem; color: var(--muted); overflow-wrap: anywhere; margin-top: 18px; }

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) {
  .tg .long { display: none; }
  .tg .short { display: block; }
  /* the same checkboxes as on desktop, a little tighter */
  .tg span { padding: 5px 4px 5px 27px; font-size: 0.88rem; }
  .tg span::before { left: 7px; }
  .tg input:checked + span::after { left: 12px; }
  .tg input:checked + span { background: var(--accent-soft); border-color: var(--accent); }
  .sg > span { font-size: 0.86rem; }
  .stab th, .stab td, .htab th, .htab td { padding: 4px 6px; }
  .htab { font-size: 0.9rem; }
  .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; }
}
/* the college hydrometer table has four columns; at 320 px its headings must still fit */
@media (max-width: 360px) {
  .toggles { gap: 4px; }
  .tg span { padding-left: 21px; padding-right: 1px; font-size: 0.76rem; }
  .tg span::before { left: 4px; width: 12px; height: 12px; margin-top: -7px; }
  .tg input:checked + span::after { left: 8px; width: 3px; height: 7px; margin-top: -6px; }
}
@media (max-width: 380px) {
  .htab { font-size: 0.8rem; }
  .htab th, .htab td { padding: 4px 4px; }
}

/* print: worksheet and key only; the triangle in black lines on white */
.print-root { display: none; }
@page { margin: 0.45in 0.5in; }
@media print {
  :root { --ink: #000; --muted: #333; --line: #999; --paper: #fff; --edge: #555; --t-bg: #fff; --g2: #c4c4c4; --g10: #6f6f6f; --bnd: #000; --pt: #000; --kpt: #000;
    --water: #fff; --ly-s: #e6e6e6; --ly-si: #b9b9b9; --ly-c: #8a8a8a; }
  body { background: #fff; color: #000; font: 10.5pt/1.38 var(--sans); }
  main, footer, .toast, .skip, #announce, .tri-dlg { display: none !important; }
  .print-root { display: block; }
  svg { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .tri .reg { fill: #fff !important; }
  .tri .g2 { stroke-width: 0.3; }
  .tri .g10 { stroke-width: 0.55; }
  .tri .cn { font-weight: 600; }
  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; }
  .pref { break-inside: avoid; page-break-inside: avoid; margin: 0 0 4pt; text-align: center; }
  .pref svg.tri { width: 146mm; margin: 0 auto; }
  .preft { margin: 0; font: 700 10pt var(--sans); text-align: left; }
  .pq { list-style: none; margin: 0; padding: 0; }
  .pq > li { padding: 6pt 0; border-top: 0.75pt solid #999; break-inside: avoid; page-break-inside: avoid; display: grid; grid-template-columns: 84mm minmax(0, 1fr); column-gap: 7mm; align-items: start; }
  .pq > li .pqh { grid-column: 1 / -1; break-after: avoid; page-break-after: avoid; }
  .pq > li.pk-tri, .pq > li.pk-plot { grid-template-columns: 128mm minmax(0, 1fr); }
  .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.tri { width: 128mm; }
  .pfig svg.jar { width: 62mm; }
  .pfig .stab, .pfig .htab { font-size: 9.5pt; }
  .pfig .stab th, .pfig .stab td, .pfig .htab th, .pfig .htab td { border-color: #777; padding: 2pt 6pt; }
  .pfig .stab thead th, .pfig .htab thead th { background: none; }
  .pparts { font-size: 9.5pt; }
  .pparts .pp { margin: 0 0 9pt; 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.row { display: flex; flex-wrap: wrap; gap: 0 22pt; }
  .pparts .pline { margin-top: 7pt !important; }
  .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: 74mm; margin: 0 0 4pt 6mm; }
  .pkfig svg.tri { width: 74mm !important; }
  .pk > li::after { content: ""; display: block; clear: both; }
}
.ask[hidden] { display: none; }
