/* ============================================================
   LIMITLESS Status — visual system
   Light, soft, iridescent: the public face of limitless.buzz.
   Tokens extracted from the live landing (brand-neon purple scale,
   the shimmer gradient, the soft lavender field). Framework-free.
   ============================================================ */

@font-face {
  font-family: 'Satoshi';
  src: url('/fonts/Satoshi-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* brand-neon (purple) — from limitless-platform globals.css */
  --n50: 246 243 255;
  --n100: 233 213 255;
  --n200: 212 185 255;
  --n300: 185 138 255;
  --n400: 160 102 255;
  --n500: 139 92 255;   /* primary brand purple */
  --n600: 112 69 245;
  --n700: 90 51 224;
  --n800: 69 38 184;
  --n900: 50 29 138;

  --purple: rgb(var(--n500));
  --purple-deep: rgb(var(--n700));

  /* soft lavender field */
  --bg: #faf9ff;
  --card: #ffffff;
  --border: #ece7fb;
  --border-strong: rgb(var(--n200));

  --text: #17162a;
  --text-secondary: #56546b;
  --text-muted: #6e6c82;

  /* status semantics (AA on white) */
  --green: #34d399;      --green-text: #047857;  --green-bg: #ecfdf5;  --green-bd: #a7f3d0;
  --amber: #fbbf24;      --amber-text: #b45309;  --amber-bg: #fffbeb;  --amber-bd: #fde68a;
  --red: #ef4444;        --red-text: #dc2626;    --red-bg: #fef2f2;    --red-bd: #fecaca;

  --radius: 20px;
  --radius-sm: 13px;
  --radius-xs: 9px;
  --pill: 999px;

  --shadow: 0 1px 2px rgba(80, 50, 180, .04), 0 4px 16px rgba(120, 90, 240, .06);
  --shadow-lift: 0 2px 6px rgba(80, 50, 180, .06), 0 16px 40px rgba(120, 90, 240, .14);

  --mono: 'SF Mono', ui-monospace, 'JetBrains Mono', Menlo, Consolas, monospace;
  --display: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* the signature: iridescent shimmer */
  --iri: linear-gradient(100deg,
    rgb(var(--n500)) 0%, rgb(var(--n300)) 22%,
    #7cc7ff 44%, #ff9ed8 64%, rgb(var(--n300)) 82%, rgb(var(--n500)) 100%);
  --iri-soft: linear-gradient(120deg, rgb(var(--n500)), rgb(var(--n700)));
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
  overflow-x: hidden;
}

/* soft iridescent mesh, fixed, very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 70% 55% at 12% 8%, rgba(var(--n200), .40) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 88% 4%, rgba(124, 199, 255, .18) 0%, transparent 55%),
    radial-gradient(ellipse 65% 55% at 78% 92%, rgba(255, 158, 216, .14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 25% 88%, rgba(var(--n100), .40) 0%, transparent 55%);
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== HEADER ===== */
header { text-align: center; padding: 60px 0 30px; }

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
/* real brand mark is ~1.92:1; contain keeps it at the old square SVG's exact
   rendered size/position in the 38×38 box (no layout shift, no distortion) */
.brand-mark { width: auto; height: 24px; display: block; object-fit: contain; filter: drop-shadow(0 3px 10px rgba(var(--n500), .35)); }
.brand-word-img { height: 22px; width: auto; display: block; }
.brand-word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.62rem;
  letter-spacing: .14em;
  color: var(--text);
}
.brand-sub {
  display: block;
  margin-top: 13px;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.brand-rule {
  width: 46px; height: 3px; margin: 13px auto 0; border-radius: 2px;
  background: var(--iri); background-size: 200% 100%;
  animation: shimmer 9s ease-in-out infinite;
}

/* ===== HERO BANNER ===== */
.banner {
  position: relative;
  border-radius: var(--radius);
  padding: 30px 26px;
  display: flex; align-items: center; justify-content: center; gap: 13px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: background .5s ease, border-color .5s ease;
}
.banner::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--iri); background-size: 200% 100%;
  animation: shimmer 9s ease-in-out infinite; opacity: .9;
}
.banner-dot { width: 13px; height: 13px; border-radius: 50%; flex-shrink: 0; }
.banner-text { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -.01em; }

