/* Filing Practice: a records room. Steel-gray cabinet ground, kraft and manila folders with typed capital labels,
   green pressboard guides, and each question sitting under its own folder tab. Labels and units are set in a
   monospace face, like a typed folder label. On paper it is black ink on white; the drawer keeps a light manila
   tint that survives "background graphics off" because it is drawn as SVG fill with print-color-adjust. */
:root {
  --bg: #eceee8;
  --paper: #ffffff;
  --ink: #1d2420;
  --muted: #505b54;
  --line: #cdd2c8;
  --edge: #7c8780;
  --steel: #3b4741;
  --steel-ink: #ffffff;
  --manila: #ecd9a6;
  --manila-2: #f6ead0;
  --manila-ink: #2d2412;
  --guide: #2f5d4e;
  --guide-ink: #ffffff;
  --accent: #2f5d4e;
  --accent-ink: #ffffff;
  --accent-soft: #e2ece6;
  --info: #1d5b8f;
  --ok: #17693c;
  --ok-soft: #dcefe3;
  --close: #7a5200;
  --close-soft: #f6ecd3;
  --bad: #a3241d;
  --bad-soft: #f8e0dd;
  --hit: #fbe7a3;
  --focus: #1b5fd0;
  --head: "Avenir Next Condensed", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", system-ui, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Courier New", monospace;
  --r: 6px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151916;
    --paper: #1d2320;
    --ink: #e5ebe6;
    --muted: #a6b2aa;
    --line: #2f3833;
    --edge: #66736b;
    --steel: #2c3631;
    --steel-ink: #eef3ef;
    --manila: #d9c38c;
    --manila-2: #e9dcb6;
    --manila-ink: #241d0c;
    --guide: #4f8a74;
    --guide-ink: #0f1a15;
    --accent: #7cc0a4;
    --accent-ink: #0d1813;
    --accent-soft: #1f3129;
    --info: #8fc0ea;
    --ok: #8adca6;
    --ok-soft: #14301f;
    --close: #f0c56b;
    --close-soft: #352a12;
    --bad: #ff9c8f;
    --bad-soft: #3a1c18;
    --hit: #5a4a14;
    --focus: #8ab8ff;
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); }
.wrap { max-width: 1120px; 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; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; font-weight: 700; }
.hero { padding: 20px 0 12px; border-top: 6px solid var(--steel); }
.hero h1 { font-size: clamp(32px, 6.4vw, 48px); margin: 0 0 6px; letter-spacing: -0.01em; }
.lede { margin: 0; max-width: 64ch; color: var(--muted); }
.cs-intro { margin: 4px 0 0; color: var(--muted); }
.cs-intro .link { padding: 0 2px; font-weight: 600; }

