@import url("fonts.css");

/* Allied States of Iosmein - portal of the Ministry of External Relations,
   hosted by the Public Register of the Republic of Fluid.
   Palette sampled from the state flag: gold field, crimson rays, crimson circle
   with gear, sickle and hammer. No external resource is loaded by any page. */

:root {
  --ink: #241a1c;
  --ink-soft: #5a4b4e;
  --ink-faint: #77676a;
  --paper: #ffffff;
  --shell: #f4f0e6;
  --rule: #ddd2bd;
  --state: #b22234;
  --state-dark: #8c1a29;
  --state-soft: #f7e2e4;
  --gold: #ffcc00;
  --gold-edge: #d9a900;
  --gold-soft: #fff6d6;
  --gold-ink: #6b4f00;
  --inforce: #1a6f37;
  --pending: #a8731b;
  --spent: #77676a;

  --serif: "Charis SIL", "Charter", "Bitstream Charter", "Sitka Text",
    Cambria, "Georgia", "Times New Roman", serif;
  --sans: "Noto Sans", ui-sans-serif, system-ui, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", ui-monospace, "SFMono-Regular", "Liberation Mono",
    Consolas, monospace;

  --frame: 74rem;
  --pad: 2rem;
  --tab: 3.5rem;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
}

img {
  border: 0;
  max-width: 100%;
}

a {
  color: var(--state);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover {
  color: var(--gold-ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--state);
  outline-offset: 2px;
}
a img {
  display: block;
}

.skip {
  position: absolute;
  left: -9999px;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  font-family: var(--sans);
}
.skip:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 20;
}

/* ---------- first and last child spacing ---------- */

h1,
h2,
h3,
p,
ol,
ul,
dl,
table,
figure,
blockquote {
  margin-top: 0;
}
.sheet > :first-child,
.panel > :first-child,
.note > :first-child,
.hostnote > :first-child,
.preamble > :first-child,
.band > :first-child,
.amend > :first-child,
.article .body > :first-child,
td > :first-child,
th > :first-child,
li > :first-child,
dd > :first-child {
  margin-top: 0;
}
.sheet > :last-child,
.panel > :last-child,
.note > :last-child,
.hostnote > :last-child,
.preamble > :last-child,
.band > :last-child,
.amend > :last-child,
.article .body > :last-child,
td > :last-child,
th > :last-child,
li > :last-child,
dd > :last-child {
  margin-bottom: 0;
}

/* ---------- masthead ---------- */

.masthead {
  background: var(--gold);
  color: var(--ink);
}
.masthead .bar {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.masthead .crest {
  display: block;
  line-height: 0;
  text-decoration: none;
}
.masthead .crest img {
  width: 48px;
  height: 32px;
  border: 1px solid rgba(36, 26, 28, 0.35);
  display: block;
}
.masthead .names {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.masthead .state {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.masthead .organ {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--gold-ink);
  letter-spacing: 0.03em;
}
.masthead a {
  color: var(--ink);
  text-decoration: none;
}

.sections {
  background: var(--state);
  font-family: var(--sans);
  font-size: 0.84rem;
}
.sections .bar {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
}
@media (max-width: 1100px) {
  .sections .bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .sections a {
    white-space: nowrap;
  }
}
.sections a {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  color: #f6e2e4;
  text-decoration: none;
}
.sections a:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.sections a[aria-current="page"] {
  background: var(--paper);
  color: var(--ink);
  font-weight: 700;
}
.sections a.out {
  margin-left: auto;
  color: #edc9cd;
}
.sections a.out::before {
  content: "\2190\00a0";
}
@media (max-width: 48rem) {
  .sections a.out {
    margin-left: 0;
  }
}

/* ---------- title strip ---------- */

.strip {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
}
.strip .bar {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 0.5rem var(--pad);
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem;
  align-items: center;
}
.strip .lbl {
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-right: 0.6rem;
}
.strip a {
  display: inline-block;
  min-width: 2.2rem;
  padding: 0.25rem 0.4rem;
  text-align: center;
  text-decoration: none;
  color: var(--ink-soft);
  border: 1px solid transparent;
}
.strip a:hover {
  background: var(--shell);
  color: var(--ink);
}

/* ---------- page frame ---------- */

.sheet {
  max-width: var(--frame);
  margin: 0 auto;
  background: var(--paper);
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  min-height: 60vh;
  padding: var(--pad) var(--pad) 4rem;
}

.crumbs {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-faint);
  margin: 0 0 1.25rem;
}
.crumbs a {
  color: var(--ink-soft);
}

/* ---------- headings ---------- */

.title-head {
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--ink);
  margin-bottom: 2.25rem;
}
.title-head h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 0 0 0.4rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.title-head .range {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

h2.chapter {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 1.35rem 0 1.35rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--rule);
}

