/* Blind Scribes status: status.blindscribes.com
   The same vellum as blindscribes.com (site/assets/styles.css): night vellum is the dark theme, day vellum the light.
   Status colours are the manuscript's own pigments: verdigris for well, gilt for unsteady, rubric for down, lapis for not yet. */

@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("fonts/alegreya.woff2") format("woff2"); }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/alegreya-italic.woff2") format("woff2"); }
@font-face { font-family: "Alegreya SC"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/alegreya-sc-500.woff2") format("woff2"); }
@font-face { font-family: "Alegreya SC"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/alegreya-sc-700.woff2") format("woff2"); }

:root {
  /* night vellum (also the no-JS default) */
  --bg: #16110c;
  --surface: #211a12;
  --surface-2: #2a2117;
  --well: #0f0b07;
  --rule: #3d3224;
  --rule-strong: #6b5a42;
  --ink: #eadfc8;
  --ink-dim: #ad9c7f;
  --rubric: #e8806a;
  --rubric-deep: #a3321f;
  --gilt: #ddb256;
  --lapis: #94b4ea;
  --verd: #86c6a6;
  --on-rubric: #fff8ea;
  --on-mark: #16110c;
  --shadow: rgba(0, 0, 0, 0.5);

  /* bars: non-text contrast >= 3:1 against --surface; outage is also hatched, so it never relies on hue */
  --bar-up: #6fb592;
  --bar-disrupted: #d9a843;
  --bar-outage: #e2725a;
  --bar-pending: #4f6a96;
  --bar-nodata: #3a2f22;
  --bar-before: #2a2218;

  --serif: "Alegreya", "Iowan Old Style", Palatino, "Book Antiqua", Georgia, serif;
  --sc: "Alegreya SC", "Alegreya", Palatino, Georgia, serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --page: 58rem;
  --gutter: 1rem;
  --radius: 6px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #ede3cc; --surface: #f7f1e3; --surface-2: #f2e9d6; --well: #e4d7ba; --rule: #d3c3a0; --rule-strong: #8f7b57;
    --ink: #2b2118; --ink-dim: #66543f; --rubric: #a0301f; --rubric-deep: #a0301f; --gilt: #735208;
    --lapis: #1e4a8a; --verd: #2c6549; --on-rubric: #fffbf2; --on-mark: #fffbf2; --shadow: rgba(60, 40, 10, 0.14);
    --bar-up: #3d8762; --bar-disrupted: #b8860b; --bar-outage: #b23a24; --bar-pending: #8fa6cc; --bar-nodata: #ddd0b2; --bar-before: #e9dfc8;
    color-scheme: light;
  }
}
:root[data-theme="day"] {
  --bg: #ede3cc; --surface: #f7f1e3; --surface-2: #f2e9d6; --well: #e4d7ba; --rule: #d3c3a0; --rule-strong: #8f7b57;
  --ink: #2b2118; --ink-dim: #66543f; --rubric: #a0301f; --rubric-deep: #a0301f; --gilt: #735208;
  --lapis: #1e4a8a; --verd: #2c6549; --on-rubric: #fffbf2; --on-mark: #fffbf2; --shadow: rgba(60, 40, 10, 0.14);
  --bar-up: #3d8762; --bar-disrupted: #b8860b; --bar-outage: #b23a24; --bar-pending: #8fa6cc; --bar-nodata: #ddd0b2; --bar-before: #e9dfc8;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6;
  font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, color-mix(in srgb, var(--gilt) 8%, transparent) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 27px, color-mix(in srgb, var(--rule) 20%, transparent) 27px 28px);
}
a { color: var(--lapis); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--lapis); outline-offset: 3px; border-radius: 2px; }
code { font-family: var(--mono); font-size: 0.84em; color: var(--gilt); background: color-mix(in srgb, var(--well) 70%, transparent); padding: 0.05em 0.35em; border-radius: 3px; white-space: nowrap; }
h1, h2, h3 { font-family: var(--sc); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 0.9em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num { font-variant-numeric: lining-nums tabular-nums; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--rubric-deep); color: var(--on-rubric); padding: 0.5rem 1rem; }
.skip:focus { top: 0.75rem; }