.b-ok    { background: linear-gradient(180deg, #f3fdf9, #fff); border-color: var(--green-bd); }
.b-ok .banner-dot   { background: var(--green); box-shadow: 0 0 0 4px rgba(52,211,153,.22), 0 0 18px rgba(52,211,153,.5); animation: pulse 2.6s ease-in-out infinite; }
.b-ok .banner-text  { color: var(--green-text); }
.b-warn  { background: linear-gradient(180deg, #fffdf3, #fff); border-color: var(--amber-bd); }
.b-warn .banner-dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(251,191,36,.22), 0 0 18px rgba(251,191,36,.45); animation: pulse 2s ease-in-out infinite; }
.b-warn .banner-text{ color: var(--amber-text); }
.b-bad   { background: linear-gradient(180deg, #fff5f5, #fff); border-color: var(--red-bd); }
.b-bad .banner-dot  { background: var(--red); box-shadow: 0 0 0 4px rgba(239,68,68,.22), 0 0 18px rgba(239,68,68,.45); animation: pulse 1.5s ease-in-out infinite; }
.b-bad .banner-text { color: var(--red-text); }
.b-load  { background: var(--card); border-color: var(--border); }
.b-load .banner-dot { background: var(--text-muted); animation: pulse 1.5s ease-in-out infinite; }
.b-load .banner-text{ color: var(--text-muted); }

.last-updated {
  text-align: center; margin: 12px 0 40px;
  font-size: .72rem; color: var(--text-muted); font-variant-numeric: tabular-nums;
}

/* ===== REGION CHIPS ===== */
.regions { display: flex; flex-wrap: wrap; gap: 7px; justify-content: center; margin-bottom: 36px; }
.rchip {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: .66rem; color: var(--text-secondary);
  padding: 5px 11px; border-radius: var(--pill);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.rchip b { color: var(--text); font-weight: 700; }
.rchip-dot { width: 6px; height: 6px; border-radius: 50%; }

/* ===== SECTION LABELS ===== */
.label {
  font-family: var(--display); font-weight: 700;
  font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 15px;
  display: flex; align-items: center; gap: 10px;
}
.label::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
section { margin-bottom: 46px; }

/* ===== SERVICE CARDS ===== */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.card, .sk-c {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 19px; box-shadow: var(--shadow);
}
.card {
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease, border-color .28s ease;
  animation: rise .5s cubic-bezier(.2,.7,.3,1) both;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--border-strong); }
/* Every card the same size; the two coming-soon tiles share their own row. */
.grid { grid-auto-rows: 1fr; }
.grid > .card:not(.soon) + .card.soon { grid-column-start: 1; }
.card.soon { position: relative; overflow: hidden; isolation: isolate; }
.card.soon[data-soon="coming-soon-1"] { background: radial-gradient(150px 110px at 84% 104%, rgba(149,191,71,.12), transparent 72%), var(--card); }
.card.soon[data-soon="coming-soon-2"] { background: radial-gradient(160px 110px at 80% 104%, rgba(46,125,72,.11), transparent 72%), var(--card); }
/* Tile 2: a genie in a hat peeks up from the bottom edge. */
.peek { position: absolute; right: 18px; bottom: 0; width: 150px; height: 126px; overflow: hidden; pointer-events: none; z-index: -1; }
.peek img { display: block; user-select: none; -webkit-user-drag: none; }
.peek .peek-genie { width: 150px; height: 126px; transform: translateY(104%); transform-origin: 50% 100%; }
.peek-go .peek .peek-genie { animation: peek-hat 6.4s linear both; }
/* Tile 1: a green shimmer sweeps across now and then. The band is 38% of the tile wide and slanted 14deg
   (up to 22px past its own box on a 173px tile); translateX is a share of the band's own width, so -130%
   starts it clear of the left edge and 290% (1.10 tiles) clears the right edge. */
.card.soon[data-soon="coming-soon-1"]::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 38%;
  pointer-events: none; z-index: 1;
  background: linear-gradient(90deg, rgba(149,191,71,0) 0%, rgba(149,191,71,0) 16%, rgba(149,191,71,.2) 36%,
    rgba(210,240,152,.6) 50%, rgba(149,191,71,.2) 64%, rgba(149,191,71,0) 84%, rgba(149,191,71,0) 100%);
  transform: translateX(-130%) skewX(-14deg);
}
.card.soon.shimmer-go[data-soon="coming-soon-1"]::after { animation: soon-shimmer 1.7s cubic-bezier(.45,.05,.35,1) both; }
@keyframes soon-shimmer { from { transform: translateX(-130%) skewX(-14deg); } to { transform: translateX(290%) skewX(-14deg); } }
@keyframes peek-hat {
  0%       { transform: translateY(104%) rotate(0deg); animation-timing-function: cubic-bezier(.2,.9,.3,1.25); }
  8%       { transform: translateY(50%) rotate(-3deg); animation-timing-function: ease-in-out; }
  18%      { transform: translateY(47%) rotate(4deg); animation-timing-function: ease-in-out; }
  28%      { transform: translateY(49%) rotate(-1deg); animation-timing-function: cubic-bezier(.5,0,.75,0); }
  34%, 62% { transform: translateY(104%) rotate(0deg); animation-timing-function: cubic-bezier(.2,.9,.3,1.25); }
  70%      { transform: translateY(40%) rotate(2deg); animation-timing-function: ease-in-out; }
  86%      { transform: translateY(39%) rotate(-2deg); animation-timing-function: cubic-bezier(.5,0,.75,0); }
  94%, 100% { transform: translateY(104%) rotate(0deg); }
}

.card-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.card-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.card-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.d-ok { background: var(--green); box-shadow: 0 0 0 3px rgba(52,211,153,.18); }
.d-dg { background: var(--amber); box-shadow: 0 0 0 3px rgba(251,191,36,.18); }
.d-dn { background: var(--red); box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.card-status { font-size: .68rem; font-weight: 600; margin-bottom: 11px; text-transform: capitalize; }
.s-ok { color: var(--green-text); } .s-dg { color: var(--amber-text); } .s-dn { color: var(--red-text); }
.card-rt { font-family: var(--mono); font-size: .68rem; color: var(--text-muted); margin-bottom: 13px; }
.card-rt b { color: var(--text-secondary); font-weight: 700; }

.gauge-val { font-family: var(--mono); font-weight: 700; color: var(--text); }
.gauge-track { height: 6px; border-radius: 3px; background: rgb(var(--n50)); overflow: hidden; margin-top: 7px; }
.gauge-fill { height: 100%; border-radius: 3px; transition: width .6s cubic-bezier(.2,.7,.3,1); }

.card-ut { display: flex; border-top: 1px solid var(--border); padding-top: 13px; }
.ut { flex: 1; text-align: center; }
.ut:not(:last-child) { border-right: 1px solid var(--border); }
.ut-v { font-family: var(--mono); font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; display: block; }
.u-ok { color: var(--green-text); } .u-warn { color: var(--amber-text); } .u-bad { color: var(--red-text); }
.ut-l { font-size: .56rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 3px; display: block; }

/* skeleton */
.sk { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.sk-c { height: 150px; }
.sk-l { height: 13px; border-radius: 6px; margin-bottom: 11px; background: linear-gradient(90deg, rgb(var(--n50)) 25%, rgb(var(--n100)) 50%, rgb(var(--n50)) 75%); background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; }
.sk-l:first-child { width: 55%; } .sk-l:nth-child(2) { width: 35%; } .sk-l:last-child { width: 90%; margin-top: 26px; }

/* ===== PROTOCOL SAFETY — the centerpiece ===== */
#protocol .label { color: var(--purple-deep); }
.inv-hero {
  position: relative; border-radius: var(--radius); padding: 26px 24px; margin-bottom: 12px;
  background:
    radial-gradient(ellipse 90% 130% at 50% -20%, rgba(var(--n200), .45), transparent 70%),
    var(--card);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 10px rgba(120,90,240,.08), 0 20px 50px rgba(120,90,240,.10);
  overflow: hidden;
}
.inv-hero::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: var(--iri); background-size: 200% 100%; animation: shimmer 9s ease-in-out infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none;
}
.inv-hero-row { display: flex; align-items: center; gap: 18px; }
.inv-big {
  font-family: var(--display); font-weight: 700; font-size: 3.4rem; line-height: .9; letter-spacing: -.02em;
  background: var(--iri); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; animation: shimmer 9s ease-in-out infinite;
  filter: drop-shadow(0 2px 14px rgba(var(--n500), .3));
}
.inv-big.bad { background: none; -webkit-text-fill-color: var(--red-text); color: var(--red-text); }
.inv-big.warn { background: none; -webkit-text-fill-color: var(--amber-text); color: var(--amber-text); }
.inv-hl { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.inv-sub { font-size: .76rem; color: var(--text-secondary); margin-top: 3px; }
.inv-list { display: grid; gap: 6px; }
.inv-row {
  display: flex; align-items: center; gap: 9px; font-size: .73rem; color: var(--text-secondary);
  padding: 9px 13px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xs);
}
.inv-row .sub-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.inv-secondary {
  display: flex; align-items: center; gap: 12px; margin-top: 9px;
  padding: 14px 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.inv-shield { width: 30px; height: 30px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: .9rem; flex-shrink: 0; font-weight: 700; }
.inv-shield.ok { background: var(--green-bg); color: var(--green-text); } .inv-shield.bad { background: var(--red-bg); color: var(--red-text); } .inv-shield.warn { background: var(--amber-bg); color: var(--amber-text); }

/* ===== SLO ===== */
.slo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.slo-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; box-shadow: var(--shadow); }
.slo-top { display: flex; justify-content: space-between; align-items: baseline; }
.slo-name { font-size: .8rem; font-weight: 600; color: var(--text); }
.slo-target { font-family: var(--mono); font-size: .6rem; color: var(--text-muted); }
.slo-budget { font-size: .58rem; color: var(--text-muted); margin-top: 11px; }
.budget-track { height: 5px; border-radius: 3px; background: rgb(var(--n50)); overflow: hidden; margin-top: 5px; }
.budget-fill { height: 100%; border-radius: 3px; }

/* ===== 90-DAY BARS ===== */
.bars { display: flex; gap: 2px; height: 30px; align-items: flex-end; }
.bar { flex: 1; min-width: 1px; border-radius: 2px; background: var(--iri); background-size: 300% 100%; opacity: .9; }
.bar.warn { background: var(--amber); } .bar.bad { background: var(--red); } .bar.none { background: var(--border); }
.bar.excluded { background: #c9c4d8; opacity: .65; }
.bars-legend { display: flex; justify-content: space-between; font-size: .56rem; color: var(--text-muted); margin-top: 5px; }
.bars-row-name { font-size: .78rem; font-weight: 600; color: var(--text); margin-bottom: 4px; }

/* ===== INCIDENTS ===== */
.timeline { position: relative; padding-left: 24px; }
.timeline::before { content: ''; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 2px; border-radius: 1px; background: linear-gradient(180deg, var(--purple), var(--border)); }
.tl-item { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 9px; box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.tl-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-lift); }
.tl-item::before { content: ''; position: absolute; left: -24px; top: 18px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--bg); }
.tl-dn::before { background: var(--red); } .tl-rc::before { background: var(--green); }
.tl-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.tl-name { font-weight: 600; font-size: .84rem; color: var(--text); }
.tl-badge { font-size: .6rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 3px 9px; border-radius: 7px; }
.bg-dn { background: var(--red-bg); color: var(--red-text); } .bg-rc { background: var(--green-bg); color: var(--green-text); }
.tl-meta { font-size: .7rem; color: var(--text-muted); margin-top: 4px; }
.tl-ongoing { color: var(--red-text); font-weight: 700; }
.no-inc { text-align: center; padding: 30px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow); font-size: .82rem; color: var(--text-muted); }
.no-inc-check { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--green-bg); color: var(--green-text); font-size: .9rem; margin-bottom: 6px; }

/* ===== MAINTENANCE ===== */
.maint { display: none; border-radius: var(--radius-sm); padding: 13px 18px; margin-bottom: 18px; font-size: .8rem; font-weight: 600; color: var(--purple-deep); background: rgb(var(--n50)); border: 1px solid var(--border-strong); }
.maint.show { display: block; }

/* ===== FOOTER ===== */
footer { text-align: center; padding: 34px 0 56px; border-top: 1px solid var(--border); }
.ft-brand { font-size: .76rem; color: var(--text-muted); }
.ft-name { font-family: var(--display); font-weight: 700; color: var(--purple); letter-spacing: .03em; }
.ft-link { display: inline-block; font-size: .7rem; color: var(--text-muted); text-decoration: none; margin-top: 6px; }
.ft-link:hover { color: var(--purple); }
.ft-tools { margin-top: 14px; display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; }
.ft-tools a {
  font-size: .64rem; font-weight: 600; color: var(--purple-deep); text-decoration: none;
  font-family: var(--mono); padding: 6px 14px; border-radius: var(--pill);
  background: rgb(var(--n50)); border: 1px solid var(--border-strong); transition: transform .2s, box-shadow .2s;
}
.ft-tools a:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(var(--n500), .2); color: #fff; background: var(--iri-soft); border-color: transparent; }

a:focus-visible, .ft-tools a:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; border-radius: 4px; }

/* ===== ANIMATION ===== */
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 200% 50%; } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.18); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wrap > * { animation: rise .5s cubic-bezier(.2,.7,.3,1) both; }
header { animation-delay: 0s; } main { animation-delay: .05s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .card { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  header { padding: 44px 0 26px; }
  .grid, .sk, .slo-grid { grid-template-columns: 1fr; }
  .banner { padding: 24px 20px; }
  .banner-text { font-size: 1.2rem; }
  .inv-big { font-size: 2.8rem; }
  .card:hover { transform: none; }
}
@media (max-width: 380px) {
  .banner-text { font-size: 1.05rem; }
  .brand-word-img { height: 22px; width: auto; display: block; }
.brand-word { font-size: 1.24rem; letter-spacing: .12em; }
  .brand-mark { height: 20px; }
}

/* Public page v4 (founder approved 2026-11-18). The full view lives at /ops/. */
.mon3 { white-space: nowrap; }
.card-ut1 { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.ut1-v { font-family: var(--mono); font-size: 1.05rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--text); min-height: 1.3em; }
.ut1-l { font-size: .58rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.bar.pre { background: #e7e4f2; opacity: 1; }
.u-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .68rem; color: var(--text-muted); margin: 2px 0 14px; }
.u-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.lg-ok { background: var(--iri); background-size: 300% 100%; } .lg-warn { background: var(--amber); } .lg-bad { background: var(--red); } .lg-pre { background: #e7e4f2; }
.inc-tz { font-size: .68rem; color: var(--text-muted); margin: -4px 0 10px; }
.inv-more { display: inline-block; margin-top: 12px; background: none; border: 0; padding: 0; font: inherit; font-size: .8rem; font-weight: 600; color: #7a5cf0; text-decoration: none; cursor: pointer; transition: color .16s ease-out, transform .16s ease-out; }
.inv-more:hover { color: var(--purple-deep); }
.inv-more:active { transform: scale(.98); }
.inc-foot { margin-top: 6px; }
.inc-foot-in { margin-top: 10px; }

/* Subpages: /history/ and /verification/ */
.sub-nav { margin: -8px 0 24px; }
.sub-back { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: #7a5cf0; text-decoration: none; transition: color .16s ease-out, transform .16s ease-out; }
.sub-back:hover { color: var(--purple-deep); }
.sub-back:active { transform: scale(.98); }
.sub-h1 { font-family: var(--display); font-weight: 700; font-size: 1.65rem; letter-spacing: -.015em; color: var(--text); margin-bottom: 6px; }
.sub-lead { font-size: .86rem; color: var(--text-secondary); margin-bottom: 28px; }

.hist-month { font-family: var(--display); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--purple-deep); margin: 26px 0 12px; display: flex; align-items: center; gap: 10px; }
.hist-month::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--border-strong), transparent); }
.hist-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 12px; box-shadow: var(--shadow); }
.hist-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.hist-title { font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--text); }
.hist-aff { font-size: .75rem; font-weight: 500; color: var(--text-muted); margin: 5px 0 14px; }
.hist-updates { border-left: 2px solid #e3def3; padding-left: 14px; margin-left: 2px; display: grid; gap: 12px; }
.hist-upd b { display: block; font-size: .8rem; font-weight: 600; color: var(--text); }
.hist-upd p { margin-top: 2px; font-size: .8rem; color: var(--text-secondary); }
.hist-when { margin-top: 3px; font-size: .69rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.hist-empty { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px 20px; color: var(--text-muted); font-size: .84rem; box-shadow: var(--shadow); }
.hist-pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 22px; }
.pager-btn { background: var(--card); border: 1px solid var(--border-strong); border-radius: var(--pill); padding: 8px 15px; font: inherit; font-size: .78rem; font-weight: 600; color: var(--purple-deep); cursor: pointer; box-shadow: var(--shadow); transition: transform .15s ease-out, box-shadow .15s ease-out, border-color .15s ease-out; }
.pager-btn:hover:not(:disabled) { transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.pager-btn:active:not(:disabled) { transform: scale(.97); }
.pager-btn:disabled { opacity: .45; cursor: default; box-shadow: none; }
.pager-btn:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }

.ver-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 15px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-xs); box-shadow: var(--shadow); }
.ver-left { display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 500; color: var(--text); }
.ver-left .sub-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ver-state { font-size: .7rem; font-weight: 600; color: var(--green-text); }
.ver-state.bad { color: var(--red-text); }
.ver-state.warn { color: var(--amber-text); }
.ver-right { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; }
.ver-addr { font-family: var(--mono); font-size: .7rem; color: var(--text-muted); }
.ver-link { font-weight: 600; color: #7a5cf0; text-decoration: none; white-space: nowrap; transition: color .15s ease-out; }
.ver-link:hover { color: var(--purple-deep); text-decoration: underline; }
