
:root {
  --clr-ink: 220 25% 7%;
  --clr-ink-mid: 216 29% 15%;
  --clr-white: 0 0% 100%;
  --clr-off-white: 80 11% 96%;
  --clr-border: 80 6% 89%;
  --clr-border-mid: 80 5% 81%;
  --clr-grey-400: 140 3% 61%;
  --clr-grey-600: 168 4% 37%;
  --clr-faint-on-light: 173 3% 45%;
  --clr-faint-on-ink: 144 2% 48%;
  --clr-green: 160 96% 30%;
  --clr-green-light: 158 65% 52%;
  --clr-green-tint: 151 80% 96%;

  /* Reserved for data visualisation. The one place colour means something here:
     a blue chip is a class, green an individual, amber a property. Never a
     status, never decoration. */
  --clr-node-class: 199 89% 48%;
  --clr-node-instance: 158 65% 52%;
  --clr-node-property: 45 93% 47%;
  /* Application status, kept separate from the node triad above even where hues
     would collide. Only the punning mark uses it. */
  --clr-status-danger: 0 62% 50%;
  --clr-status-ok: 160 96% 30%;

  /* The kind pill is small text, and the triad above was picked to sit on a
     tinted fill in a diagram, not to be read. On the light surface all three
     came out between 1.8:1 and 2.6:1 — under half what small text needs, and
     amber on off-white was the worst of them. Same hues, dark enough to read. */
  --kind-class:    205 90% 39%;
  --kind-instance: 160 96% 25%;
  --kind-property:  38 92% 31%;

  --background: var(--clr-white);
  --foreground: var(--clr-ink);
  --surface: var(--clr-off-white);
  --muted-foreground: var(--clr-grey-600);
  --faint: var(--clr-faint-on-light);
  --border: var(--clr-border);
  --border-emphasis: var(--clr-border-mid);
  --brand-accent: var(--clr-green);
  --tint: var(--clr-green-tint);
  /* Turtle literals. Deliberately NOT the link green: a string is not
     clickable, and colouring it like one is a lie. */
  --code-lit: 25 85% 32%;
  --code-kw:  300 55% 38%;   /* a, @prefix */
  --code-pfx: 212 78% 34%;   /* owl:, rdfs:, xsd: and full IRIs */

  --radius: 0px;            /* sharp corners are the brand */
  --radius-pill: 9999px;    /* the only round thing */

  --fs-h1: 3rem; --fs-h2: 2.25rem; --fs-h3: 1.5rem; --fs-h4: 1.25rem;
  --fs-body-lg: 1.125rem; --fs-sm: 0.875rem; --fs-xs: 0.75rem; --fs-2xs: 0.6875rem;
  --tracking-label: 0.16em;
  --ease-brand: cubic-bezier(0.16, 1, 0.3, 1);

  --measure: 68ch;
  --root-step: 100%;
}
@media (min-width: 1920px) { :root { --root-step: 106.25%; } }
@media (min-width: 2560px) { :root { --root-step: 112.5%; } }

/* Percentage, not px: 100% resolves against the reader's own browser default,
   so someone who set 20px gets 20px. An absolute 16px would silently override
   exactly the preference this is meant to respect. */
html { font-size: var(--root-step); }