/* ------------------------------------------------------------------ masthead */
.masthead { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.masthead-inner { max-width: var(--page); margin: 0 auto; padding: 0.5rem var(--gutter); display: flex; align-items: center; gap: 0.6rem; }
.wordmark { display: flex; align-items: center; gap: 0.5rem; color: var(--ink); text-decoration: none; font-family: var(--sc); font-weight: 700; font-size: 1.25rem; white-space: nowrap; }
.wordmark img { width: 28px; height: 28px; border-radius: 4px; }
.mast-tag { font: 500 0.95rem var(--sc); color: var(--gilt); border-left: 1px solid var(--rule-strong); padding-left: 0.6rem; letter-spacing: 0.04em; }
.mast-actions { display: flex; gap: 0.5rem; align-items: center; margin-left: auto; }
.btn-quiet { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.9rem; font: 700 1rem var(--sc); color: var(--ink); text-decoration: none; border: 1px solid var(--rule-strong); border-radius: 4px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.btn-quiet:hover { border-color: var(--gilt); }
.theme-btn { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; min-width: 44px; justify-content: center; padding: 0 0.6rem; font: 500 0.95rem var(--sc); color: var(--ink-dim); background: none; border: 1px solid var(--rule); border-radius: 4px; cursor: pointer; }
.theme-btn:hover { color: var(--ink); border-color: var(--rule-strong); }
.theme-btn svg { width: 18px; height: 18px; }
.theme-btn .sun { display: none; }
:root[data-theme="day"] .theme-btn .sun { display: block; }
:root[data-theme="day"] .theme-btn .moon { display: none; }
.theme-label { display: none; }
@media (min-width: 48rem) { .theme-label { display: inline; } }
@media (max-width: 25rem) { .wordmark span { font-size: 1.08rem; } .mast-tag { font-size: 0.88rem; padding-left: 0.5rem; } .btn-quiet { padding: 0 0.7rem; } }

main { max-width: var(--page); margin: 0 auto; padding: 2.25rem var(--gutter) 1rem; }
@media (min-width: 48rem) { main { padding-top: 3.25rem; } }

/* ------------------------------------------------------------------ banner */
.banner {
  --tone: var(--verd);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr; gap: 0.25rem 1.1rem; align-items: center;
  padding: 1.4rem 1.25rem 1.25rem;
  background:
    linear-gradient(100deg, color-mix(in srgb, var(--tone) 13%, transparent) 0%, transparent 62%),
    var(--surface);
  border: 1px solid color-mix(in srgb, var(--tone) 45%, var(--rule));
  border-radius: var(--radius);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--tone) 25%, transparent) inset, 0 14px 40px -18px var(--shadow);
}
.banner::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tone); }
body[data-state="degraded"] .banner, body[data-state="partial"] .banner { --tone: var(--gilt); }
body[data-state="partial"] .banner { --tone: var(--rubric); }
body[data-state="down"] .banner { --tone: var(--rubric); }
body[data-state="stale"] .banner, body[data-state="unreachable"] .banner, body[data-state="loading"] .banner { --tone: var(--ink-dim); }
.banner-mark { width: 2.75rem; height: 2.75rem; color: var(--tone); }
.banner-mark .ico { width: 100%; height: 100%; display: none; }
body[data-state="up"] .ico-up, body[data-state="loading"] .ico-stale,
body[data-state="degraded"] .ico-degraded, body[data-state="partial"] .ico-degraded,
body[data-state="down"] .ico-down, body[data-state="stale"] .ico-stale, body[data-state="unreachable"] .ico-stale { display: block; }
.banner-text { min-width: 0; }
.banner h2 { font-size: clamp(1.55rem, 4.6vw, 2.15rem); color: var(--ink); line-height: 1.1; }
.banner-text p { margin: 0.35rem 0 0; color: var(--ink-dim); font-size: 1.02rem; line-height: 1.45; max-width: 40rem; }
.banner-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 1.05rem 0 0; padding-top: 0.9rem; border-top: 1px solid color-mix(in srgb, var(--rule) 80%, transparent); }
.banner-meta div { display: flex; align-items: baseline; gap: 0.5rem; min-width: 0; }
.banner-meta dt { font: 500 0.88rem var(--sc); color: var(--ink-dim); letter-spacing: 0.03em; }
.banner-meta dd { margin: 0; font-size: 0.98rem; display: flex; align-items: baseline; gap: 0.45rem; min-width: 0; font-variant-numeric: lining-nums tabular-nums; }
.ver-tag { font-family: var(--mono); font-size: 0.86rem; color: var(--gilt); }
.ver-build { font-family: var(--mono); font-size: 0.78rem; color: var(--ink-dim); }
.pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--tone, var(--verd)); align-self: center; position: relative; flex: none; }
.banner .pulse { background: var(--tone); }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--tone); opacity: 0; animation: ping 2.4s ease-out infinite; }
body[data-state="stale"] .pulse::after, body[data-state="unreachable"] .pulse::after, body[data-state="loading"] .pulse::after { animation: none; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
@media (min-width: 40rem) {
  .banner { padding: 1.6rem 1.75rem 1.4rem; gap: 0.25rem 1.35rem; }
  .banner-mark { width: 3.25rem; height: 3.25rem; }
}
.banner .stale-note { color: var(--ink); }

/* ------------------------------------------------------------------ ongoing incidents */
.ongoing { margin-top: 1rem; display: grid; gap: 0.75rem; }
.ongoing-card { background: var(--surface); border: 1px solid var(--rule); border-left: 4px solid var(--sev, var(--rubric)); border-radius: var(--radius); padding: 1rem 1.15rem; }
.ongoing-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 0.25rem; }
.ongoing-card .meta { font-size: 0.95rem; color: var(--ink-dim); margin: 0 0 0.5rem; }
.ongoing-card .latest { margin: 0; }
.ongoing-card .latest b { font-family: var(--sc); color: var(--sev, var(--rubric)); font-weight: 700; }