.band {
  background: var(--gold-soft);
  border-top: 4px solid var(--gold-edge);
  padding: 1.15rem 1.35rem 1.25rem;
  margin: 2rem 0 2rem;
}
.band h2 {
  font-family: var(--sans);
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
}
.band p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- prose ---------- */

p {
  margin: 0 0 1.1rem;
}
.lead {
  font-size: 1.12rem;
  line-height: 1.6;
}

/* ---------- panels ---------- */

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0 1.75rem;
}
.panel {
  border: 1px solid var(--rule);
  border-top: 4px solid var(--state);
  padding: 1.1rem 1.25rem 1.2rem;
  background: var(--paper);
}
.panel h3 {
  font-family: var(--sans);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.panel p {
  margin: 0 0 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.panel.gold {
  border-top-color: var(--gold-edge);
}
.panel.ink {
  border-top-color: var(--ink);
}

/* ---------- chips ---------- */

p.chips {
  font-family: var(--sans);
  font-size: 0.78rem;
  margin: 0.6rem 0 0;
}
p.chips span {
  display: inline-block;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  padding: 0.15rem 0.5rem;
  margin: 0 0.3rem 0.3rem 0;
}
p.chips span.on {
  background: var(--state);
  border-color: var(--state);
  color: #fff;
}
p.chips span.gold {
  background: var(--gold);
  border-color: var(--gold-edge);
  color: var(--gold-ink);
}

/* ---------- definition list ---------- */

dl.facts {
  margin: 1.35rem 0 1.35rem;
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}
dl.facts dt {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0.8rem 1rem 0.8rem 0.5rem;
  border-bottom: 1px solid var(--rule);
}
dl.facts dd {
  margin: 0;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.98rem;
}

@media (max-width: 40rem) {
  dl.facts {
    grid-template-columns: 1fr;
  }
  dl.facts dt {
    border-bottom: none;
    padding-bottom: 0.15rem;
  }
}

/* ---------- tables ---------- */

table.reg {
  width: 100%;
  border-collapse: collapse;
  margin: 1.35rem 0;
  font-size: 0.95rem;
}
table.reg caption {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-bottom: 0.5rem;
}
table.reg th,
table.reg td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.7rem 0.55rem 0;
  border-bottom: 1px solid var(--rule);
}
table.reg thead th {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 2px solid var(--ink);
}
table.reg tbody th {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--state);
  white-space: nowrap;
}

/* ---------- status marks ---------- */

.status {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  margin-left: 0.6rem;
  vertical-align: 0.12rem;
  border: 1px solid currentColor;
}
.status.inforce {
  color: var(--inforce);
}
.status.pending {
  color: var(--pending);
}
.status.spent {
  color: var(--spent);
}

/* ---------- notes ---------- */

.note {
  background: var(--shell);
  border-left: 4px solid var(--state);
  padding: 0.85rem 1.1rem;
  font-size: 0.93rem;
  color: var(--ink-soft);
  margin: 1.2rem 0;
}
.note.gold {
  border-left-color: var(--gold-edge);
  background: var(--gold-soft);
}

.hostnote {
  background: var(--shell);
  border: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-soft);
  padding: 1.1rem 1.25rem;
}
.hostnote p {
  margin: 0 0 0.6rem;
}

/* ---------- footer ---------- */

footer.reg {
  background: var(--ink);
  color: #d5c8ca;
  font-family: var(--sans);
  font-size: 0.82rem;
}
footer.reg .bar {
  max-width: var(--frame);
  margin: 0 auto;
  padding: 1.75rem var(--pad) 2.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}
footer.reg a {
  color: #f2e6e8;
}
footer.reg p {
  margin: 0 0 0.4rem;
}
footer.reg .h {
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.74rem;
  margin: 0 0 0.5rem;
}

/* ---------- responsive ---------- */