@media (prefers-color-scheme: dark) {
  :root {
    --background: var(--clr-ink);
    --foreground: 0 0% 100%;
    --surface: var(--clr-ink-mid);
    --muted-foreground: var(--clr-grey-400);
    --faint: var(--clr-faint-on-ink);
    --border: 216 20% 22%;
    --border-emphasis: 216 18% 30%;
    /* #059669 fails contrast on ink; the light green is the token for dark. */
    --brand-accent: var(--clr-green-light);
    /* On ink the original triad already clears 5:1, so it stands. */
    --kind-class: var(--clr-node-class);
    --kind-instance: var(--clr-node-instance);
    --kind-property: var(--clr-node-property);
    --code-lit: 25 80% 66%;
    --code-kw:  300 68% 78%;
    --code-pfx: 206 80% 70%;
    --clr-status-ok: 158 65% 52%;
    --tint: 216 29% 18%;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Archivo", ui-sans-serif, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
h1 { font-size: var(--fs-h1); letter-spacing: -0.04em; }
h2 { font-size: var(--fs-h2); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: var(--fs-h4); }
code, .mono { font-family: "DM Mono", ui-monospace, SFMono-Regular, monospace; }
a { color: hsl(var(--brand-accent)); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 78rem; margin: 0 auto; padding: 0 2rem; }
.measure { max-width: var(--measure); }

header.top {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--surface));
  padding: 3.5rem 0 2.5rem;
}
.eyebrow {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.lead {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  font-size: var(--fs-body-lg); font-weight: 300; font-style: normal;
  color: hsl(var(--foreground)); margin: 1rem 0 0;
}
.eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid hsl(var(--border-emphasis)); }
.eyebrow a:hover { color: hsl(var(--brand-accent)); border-bottom-color: hsl(var(--brand-accent)); }

.iri {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-sm);
  color: hsl(var(--muted-foreground));
  margin-top: 1.25rem;
  word-break: break-all;
}

/* Format links. Square, hairline, mono — the same register as the app's dense
   table chrome, because that is what these are: data affordances, not buttons. */
.formats { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.formats a {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid hsl(var(--border-emphasis));
  border-radius: var(--radius);
  padding: 0.4rem 0.75rem;
  color: hsl(var(--foreground));
  transition: border-color 150ms var(--ease-brand), color 150ms var(--ease-brand);
}
.formats a:hover { border-color: hsl(var(--brand-accent)); color: hsl(var(--brand-accent)); text-decoration: none; }

main { padding: 3rem 0 5rem; }
section + section { margin-top: 3.5rem; }
.section-head {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}
.grid { display: grid; gap: 1px; background: hsl(var(--border)); border: 1px solid hsl(var(--border)); grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); }
.cell { background: hsl(var(--background)); padding: 1.25rem; }
.cell h4 { margin-bottom: 0.35rem; }
.cell p { margin: 0; font-size: var(--fs-sm); color: hsl(var(--muted-foreground)); }

/* The node triad, used only here. */
.kind {
  display: inline-block;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid;
}
.kind-class    { color: hsl(var(--kind-class));    border-color: hsl(var(--clr-node-class) / 0.4);    background: hsl(var(--clr-node-class) / 0.08); }
.kind-property { color: hsl(var(--kind-property)); border-color: hsl(var(--clr-node-property) / 0.4); background: hsl(var(--clr-node-property) / 0.08); }
.kind-instance { color: hsl(var(--kind-instance)); border-color: hsl(var(--clr-node-instance) / 0.4); background: hsl(var(--clr-node-instance) / 0.08); }

dl.props { display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: 0.5rem 1.5rem; margin: 0; font-size: var(--fs-sm); }
dl.props dt { font-family: "DM Mono", ui-monospace, monospace; font-size: var(--fs-xs); letter-spacing: 0.04em; color: hsl(var(--muted-foreground)); }
dl.props dd { margin: 0; }

/* The class tree. Rules rather than bullets: the indent is the information, and
   a disc at every level competes with it. */
ul.tree, ul.tree ul { list-style: none; margin: 0; padding: 0; }
ul.tree ul { margin-left: 0.75rem; padding-left: 1rem; border-left: 1px solid hsl(var(--border)); }
ul.tree li { padding: 0.3rem 0; }
ul.tree a { font-weight: 500; }
.tree-def {
  display: inline; margin-left: 0.6rem;
  font-size: var(--fs-sm); color: hsl(var(--faint));
}
@media (max-width: 40rem) { .tree-def { display: none; } }

/* Where a term sits, above its name. */
.trail {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.75rem;
}
.trail span { color: hsl(var(--foreground)); }
.titleline { display: flex; align-items: baseline; gap: 0.9rem; flex-wrap: wrap; }

.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
/* Every chip on this site is an <a>. Body-text ink made them read as inert
   badges, so nobody clicked them — the accent is what says "this goes somewhere". */