/* ------------------------------------------------------------------ panels */
.panel { margin-top: 2.75rem; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 0.9rem; }
.panel-head h2 { font-size: 1.6rem; color: var(--rubric); }
.panel-note { margin: 0; color: var(--ink-dim); font-style: italic; }
.panel-foot { margin: 0.75rem 0 0; font-size: 0.92rem; color: var(--ink-dim); font-style: italic; }

.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.9rem; color: var(--ink-dim); }
.legend li { display: inline-flex; align-items: center; gap: 0.4rem; }
.sw { width: 0.6rem; height: 0.95rem; border-radius: 2px; background: var(--bar-up); display: inline-block; }
.sw-disrupted { background: var(--bar-disrupted); }
.sw-outage { background: repeating-linear-gradient(135deg, var(--bar-outage) 0 2px, color-mix(in srgb, var(--bar-outage) 55%, var(--surface)) 2px 3.5px); background-color: var(--bar-outage); }
.sw-nodata { background: var(--bar-nodata); }

/* ------------------------------------------------------------------ components */
.components { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 14px 40px -24px var(--shadow); }
.comp { padding: 1.15rem 1.1rem 1rem; }
.comp + .comp { border-top: 1px solid var(--rule); }
@media (min-width: 40rem) { .comp { padding: 1.3rem 1.5rem 1.15rem; } }
.comp-head { display: grid; grid-template-columns: 1fr auto; gap: 0.1rem 1rem; align-items: baseline; }
.comp-name { display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; min-width: 0; }
.comp-name h3 { font-size: 1.22rem; color: var(--ink); white-space: nowrap; }
@media (max-width: 39.99rem) { .comp-desc { display: block; width: 100%; margin-top: -0.1rem; line-height: 1.35; } .comp-name { gap: 0; } }
.comp-desc { font-size: 0.95rem; color: var(--ink-dim); font-style: italic; }
.comp-state { display: inline-flex; align-items: center; gap: 0.4rem; font: 700 0.98rem var(--sc); letter-spacing: 0.02em; color: var(--c); white-space: nowrap; }
.comp-state svg { width: 1rem; height: 1rem; flex: none; }
.comp[data-status="up"] { --c: var(--verd); }
.comp[data-status="degraded"] { --c: var(--gilt); }
.comp[data-status="down"] { --c: var(--rubric); }
.comp[data-status="pending"], .comp[data-status="unknown"] { --c: var(--lapis); }
.comp-figs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.15rem 1.25rem; margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--ink-dim); }
.comp-figs div { display: flex; gap: 0.35rem; align-items: baseline; }
.comp-figs dt { font-style: italic; }
.comp-figs dd { margin: 0; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.comp-detail { grid-column: 1 / -1; margin: 0.35rem 0 0; font-size: 0.95rem; color: var(--c); }
.comp-detail:empty { display: none; }

.bars { display: flex; gap: 2px; height: 2.4rem; margin-top: 0.95rem; align-items: stretch; }
.bar {
  flex: 1 1 0; min-width: 0; padding: 0; margin: 0; border: 0; border-radius: 2px; cursor: default;
  background: var(--bar-nodata);
  transition: transform 0.12s ease, filter 0.12s ease;
}
.bar[data-k="up"] { background: var(--bar-up); }
.bar[data-k="disrupted"] { background: var(--bar-disrupted); }
.bar[data-k="outage"] { background: repeating-linear-gradient(135deg, var(--bar-outage) 0 3px, color-mix(in srgb, var(--bar-outage) 50%, var(--surface)) 3px 5px); background-color: var(--bar-outage); }
.bar[data-k="pending"] { background: repeating-linear-gradient(90deg, transparent 0 2px, transparent 2px); background-color: color-mix(in srgb, var(--bar-pending) 40%, var(--surface)); }
.bar[data-k="before"] { background: var(--bar-before); }
.bar:hover, .bar:focus-visible, .bar.is-tip { transform: scaleY(1.12); filter: brightness(1.12); }
.bar:focus-visible { outline: 2px solid var(--lapis); outline-offset: 2px; }
.bars-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 0.45rem; font-size: 0.86rem; color: var(--ink-dim); font-variant-numeric: lining-nums tabular-nums; }
.bars-foot .rule { flex: 1; height: 1px; background: var(--rule); }
.bars-foot .up90 { color: var(--ink); }
.span-60, .span-30 { display: none; }
@media (max-width: 47.99rem) {
  .bars .bar:nth-child(-n+30) { display: none; }
  .span-90 { display: none; } .span-60 { display: inline; }
}
@media (max-width: 33.99rem) {
  .bars { gap: 2px; }
  .bars .bar:nth-child(-n+60) { display: none; }
  .span-60 { display: none; } .span-30 { display: inline; }
}

