/* ==========================================================================
   Cryptanalytic effort: site stylesheet
   A modern take on a LaTeX article: Latin Modern text, amsthm environments,
   booktabs tables, pgfplots-style figures, hyperref-blue links.
   ========================================================================== */

@font-face { font-family: "LM Roman"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/latex.css@1.11.0/fonts/LM-regular.woff2") format("woff2"); }
@font-face { font-family: "LM Roman"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/latex.css@1.11.0/fonts/LM-italic.woff2") format("woff2"); }
@font-face { font-family: "LM Roman"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/latex.css@1.11.0/fonts/LM-bold.woff2") format("woff2"); }
@font-face { font-family: "LM Roman"; font-style: italic; font-weight: 700; font-display: swap;
  src: url("https://cdn.jsdelivr.net/npm/latex.css@1.11.0/fonts/LM-bold-italic.woff2") format("woff2"); }
@font-face { font-family: "CMU Typewriter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/dreampulse/computer-modern-web-font@master/font/Typewriter/cmuntt.woff") format("woff"); }
@font-face { font-family: "CMU Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/dreampulse/computer-modern-web-font@master/font/Sans/cmunss.woff") format("woff"); }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --paper:      #ffffff;
  --paper-2:    #f6f7f9;   /* inset panels, code */
  --ink:        #111318;
  --ink-2:      #474c57;
  --ink-3:      #868b95;
  --rule:       #cdd1d8;   /* booktabs rules, frames */
  --hair:       #e9ebef;   /* gridlines */
  --accent:     #2b59c3;   /* hyperref blue */
  --accent-ink: #1f4296;
  --accent-wash: rgba(43, 89, 195, 0.07);
  --mark:       #b3242e;   /* crimson, for emphasis */

  --s-lattice:   #2b59c3;
  --s-ecdlp:     #c8323c;
  --s-code:      #14967a;
  --s-factoring: #bf7f0a;
  --s-isogeny:   #7b52c9;
  --s-mq:        #d0649e;

  --serif: "LM Roman", "Latin Modern Roman", "CMU Serif", "Computer Modern", Georgia, serif;
  --mono:  "CMU Typewriter", "Latin Modern Mono", ui-monospace, Menlo, monospace;
  --sans:  "CMU Sans", "Latin Modern Sans", system-ui, sans-serif;

  --measure: 40rem;   /* prose column */
  --wide:    58rem;   /* figures */
  --gutter:  clamp(16px, 4vw, 40px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #14161b; --paper-2: #1b1e25;
    --ink: #ebe9e4; --ink-2: #b6b9c0; --ink-3: #7f848e;
    --rule: #3a3f49; --hair: #262a32;
    --accent: #7ea2f2; --accent-ink: #a9c0f7; --accent-wash: rgba(126, 162, 242, 0.09);
    --mark: #ee7a80;
    --s-lattice: #4f7ee8; --s-ecdlp: #dc4d55; --s-code: #13987b;
    --s-factoring: #c08a1e; --s-isogeny: #8c6fe0; --s-mq: #d05a98;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #14161b; --paper-2: #1b1e25;
  --ink: #ebe9e4; --ink-2: #b6b9c0; --ink-3: #7f848e;
  --rule: #3a3f49; --hair: #262a32;
  --accent: #7ea2f2; --accent-ink: #a9c0f7; --accent-wash: rgba(126, 162, 242, 0.09);
  --mark: #ee7a80;
  --s-lattice: #4f7ee8; --s-ecdlp: #dc4d55; --s-code: #13987b;
  --s-factoring: #c08a1e; --s-isogeny: #8c6fe0; --s-mq: #d05a98;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: clamp(17px, 0.35vw + 15.6px, 19px); line-height: 1.58;
  font-kerning: normal; text-rendering: optimizeLegibility;
  counter-reset: section figure table finding sidenote;
  overflow-x: hidden;
}
::selection { background: var(--accent-wash); color: inherit; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
p { margin: 0 0 0.9em; text-align: justify; hyphens: auto; -webkit-hyphens: auto; }
p + p { text-indent: 1.5em; margin-top: -0.9em; }   /* LaTeX paragraph indent, no gap */
em, i { font-style: italic; }
strong, b { font-weight: 700; }
code, kbd, .tt { font-family: var(--mono); font-size: 0.92em; }
.sc { font-variant: small-caps; letter-spacing: 0.04em; }
/* faux small caps for labels (LM web fonts lack the smcp table) */
.caps { text-transform: uppercase; font-size: 0.72em; letter-spacing: 0.14em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem auto; max-width: var(--measure); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.scrolled { border-bottom-color: var(--hair); }
.topbar-inner {
  max-width: 76rem; margin: 0 auto; padding: 0.6rem var(--gutter);
  display: flex; align-items: center; gap: 1.25rem;
}
.brand { color: var(--ink); font-size: 1rem; white-space: nowrap; display: flex; align-items: baseline; gap: .5rem; }
.brand:hover { text-decoration: none; }
.brand .glyph { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.15em; }
.topnav { display: flex; gap: 1.1rem; margin-left: auto; font-size: 0.86rem; }
.topnav a { color: var(--ink-2); }
.topnav a:hover, .topnav a.active { color: var(--accent); text-decoration: none; }
.topnav .num { font-family: var(--mono); color: var(--ink-3); margin-right: .3em; font-size: .9em; }
.icon-btn {
  appearance: none; border: 1px solid var(--rule); background: transparent; color: var(--ink-2);
  width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; cursor: pointer;
  font: inherit; flex: none;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .topnav { display: none; } .topbar-inner > .icon-btn { margin-left: auto; } }

/* ---------- title block (\maketitle) ---------- */
.titlepage { position: relative; padding: clamp(3rem, 9vw, 7rem) var(--gutter) 2.5rem; text-align: center; overflow: hidden; }
#hero-lattice {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 62% 70% at 50% 46%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.16) 40%, #000 85%);
          mask-image: radial-gradient(ellipse 62% 70% at 50% 46%, rgba(0,0,0,.10) 0%, rgba(0,0,0,.16) 40%, #000 85%);
  opacity: .9;
}
.titlepage > *:not(#hero-lattice) { position: relative; z-index: 1; }
.kicker { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); letter-spacing: .02em; margin-bottom: 1.4rem; }
.kicker .dot { color: var(--accent); }
h1.title {
  font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 3.9rem); line-height: 1.08; letter-spacing: -0.012em;
  margin: 0 auto 1rem; max-width: 18ch;
}
h1.title em { color: var(--accent); }
.subtitle { font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); max-width: 36rem; margin: 0 auto 1.8rem; text-align: center; }
.overseer { margin-top: .4rem; font-size: 1rem; font-style: italic; color: var(--ink-2); }
.overseer .name { font-style: normal; color: var(--ink); }
.overseer::before, .overseer::after { content: ""; display: inline-block; width: 2.2rem; height: 1px; background: var(--rule); vertical-align: middle; margin: 0 .8rem; }


.date { font-size: .95rem; margin-top: .9rem; }

/* ---------- abstract ---------- */
.abstract { max-width: 34rem; margin: 2.2rem auto 0; padding: 0 var(--gutter); font-size: .94rem; }
.abstract h2 { font-size: .95rem; font-weight: 700; text-align: center; margin: 0 0 .5rem; }
.abstract p { text-align: justify; }

/* ---------- key figures strip ---------- */
.keyfigs {
  max-width: var(--wide); margin: 3rem auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.keyfig { padding: .4rem 1.1rem; border-left: 1px solid var(--rule); }
.keyfig:first-child { border-left: 0; }
.keyfig .v { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.05; letter-spacing: -0.01em; }
.keyfig .v small { font-size: .5em; color: var(--ink-2); margin-left: .1em; }
.keyfig .k { font-size: .82rem; color: var(--ink-2); margin-top: .35rem; line-height: 1.35; }
.keyfig .k .caps { color: var(--ink-3); display: block; margin-bottom: .15rem; font-size: .66rem; }
@media (max-width: 720px) {
  .keyfigs { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
  .keyfig:nth-child(3) { border-left: 0; }
}

/* ---------- contents (\tableofcontents) ---------- */
.toc { max-width: var(--measure); margin: 3.5rem auto 0; padding: 0 var(--gutter); }
.toc h2 { font-size: 1.35rem; margin: 0 0 .8rem; font-weight: 700; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { display: flex; align-items: baseline; gap: .6rem; margin: .18rem 0; }
.toc li.top { font-weight: 700; margin-top: .65rem; }
.toc li.sub { padding-left: 1.6rem; }
.toc .n { min-width: 1.6rem; }
.toc li.sub .n { min-width: 2.2rem; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--accent); text-decoration: none; }
.toc .leader { flex: 1; border-bottom: 2px dotted var(--rule); transform: translateY(-.3em); min-width: 1rem; }
.toc li.top .leader { border: 0; }
.toc .pg { font-weight: 400; color: var(--ink-3); font-family: var(--mono); font-size: .8em; }

/* ---------- side rail (wide screens) ---------- */
.rail {
  position: fixed; left: max(16px, calc(50% - 38rem)); top: 50%; transform: translateY(-50%);
  display: none; flex-direction: column; gap: .55rem; z-index: 40; font-size: .78rem;
}
.rail a { color: var(--ink-3); display: flex; align-items: center; gap: .55rem; font-family: var(--mono); }
.rail a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .2s; }
.rail a span { opacity: 0; transition: opacity .2s; font-family: var(--serif); font-size: .95rem; white-space: nowrap; }
.rail:hover a span, .rail a.active span { opacity: 1; }
.rail a.active { color: var(--accent); }
.rail a.active::before { width: 26px; }
.rail a:hover { text-decoration: none; color: var(--ink); }
@media (min-width: 1320px) { .rail { display: flex; } }

/* ---------- sections ---------- */
main { padding-bottom: 4rem; }
.section { max-width: var(--measure); margin: 0 auto; padding: 0 var(--gutter); }
.section > h2 {
  counter-increment: section; counter-reset: subsection;
  font-size: 1.55rem; font-weight: 700; line-height: 1.25; margin: 4.2rem 0 1rem;
  display: flex; gap: 1.1rem; align-items: baseline;
}
.section > h2::before { content: counter(section); min-width: 1.2rem; }
.section.appendix > h2 { counter-increment: none; }
.section.appendix > h2::before { content: "A"; }
.section h3 {
  counter-increment: subsection; font-size: 1.15rem; font-weight: 700; margin: 2.2rem 0 .6rem;
  display: flex; gap: 1.1rem; align-items: baseline;
}
.section h3::before { content: counter(section) "." counter(subsection); min-width: 1.2rem; }
.section h4 { font-size: 1rem; font-weight: 700; display: inline; margin: 0 .6em 0 0; }  /* \paragraph */
.anchor { opacity: 0; color: var(--ink-3); font-weight: 400; margin-left: .4rem; font-size: .8em; transition: opacity .15s; }
h2:hover .anchor, h3:hover .anchor { opacity: 1; }

/* ---------- amsthm-style environments ---------- */
.thm, .remark, .defn, .caveat { margin: 1.5rem 0; }
.thm {
  counter-increment: finding; padding: .2rem 0 .2rem 1.1rem;
  border-left: 2px solid var(--accent);
}
.thm > p:first-child::before { content: "Finding " counter(finding) ". "; font-weight: 700; font-style: normal; }
.thm p { font-style: italic; text-indent: 0 !important; margin: 0 0 .5em !important; }
.thm .thm-note { font-style: normal; font-size: .85rem; color: var(--ink-2); }
.defn > p:first-child::before { content: "Definition. "; font-weight: 700; }
.remark > p:first-child::before { content: "Remark. "; font-style: italic; }
.caveat { padding: .9rem 1.1rem; background: var(--paper-2); border-radius: 2px; font-size: .92rem; }
.caveat > p:first-child::before { content: "Caveat. "; font-style: italic; color: var(--mark); }
.remark p, .defn p, .caveat p { text-indent: 0 !important; margin: 0 0 .5em !important; }
.qed::after { content: "∎"; float: right; color: var(--ink-2); }

/* draft markers: remove once content is final */
.draft { position: relative; }
.draft::after {
  content: "draft"; position: absolute; right: calc(-1 * var(--gutter) + 2px); top: .25rem;
  font-family: var(--mono); font-size: .62rem; color: var(--mark); opacity: .7;
  writing-mode: vertical-rl;
}

/* ---------- sidenotes ---------- */
.sn-ref { counter-increment: sidenote; }
.sn-ref::after { content: counter(sidenote); vertical-align: super; font-size: .68em; color: var(--accent); margin-left: .05em; }
.sidenote { display: block; font-size: .8rem; line-height: 1.45; color: var(--ink-2); margin: .4rem 0 .8rem 1.5rem; text-indent: 0; text-align: left; }
.sidenote::before { content: counter(sidenote) " "; color: var(--accent); }
@media (min-width: 1180px) {
  .sidenote { float: right; clear: right; width: 13.5rem; margin: .2rem -16rem 1rem 0; }
}

/* ---------- display math ---------- */
.eq { display: flex; align-items: center; margin: 1.2rem 0; overflow-x: auto; overflow-y: hidden; }
.eq .body { flex: 1; text-align: center; }
.eq .tag { color: var(--ink-2); font-size: .95em; }
.katex { font-size: 1.06em; }
@media (max-width: 600px) { .eq .katex { font-size: .86em; } .eq .tag { display: none; } }

/* ---------- figures ---------- */
figure.fig {
  counter-increment: figure; margin: 2.4rem auto; max-width: var(--wide);
  padding: 0 var(--gutter);
}
.section figure.fig { margin-left: calc(50% - min(50vw, var(--wide) / 2)); margin-right: calc(50% - min(50vw, var(--wide) / 2)); }
.fig-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: .7rem; }
.fig-title { font-size: 1rem; font-weight: 700; margin-right: auto; }
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
figcaption {
  font-size: .85rem; line-height: 1.5; color: var(--ink-2); margin: .8rem auto 0; max-width: var(--measure);
  text-align: justify; hyphens: auto;
}
figcaption::before { content: "Figure " counter(figure) ": "; font-weight: 700; color: var(--ink); }
.fig-foot { display: flex; justify-content: flex-end; gap: 1rem; margin-top: .3rem; font-size: .78rem; font-family: var(--mono); }
.fig-foot button { appearance: none; background: none; border: 0; padding: 0; color: var(--ink-3); font: inherit; cursor: pointer; }
.fig-foot button:hover { color: var(--accent); }

/* segmented controls, \texttt-flavoured */
.seg { display: inline-flex; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; font-family: var(--mono); font-size: .76rem; }
.seg button {
  appearance: none; background: transparent; color: var(--ink-2); border: 0; padding: .32rem .7rem; cursor: pointer; font: inherit;
  border-left: 1px solid var(--rule);
}
.seg button:first-child { border-left: 0; }
.seg button:hover { color: var(--ink); background: var(--paper-2); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* chart internals (pgfplots look) */
.frame { fill: none; stroke: var(--ink-2); stroke-width: 1; shape-rendering: crispEdges; }
.grid line { stroke: var(--hair); stroke-width: 1; shape-rendering: crispEdges; }
.tick line { stroke: var(--ink-2); shape-rendering: crispEdges; }
.tick text, .axis-label, .dlabel, .legend text, .note text { font-family: var(--serif); fill: var(--ink-2); }
.tick text { font-size: 13px; fill: var(--ink-2); }
.axis-label { font-size: 13.5px; font-style: italic; fill: var(--ink); }
.dlabel { font-size: 13px; fill: var(--ink); paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
.dlabel.muted { fill: var(--ink-3); }
.series-line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.series-area { opacity: .07; }
.legend rect.box { fill: var(--paper); stroke: var(--ink-2); stroke-width: .8; shape-rendering: crispEdges; }
.legend g.item { cursor: pointer; }
.legend g.item.off { opacity: .35; }
.legend text { font-size: 13px; fill: var(--ink); }
.note text { font-size: 12.5px; font-style: italic; }
.note line, .note path { stroke: var(--ink-3); stroke-width: 1; fill: none; }
.crosshair { stroke: var(--ink-3); stroke-width: 1; shape-rendering: crispEdges; }
.dot-ring { stroke: var(--paper); stroke-width: 2; }
.tip {
  position: absolute; pointer-events: none; z-index: 5; min-width: 9rem;
  background: var(--paper); border: 1px solid var(--ink-2); padding: .45rem .65rem; font-size: .8rem; line-height: 1.4;
  box-shadow: 0 6px 24px -10px rgba(0,0,0,.25); opacity: 0; transition: opacity .1s;
}
.tip.on { opacity: 1; }
.tip .t-head { font-weight: 700; margin-bottom: .2rem; }
.tip .row { display: flex; align-items: center; gap: .5rem; white-space: nowrap; }
.tip .row .sw { width: 10px; height: 2px; flex: none; }
.tip .row .val { margin-left: auto; padding-left: 1rem; font-variant-numeric: tabular-nums; }

/* budget explorer */
.explorer { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.6rem; align-items: start; }
@media (max-width: 760px) { .explorer { grid-template-columns: 1fr; } }
.panel { border-top: 1px solid var(--ink-2); border-bottom: 1px solid var(--ink-2); padding: .8rem 0; font-size: .9rem; }
.ctl { margin-bottom: 1.1rem; }
.ctl:last-child { margin-bottom: 0; }
.ctl label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .3rem; }
.ctl label > span:first-child i { font-family: var(--serif); }
.ctl label .v { font-family: var(--mono); font-size: .85em; color: var(--accent); }
.ctl .hint { font-size: .75rem; color: var(--ink-3); margin-top: .2rem; }
input[type="range"] { width: 100%; accent-color: var(--accent); margin: 0; }
.formula { padding: .6rem 0 0; text-align: center; min-height: 3.2rem; }

/* ---------- tables (booktabs) ---------- */
.tablewrap { margin: 2rem auto; overflow-x: auto; counter-increment: table; }
.section .tablewrap { margin-left: calc(50% - min(50vw, var(--wide) / 2)); margin-right: calc(50% - min(50vw, var(--wide) / 2)); padding: 0 var(--gutter); }
.tablewrap .tcap { font-size: .85rem; color: var(--ink-2); max-width: var(--measure); margin: 0 auto .6rem; text-align: center; }
.tablewrap .tcap::before { content: "Table " counter(table) ": "; font-weight: 700; color: var(--ink); }
table.booktabs { border-collapse: collapse; margin: 0 auto; font-size: .9rem; font-variant-numeric: tabular-nums; }
table.booktabs th, table.booktabs td { padding: .32rem .9rem; text-align: right; white-space: nowrap; }
table.booktabs th:first-child, table.booktabs td:first-child { text-align: left; padding-left: .2rem; }
table.booktabs thead tr:first-child th { border-top: 1.6px solid var(--ink); padding-top: .5rem; }
table.booktabs thead tr:last-child th { border-bottom: 1px solid var(--ink); font-weight: 400; font-style: italic; }
table.booktabs tbody tr:last-child td { border-bottom: 1.6px solid var(--ink); padding-bottom: .5rem; }
table.booktabs td.sub { padding-left: 1.4rem; color: var(--ink-2); }
table.booktabs .sw { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .5rem; vertical-align: -1px; }
table.booktabs tr.midrule td { border-top: 1px solid var(--rule); }
.datatable { display: none; margin-top: 1rem; max-height: 22rem; overflow: auto; }
.datatable.on { display: block; }

/* ---------- bib / code ---------- */
pre.bib {
  font-family: var(--mono); font-size: .8rem; line-height: 1.5; background: var(--paper-2);
  padding: 1rem 1.2rem; overflow-x: auto; border-radius: 2px; position: relative; color: var(--ink-2);
}
pre.bib .k { color: var(--accent); }
.copy { position: absolute; top: .5rem; right: .5rem; font-family: var(--mono); font-size: .7rem; }

/* ---------- references ---------- */
ol.refs { padding-left: 2.2rem; font-size: .88rem; }
ol.refs li { margin-bottom: .4rem; padding-left: .3rem; }
ol.refs li::marker { content: "[" counter(list-item) "]  "; color: var(--ink-2); }

/* The technical companion uses the same article style, with wrapping prose tables. */
.methodology .method-return { text-align: center; font-size: .9rem; margin: 1.2rem auto 0; }
.methodology .method-source { font-size: .85rem; color: var(--ink-2); margin-top: 1rem; text-indent: 0; }
.methodology .booktabs { width: 100%; }
.methodology .booktabs th, .methodology .booktabs td { white-space: normal; text-align: left; vertical-align: top; }
.methodology .booktabs td:first-child { min-width: 6rem; }
.methodology code { overflow-wrap: anywhere; }
.methodology .rail { gap: .35rem; }

/* ---------- footer ---------- */
footer.colophon { border-top: 1px solid var(--hair); margin-top: 4rem; padding: 2rem var(--gutter) 3rem; text-align: center; font-size: .8rem; color: var(--ink-3); }
footer.colophon .tt { font-size: .95em; }
footer.colophon a { color: var(--ink-2); }

/* ---------- print ---------- */
@media print {
  .topbar, .rail, .fig-head .seg, .fig-foot, #hero-lattice, .copy { display: none !important; }
  body { font-size: 11pt; }
  .draft::after { display: none; }
}
@media (forced-colors: active) {
  .series-line { stroke: CanvasText; }
}

/* Prose in the sourced attack-event table wraps within the article column. */
#tab-attack-events .booktabs { width: 100%; }
#tab-attack-events th, #tab-attack-events td { white-space: normal; text-align: left; vertical-align: top; }
#tab-attack-events td:first-child { min-width: 8rem; width: 25%; }