.chip {
  font-size: var(--fs-sm);
  border: 1px solid hsl(var(--border-emphasis));
  border-radius: var(--radius);
  padding: 0.3rem 0.6rem;
  color: hsl(var(--brand-accent));
  transition: border-color 150ms var(--ease-brand), color 150ms var(--ease-brand);
}
.chip:hover { border-color: hsl(var(--brand-accent)); color: hsl(var(--brand-accent)); text-decoration: none; }
/* Properties keep the amber of the node triad, quietly — a left edge, not a fill. */
.chip-prop { border-left: 3px solid hsl(var(--clr-node-property) / 0.7); font-family: "DM Mono", ui-monospace, monospace; font-size: var(--fs-xs); }

/* Site nav. Every page had exactly one way out — the breadcrumb to / — so a
   property page was a dead end. This is the same four links everywhere. */
nav.site {
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
nav.site .wrap { display: flex; gap: 1.4rem; align-items: center; padding-top: 0.7rem; padding-bottom: 0.7rem; flex-wrap: wrap; }
nav.site a {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  transition: color 150ms var(--ease-brand);
}
nav.site a:hover { color: hsl(var(--brand-accent)); }
nav.site a.here { color: hsl(var(--foreground)); border-bottom: 2px solid hsl(var(--brand-accent)); padding-bottom: 2px; }
nav.site .navhome { display: flex; align-items: center; gap: 0.7rem; margin-right: auto; }
nav.site .navmark { font-weight: 700; color: hsl(var(--foreground));
  display: inline-flex; align-items: center; gap: 0.5rem; }
nav.site .navglyph { display: inline-flex; }
/* A rule, not a middot: it reads as a division between two things rather than
   as punctuation joining them into one name. "Loze Foundation" is the module
   label; LOZE | FOUNDATION is the mark and the module you are in. */
nav.site .navsep { width: 1px; align-self: stretch; margin: 0.15rem 0; background: hsl(var(--border)); }
nav.site .navwhere, nav.site a.navwhere {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}
nav.site a.navwhere:hover { color: hsl(var(--brand-accent)); }

/* The modules menu. <details> rather than a scripted dropdown: it opens with
   the keyboard, works with no CSS and no JS, and there is nothing to break.
   It does not close on an outside click — every item in it is a link that
   navigates away, so in practice it closes itself. */
nav.site details.navmenu { position: relative; }
nav.site details.navmenu > summary {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  list-style: none;
  transition: color 150ms var(--ease-brand);
}
nav.site details.navmenu > summary::-webkit-details-marker { display: none; }
nav.site details.navmenu > summary::after {
  content: "";
  display: inline-block;
  width: 0.34em; height: 0.34em;
  margin: 0 0 0.18em 0.5em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
}
nav.site details.navmenu > summary:hover { color: hsl(var(--brand-accent)); }
nav.site details.navmenu[open] > summary { color: hsl(var(--foreground)); }
nav.site details.navmenu[open] > summary::after { transform: rotate(-135deg); margin-bottom: -0.05em; }
nav.site .navpanel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  z-index: 30;
  min-width: 20rem;
  display: flex;
  flex-direction: column;
  padding: 0.3rem 0;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  box-shadow: 0 8px 24px hsl(var(--foreground) / 0.09);
}
/* Names, not nav chrome: these are long and the ontology's own capitalisation
   is part of reading them as labels. */
nav.site .navpanel a, nav.site .navpanel a.here {
  display: block;
  padding: 0.5rem 1rem;
  text-transform: none;
  letter-spacing: 0;
  border-bottom: 0;
  border-left: 2px solid transparent;
  color: hsl(var(--muted-foreground));
}
nav.site .navpanel a:hover { color: hsl(var(--brand-accent)); background: hsl(var(--muted) / 0.5); }
nav.site .navpanel a.here { color: hsl(var(--foreground)); border-left-color: hsl(var(--brand-accent)); }
/* Sized against the nav bar, not the nav's small-caps type: at 1em of a 12px
   label the stacked mark is a smudge. */