/* stale: everything below the banner is "last known" */
body[data-state="stale"] .components, body[data-state="stale"] .chart, body[data-state="stale"] .stats,
body[data-state="unreachable"] .components, body[data-state="unreachable"] .chart, body[data-state="unreachable"] .stats { opacity: 0.62; filter: saturate(0.55); }
.lastknown { display: none; font: 500 0.82rem var(--sc); letter-spacing: 0.04em; color: var(--ink-dim); border: 1px solid var(--rule-strong); border-radius: 3px; padding: 0 0.4rem; }
body[data-state="stale"] .lastknown, body[data-state="unreachable"] .lastknown { display: inline-block; }
.panel-head .lastknown { margin-left: 0.6rem; vertical-align: 0.25em; }

/* ------------------------------------------------------------------ latency */
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: 5px; padding: 3px; margin: 0; background: var(--well); gap: 2px; }
.seg label { position: relative; display: inline-flex; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label > span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 0.75rem; border-radius: 3px; font: 500 0.95rem var(--sc); color: var(--ink-dim); cursor: pointer; }
.seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 0 0 1px var(--rule-strong); }
.seg input:focus-visible + span { outline: 2px solid var(--lapis); outline-offset: 1px; }
.seg label:hover > span { color: var(--ink); }
.seg .s-short { display: none; }
@media (max-width: 33.99rem) { .seg { width: 100%; } .seg label { flex: 1; } .seg label > span { justify-content: center; width: 100%; padding: 0 0.4rem; } .seg .s-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .seg .s-short { display: inline; } }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
@media (min-width: 40rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats div { background: var(--surface); padding: 0.75rem 1rem 0.7rem; }
.stats dt { font: 500 0.86rem var(--sc); color: var(--ink-dim); letter-spacing: 0.03em; }
.stats dd { margin: 0.1rem 0 0; font-size: 1.45rem; line-height: 1.2; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.stats dd small { font-size: 0.9rem; color: var(--ink-dim); margin-left: 0.15rem; }

.chart { margin: 0; background: var(--surface); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 var(--radius) var(--radius); padding: 0.9rem 1rem 0.6rem; box-shadow: 0 14px 40px -24px var(--shadow); }
.chart-plot { position: relative; height: 9.5rem; }
.chart-plot svg { display: block; width: 100%; height: 100%; overflow: visible; }
.chart .grid { stroke: var(--rule); stroke-width: 1; stroke-dasharray: 2 4; }
.chart .gridlabel { fill: var(--ink-dim); font: 12px var(--serif); font-variant-numeric: lining-nums tabular-nums; }
.chart .line { fill: none; stroke: var(--lapis); stroke-width: 1.75; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart .area { fill: url(#latfill); }
.chart .gap { fill: color-mix(in srgb, var(--rubric) 14%, transparent); }
.chart .hair { stroke: var(--ink-dim); stroke-width: 1; }
.chart .dot { fill: var(--lapis); stroke: var(--surface); stroke-width: 2; }
.chart-axis { display: flex; justify-content: space-between; margin-top: 0.35rem; font-size: 0.82rem; color: var(--ink-dim); font-variant-numeric: lining-nums; }
.chart-empty { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-dim); font-style: italic; text-align: center; padding: 1rem; }

/* ------------------------------------------------------------------ incidents */
.inc-month { font: 700 1.05rem var(--sc); color: var(--gilt); letter-spacing: 0.03em; margin: 1.5rem 0 0.6rem; padding-bottom: 0.35rem; border-bottom: 1px solid var(--rule); }
.inc-month:first-child { margin-top: 0; }
.inc { display: grid; grid-template-columns: 1fr; gap: 0.25rem 1.25rem; padding: 1rem 0 1.1rem; }
.inc + .inc { border-top: 1px dashed color-mix(in srgb, var(--rule) 85%, transparent); }
@media (min-width: 40rem) { .inc { grid-template-columns: 5.5rem 1fr; } }
.inc-date { font: 500 0.95rem var(--sc); color: var(--ink-dim); font-variant-numeric: lining-nums; padding-top: 0.15rem; }
.inc h3 { font-size: 1.18rem; color: var(--ink); display: flex; flex-wrap: wrap; gap: 0.25rem 0.6rem; align-items: baseline; }
.badge { display: inline-flex; align-items: center; font: 700 0.78rem var(--sc); letter-spacing: 0.05em; padding: 0.05rem 0.45rem; border-radius: 3px; border: 1px solid currentColor; line-height: 1.5; white-space: nowrap; }
.badge-major { color: var(--rubric); }
.badge-minor { color: var(--gilt); }
.badge-maintenance, .badge-notice { color: var(--lapis); }
.badge-ongoing { color: var(--on-rubric); background: var(--rubric-deep); border-color: var(--rubric-deep); }
.inc-meta { margin: 0.15rem 0 0.5rem; font-size: 0.95rem; color: var(--ink-dim); }
.updates { list-style: none; margin: 0; padding: 0 0 0 0.9rem; border-left: 2px solid var(--rule); }
.updates li { margin: 0 0 0.45rem; font-size: 0.98rem; line-height: 1.5; }
.updates li:last-child { margin-bottom: 0; }
.updates b { font-family: var(--sc); font-weight: 700; color: var(--ink); margin-right: 0.35rem; }
.updates li[data-s="resolved"] b { color: var(--verd); }
.updates li[data-s="investigating"] b { color: var(--rubric); }
.updates time { display: block; font-size: 0.85rem; color: var(--ink-dim); font-variant-numeric: lining-nums; }
.inc-empty { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem 1.25rem; text-align: center; color: var(--ink-dim); }
.inc-empty strong { display: block; font: 700 1.2rem var(--sc); color: var(--ink); margin-bottom: 0.2rem; }
.inc-empty .orn { display: block; color: var(--gilt); font-size: 1.5rem; line-height: 1; margin-bottom: 0.4rem; }
.more { margin-top: 0.75rem; min-height: 44px; padding: 0 1rem; font: 500 1rem var(--sc); color: var(--ink); background: none; border: 1px solid var(--rule-strong); border-radius: 4px; cursor: pointer; }
.more:hover { border-color: var(--gilt); }

/* ------------------------------------------------------------------ about + footer */
.about { margin-top: 3.25rem; padding-top: 2rem; border-top: 1px solid var(--rule); }
.about h2 { font-size: 1.35rem; color: var(--gilt); margin-bottom: 0.75rem; }
.about-grid { display: grid; gap: 0.5rem 2.5rem; font-size: 0.98rem; color: var(--ink-dim); }
@media (min-width: 48rem) { .about-grid { grid-template-columns: 1.15fr 1fr; } }
.about strong { color: var(--ink); font-weight: 700; }
.checks { margin: 0 0 1rem; padding-left: 1.1rem; }
.checks li { margin-bottom: 0.35rem; }
.checks li::marker { color: var(--rubric); }
.aside { font-style: italic; border-left: 2px solid var(--rubric); padding-left: 0.9rem; }
.aside-mark { font-style: normal; color: var(--rubric); margin-right: 0.15rem; }
.machine { font-size: 0.92rem; }

.colophon { border-top: 1px solid var(--rule-strong); margin-top: 2.5rem; background: var(--well); }
.colophon-inner { max-width: var(--page); margin: 0 auto; padding: 1.5rem var(--gutter) 2rem; font-size: 0.95rem; color: var(--ink-dim); }
.colophon-inner p { margin: 0 0 0.35rem; }
.explicit { font-style: italic; font-size: 0.9rem; }

/* ------------------------------------------------------------------ tooltip */
.tip {
  position: absolute; z-index: 40; pointer-events: none; max-width: min(18rem, calc(100vw - 2rem));
  background: var(--surface-2); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 5px;
  padding: 0.6rem 0.75rem; font-size: 0.92rem; line-height: 1.4; box-shadow: 0 12px 28px -8px var(--shadow);
}
.tip .t-date { font: 700 0.95rem var(--sc); color: var(--ink); }
.tip .t-line { color: var(--ink-dim); font-variant-numeric: lining-nums tabular-nums; }
.tip .t-k { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; margin: 0.15rem 0; }
.tip .t-k i { width: 0.55rem; height: 0.55rem; border-radius: 1px; display: inline-block; }
.tip ul { margin: 0.35rem 0 0; padding: 0.35rem 0 0 0; list-style: none; border-top: 1px solid var(--rule); }
.tip li { color: var(--ink); }
.tip li::before { content: "\2767\00a0"; color: var(--rubric); }

.noscript { max-width: var(--page); margin: 1rem auto; padding: 0 var(--gutter); color: var(--ink-dim); }