/* ---------- controls ---------- */
.tool { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: start; }
.setup { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.setgrid { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: end; }
.setgrid .span { grid-column: 1 / -1; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font: 600 14.5px var(--sans); color: var(--muted); padding: 0; margin-bottom: 4px; }
.seg { display: grid; border: 1px solid var(--edge); border-radius: var(--r); overflow: hidden; }
.seg2 { grid-template-columns: 1fr 1fr; }
.seg3 { grid-template-columns: repeat(3, 1fr); }
.seg4 { grid-template-columns: repeat(4, 1fr); }
.sg { position: relative; display: block; min-width: 0; }
.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; text-align: center; min-height: 44px; padding: 4px 6px; font-size: 15px; line-height: 1.15; }
.sg input:checked + span { background: var(--steel); color: var(--steel-ink); font-weight: 600; }
.sg input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: -3px; }
.tdet { margin-top: 6px; }
.lhint { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.tdet summary, .rules > summary { cursor: pointer; font-weight: 600; min-height: 44px; padding: 10px 0; }
.tsum { font-weight: 400; color: var(--muted); font-size: 14.5px; }
.toggles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; padding-top: 4px; }
.tg { display: flex; gap: 8px; align-items: flex-start; padding: 8px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; min-height: 44px; }
.tg input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.tg b { display: block; font-weight: 600; font-size: 15.5px; }
.tg small { display: block; color: var(--muted); font-size: 14px; line-height: 1.3; }
.inline { display: inline-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: 5px; min-height: 44px; padding: 6px 10px; }
.btn { font: 600 16px var(--sans); min-height: 44px; padding: 8px 16px; border-radius: 5px; border: 1px solid var(--edge); background: var(--paper); color: var(--ink); cursor: pointer; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.small { min-height: 40px; padding: 6px 14px; font-size: 15px; }
.link { font: inherit; background: none; border: 0; color: var(--info); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; min-height: 44px; padding: 0 4px; }

/* ---------- filing rules ---------- */
.rules { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 14px 10px; }
.rset { margin: 2px 0 8px; }
.custom { margin: 0 0 6px; font-size: 15px; color: var(--muted); }
.rchoices { margin: 4px 0 8px; }
.rchoices > summary { cursor: pointer; color: var(--info); font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.rgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px 16px; padding: 4px 0 6px; }
.ropt legend { font-size: 14px; }
.ropt .sg span { font-size: 14.5px; min-height: 44px; }
.rl { margin: 6px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.rl li { margin: 0 0 6px; }
.rl .src { display: block; color: var(--muted); font-size: 13.5px; }

/* ---------- the sheet ---------- */
.note { margin: 0 0 10px; padding: 10px 12px; border: 1px solid var(--bad); background: var(--bad-soft); border-radius: 5px; font-size: 16px; }
#store-note { overflow-wrap: anywhere; }
.note.info { border-color: var(--info); background: var(--paper); }
.sheet:focus { outline: none; }
.sheet-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.sheet-head h2 { font-size: 27px; margin: 8px 0 0; }
.code { font-family: var(--mono); letter-spacing: 0.06em; }
.score { margin: 0; color: var(--muted); font-size: 15px; }
.sline { margin: 2px 0 14px; color: var(--muted); font-size: 14.5px; }
.qs { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
/* each question is a folder: a manila tab stands up from its top edge */
.q { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--manila); border-radius: 0 var(--r) var(--r) var(--r); min-width: 0; margin-top: 14px; }
.q h3 { position: relative; margin: -36px 0 0 -1px; display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% + 2px); background: var(--manila); color: var(--manila-ink); font-size: 19px; padding: 7px 16px 6px 12px; border-radius: var(--r) var(--r) 0 0; }
.qn { font-family: var(--mono); font-weight: 700; font-size: 15px; }
.scen { margin: 10px 14px 6px; max-width: 75ch; }
.more-note { margin: 0 14px 6px; max-width: 75ch; color: var(--muted); font-size: .94em; }
.rlt { font-weight: 700; margin-right: .2em; }
.figview { padding: 0 14px; min-width: 0; }
.qparts { display: grid; grid-template-columns: 1fr; gap: 12px; padding: 8px 14px 14px; }

/* records to file */
.recs { list-style: none; margin: 4px 0 6px; padding: 0; display: grid; gap: 4px; }
.recs li { padding: 4px 0; border-bottom: 1px solid var(--line); }

.recs .rlt { font-weight: 700; margin-right: 4px; }
/* the drawer */
.dwrap { max-width: 520px; margin: 4px 0 6px; }
svg.drawer { display: block; width: 100%; height: auto; }
svg.drawer .case { fill: #d9dcd5; stroke: #7c8780; stroke-width: 1.5; }
svg.drawer .body { fill: #e3c983; stroke: #8a7240; stroke-width: 1; }
svg.drawer .tab { fill: #f4e6c1; stroke: #8a7240; stroke-width: 1.2; }
svg.drawer .guide .tab { fill: #2f5d4e; stroke: #1d3b31; }
svg.drawer .guide .body { fill: #2f5d4e; stroke: #1d3b31; }
svg.drawer .fill { fill: #e3c983; stroke: #8a7240; stroke-width: 0.8; }
svg.drawer .lab { font: 700 12.5px var(--mono); fill: #2d2412; }
svg.drawer .guide .lab { fill: #ffffff; }
svg.drawer .fno { font: 700 13px var(--sans); fill: #3b4741; }

/* answer boxes */
.part { border: 0; margin: 0; padding: 0; min-width: 0; }
.part .prompt, .part legend { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 4px; color: var(--ink); }
.part-units legend { font-weight: 500; }
.ubox { display: grid; gap: 6px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ubox.u3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ubox label { display: grid; gap: 2px; min-width: 0; }
.ubox label span { font-size: 13px; color: var(--muted); }
.ubox input { width: 100%; min-width: 0; font-family: var(--mono); text-transform: uppercase; padding: 6px 6px; }
.ain input { width: 12em; max-width: 100%; font-family: var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.ain input::placeholder { letter-spacing: 0.12em; color: var(--muted); opacity: 0.6; }
.opts { display: grid; gap: 6px; }
.opts.row { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.opt { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; min-width: 0; }
.opt span { min-width: 0; overflow-wrap: anywhere; }
.opt input { width: 20px; height: 20px; min-height: 0; margin: 0; accent-color: var(--accent); flex: none; }
.opt i { font-style: normal; font-weight: 700; color: var(--muted); }
.q-misfile .opt span, .q-guide .opt span { font-family: var(--mono); font-size: 14.5px; }
.part.is-right input:not([type="radio"]) { border-color: var(--ok); background: var(--ok-soft); }
.part.is-wrong input:not([type="radio"]) { border-color: var(--bad); background: var(--bad-soft); }
.fb { margin: 4px 0 0; font-size: 15px; line-height: 1.4; padding: 4px 8px; border-radius: 5px; }
.fb.right { color: var(--ok); background: var(--ok-soft); }
.fb.wrong { color: var(--bad); background: var(--bad-soft); }
.fb.close, .fb.unread { color: var(--close); background: var(--close-soft); }
.qfoot { display: flex; gap: 10px; align-items: center; }
details.work { margin-top: 2px; border-top: 1px dashed var(--line); padding-top: 4px; min-width: 0; }
details.work summary { cursor: pointer; color: var(--info); min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.ans { margin: 8px 0 2px; overflow-wrap: anywhere; }
.steps { margin: 0 0 4px; padding-left: 20px; color: var(--muted); font-size: 15.5px; }
/* key table: units in filing order, the deciding unit marked */
.ktwrap { overflow-x: auto; margin: 4px 0 8px; }
table.kt { border-collapse: collapse; font-size: 14.5px; min-width: 100%; }
table.kt th, table.kt td { border-bottom: 1px solid var(--line); padding: 4px 6px; text-align: left; vertical-align: top; }
table.kt th { font-weight: 600; color: var(--muted); font-size: 13px; white-space: nowrap; }
table.kt td:not(.krec) { font-family: var(--mono); font-size: 13.5px; }
table.kt td.hit { background: var(--hit); font-weight: 700; box-shadow: inset 0 -2px 0 currentColor; }
.ubox { max-width: 760px; }
table.kt tr.kwhy td { border-bottom: 1px solid var(--line); color: var(--muted); font-family: var(--sans); font-size: 13.5px; padding-top: 0; }
table.kt tr:has(+ tr.kwhy) td { border-bottom: 0; }
.sheet-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin: 16px 0 6px; }
.ask { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; background: var(--accent-soft); padding: 6px 10px; border-radius: 5px; }
.share { margin: 16px 0 6px; }
.print-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.print-row label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; max-width: 100%; }
.print-row select { max-width: 100%; min-width: 0; }
.share-out label { display: grid; gap: 4px; font-weight: 600; margin-top: 8px; }
.share-out input { width: 100%; }
.recent { margin-top: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 12px; }
.recent summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.recent ul { list-style: none; margin: 0; padding: 0; }
.recent li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); }
.recent small { display: block; color: var(--muted); font-size: 14px; }
.hint { color: var(--muted); font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%) translateY(150%); background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 5px; max-width: min(92vw, 520px); font-size: 15.5px; transition: transform 0.2s; z-index: 20; }
.toast.on { transform: translateX(-50%) translateY(0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- content ---------- */
.content { max-width: 75ch; padding: 28px 0 20px; }
.content h2 { font-size: 26px; margin: 28px 0 6px; }
.tscroll { overflow-x: auto; }
.rstack { display: none; }
.tnote { font-size: 15.5px; color: var(--muted); }
@media (max-width: 479px) {
  .tscroll { display: none; }
  .rstack { display: grid; gap: 8px; }
  .rcard { background: var(--paper); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
  .rname { margin: 0; background: var(--steel); color: var(--steel-ink); font-weight: 600; padding: 5px 10px; }
  .rcard dl { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin: 0; font-size: 15px; }
  .rcard dt, .rcard dd { margin: 0; padding: 4px 10px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
  .rcard dt { font-weight: 600; }
  .rcard dl > :nth-child(-n+2) { border-top: 0; }
}
table.ltab { border-collapse: collapse; width: 100%; font-size: 15px; background: var(--paper); }
table.ltab th, table.ltab td { border: 1px solid var(--line); padding: 5px 7px; text-align: left; vertical-align: top; }
table.ltab thead th { background: var(--steel); color: var(--steel-ink); font-weight: 600; }
table.ltab tbody th { font-weight: 600; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding: 10px 0; min-height: 44px; }
.faq p { margin: 0 0 12px; }
.sources { font-size: 14.5px; color: var(--muted); }
footer { border-top: 1px solid var(--line); padding: 16px 0 28px; font-size: 14.5px; color: var(--muted); }
.indep { margin: 0 0 10px; }
.sb-footer p { margin: 6px 0; }
.sb-more { line-height: 1.8; }
.print-root { display: none; }

@media (min-width: 900px) {
  .tool { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .setup { grid-column: 1; }
  .rules { grid-column: 2; grid-row: 1; }
  .work-area { grid-column: 1 / -1; }
  .setgrid { grid-template-columns: minmax(0, 1fr) auto auto; }
  .setgrid .lvl { grid-column: 1; }
  .qparts { grid-template-columns: 1fr 1fr; gap: 12px 22px; }
  .qparts .qfoot, .qparts details.work, .qparts .part-units, .qparts .part-order { grid-column: 1 / -1; }
  .q-index .qparts { grid-template-columns: 1fr; }
  /* drawer questions: the drawer on the left, the choices beside it */
  .q-misfile, .q-guide { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: start; }
  .q-misfile > h3, .q-guide > h3, .q-misfile > .scen, .q-guide > .scen { grid-column: 1 / -1; justify-self: start; }
  .q-misfile .figview, .q-guide .figview { padding-bottom: 14px; }
  .q-misfile .qparts, .q-guide .qparts { grid-template-columns: 1fr; padding-top: 4px; }
}
@media (max-width: 480px) {
  .setgrid { gap: 8px 10px; }
  .sg span { font-size: 14px; padding: 4px 2px; }
  .hero { padding-top: 12px; }
  .lede { font-size: 16px; }
  .q h3 { font-size: 17.5px; padding: 6px 12px 5px 10px; }
  .scen { margin: 8px 10px 4px; }
  .more-note { margin: 0 10px 4px; }
  .figview { padding: 0 10px; }
  .qparts { padding: 8px 10px 12px; }
  .ubox { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* phones: each key row becomes a block, units in a line with their column names, the reason under them */
@media (max-width: 640px) {
  .ktwrap { overflow: visible; }
  table.kt, table.kt tbody { display: block; min-width: 0; }
  table.kt thead { display: none; }
  table.kt tr { display: flex; flex-wrap: wrap; gap: 4px 6px; padding: 6px 0 2px; border-top: 1px solid var(--line); }
  table.kt tr.kwhy { border-top: 0; padding-top: 0; }
  table.kt td { border: 0; padding: 2px 4px; }
  table.kt td:first-child { font-weight: 700; }
  table.kt td.krec { flex: 1 1 calc(100% - 3em); font-family: var(--sans); }
  table.kt td[data-h] { display: inline-flex; flex-direction: column; font-size: 13.5px; }
  table.kt td[data-h]::before { content: attr(data-h); font: 11.5px var(--sans); color: var(--muted); }
  table.kt td[data-empty] { display: none; }
  table.kt tr:first-child td:first-child { padding-left: 4px; }
  table.kt tr.kwhy td:first-child { display: none; }
  table.kt tr.kwhy td { flex: 1 1 100%; overflow-wrap: anywhere; }
}
@media (max-width: 400px) {
  .seg4 { grid-template-columns: 1fr 1fr; }
  .seg4 .sg:nth-child(3) { border-left: 0; }
  .seg4 .sg:nth-child(n+3) { border-top: 1px solid var(--edge); }
  .ubox.u3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  table.ltab { font-size: 13.5px; }
}

/* ---------- print ---------- */
@media print {
  :root { --ink: #000; --muted: #333; --line: #999; --paper: #fff; --edge: #555; }
  @page { margin: 12mm 12mm; }
  body { background: #fff; color: #000; font: 10.5pt/1.36 var(--sans); }
  main, footer, .toast, .skip { display: none !important; }
  .print-root { display: block; }
  svg { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  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: 5pt !important; }
  .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10pt; border-bottom: 2pt solid #000; margin-bottom: 4pt; }
  .ph h2 { font: 700 16pt var(--head); margin: 0; white-space: nowrap; }
  .ph p { margin: 0; font-size: 9pt; text-align: right; }
  .pmeta { display: flex; justify-content: space-between; gap: 12pt; margin: 4pt 0 6pt; }
  .prules { border: 0.8pt solid #000; padding: 3pt 6pt; margin: 0 0 6pt; font-size: 8.4pt; break-inside: avoid; }
  .prules p { margin: 0 0 2pt; }
  .prules .rl { columns: 2; column-gap: 8mm; font-size: 8.4pt; margin: 0; padding-left: 12pt; line-height: 1.3; }
  .prules .rl li { margin: 0 0 2pt; break-inside: avoid; }
  .pq { list-style: none; margin: 0; padding: 0; }
  .pq > li { padding: 5pt 0 7pt; border-bottom: 0.75pt solid #999; break-inside: avoid; page-break-inside: avoid; }
  .pq h3 { font: 700 12pt var(--head); margin: 0 0 2pt; }
  .pscen { margin: 0 0 4pt; }
  .more-note { margin: -2pt 0 4pt; color: #000; font-style: italic; }
  .pfig .recs li { border-bottom: 0; padding: 1pt 0; }
  .pfig .dwrap { max-width: 80mm; margin: 2pt 0 3pt; }
  .pfig svg.drawer { max-height: 110mm; width: auto; max-width: 100%; }
  .pfig svg.drawer .case { fill: #fff; stroke: #000; }
  .pfig svg.drawer .body, .pfig svg.drawer .fill { fill: #f3e7c6; stroke: #000; stroke-width: 0.8; }
  .pfig svg.drawer .tab { fill: #fbf4e2; stroke: #000; }
  .pfig svg.drawer .guide .tab, .pfig svg.drawer .guide .body { fill: #d7e4dd; stroke: #000; }
  .pfig svg.drawer .lab, .pfig svg.drawer .guide .lab, .pfig svg.drawer .fno { fill: #000; }
  .pq > li:has(.dwrap) { display: grid; grid-template-columns: 82mm 1fr; column-gap: 6mm; align-items: start; }
  .pq > li:has(.dwrap) h3, .pq > li:has(.dwrap) .pscen { grid-column: 1 / -1; }
  .pparts { font-size: 9.8pt; margin-top: 3pt; }
  .pparts .pp { break-inside: avoid; margin: 0 0 4pt; }
  .pparts .pp p { margin: 0 0 1pt; font-weight: 600; }
  .popts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1pt 6mm; }
  .pq > li:has(.dwrap) .popts { grid-template-columns: 1fr; font-family: var(--mono); font-size: 8.6pt; }
  .pline { margin: 7pt 0 3pt; }
  table.pu { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 9.4pt; }
  table.pu th { text-align: left; font-weight: 600; border-bottom: 1pt solid #000; padding: 2pt 3pt; }
  table.pu th:first-child { width: 38%; }
  table.pu td { border-bottom: 0.6pt solid #777; padding: 7pt 3pt 3pt; vertical-align: bottom; }
  table.pu td + td { border-left: 0.6pt solid #bbb; }
  .pkey { break-before: page; page-break-before: always; }
  .pk { list-style: none; margin: 0; padding: 0; }
  .pk > li { padding: 5pt 0 7pt; border-bottom: 0.75pt solid #999; break-inside: avoid; page-break-inside: avoid; }
  .pk h3 { font: 700 11.5pt var(--head); margin: 0 0 3pt; }
  .ktwrap { overflow: visible; margin: 0 0 3pt; }
  table.kt { font-size: 8.4pt; width: 100%; }
  table.kt th { font-size: 7.8pt; color: #000; }
  table.kt td:not(.krec) { font-size: 8pt; }
  table.kt th, table.kt td { padding: 1.5pt 3pt; border-bottom: 0.5pt solid #bbb; }
  table.kt td.hit { background: none; box-shadow: none; text-decoration: underline; text-decoration-thickness: 1.2pt; }
  table.kt tr.kwhy td { font-size: 7.8pt; color: #222; }
  table.pkt { width: 100%; border-collapse: collapse; font-size: 9pt; margin-top: 2pt; table-layout: fixed; }
  table.pkt td { border-top: 0.5pt solid #bbb; padding: 2pt 4pt; vertical-align: top; overflow-wrap: anywhere; }
  table.pkt td.pkq { width: 46%; }
  table.pkt td.pka { font-weight: 700; }
  .pkw { display: block; font-weight: 400; font-size: 8.4pt; }
}