@media (max-width: 48rem) {
  :root {
    --pad: 1.1rem;
  }
  body {
    font-size: 17px;
  }
  .sheet {
    border-left: none;
    border-right: none;
    padding-bottom: 3rem;
  }
  .panels {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff;
    font-size: 11pt;
  }
  .masthead,
  .sections,
  .strip,
  footer.reg,
  .skip {
    display: none;
  }
  .sheet {
    border: none;
    max-width: none;
    padding: 0;
  }
  a {
    color: #000;
    text-decoration: none;
  }
}

/* ---------- contents list ---------- */

.contents {
  border-top: 1px solid var(--rule);
  margin: 0 0 2.5rem;
}
.contents a.row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 1rem;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: var(--ink);
}
.contents a.row:hover {
  background: var(--shell);
}
.contents .roman {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--state);
  letter-spacing: 0.06em;
}
.contents .name {
  font-size: 1.04rem;
}
.contents .arts {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

/* ---------- preamble ---------- */

.preamble {
  background: var(--gold-soft);
  border-top: 4px solid var(--gold-edge);
  border-bottom: 4px solid var(--gold-edge);
  padding: 1.6rem 1.5rem;
  margin: 0 0 1.5rem;
}
.preamble h2 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  color: var(--gold-ink);
}
.preamble p {
  font-size: 1.14rem;
  line-height: 1.65;
  margin: 0 0 0.9rem;
}

/* ---------- articles ---------- */

.article {
  display: grid;
  grid-template-columns: var(--tab) minmax(0, 1fr);
  gap: 0 1.35rem;
  margin: 0 0 1.5rem;
  scroll-margin-top: 1rem;
}
.article .num {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: var(--state);
  align-self: start;
  text-align: center;
  padding: 0.28rem 0;
}
.article h3 {
  font-family: var(--sans);
  font-size: 1.02rem;
  margin: 0 0 0.55rem;
  line-height: 1.3;
}
.article h3 a.self {
  color: inherit;
  text-decoration: none;
}
.article h3 a.self:hover {
  color: var(--state);
}
.article .gist {
  font-size: 0.95rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--gold);
  padding-left: 0.75rem;
  margin: 0 0 0.8rem;
}

ol.paras {
  list-style: none;
  margin: 0;
  padding: 0;
}
ol.paras > li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  margin: 0 0 0.55rem;
}
ol.paras > li > .pn {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--ink-faint);
  padding-top: 0.2rem;
}
ol.paras > li:last-child {
  margin-bottom: 0;
}

.article .side {
  grid-column: 2;
  margin: 0.8rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--ink-faint);
}
.article .side .lbl {
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-right: 0.5rem;
}
.article .side a {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 0 0.3rem;
  margin: 0 0.2rem 0.2rem 0;
}
.article .side a:hover {
  color: #fff;
  background: var(--state);
  border-color: var(--state);
}

@media (min-width: 1100px) {
  .article {
    grid-template-columns: var(--tab) minmax(0, 1fr) minmax(0, 10rem);
  }
  .article .side {
    grid-column: 3;
    grid-row: 1;
    margin: 0;
    padding: 0.1rem 0 0.1rem 0.7rem;
    border-top: none;
    border-left: 1px dashed var(--rule);
    align-self: stretch;
  }
  .article .side .lbl {
    display: block;
    margin: 0 0 0.4rem;
  }
}
@media (max-width: 48rem) {
  .article .side {
    grid-column: 1;
  }
}

/* ---------- annex entries ---------- */

.annex {
  border: 1px solid var(--rule);
  border-top: 5px solid var(--spent);
  background: var(--shell);
  padding: 1.2rem 1.35rem;
  margin: 0 0 1.35rem;
}
.annex > h3 {
  font-family: var(--sans);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin: 0 0 0.2rem;
}
.annex .prov {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}

/* ---------- summary rows ---------- */

ul.arts {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  border-top: 1px solid var(--rule);
}
ul.arts li {
  border-bottom: 1px solid var(--rule);
}
ul.arts a {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.65rem 0.5rem;
  text-decoration: none;
  color: var(--ink);
  align-items: baseline;
}
ul.arts a:hover {
  background: var(--shell);
}
ul.arts .n {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--state);
  font-weight: 700;
}
ul.arts .h {
  font-family: var(--sans);
  font-size: 0.92rem;
  display: block;
}
ul.arts .g {
  font-size: 0.97rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 0.15rem;
}

/* ---------- chronology ---------- */

