/* styles.css - extracted verbatim from index.html by
   tools/archive_authority_assets.py so the stylesheet is an
   auditable artifact (see archive-manifest.json). */

/* ============================================================================
   Recorded values only. Each custom property cites its record.

   Recorded hexes / roles (token-set/colour; component records):
     black = text/structure            (token-set/colour: "Black = text/structure")
     white = ground                    (token-set/colour: "white = ground")
     #26374A slate      — actions and interactive layer  (component/action; D-R1)
     #66AFE9 + rgba(102,175,233,.6) — focus outline + 8px halo (guideline/interaction-states; D-R1)
     #E0E0E0 soft border — field styling                 (component/field)
     #F4F4F4 pewter band — notice ground, meter track, row hover (component/notice; component/meter; component/ledger)

   MARKED (see gap/20261008-165141-acb94d): the pack names FIP red and pewter
   as roles but records no codes for them. Stand-ins used and kept visible:
     --red  #EA2D2E  ceremonial accent bar stand-in
     --grey #5C5C5C  de-emphasis text stand-in ("metadata 13 grey")
     --hairline #E0E0E0  row hairlines mapped from the recorded soft-border grey
   ============================================================================ */
:root {
  --ink: #000;                                  /* black = text/structure */
  --ground: #fff;                               /* white = ground */
  --slate: #26374A;                             /* component/action, D-R1 */
  --focus: #66AFE9;                             /* guideline/interaction-states */
  --halo: rgba(102,175,233,.6);                 /* guideline/interaction-states */
  --soft: #E0E0E0;                              /* component/field */
  --band: #F4F4F4;                              /* notice ground / meter track / row hover */
  --red: #EA2D2E;                               /* MARKED stand-in — FIP red code unrecorded */
  --grey: #5C5C5C;                              /* MARKED stand-in — de-emphasis grey code unrecorded */
  --hairline: #E0E0E0;                          /* mapped from the recorded soft-border grey */
  --radius: 4px;                                /* action/field radius 4 */
  --wrap: 940px;
  --pad: 24px;
  /* Spacing rhythm: no spacing tokens are recorded; steps composed from the
     screen type rhythm (16px body / 32px title) — gap/20261008-165141-150790 */
  --step: 16px;
  --step2: 32px;
  --step3: 64px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Arimo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;               /* Regular = default text */
  font-size: 16px;                /* body 16 */
  line-height: 1.6;               /* body 16/1.6 */
}
@font-face {
  font-family: 'Arimo';
  src: url('fonts/Arimo-VF.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }

/* Metadata: 13 grey (token-set/type-scale) */
.meta { font-size: 13px; line-height: 1.5; color: var(--grey); }

a { color: var(--slate); text-decoration: underline; text-underline-offset: 3px; }
/* Focus does change colour: blue glow only (guideline/interaction-states) */
a:focus-visible, button:focus-visible {
  outline: 1px solid var(--focus);
  box-shadow: 0 0 8px var(--halo);
}

/* --------------------------------------------------------------------------
   Masthead — component/masthead: white, 2px black bottom rule, identity zone
   at left (red accent bar + title), nav links regular with medium active
   state underlined in black (not red — red stays ceremonial).
   -------------------------------------------------------------------------- */
.mh { background: var(--ground); border-bottom: 2px solid var(--ink); }
.mh .wrap { display: flex; flex-wrap: wrap; gap: var(--step2) var(--step2); padding-block: var(--step2) var(--step); align-items: flex-start; justify-content: space-between; }
.identity { display: flex; gap: 14px; flex: 1 1 420px; min-width: 0; }
.acc {                                   /* red accent bar — ceremony, nothing else */
  width: 10px; flex: none; align-self: stretch; background: var(--red);
  min-height: 48px;
}
.title { min-width: 0; }
.title h1 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 400; }  /* page title 32/400 */
.pair { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pair .div { width: 1px; align-self: stretch; background: var(--ink); }        /* thin divider */
.pair .fr { color: var(--ink); }
.subtitle { margin: 6px 0 0; }
.lede { margin: 10px 0 0; max-width: 62ch; }
@media (max-width: 560px) {              /* bilingual pairs over-under when narrow */
  .pair { display: block; }
  .pair .div { display: none; }
  .pair .en, .pair .fr { display: block; }
  .pair .fr { margin-top: 2px; }
  .title h1 { font-size: 28px; }
}
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 6px 0 0; padding: 0; }
nav a { color: var(--ink); text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 6px; }
nav a.active { font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
main { padding-bottom: var(--step3); }
section { margin-top: var(--step3); }
h2 { font-size: 20px; font-weight: 500; line-height: 1.3; margin: 0 0 4px; }   /* section headings 20/500 */
.sub { margin: 0 0 var(--step2); }

/* Meter — component/meter: square track in #F4F4F4, black fill, plain readout. */
.meter-strip { display: flex; align-items: center; gap: var(--step); flex-wrap: wrap; }
.meter { flex: 1 1 220px; min-width: 160px; height: 12px; background: var(--band); }
.meter i { display: block; height: 100%; width: 100%; background: var(--ink); }
.readout { font-size: 13px; color: var(--grey); white-space: nowrap; }

/* Ledger — component/ledger: 2px black header rule over medium caps labels;
   1px row hairlines; no zebra; row hover = #F4F4F4 band; status labels inline. */
.reg { margin-top: var(--step3); }
.reg-label {
  border-top: 2px solid var(--ink);
  font-size: 13px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; padding-top: 10px; margin: 0 0 2px;
}
.row { margin-inline: -12px; padding: 14px 12px; border-top: 1px solid var(--hairline); }
.row:hover { background: var(--band); }
.row:first-of-type { border-top: 0; }
.rhead { margin: 0; font-size: 13px; color: var(--grey); overflow-wrap: anywhere; }
.rtitle { margin: 2px 0 0; font-size: 16px; font-weight: 500; display: inline; }
.rsum { margin: 4px 0 0; max-width: 70ch; }

/* Status label — component/status: plain word label in a ruled box;
   emphasis by structure, never hue. */
.chip {
  display: inline-block; vertical-align: 2px; margin-left: 10px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  padding: 1px 8px; font-size: 12px; font-weight: 400; color: var(--ink);
  background: var(--ground); white-space: nowrap;
}

/* Specification notes in the registers */
.note { margin: 2px 0 0; max-width: 70ch; }
.id-tag { font-weight: 500; color: var(--ink); }

/* --------------------------------------------------------------------------
   Notice band — component/notice: full-width banded row (#F4F4F4) under a
   2px rule; plain sentence, no icon. Carries the build disclosure.
   -------------------------------------------------------------------------- */
.notice-band { background: var(--band); border-top: 2px solid var(--ink); margin-top: var(--step3); }
.notice-band .wrap { padding-block: var(--step2); }
.notice-band p { margin: 0 0 10px; max-width: 76ch; }
.notice-band p:last-child { margin-bottom: 0; }
.gaps { overflow-wrap: anywhere; }

/* Action — component/action: secondary = 2px slate outline, radius 4.
   No primary action appears on this page (one primary per view, at most). */
.btn {
  display: inline-block; font: inherit; font-weight: 500; cursor: pointer;
  color: var(--slate); background: var(--ground);
  border: 2px solid var(--slate); border-radius: var(--radius);
  padding: 8px 16px; margin: 4px 0 12px;
}
.btn:focus-visible { outline: 1px solid var(--focus); box-shadow: 0 0 8px var(--halo); }

/* Footer — masthead record reserves a bottom-right plain-text wordmark zone;
   the credit line itself is unrecorded (gap/20261008-165141-a9a135). */
.ft { border-top: 2px solid var(--ink); }
.ft .wrap { display: flex; flex-wrap: wrap; gap: 8px var(--step2); justify-content: space-between; padding-block: var(--step); }

/* Marks layer — improvisations kept visible (dashed), toggle in the notice. */
[data-improv] { position: relative; }
.marks-on [data-improv] { outline: 2px dashed #8A8A8A; outline-offset: 3px; }
.marks-on [data-improv]::after {
  content: "improvisation — hover for the record";
  position: absolute; inset-inline-start: 0; top: -10px; z-index: 2;
  background: var(--ink); color: var(--ground);
  font-size: 10px; line-height: 1; padding: 3px 6px; white-space: nowrap;
}
.marks-on .acc::after { inset-inline-start: 0; inset-inline-end: auto; white-space: normal; max-width: 140px; }

/* artefacts-directory:start */ /* styled from dominion records: component/action (solid slate #26374A r4); token-set/colour; no shadows */
.artefacts { margin: 3.5rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid #E0E0E0; }
.artefacts .af-kick { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #333333; font-weight: 700; margin-bottom: .5rem; }
.artefacts .af-h2 { font-size: 1.6rem; margin: 0 0 .6rem; }
.artefacts .af-intro { color: #5C5C5C; max-width: 62ch; }
.artefacts .af-notice { border-inline-start: 3px solid #333333; padding: .5rem .8rem; margin: .6rem 0; background: #F4F4F4; border-radius: 4px; max-width: 76ch; }
.artefacts .af-filter { width: 100%; max-width: 34rem; padding: .6rem .8rem; border: 1px solid #E0E0E0; border-radius: 4px; background: transparent; color: inherit; font: inherit; margin: .6rem 0 .2rem; }
.artefacts .af-count { font-size: .82rem; color: #5C5C5C; margin: .2rem 0 1.2rem; }
.artefacts .af-kindhead { display: flex; align-items: baseline; gap: .6rem; margin: 1.8rem 0 .6rem; padding-bottom: .35rem; border-bottom: 1px solid #E0E0E0; }
.artefacts .af-kindhead .af-lab { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #333333; font-weight: 700; }
.artefacts .af-kindhead .af-n { font-size: .8rem; color: #5C5C5C; }
.artefacts .af-row { padding: .9rem 0 1rem; border-bottom: 1px solid #E0E0E0; }
.artefacts .af-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem .7rem; margin-bottom: .35rem; }
.artefacts .af-kind { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #333333; }
.artefacts .af-title { font-size: 1.08rem; margin: 0; }
.artefacts .af-status { font-size: .72rem; padding: .08rem .5rem; border: 1px solid #E0E0E0; border-radius: 4px; color: #5C5C5C; }
.artefacts .af-id { font-size: .78rem; color: #5C5C5C; padding: .12rem .45rem; border-radius: 4px; background: #F4F4F4; font-family: inherit; }
.artefacts .af-sum { margin: .3rem 0 .6rem; max-width: 76ch; }
.artefacts .af-use { background: #F4F4F4; border-radius: 4px; padding: .6rem .8rem; margin: .5rem 0 .6rem; }
.artefacts .af-line { display: flex; flex-wrap: wrap; gap: .5rem; margin: .25rem 0; align-items: baseline; }
.artefacts .af-key { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #333333; min-width: 4.6rem; }
.artefacts .af-sel { padding: .1rem .45rem; border-radius: 4px; background: #F4F4F4; font-family: inherit; }
.artefacts .af-states { margin: .1rem 0; padding-left: 1.1rem; font-size: .9rem; }
.artefacts .af-note { font-size: .9rem; color: #5C5C5C; max-width: 70ch; }
.artefacts .af-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.artefacts .af-alias { font-size: .8rem; color: #5C5C5C; }
.artefacts .af-copy { margin-left: auto; font: inherit; font-size: .82rem; padding: .3rem .9rem; border: 2px solid #26374A; border-radius: 4px; background: transparent; color: #26374A; cursor: pointer; }
.artefacts .af-copy:hover, .artefacts .af-copy.ok { opacity: .7; }
.artefacts .af-take { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 2px solid #E0E0E0; }
.artefacts .af-sub { font-size: 1.15rem; margin: 0 0 .8rem; }
.artefacts .af-take-row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; margin: .6rem 0; }
.artefacts .af-dl { display: inline-block; padding: .5rem 1.1rem; background: #26374A; color: #ffffff; border-radius: 4px; text-decoration: none; font-weight: 600; }
.artefacts .af-dl:hover { opacity: .88; }
.artefacts .af-line-code { font-size: .82rem; padding: .45rem .6rem; border-radius: 4px; background: #F4F4F4; font-family: inherit; max-width: 100%; overflow-wrap: anywhere; }
/* artefacts-directory:end */