nav.site .navglyph svg { height: 26px; width: auto; display: block; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* An example is the ontology's own words about what falls under a term. It
   earns more room than a note: it is what most readers came for. */
.example {
  border-left: 3px solid hsl(var(--clr-node-property) / 0.7);
  padding: 0.15rem 0 0.15rem 1rem;
  margin: 0;
  color: hsl(var(--foreground));
}
.example p { margin: 0; }

/* Plain English, before the diagrams. Set larger than body text because it is
   the thing to read first. */
.inshort { font-size: var(--fs-body-lg); margin: 0 0 0.9rem; }
/* The front page's opening claim. Set at lead size so the first paragraph reads
   as the thing to read, and the rest at body size behind it. */
/* The opening story is prose, so it takes the prose face — the same one the
   lead above it and the figure captions below it use. In the body sans it read
   as a different document wedged between them. */
.why p { font-family: "Newsreader", ui-serif, Georgia, serif; }
.why-lead { font-size: var(--fs-body-lg); }
/* Sub-headings inside the opening story. Smaller than a section head and in the
   body face, so they group paragraphs without competing with the section rules. */
.why-h { font-size: var(--fs-h4); margin: 1.6rem 0 0.4rem; }
.inshort:last-child { margin-bottom: 0; }

/* Turtle snippets. The ontology's own syntax is the clearest example there is,
   so these are plain code — no diagram, nothing to decode. */
pre.ttl {
  font-family: "DM Mono", ui-monospace, SFMono-Regular, monospace;
  font-size: var(--fs-sm);
  line-height: 1.65;
  background: hsl(var(--surface));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  overflow-x: auto;
  margin: 0 0 0.5rem;
}
pre.ttl a { color: hsl(var(--brand-accent)); }
pre.ttl a:hover { text-decoration: underline; }
pre.ttl .cm   { color: hsl(var(--muted-foreground)); }
pre.ttl .lit  { color: hsl(var(--code-lit)); }
pre.ttl .kw   { color: hsl(var(--code-kw)); font-weight: 500; }
pre.ttl .pfx  { color: hsl(var(--code-pfx)); }
pre.ttl .tiri { color: hsl(var(--code-pfx)); }
pre.ttl .loc  { color: hsl(var(--foreground)); }
pre.ttl .pn   { color: hsl(var(--faint)); }

.worked { margin-bottom: 2.25rem; }
.worked h3 { font-size: var(--fs-h4); margin: 0 0 0.3rem; }
.worked .why { color: hsl(var(--muted-foreground)); font-size: var(--fs-sm); margin: 0 0 0.75rem; max-width: var(--measure); }

/* The reference page: one row per term, dense enough to scan. */
.refrow { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.3rem 0; border-bottom: 1px solid hsl(var(--border) / 0.6); flex-wrap: wrap; }
.refrow .rt { font-family: "DM Mono", ui-monospace, monospace; font-size: var(--fs-sm); min-width: 13rem; }
.refrow .rd { font-size: var(--fs-sm); color: hsl(var(--muted-foreground)); flex: 1 1 24rem; }
.refrow .rr { font-family: "DM Mono", ui-monospace, monospace; font-size: var(--fs-2xs); color: hsl(var(--muted-foreground)); letter-spacing: 0.04em; }
/* The signature on a class page. Wide enough that domain → range does not wrap
   for the common cases, and it comes before the prose because it is the answer. */
.refrow .rsig { flex: 0 1 18rem; min-width: 13rem; max-width: 22rem; font-size: var(--fs-xs); overflow-wrap: anywhere; }
/* The end of the signature that is the page you are on. Present, but not the
   thing to read — and not a link back to here. */
.refrow .self { color: hsl(var(--faint)); }
/* The specialisation ladder. Indent carries the chain; the signature on every
   rung is what makes the narrowing visible without clicking. */
.specrow { display: flex; gap: 0.75rem; align-items: baseline; padding: 0.35rem 0; flex-wrap: wrap; }
.specrow .rt { font-family: "DM Mono", ui-monospace, monospace; font-size: var(--fs-sm); min-width: 13rem; }
.specnow { background: hsl(var(--tint)); }
.narrows {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  color: hsl(var(--code-lit));
  border: 1px solid hsl(var(--code-lit) / 0.35);
  padding: 0.05rem 0.35rem;
  white-space: nowrap;
}
.specnote { color: hsl(var(--muted-foreground)); font-size: var(--fs-sm); margin: 0 0 1rem; }

.inhead {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin: 1.5rem 0 0.5rem;
}
.refrow .rsig code { font-size: inherit; }

.domgroup { margin-bottom: 1.5rem; }
.domhead {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 0.5rem;
}

.modtag {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: var(--fs-2xs);
  letter-spacing: 0.04em;
  /* It goes to the module page, so it takes the link colour. Kept small rather
     than kept grey: muted ink is what made it read as a dead badge. */
  color: hsl(var(--brand-accent));
  border: 1px solid hsl(var(--border));
  padding: 0.05rem 0.35rem;
  margin-left: 0.5rem;
  white-space: nowrap;
  transition: border-color 150ms var(--ease-brand), color 150ms var(--ease-brand);
}
a.modtag:hover { border-color: hsl(var(--brand-accent)); color: hsl(var(--brand-accent)); text-decoration: none; }

/* ── The one figure ──────────────────────────────────────────────────────────
   Nodes take their colour from the same triad the chips use, so blue still means
   class and amber still means property — the page teaches the encoding once and
   the diagram spends it. Everything structural is currentColor, so the drawing
   follows the theme instead of carrying a baked palette that only works on one
   ground. Which is also why mustrd's schema_svg was not lifted: graphviz bakes
   hex into the output. */
.fig { margin: 0 0 1rem; }
.fig svg { width: 100%; height: auto; display: block; }
.fig figcaption {
  font-family: "Newsreader", ui-serif, Georgia, serif;
  max-width: var(--measure); margin-top: 1rem;
  font-size: var(--fs-sm); color: hsl(var(--muted-foreground));
}
.fig-panel {
  font-family: "DM Mono", monospace; font-size: 12px;
  letter-spacing: var(--tracking-label); text-transform: uppercase;
  fill: hsl(var(--muted-foreground));
}
.fig-rule { stroke: hsl(var(--border)); stroke-width: 1; }
/* The line the figure is about: which side of it the model sits on IS the
   argument. Drawn stronger than the panel divider for that reason. */
.fig-band { stroke: hsl(var(--border-emphasis)); stroke-width: 1.5; stroke-dasharray: 6 5; }
.fig-band-lab { font-family: "DM Mono", monospace; font-size: 11px;
  letter-spacing: var(--tracking-label); fill: hsl(var(--faint)); }
/* Groups the particulars so one 'a' arrow can stand for all of them — three
   separate arrows converging read as more machinery, not less. */
.grp { fill: none; stroke: hsl(var(--border)); stroke-width: 1; stroke-dasharray: 3 4; }
.fig-note { font-size: 13px; fill: hsl(var(--muted-foreground)); }
/* Zemach's quadrants. Three are background and one carries the emphasis: the
   Type cell is the one loze is built on, so it is the only coloured thing here. */
.z-cell { fill: hsl(var(--surface)); stroke: hsl(var(--border)); stroke-width: 1.5; }
.z-hit  { fill: hsl(var(--tint)); stroke: hsl(var(--brand-accent)); stroke-width: 2.5; }
.z-title { font-family: "Archivo", sans-serif; font-size: 15px; letter-spacing: 1.8px; font-weight: 700;
  fill: hsl(var(--foreground)); }
.z-title.z-hit { fill: hsl(var(--brand-accent)); stroke: none; }
/* The four corner codes were bare initials with nothing on the page saying
   what they stood for. Expanded against the two axes rather than quoting
   Zemach's own wording, because the grid is what makes it checkable. */
.z-key { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: 0.02em;
  fill: hsl(var(--faint)); }
.z-code { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  fill: hsl(var(--faint)); text-anchor: end; }
.z-gloss { font-family: "Archivo", sans-serif; font-size: 15px; letter-spacing: 1.8px; fill: hsl(var(--muted-foreground)); }
.z-item { font-family: "Archivo", ui-serif, Georgia, serif; font-size: 13.5px; fill: hsl(var(--foreground)); }
.z-axis { font-family: "DM Mono", monospace; font-size: 12px; letter-spacing: var(--tracking-label);
  fill: hsl(var(--foreground)); }
/* loze's categories laid over Zemach's grid. Eventuality is the one that spans:
   he separates Event from Process on spatial continuity and loze does not cut
   there, so one outline has to cross a boundary. */
.z-span { fill: none; stroke: hsl(var(--muted-foreground)); stroke-width: 2;
  stroke-dasharray: 7 5; }
.z-span-hit { stroke: hsl(var(--brand-accent)); stroke-width: 2.5; }
.z-span-lab { font-family: "DM Mono", monospace; font-size: 12.5px; letter-spacing: 0.04em;
  fill: hsl(var(--muted-foreground)); text-anchor: middle; stroke: none; }
.z-span-hit-lab { fill: hsl(var(--brand-accent)); }
.z-sub { font-family: "DM Sans", sans-serif; font-size: 12px; fill: hsl(var(--faint)); }
.q-tag { font-family: "DM Mono", monospace; font-size: 11px; letter-spacing: 0.04em;
  fill: hsl(var(--faint)); }
.fig-q { font-family: "DM Mono", monospace; font-size: 12.5px; fill: hsl(var(--foreground)); }
.fig-ok { fill: hsl(var(--clr-status-ok)); }
.q-chip { fill: hsl(var(--clr-node-instance) / 0.12); stroke: hsl(var(--clr-node-instance)); stroke-width: 1.2; }
/* The row that answers the question. */
.q-hit { fill: hsl(var(--clr-status-ok) / 0.16); stroke: hsl(var(--clr-status-ok)); stroke-width: 2; }
.n-schem-e { stroke-width: 3; stroke-dasharray: 3 3; }
.n-event { fill: hsl(var(--surface)); stroke: hsl(var(--foreground) / 0.55);
  stroke-width: 1.5; stroke-dasharray: 2 3; }
.q-lab { font-family: "Archivo", sans-serif; font-size: 12.5px; fill: hsl(var(--foreground)); text-anchor: middle; }

.n-class { fill: hsl(var(--clr-node-class) / 0.10); stroke: hsl(var(--clr-node-class)); stroke-width: 1.5; }
.n-inst  { fill: hsl(var(--clr-node-instance) / 0.12); stroke: hsl(var(--clr-node-instance)); stroke-width: 1.5; }
/* The schematic one is the claim, so it is the only node drawn heavier. */
.n-schem { stroke-width: 3; }
.n-lab  { font-family: "Archivo", sans-serif; font-size: 14px; font-weight: 500;
          fill: hsl(var(--foreground)); text-anchor: middle; }
.n-sm  { font-size: 13px; }
.n-kind { font-family: "DM Mono", monospace; font-size: 11px;
          fill: hsl(var(--faint)); text-anchor: middle; }

.e-base { stroke: currentColor; stroke-width: 1.4; opacity: 0.55; fill: none; }
.e-prop { stroke: hsl(var(--clr-node-property)); stroke-width: 2; fill: none; }
.e-lab  { font-family: "DM Mono", monospace; font-size: 11px; fill: hsl(var(--muted-foreground)); }
.e-lab-prop { fill: hsl(var(--clr-node-property)); }
/* The pun is the cost the figure exists to show, so it is the one mark drawn as a
   problem: dashed, and in the danger colour rather than the node triad. */
.e-pun { stroke: hsl(var(--clr-status-danger)); stroke-width: 1.6; stroke-dasharray: 5 4; fill: none; }
.e-lab-warn { fill: hsl(var(--clr-status-danger)); }
.n-pun { stroke-dasharray: 5 4; }
.fig-warn { fill: hsl(var(--clr-status-danger)); }

footer.bot {
  border-top: 1px solid hsl(var(--border));
  padding: 2.5rem 0 4rem;
  font-size: var(--fs-sm);
  color: hsl(var(--muted-foreground));
}
footer.bot .measure p { margin: 0 0 0.75rem; }
