body { max-width: 70ch; margin-inline: auto; }
.sitenav { margin-block-end: 1.5rem; padding-block-end: 0.5rem; border-bottom: 1px solid currentColor; }
.sitenav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; }
.sitenav [aria-current="page"] { font-weight: bold; }
.langpicker { text-align: right; font-size: 0.8rem; margin-block-end: 0.35rem; }
.langpicker a, .langpicker [aria-current="page"] { margin-inline-start: 0.7rem; }
.langpicker [aria-current="page"] { font-weight: bold; }
.tab { display: none; }
.tab:target { display: block; }
.tabs:not(:has(:target)) #zec { display: block; }
.charts-css.column { display: block; max-width: 36rem; margin-block: 1rem; overflow-x: auto; }
.charts-css.column caption { caption-side: top; text-align: start; font-weight: bold; padding-bottom: 0.25rem; display: block; }
.charts-css.column tbody { display: flex; align-items: stretch; gap: 0.5rem; height: 13rem; border-bottom: 1px solid currentColor; }
.charts-css.column tbody tr { flex: 1 1 0; min-width: 3.25rem; display: grid; grid-template-rows: 1fr auto; }
.charts-css.column td { grid-row: 1; align-self: end; height: calc(var(--size, 0) * 100%); background: var(--bar-color, #5a3eaf); border-radius: 3px 3px 0 0; display: flex; align-items: flex-start; justify-content: center; }
.charts-css.column th { grid-row: 2; font-weight: normal; font-size: 0.72rem; text-align: center; padding-top: 0.25rem; word-break: break-word; }
.charts-css.column .data { font-size: 0.7rem; color: #fff; padding: 0.1rem 0.2rem; white-space: nowrap; }
.charts-css.column.volume-chart td:hover .data { font-size: 0.85rem; font-weight: bold; outline: 1px solid currentColor; }
.charts-css.column.ref-line tbody { position: relative; }
.charts-css.column.ref-line td { height: calc(var(--size, 0) * 80%); }
.charts-css.column.ref-line tbody::after { content: ""; position: absolute; left: 0; right: 0; bottom: calc(var(--ref, 1) * 100%); border-top: 2px dashed currentColor; pointer-events: none; }
.history h3 { font-size: 1rem; margin-block: 1.25rem 0.25rem; }
.history h4 { font-size: 0.8rem; font-weight: normal; margin-block: 0.75rem 0.25rem; }
.history-empty { font-style: italic; }
.history-chart { display: grid; grid-template-columns: 3.5rem 1fr 3.5rem; grid-template-rows: 14rem 5rem auto; gap: 0.25rem; max-width: 44rem; margin-block: 0.5rem 1.5rem; grid-template-areas: "data-1-axis stocks data-2-axis" "data-1-axis volume data-2-axis" "primary-axis primary-axis primary-axis"; }
.history-chart .charts-css { display: block; width: 100%; height: 100%; position: relative; }
.history-chart .charts-css.area, .history-chart .charts-css.line { grid-area: stocks; }
.history-chart .charts-css.column { grid-area: volume; max-width: none; margin-block: 0; }
.history-chart .primary-axis { grid-area: primary-axis; font-size: 0.68rem; text-align: center; padding-top: 0.25rem; border-top: 1px solid currentColor; }
.history-chart .data-1-axis { grid-area: data-1-axis; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 0.68rem; text-align: center; align-self: center; }
.history-chart .data-2-axis { grid-area: data-2-axis; writing-mode: vertical-rl; font-size: 0.68rem; text-align: center; align-self: center; }
.history-chart .charts-css.area tbody, .history-chart .charts-css.line tbody { display: flex; flex-direction: row; align-items: stretch; width: 100%; height: 100%; }
.history-chart .charts-css.area tbody tr, .history-chart .charts-css.line tbody tr { position: relative; flex: 1 1 0; min-width: 0; }
.history-chart .charts-css.area td, .history-chart .charts-css.line td { position: absolute; inset: 0; }
.history-chart .charts-css.area td::before, .history-chart .charts-css.line td::before { content: ""; position: absolute; inset: 0; }
.history-chart .charts-css.area td::before { z-index: -1; background: linear-gradient(rgba(90, 62, 175, 0.30), rgba(90, 62, 175, 0)); clip-path: polygon(0% calc(100% * (1 - var(--start, var(--size)))), 100% calc(100% * (1 - var(--size))), 100% 100%, 0% 100%); }
.history-chart .charts-css.line { --line-size: 2px; }
.history-chart .charts-css.line td::before { clip-path: polygon(0% calc(100% * (1 - var(--start, var(--size)))), 100% calc(100% * (1 - var(--size))), 100% calc(100% * (1 - var(--size)) - var(--line-size)), 0% calc(100% * (1 - var(--start, var(--size))) - var(--line-size))); }
.history-chart .charts-css.line.src-bitfinex td::before { background: #2e8b57; }
.history-chart .charts-css.line.src-kraken td::before { background: #4060d0; }
.history-chart .charts-css.line.src-coinbase td::before { background: #d07000; }
.history-chart .charts-css.line.src-binance td::before { background: #b03090; }
.history-chart .charts-css.line.src-coingecko td::before { background: #707070; }
.history-chart .charts-css.line td.gap::before, .history-chart .charts-css.area td.gap::before { content: none; }
.history-chart .charts-css.column tbody { display: flex; flex-direction: row; align-items: flex-end; gap: 1px; width: 100%; height: 100%; border-bottom: 0; }
.history-chart .charts-css.column tbody tr { flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; }
.history-chart .charts-css.column td { width: 100%; height: calc(var(--size, 0) * 100%); background: #9a8fc0; border-radius: 0; }
.history-chart .charts-css .data { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; }
.charts-css.bar { display: block; max-width: 36rem; margin-block: 1rem; }
.charts-css.bar caption { caption-side: top; text-align: start; font-weight: bold; padding-bottom: 0.25rem; }
.charts-css.bar tbody { display: block; }
.charts-css.bar tr { display: grid; grid-template-columns: 11rem 1fr 4.5rem; gap: 0.5rem; align-items: center; margin-block: 3px; }
.charts-css.bar th { font-weight: normal; font-size: 0.72rem; text-align: start; overflow-wrap: anywhere; }
.charts-css.bar td.bar { position: relative; height: 1rem; }
.charts-css.bar td.bar::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--size, 0) * 100%); background: #5a3eaf; border-radius: 3px; }
.charts-css.bar td.val { text-align: end; font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.node-chart { max-width: 40rem; margin-block: 0.5rem 1.5rem; }
.node-chart figcaption { font-size: 0.85rem; font-weight: bold; margin-block: 0.75rem 0.25rem; }
.node-plot { display: grid; height: 10rem; border-bottom: 1px solid currentColor; }
.node-plot .charts-css { grid-area: 1 / 1; display: block; width: 100%; height: 100%; position: relative; }
.node-plot .charts-css.line tbody { display: flex; flex-direction: row; align-items: stretch; width: 100%; height: 100%; }
.node-plot .charts-css.line tbody tr { position: relative; flex: 1 1 0; min-width: 0; }
.node-plot .charts-css.line td { position: absolute; inset: 0; }
.node-plot .charts-css.line { --line-size: 2px; }
.node-plot .charts-css.line td::before { content: ""; position: absolute; inset: 0; clip-path: polygon(0% calc(100% * (1 - var(--start, var(--size)))), 100% calc(100% * (1 - var(--size))), 100% calc(100% * (1 - var(--size)) - var(--line-size)), 0% calc(100% * (1 - var(--start, var(--size))) - var(--line-size))); }
.node-plot .charts-css.line.ds-1 td::before { background: #2e8b57; }
.node-plot .charts-css.line.ds-2 td::before { background: #4060d0; }
.node-plot .charts-css.line td.gap::before { content: none; }
.node-axis { display: flex; justify-content: space-between; font-size: 0.68rem; padding-top: 0.25rem; }
.node-plot .charts-css .data { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); border: 0; }
ol.timeline { --timeline-accent: currentColor; list-style: none; position: relative; padding-left: 2.6rem; scroll-snap-type: y proximity; }
ol.timeline::before { content: ""; position: absolute; left: 0.82rem; top: 0.4rem; bottom: 0.4rem; width: 3px; border-radius: 3px; opacity: 0.55; background: linear-gradient(to bottom, transparent 0, var(--timeline-accent) 7%, var(--timeline-accent) 93%, transparent 100%); }
ol.timeline > li { position: relative; margin: 0 0 1.6rem 0; padding: 0.7rem 0.9rem; border: 1px solid transparent; border-radius: 7px; scroll-snap-align: start; }
ol.timeline > li::before { content: ""; position: absolute; left: -2.05rem; top: 0.95rem; width: 13px; height: 13px; border-radius: 50%; background: var(--timeline-accent); box-shadow: 0 0 7px var(--timeline-accent); }
ol.timeline > li:hover, ol.timeline > li:focus-within, ol.timeline > li:target { transform: scale(1.02); border-color: var(--timeline-accent); box-shadow: 0 0 0 1px var(--timeline-accent), 0 0 14px var(--timeline-accent); }
@media (prefers-reduced-motion: no-preference) {
 ol.timeline > li { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
 ol.timeline > li::before { animation: zs-timeline-node-pulse 3.2s ease-in-out infinite; }
 @keyframes zs-timeline-node-pulse { 0%, 100% { box-shadow: 0 0 6px var(--timeline-accent); } 50% { box-shadow: 0 0 13px var(--timeline-accent); } }
}
.home { margin-block: 1.5rem; }
.home-hero { margin-block: 1rem 1.75rem; }
.home-hero .tagline { margin-block: 0 0.4rem; }
.home-hero p { margin-block: 0.5rem; }
.home-sections { list-style: none; padding: 0; margin-block: 1.75rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; align-items: stretch; }
.home-sections > li { display: flex; flex-direction: column; padding: 0.9rem 1.1rem; border: 1px solid currentColor; border-radius: 8px; }
.home-sections h3 { margin-block: 0 0.3rem; }
.home-sections h3 a { text-decoration: none; }
.home-sections .sec-desc { margin-block: 0; font-size: 0.9rem; opacity: 0.85; }
.home-notes { margin-block-start: 2rem; }
.home-notes p { font-size: 0.85rem; margin-block: 0.55rem; }
.home-foot { opacity: 0.7; }
body { max-width: min(84ch, 94vw); padding: 1.5rem clamp(1rem, 4vw, 3rem) 3rem; }
.sitenav ul { gap: 0; }
.sitenav li { flex: 1 1 0; display: flex; }
.sitenav a, .sitenav [aria-current="page"] { flex: 1; text-align: center; padding: 0.3em 0.4em; }
table:not(.charts-css) { display: block; overflow-x: auto; max-width: 100%; border-collapse: collapse; font-size: 0.85rem; margin-block: 0.7rem 1.4rem; }
table:not(.charts-css) caption { text-align: start; font-weight: bold; padding-bottom: 0.3rem; }
table:not(.charts-css) th, table:not(.charts-css) td { white-space: nowrap; }
table:not(.charts-css) th { text-align: start; font-size: 0.78rem; letter-spacing: 0.02em; border-block-end: 1px solid currentColor; padding: 0.25rem 0.5rem; }
table:not(.charts-css) td { padding: 0.22rem 0.5rem; border-block-end: 1px solid currentColor; font-variant-numeric: tabular-nums; }
table:not(.charts-css) tr:hover td { outline: 1px solid currentColor; }
table:not(.charts-css) tr.summary td { border-block-start: 1px solid currentColor; font-weight: bold; }
.news-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 1.5rem 0; }
.news-pagination li { flex: 1 1 0; display: flex; }
.news-pagination a, .news-pagination [aria-current="page"] { flex: 1; text-align: center; padding: 0.2em 0.4em; border: 1px solid currentColor; text-decoration: none; }
.news-pagination a:hover, .news-pagination a:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.news-pagination [aria-current="page"] { font-weight: bold; border-width: 2px; }
.themepicker { box-sizing: border-box; width: 100%; display: flex; flex-wrap: wrap; gap: 0.4rem; margin-block-start: 2rem; padding-top: 1rem; border-top: 1px solid currentColor; }
.themepicker a { flex: 1 1 0; text-align: center; margin: 0; padding: 0.3em 0.4em; border: 1px solid currentColor; text-decoration: none; }
.themepicker a:hover, .themepicker a:focus-visible { outline: 2px solid currentColor; outline-offset: 1px; }
.themepicker a.t-default { font-weight: bold; border-width: 2px; }
.charts-css caption, .node-chart figcaption { width: 100%; }
.charts-css.column, .charts-css.bar, .history-chart, .node-chart, .node-plot { max-width: 100%; }
.node-plot .charts-css .data, .history-chart .charts-css .data { position: absolute; top: 0; left: 50%; transform: translateX(-50%); margin-top: 2px; width: auto; height: auto; padding: 0.04em 0.35em; clip-path: none; overflow: visible; background: #fff; color: #000; border: 1px solid currentColor; font-size: 0.7rem; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; z-index: 20; }
.node-plot .charts-css td:hover .data, .node-plot .charts-css td:focus-within .data, .history-chart .charts-css td:hover .data, .history-chart .charts-css td:focus-within .data { opacity: 1; }
/* network-address footer (ZS-221) — SHARED row layout (inherited by every theme except plain) */
.netfooter { margin-top: 3rem; font-size: 0.9rem; text-align: center; }
.netaddr { list-style: none; display: flex; flex-wrap: nowrap; width: 100%; gap: 0; margin: 0; padding: 0; }
.netaddr li { flex: 1 1 0; margin: 0; text-align: center; min-width: 0; }
.nf-source { margin: 0.6rem 0 0; font-size: 0.74em; opacity: 0.6; }

/* ============================================================================
   netscape '99 - "corporate Win9x intranet, 1999"
   The signature is Win95 chrome: 2px outset raised panels/buttons, 2px inset
   pressed/sunken surfaces (you pressed this one = current section). Silver
   button-face ground, Times body, Arial navy headings, classic blue/purple
   underlined links. Layout overrides DEFAULT's reading column lightly (a beveled
   frame around each panel) and collapses DEFAULT's 2x2 home grid to a single
   column of beveled group-boxes. Pure CSS within I-1: gradients/colors/borders/
   counters only - no url(), @import, @font-face, @property, data:, image-funcs.
   Aesthetic theme (Z-8): not contrast-gated (ContrastLint gates DEFAULT alone).
   ============================================================================ */

:root {
  --ns-face:   #c0c0c0;   /* Win95 button-face silver - the ground */
  --ns-light:  #ffffff;   /* bevel highlight edge */
  --ns-shadow: #808080;   /* bevel shadow edge */
  --ns-dark:   #404040;   /* bevel dark-shadow edge */
  --ns-navy:   #000080;   /* headings + window captions + chart bars */
  --ns-text:   #000000;   /* body prose */
  --ns-link:   #0000ee;   /* classic link blue */
  --ns-vlink:  #551a8b;   /* visited purple */
  --ns-white:  #ffffff;
}

/* ---- Screen ground + reading measure ------------------------------------ */
html { background: var(--ns-face); }
body {
  background-color: var(--ns-face);
  color: var(--ns-text);
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 1.0rem;
  line-height: 1.4;
}

/* ---- Headings: Arial navy (the corporate intranet voice) ---------------- */
h1, h2, h3, h4 { color: var(--ns-navy); font-family: Arial, Helvetica, sans-serif; }
h1 { font-size: 1.5rem; margin-block: 0.2rem 1rem; }
h2 { font-size: 1.25rem; margin-block: 1.3rem 0.5rem; }
h3 { font-size: 1.06rem; margin-block: 1rem 0.3rem; }

/* ---- Links: classic blue/purple underlined ------------------------------ */
a { color: var(--ns-link); text-decoration: underline; }
a:visited { color: var(--ns-vlink); }
a:hover, a:focus-visible { color: #c40000; }            /* the classic link-mouseover red */
:focus-visible { outline: 1px dotted #000; outline-offset: 1px; }

/* ---- Masthead: beveled window with a per-section caption bar ------------- */
/* The tagline rides .masthead::before (mirrors matrix/pipboy): the current section is the
   hrefless <span>, so :has() keys the swap (pure CSS; decorative under engines without :has()). */
.masthead {
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  margin-block: 0 1rem;
}
.masthead::before {                  /* per-section "window caption" - navy bar, white text; home default below */
  content: "Welcome";
  display: block;
  background: var(--ns-navy);
  color: var(--ns-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem; font-weight: bold;
  padding: 0.2rem 0.6rem;
}
body:not(:has(.sitenav a[href$="news/index.html"])) .masthead::before { content: "Company News"; }
body:not(:has(.sitenav a[href$="market.html"])) .masthead::before { content: "Market Data"; }
body:not(:has(.sitenav a[href$="node.html"])) .masthead::before { content: "Node Status"; }
body:not(:has(.sitenav a[href$="education/index.html"])) .masthead::before { content: "Training Materials"; }
.masthead h1 {
  color: var(--ns-navy);
  font-size: 1.5rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
}
/* ZS-141: stack the masthead as a column and lift the langpicker above the navy window-caption
   bar (.masthead::before), so it sits at the very top rather than wedged between caption and title. */
.masthead { display: flex; flex-direction: column; }
.langpicker { order: -1; padding: 0.2rem 0.7rem; }

/* ---- Primary nav: Win95 tab strip - raised tabs, pressed current tab ----- */
.sitenav {
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.3rem;
  margin-block-end: 1rem;
}
.sitenav ul { gap: 0.3rem; align-items: center; }
.sitenav li { flex: 1 1 0; display: flex; }
.sitenav a, .sitenav [aria-current="page"] {
  flex: 1; text-align: center;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.12em 0.7em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.84rem;
  text-decoration: none;
  color: var(--ns-text);
}
.sitenav a:hover, .sitenav a:focus-visible { color: var(--ns-navy); }
/* pressed button = current section (you pressed this one) - the Win95 convention,
   distinct from matrix's red pill and cyberpunk's inverted-yellow */
.sitenav [aria-current="page"] {
  border: 2px inset var(--ns-face);
  font-weight: bold;
  color: var(--ns-navy);
}

/* ---- Education sub-nav: beveled vertical menu --------------------------- */
.education { flex: 1 1 240px; margin: 0; }
.education ul { list-style: none; display: block; border-block-end: none; padding: 0; margin: 0; }
.education li { display: block; margin: 0; }
.education a, .education [aria-current="page"] {
  display: block;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.12em 0.6em;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ns-text);
}
.education a:hover { color: var(--ns-navy); }
.education [aria-current="page"] { border: 2px inset var(--ns-face); font-weight: bold; color: var(--ns-navy); }

/* ---- Home: beveled group-boxes, single column (overrides DEFAULT grid) -- */
.home { margin-block: 1rem; }
.home-hero { margin-block: 0.5rem 1rem; }
.home-sections {
  display: block;                 /* collapse DEFAULT's auto-fit grid to one column */
  list-style: none;
  padding: 0;
  margin-block: 1rem;
}
.home-sections > li {
  display: block;
  border: 2px outset var(--ns-face);
  border-radius: 0;
  background: var(--ns-face);
  padding: 0.5rem 0.85rem;
  margin-block: 0.5rem;
}
.home-sections > li:first-child { margin-block-start: 0; }
.home-sections h3 { margin-block: 0 0.3rem; }
.home-sections h3 a { text-decoration: none; color: var(--ns-navy); }
.home-sections h3 a:hover { color: var(--ns-link); }
.home-sections .sec-desc { opacity: 1; }

/* ---- Timeline (Education): beveled "REVISION HISTORY" release notes ----- */
/* a clean replacement of the base ol.timeline geometry (rail + glowing node dot) */
ol.timeline {
  counter-reset: ms;
  list-style: none;
  position: relative;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.5rem 1rem 0.7rem;
  margin-block: 1rem;
}
ol.timeline::before {                      /* group-box header: REVISION HISTORY (replaces base rail) */
  content: "REVISION HISTORY";
  position: static;
  display: block;
  width: auto; height: auto;
  background: none; border-radius: 0; box-shadow: none; opacity: 1;
  color: var(--ns-navy);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem; font-weight: bold;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-bottom: 1px solid var(--ns-shadow);
  padding-bottom: 0.3rem;
  margin-bottom: 0.6rem;
}
ol.timeline > li::before { content: none; display: none; }    /* no node dot (replaces base) */
ol.timeline > li {
  counter-increment: ms;
  position: relative;
  background: none; border: none; border-radius: 0; box-shadow: none;
  padding: 0.3rem 0.3rem 0.5rem 4.5ch;
  margin: 0 0 0.5rem;
}
ol.timeline > li:hover, ol.timeline > li:focus-within, ol.timeline > li:target {
  background: none; border: none; box-shadow: none; transform: none;       /* no base glow/scale */
}
ol.timeline > li > p { margin: 0; }
ol.timeline > li > p > strong:first-child {
  display: block;
  margin-left: -4.5ch;
  color: var(--ns-navy);
  font-family: Arial, Helvetica, sans-serif;
}
ol.timeline > li > p > strong:first-child::before { content: "[" counter(ms, decimal-leading-zero) "]  "; }
ol.timeline > li:hover > p > strong:first-child,
ol.timeline > li:focus-within > p > strong:first-child,
ol.timeline > li:target > p > strong:first-child { color: var(--ns-link); }

/* ---- Charts: beveled frames, navy bars + navy caption bars --------------- */
.charts-css.column, .charts-css.bar, .history-chart, .node-chart, .node-plot {
  max-width: 100%;
  border: 2px outset var(--ns-face);
}
.charts-css.column caption, .charts-css.bar caption, .node-chart figcaption {
  background: var(--ns-navy);
  color: var(--ns-white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem; font-weight: bold;
}
.charts-css.column td { --bar-color: var(--ns-navy); background: var(--ns-navy); }
.charts-css.column .data { color: var(--ns-white); }
.charts-css.bar td.bar { background: var(--ns-face); }
.charts-css.bar td.bar::before { background: var(--ns-navy); }
.charts-css.bar td.val { color: var(--ns-text); }
.history-chart .charts-css.column td { background: var(--ns-navy); }
.history-chart .primary-axis, .history-chart .data-1-axis, .history-chart .data-2-axis, .node-axis { color: var(--ns-shadow); }

/* ---- Data tables (market): beveled grid with a navy caption ------------- */
table:not(.charts-css) {
  display: block; overflow-x: auto; max-width: 100%;
  border: 2px outset var(--ns-face);
  border-collapse: separate;
  background: var(--ns-face);
  font-size: 0.85rem;
  margin-block: 0.7rem 1.2rem;
}
table:not(.charts-css) caption {
  background: var(--ns-navy);
  color: var(--ns-white);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold; text-align: start;
  padding: 0.2rem 0.5rem;
}
table:not(.charts-css) th {
  background: var(--ns-face);
  border: 1px solid var(--ns-shadow);
  font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem;
  text-align: start; padding: 0.2rem 0.5rem;
}
table:not(.charts-css) td {
  border: 1px solid var(--ns-shadow); padding: 0.18rem 0.5rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
table:not(.charts-css) tr:hover td { background: var(--ns-shadow); color: var(--ns-light); }
table:not(.charts-css) tr.summary td {
  border-block-start: 2px inset var(--ns-face);
  font-weight: bold; color: var(--ns-navy);
}

/* ---- Node: beveled stat readout ----------------------------------------- */
.node-stats {
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.4rem 0.7rem;
  margin-block: 0.6rem 1rem;
}
.node-stats dt {
  color: var(--ns-navy);
  font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem; font-weight: bold;
}
.node-stats dd { margin: 0; }

/* ---- News: beveled release entries + beveled pager ---------------------- */
.news-feed { list-style: none; padding: 0; margin: 0; }
.news-item {
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.5rem 0.8rem;
  margin-block: 0.5rem;
}
.news-title { font-family: Arial, Helvetica, sans-serif; font-size: 1.0rem; margin: 0 0 0.2rem; color: var(--ns-navy); }
.news-title a { text-decoration: none; color: var(--ns-navy); }
.news-title a:hover { color: var(--ns-link); }
.news-meta, .news-metrics { color: var(--ns-text); font-size: 0.78rem; margin: 0.1rem 0; }
.news-excerpt { font-size: 0.9rem; margin: 0.3rem 0 0; }
.news-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0; margin: 1rem 0; }
.news-pagination a, .news-pagination [aria-current="page"] {
  display: inline-block;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.1em 0.6em;
  font-family: Arial, Helvetica, sans-serif; font-size: 0.82rem;
  text-decoration: none; color: var(--ns-text);
}
.news-pagination a:hover { color: var(--ns-navy); }
.news-pagination [aria-current="page"] {
  border: 2px inset var(--ns-face);
  font-weight: bold; color: var(--ns-navy);
}

/* ---- Footer: "Display:" control-panel picker; .t-netscape = pressed ------ */
.themepicker {
  box-sizing: border-box; width: 100%;
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  padding: 0.5rem 0.7rem;
  margin-block-start: 1.5rem;
}
.themepicker::before {                      /* the Win95 "Display" control-panel applet voice */
  content: "Display:";
  flex-basis: 100%; display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem; font-weight: bold;
  color: var(--ns-navy);
  margin-bottom: 0.2rem;
}
.themepicker a {
  flex: 1 1 0; text-align: center;
  border: 2px outset var(--ns-face);
  background: var(--ns-face);
  margin: 0;
  padding: 0.3em 0.4em;
  font-family: Arial, Helvetica, sans-serif; font-size: 0.8rem;
  text-decoration: none; color: var(--ns-text);
}
.themepicker a:hover { color: var(--ns-navy); }
/* the current theme reads as the pressed (inset) button - you selected it */
.themepicker a.t-netscape {
  border: 2px inset var(--ns-face);
  font-weight: bold; color: var(--ns-navy);
}
/* footer (ZS-221) — plain |-separated underlined text links, NO container frame */
.netfooter { margin-top: 2.5rem; text-align: center; font-size: 0.85rem; }
.netaddr { list-style: none; display: inline; margin: 0; padding: 0; }
.netaddr li { display: inline; margin: 0; }
.netaddr a { color: var(--ns-link); text-decoration: underline; font-family: "Times New Roman", Times, serif; }
.netaddr li:not(:last-child)::after { content: " | "; color: var(--ns-shadow); text-decoration: none; }
.nf-source { margin: 0.4rem 0 0; font-size: 0.9em; }
.nf-source a { color: var(--ns-vlink); text-decoration: underline; font-family: "Times New Roman", Times, serif; }