ol.chron {
  list-style: none;
  margin: 1.35rem 0 1.35rem;
  padding: 0 0 0 1.4rem;
  border-left: 3px solid var(--rule);
}
ol.chron > li {
  position: relative;
  margin: 0 0 1.6rem;
}
ol.chron > li::before {
  content: "";
  position: absolute;
  left: -1.95rem;
  top: 0.55rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--state);
  border: 2px solid var(--paper);
  border-radius: 50%;
}
ol.chron .yr {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--state);
  display: block;
}
ol.chron .ev {
  display: block;
  margin-top: 0.15rem;
}
ol.chron > li.era::before {
  background: var(--gold-edge);
}
ol.chron > li.era .yr {
  color: var(--gold-ink);
}
ol.chron > li:last-child {
  margin-bottom: 0;
}

/* ---------- towns ---------- */

ul.towns {
  list-style: none;
  margin: 1.35rem 0 1.35rem;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
ul.towns li {
  display: grid;
  grid-template-columns: minmax(6rem, 9rem) minmax(0, 1fr);
  gap: 1.25rem;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--rule);
}
ul.towns b {
  font-family: var(--sans);
  font-size: 0.95rem;
}
ul.towns .role {
  display: block;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}
ul.towns p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-soft);
}
@media (max-width: 40rem) {
  ul.towns li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* ---------- download cards ---------- */

.dlcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(27rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 2.5rem;
}
a.dlcard {
  display: block;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--state);
  padding: 0.95rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
}
a.dlcard:hover {
  background: var(--shell);
  border-left-color: var(--gold-edge);
}
a.dlcard .ct {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--state);
}
a.dlcard:hover .ct {
  color: var(--gold-ink);
}
a.dlcard .cl {
  display: block;
  font-size: 0.94rem;
  color: var(--ink-soft);
}

@media (max-width: 48rem) {
  .dlcards {
    grid-template-columns: 1fr;
  }
  .article {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .article .num {
    justify-self: start;
    padding: 0.18rem 0.8rem;
  }
  .contents a.row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }
  .contents .arts {
    grid-column: 2;
  }
  ul.arts a {
    grid-template-columns: 2.8rem minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .article:target .num {
    animation: flash 1.2s ease-out 1;
  }
  @keyframes flash {
    0%,
    40% {
      background: var(--gold-edge);
    }
    100% {
      background: var(--state);
    }
  }
}

@media print {
  .article,
  .annex {
    break-inside: avoid;
  }
}

/* ---------- figures and charts ---------- */

figure.chart {
  margin: 1.6rem 0 1.9rem;
  border: 1px solid var(--rule);
  border-top: 4px solid var(--state);
  background: var(--paper);
  padding: 1.1rem 1.25rem 1.25rem;
}
figure.chart.gold {
  border-top-color: var(--gold-edge);
}
figure.chart > figcaption {
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 0.15rem;
}
figure.chart > .src {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin: 0 0 0.9rem;
}
figure.chart > .plot {
  position: relative;
  height: 320px;
}
@media (max-width: 48rem) {
  figure.chart > .plot {
    height: 260px;
  }
}
figure.chart canvas {
  display: block;
}

figure.chart details {
  margin: 0.5rem 0 0;
}
figure.chart summary {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 0.25rem 0;
}
figure.chart summary:hover {
  color: var(--ink);
}
figure.chart details table.reg {
  margin: 0;
  font-size: 0.86rem;
}

.nochart {
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: var(--shell);
  border-left: 4px solid var(--gold-edge);
  padding: 0.7rem 0.95rem;
  margin: 0.9rem 0 0;
}

/* ---------- money figures in tables ---------- */

table.reg td.num,
table.reg th.num {
  text-align: right;
  white-space: nowrap;
}
table.reg tr.total td,
table.reg tr.total th {
  border-top: 2px solid var(--ink);
  font-weight: 700;
}
table.reg td.free {
  color: var(--inforce);
  font-weight: 700;
}

/* ---------- two-column key figures ---------- */

.keyfigs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(23rem, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}
.keyfig {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--state);
  padding: 0.85rem 1rem;
  background: var(--paper);
}
.keyfig .v {
  font-family: var(--sans);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  display: block;
}
.keyfig .l {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-soft);
  display: block;
  margin-top: 0.3rem;
}
.keyfig.gold {
  border-left-color: var(--gold-edge);
}
