/* status.deepinfo.com: Signal, from the deepinfo.com repo (read-only). Values from src/styles/74-pal-moss.css
   (light: the surface depth; dark: the deep depth), 01-tokens.css, 70-signal.css, 97-type-onest.css,
   20-components.css, 10-chrome.css and the .st-* forms in 84-hero/00-base.css. The theme follows
   prefers-color-scheme. No inline styles, no data: URIs (the CSP blocks them). */

@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/Onest-normal-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/Onest-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/Onest-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/fonts/Onest-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/SplineSansMono-normal-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Spline Sans Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/SplineSansMono-normal-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/JetBrainsMono-normal-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/JetBrainsMono-normal-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/JetBrainsMono-normal-greek.woff2) format('woff2'); unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF; }
@font-face { font-family: 'Onest Fallback'; font-style: normal; font-weight: 100 549; src: local('Arial'), local('ArialMT'), local('Helvetica'); size-adjust: 105.36%; ascent-override: 92.07%; descent-override: 28.95%; line-gap-override: 0%; }
@font-face { font-family: 'Onest Fallback'; font-style: normal; font-weight: 550 1000; src: local('Arial Bold'), local('Arial-BoldMT'), local('Helvetica Bold'); size-adjust: 99.86%; ascent-override: 97.14%; descent-override: 30.54%; line-gap-override: 0%; }
@font-face { font-family: 'Spline Sans Mono Fallback'; font-style: normal; font-weight: 100 1000; src: local('Menlo'), local('Menlo-Regular'), local('Courier New'), local('CourierNewPSMT'); size-adjust: 99.66%; ascent-override: 96.73%; descent-override: 23.68%; line-gap-override: 0%; }

/* ---------- Tokens: light is the surface depth ---------- */
:root {
  color-scheme: light;
  --sans: 'Onest', 'Onest Fallback', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Spline Sans Mono', 'JetBrains Mono', 'Onest', 'Spline Sans Mono Fallback', ui-monospace, 'SF Mono', Menlo, monospace;
  --bg: #F1F4EE; --bg-2: #E8EDE5; --bg-3: #E0E5DC;
  --fg: #0F1A11; --fg-2: #49534A; --fg-3: #5C675D; --fg-4: #69756B;
  --rule: rgb(15 26 17 / 0.08); --rule-2: rgb(15 26 17 / 0.14); --rule-3: rgb(15 26 17 / 0.3);
  --field-line: rgb(15 26 17 / 0.5);
  --accent: #34622A; --link: #34622A; --focus: #34622A;
  --exposure: #8F240C; --ok: #017272; --warn: #8F5C0A;
  --panel: #FFFFFF; --code-bg: #E3E8DF; --selection: rgb(52 98 42 / 0.18);
  --solid-bg: #34622A; --solid-fg: #fff; --solid-hover: #2B5322;
  --tint: rgb(52 98 42 / 0.08);
  --logo-fg: #34622A; --logo-suffix: #5C675D;
  --on-ok: #FFFFFF; --on-warn: #FFFFFF;
  --t-h1: clamp(2.1rem, 1.35rem + 2.6vw, 3.6rem);
  --t-h2: clamp(1.35rem, 1.15rem + 0.8vw, 1.85rem);
  --t-small: 0.9375rem; --t-xs: 0.8125rem;
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem; --s-5: 1.5rem; --s-6: 2rem; --s-7: 3rem; --s-8: 4rem;
  --margin: clamp(16px, 3.6vw, 56px);
  --max: 1120px;
  --radius: 10px;
  --header-h: 64px;
}
/* dark is the deep depth, on the page ground #0D1810 (nothing keeps the sage ground) */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0D1810; --bg-2: #141F16; --bg-3: #1B281D;
    --fg: #E9EFE7; --fg-2: #B3BEB3; --fg-3: #96A296; --fg-4: #707B70;
    --rule: rgb(255 255 255 / 0.09); --rule-2: rgb(255 255 255 / 0.16); --rule-3: rgb(255 255 255 / 0.32);
    --field-line: rgb(255 255 255 / 0.5);
    --accent: #609743; --link: #C0E971; --focus: #fff;
    --exposure: #FE7B5F; --ok: #6ED9D2; --warn: #F6B24D;
    --panel: rgb(255 255 255 / 0.04); --code-bg: rgb(255 255 255 / 0.08); --selection: rgb(192 233 113 / 0.3);
    --solid-bg: #fff; --solid-fg: #0D1810; --solid-hover: #fff;
    --tint: rgb(192 233 113 / 0.14);
    --logo-fg: #FFFFFF; --logo-suffix: rgb(255 255 255 / 0.78);
    --on-ok: #0D1810; --on-warn: #0D1810;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color: var(--fg); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg-2); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; letter-spacing: -0.012em; }
::selection { background: var(--selection); }
main { flex: 1; width: 100%; }
h1, h2, h3 { color: var(--fg); font-family: var(--sans); font-weight: 600; margin: 0; text-wrap: balance; }
h1 { letter-spacing: -0.045em; word-spacing: -0.025em; line-height: 1; }
h2 { letter-spacing: -0.035em; line-height: 1.1; }
h3 { letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { margin: 0; padding: 0; }
[role='list'] { list-style: none; }
code { font-family: var(--mono); font-size: 0.85em; background: var(--code-bg); border-radius: 5px; padding: 0.1em 0.38em; color: var(--fg); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }

.skip-link { position: absolute; left: var(--margin); top: -100px; z-index: 10; padding: 10px 14px; background: var(--solid-bg); color: var(--solid-fg); border-radius: var(--radius); font-weight: 600; }
.skip-link:focus { top: 10px; }

/* ---------- Header and footer ----------
   As docs.deepinfo.com: a sticky 64px bar on the page ground with a hairline, the lockup (the mark and
   "Deepinfo" in --logo-fg, "| Status" in --logo-suffix), links to the docs and deepinfo.com. */
.hdr { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--rule); }
.hdr__bar { height: var(--header-h); display: flex; align-items: center; gap: var(--s-4); }
.hdr__brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.logo { display: block; height: 24px; width: auto; aspect-ratio: 497 / 56; color: var(--logo-fg); }
.logo .logo__suffix { color: var(--logo-suffix); }
.hdr__nav { margin-left: auto; display: flex; align-items: center; gap: var(--s-2) var(--s-5); }
.hdr__link { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); font-weight: 500; color: var(--fg-2); text-decoration: none; }
.hdr__link:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 899.98px) { .hdr__link--wide { display: none; } }
@media (max-width: 559.98px) { .hdr__link { display: none; } .logo { height: 20px; } .hdr__bar { gap: var(--s-2); } }

.ftr { margin-top: var(--s-8); border-top: 1px solid var(--rule); }
.ftr__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); padding-block: var(--s-6) var(--s-4); }
.ftr__brand { display: inline-flex; align-items: center; min-height: 44px; }
.ftr__brand .logo { height: 22px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.ftr__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); color: var(--fg-2); text-decoration: none; }
.ftr__links a:hover { color: var(--fg); text-decoration: underline; }
.ftr__base { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-6); padding-block: var(--s-3) var(--s-5); border-top: 1px solid var(--rule); }
.ftr__copy { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-3); }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin-left: auto; }
.ftr__legal a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-xs); color: var(--fg-3); text-decoration: none; }
.ftr__legal a:hover { color: var(--fg); text-decoration: underline; }
@media (max-width: 700px) { .ftr__legal { margin-left: 0; } }

/* ---------- Environment tabs: links (/ and /demo/), each with its environment's status ---------- */
.tabs { margin-top: var(--s-6); border-bottom: 1px solid var(--rule-2); }
.tabs ul { display: flex; gap: var(--s-6); }
.tab { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; min-height: 44px; padding: var(--s-2) 0 var(--s-3); margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--fg-2); text-decoration: none; }
.tab:hover { color: var(--fg); border-bottom-color: var(--rule-3); }
.tab.is-current { color: var(--fg); border-bottom-color: var(--accent); }
.tab__name { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.02em; }
.tab__state { grid-column: 1 / -1; font-family: var(--mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fg-3); }
.tab__mark { width: 8px; height: 12px; border-radius: 2px; align-self: center; justify-self: start; }
.tab__mark--ok { height: 6px; align-self: end; margin-bottom: 4px; background: var(--ok); }
.tab__mark--slow { height: 9px; background: var(--warn); }
.tab__mark--down { background: var(--fg); }
.tab__mark--maintenance { border: 2px solid var(--fg-2); }
.tab__mark--unknown, .tab__mark--delayed, .tab__mark--unavailable { border: 1.5px dashed var(--fg-3); }
@media (max-width: 559.98px) { .tabs ul { gap: var(--s-5); } .tab__name { font-size: 1rem; } }


/* ---------- Status words (the brief's "Status words" table) ---------- */
.st {
  display: inline-flex; align-items: center; gap: 0.35em; flex: none;
  min-height: 26px; padding: 0 0.6em; border: 1px solid transparent; border-radius: 6px;
  font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.02em; line-height: 1.2; white-space: nowrap;
}
.st__check { width: 0.95em; height: 0.95em; flex: none; }
.st--ok { color: var(--ok); border-color: var(--ok); }
.st--degraded { color: var(--warn); border-color: var(--warn); }
.st--outage { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.st--maint { color: var(--fg-2); border-color: var(--fg-2); }
.st--scheduled { display: inline; flex: 0 1 auto; min-width: 0; color: var(--fg-2); padding-inline: 0; white-space: normal; line-height: 1.5; }
.st--unknown { color: var(--fg-2); border: 1px dashed var(--fg-3); }
.st--ncy { color: var(--fg-3); padding-inline: 0; }
.st--incident { color: var(--fg); border-color: var(--fg); }

/* ---------- Banner ---------- */
/* The banner: a panel filled in its state's form. Operational is the ok tone (teal: the status colour, never
   a brand green) with a check; slow is warn; down is ink; maintenance an outline; unknown and delayed a
   dashed outline. The text on a fill is the ground colour or white, 4.5:1 or more. */
.banner { display: grid; gap: var(--s-2); margin-top: var(--s-6); padding: var(--s-5) var(--s-5) var(--s-4); border-radius: 12px; border: 2px solid transparent; --banner-fg: var(--fg); color: var(--banner-fg); }
.banner__text { display: flex; align-items: center; gap: 0.4em; color: var(--banner-fg); font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); font-weight: 600; letter-spacing: -0.04em; word-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
.banner__check { width: 0.85em; height: 0.85em; flex: none; }
.banner--ok { background: var(--ok); --banner-fg: var(--on-ok); }
.banner--slow { background: var(--warn); --banner-fg: var(--on-warn); }
.banner--down, .banner--unavailable { background: var(--fg); --banner-fg: var(--bg); }
.banner--maintenance { border-color: var(--fg-2); }
.banner--unknown, .banner--delayed { border: 2px dashed var(--fg-3); }
.banner .banner__meta { color: var(--banner-fg); }
.banner__meta { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-3); }

/* ---------- Sections ---------- */
.sec { padding-top: var(--s-7); }
.sec__title { font-size: var(--t-h2); margin-bottom: var(--s-4); }
.page__title { font-size: var(--t-h1); padding-top: var(--s-7); }
.page__lead { margin-top: var(--s-4); max-width: 36rem; font-size: 1.125rem; letter-spacing: -0.02em; }
.note { margin-top: var(--s-4); max-width: 46rem; font-size: var(--t-small); color: var(--fg-3); }
.more { margin-top: var(--s-5); }
.more a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }
.crumb { padding-top: var(--s-6); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.crumb a { display: inline-flex; align-items: center; min-height: 44px; color: var(--fg-3); }
.notice { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border-left: 3px solid var(--ok); color: var(--fg); }

/* ---------- Components ---------- */
.comps { border-top: 1px solid var(--rule-2); }
.comp { padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.comp__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.comp__name { font-size: 1.2rem; }
.comp__what { margin-top: var(--s-1); font-size: var(--t-small); }
.comp__meta { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-5); margin-top: var(--s-2); font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.03em; color: var(--fg-3); }
.comp__up b { color: var(--fg); font-weight: 600; }
.comp--ncy .comp__head { justify-content: flex-start; }

/* The 90-day bar. Each day has its own form as well as a colour; the cells are not focusable (the day
   list below each bar is the control, and what screen readers get). Below 640 px it shows 30 days. */
.bar { display: flex; align-items: flex-end; gap: 2px; height: 30px; margin-top: var(--s-4); }
.bar__d { flex: 1 1 0; min-width: 0; height: 100%; border-radius: 2px; }
.bar__d--operational { height: 40%; background: var(--ok); }
.bar__d--degraded { height: 64%; background: var(--warn); }
.bar__d--outage { background: var(--fg); }
.bar__d--maintenance { border: 2px solid var(--fg-2); }
.bar__d--nodata { border: 1px solid var(--field-line); }
.bar__axis { display: flex; justify-content: space-between; margin-top: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--fg-3); }
.bar__from--30 { display: none; }
@media (max-width: 639.98px) {
  .bar__d:nth-child(-n + 60) { display: none; }
  .bar__from--90 { display: none; }
  .bar__from--30 { display: inline; }
  .bar { gap: 3px; }
}

/* the day list: a <details> under each bar */
details > summary { cursor: pointer; }
.days { margin-top: var(--s-2); }
.days > summary, .group > summary {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 32px; padding-right: 4px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2);
  list-style: none;
}
.days > summary::-webkit-details-marker, .group > summary::-webkit-details-marker { display: none; }
.days > summary::before, .group > summary::before {
  content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.2s;
}
details[open] > summary::before { transform: rotate(45deg); }
.days > summary:hover, .group > summary:hover { color: var(--fg); }
.days__table { width: 100%; max-width: 40rem; margin-top: var(--s-2); border-collapse: collapse; font-size: var(--t-xs); }
.days__table th, .days__table td { text-align: left; padding: 6px var(--s-3) 6px 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.days__table thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); border-bottom-color: var(--rule-2); }
.days__table tbody th { color: var(--fg); white-space: nowrap; }
.days__row--outage td:first-of-type { color: var(--fg); font-weight: 600; }
.days__row--degraded td:first-of-type { color: var(--warn); }

/* the API group: its head, then a <details> with its day list and its rows */
.group > summary { margin-top: var(--s-3); min-height: 44px; }
.comps--inner { margin-top: var(--s-3); margin-left: var(--s-5); border-top-color: var(--rule); }
.comps--inner .comp { padding-block: var(--s-4); }
.comps--inner .comp:last-child { border-bottom: 0; }
.comps--inner .comp__name { font-size: 1.05rem; }
.comps--inner .bar { height: 22px; }
@media (max-width: 639.98px) { .comps--inner { margin-left: var(--s-3); } }

/* ---------- Incidents and maintenance ---------- */
.items { border-top: 1px solid var(--rule-2); }
.item, .history__item { padding-block: var(--s-5); border-bottom: 1px solid var(--rule); }
.item__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); }
.item__title { font-size: 1.2rem; }
.item__title a { color: var(--fg); text-decoration: none; }
.item__title a:hover { text-decoration: underline; }
.item__meta { margin-top: var(--s-2); font-size: var(--t-xs); color: var(--fg-3); }
.item__latest { margin-top: var(--s-3); padding-left: var(--s-4); border-left: 2px solid var(--rule-2); max-width: 46rem; }
.item__when { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--fg-3); }
.item__body { margin-top: var(--s-1); color: var(--fg-2); }
.item__status { margin-top: var(--s-4); }
.recents { border-top: 1px solid var(--rule-2); }
.recent { padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
.recent a { color: var(--fg); font-weight: 500; }
.recent__meta { display: block; font-size: var(--t-xs); color: var(--fg-3); }
.history { border-top: 1px solid var(--rule-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: var(--s-3) var(--s-6); margin: var(--s-5) 0 0; }
.facts dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
.facts dd { margin: 4px 0 0; color: var(--fg); }
.affected__impact { color: var(--fg-3); }
.updates { border-top: 1px solid var(--rule-2); }
.update { padding-block: var(--s-4); border-bottom: 1px solid var(--rule); max-width: 46rem; }
.update__head { font-family: var(--mono); font-size: 12px; letter-spacing: 0.03em; color: var(--fg-3); }
.update__state { color: var(--fg); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-right: var(--s-2); }
.update__body { margin-top: var(--s-2); }

/* ---------- Admin ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border: 1px solid var(--solid-bg); border-radius: var(--radius); background: var(--solid-bg); color: var(--solid-fg); font: inherit; font-size: var(--t-small); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--solid-hover); border-color: var(--solid-hover); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4) var(--s-5); margin-top: var(--s-4); max-width: 52rem; }
.form--update { margin-top: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend, .field--inline > label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--fg-3); padding: 0; }
.field input:not([type='checkbox']):not([type='radio']), .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--fg);
  background: var(--panel); border: 1px solid var(--rule-2); border-bottom-color: var(--field-line); border-radius: var(--radius);
}
.field :is(input, select, textarea):hover { border-color: var(--fg-3); }
.field :is(input, select, textarea):focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.field textarea { min-height: 7rem; resize: vertical; }
.field__hint { font-size: var(--t-xs); color: var(--fg-3); }
/* the one interface exception: a field in error takes --exposure */
.field [aria-invalid='true'], .field[aria-invalid='true'] { border-color: var(--exposure) !important; }
fieldset.field[aria-invalid='true'] { border: 1px solid var(--exposure); border-radius: var(--radius); padding: var(--s-3); }
.field__error { color: var(--exposure); font-size: var(--t-small); font-weight: 500; }
.form-errors { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px solid var(--exposure); border-radius: var(--radius); color: var(--exposure); font-weight: 500; }
.impacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: var(--s-3) var(--s-5); }
.impacts > legend { margin-bottom: var(--s-2); }
.field--inline { display: flex; flex-direction: column; gap: 6px; }
.field--inline > label { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: var(--t-small); color: var(--fg-2); }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 0 var(--s-5); }
.check, .radio { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: var(--t-small); color: var(--fg-2); }
.check input, .radio input { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); flex: none; }
.errtable { width: 100%; margin-top: var(--s-4); border-collapse: collapse; font-size: var(--t-xs); display: block; overflow-x: auto; }
.errtable th, .errtable td { text-align: left; vertical-align: top; padding: 8px var(--s-3) 8px 0; border-bottom: 1px solid var(--rule); }
.errtable thead th { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); font-weight: 500; }
.errtable tbody th { color: var(--fg); }
@media (max-width: 700px) { .form { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.field > label.check, .checks > label.check { font-family: var(--sans); font-size: var(--t-small); letter-spacing: 0; text-transform: none; color: var(--fg-2); }

/* ---------- Phase 1b: environments, updates, past days ---------- */
.hdr__updates { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-small); font-weight: 500; color: var(--fg-2); text-decoration: none; }
.hdr__updates:hover { color: var(--fg); text-decoration: underline; }
.banner__scope { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); }
h4 { color: var(--fg); font-family: var(--sans); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.env__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-5); }
.env__head .sec__title { margin-bottom: var(--s-3); }
.env__status { position: relative; padding-left: 1.2em; color: var(--fg); font-weight: 500; }
.env__status::before { content: ''; position: absolute; left: 0; bottom: 0.3em; width: 0.6em; height: 0.8em; border-radius: 2px; }
.env__status--ok::before { height: 0.4em; background: var(--ok); }
.env__status--slow::before { height: 0.55em; background: var(--warn); }
.env__status--down::before { background: var(--fg); }
.env__status--maintenance::before { border: 2px solid var(--fg-2); }
.env__status--unknown::before, .env__status--delayed::before, .env__status--unavailable::before { border: 2px dashed var(--fg-3); }
.env__more > summary {
  display: inline-flex; align-items: center; gap: 0.5em; min-height: 44px; margin-bottom: var(--s-3);
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-2); list-style: none; cursor: pointer;
}
.env__more > summary::-webkit-details-marker { display: none; }
.env__more > summary::before { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform 0.2s; }
.env__more[open] > summary::before { transform: rotate(45deg); }
.env__more > summary:hover { color: var(--fg); }
.bar__up { color: var(--fg-2); }
.item__affected { margin-top: var(--s-1); font-size: var(--t-xs); color: var(--fg-2); }
.item__status { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); }
.item__status .item__meta { margin-top: 0; }
.past { border-top: 1px solid var(--rule-2); }
.past__day { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s-1) var(--s-5); padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
.past__date { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; color: var(--fg-3); padding-top: 3px; }
.past__none { font-size: var(--t-small); color: var(--fg-3); }
.past__items li + li { margin-top: var(--s-1); }
.past__items a { color: var(--fg); font-weight: 500; }
.past__meta { font-size: var(--t-xs); color: var(--fg-3); }
@media (max-width: 639.98px) { .past__day { grid-template-columns: minmax(0, 1fr); } }
.spec { width: 100%; max-width: 52rem; border-collapse: collapse; margin-top: var(--s-3); border-top: 1px solid var(--rule-2); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: var(--s-3) var(--s-4) var(--s-3) 0; border-bottom: 1px solid var(--rule); font-weight: 400; font-size: var(--t-small); }
.spec th a { display: inline-flex; min-height: 24px; align-items: center; word-break: break-all; }
@media (max-width: 639.98px) { .spec, .spec tbody, .spec tr, .spec th, .spec td { display: block; } .spec th { padding-bottom: 0; border-bottom: 0; } }
.crumb a + a { margin-left: var(--s-2); }
.days__table td a { color: var(--link); }

/* buttons in links (after .btn). The header's call to deepinfo.com is the site's primary button: moss,
   capitals set by CSS, the arrow nudging on hover, the 1px lift */
.btn--line { background: transparent; color: var(--fg); border-color: var(--rule-3); }
.btn--line:hover { background: transparent; border-color: var(--fg); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--t-xs); letter-spacing: 0.02em; text-transform: none; font-weight: 600; }
a.btn { text-decoration: none; }

.btn--solid { position: relative; gap: 8px; transition: transform 0.2s, background 0.2s, border-color 0.2s; }
.btn--solid:hover { transform: translateY(-1px); }
.btn--solid .i-arrow { width: 14px; height: 14px; flex: none; transition: transform 0.3s; }
.btn--solid:hover .i-arrow { transform: translateX(3px); }
.hdr__cta.btn--sm { text-transform: uppercase; letter-spacing: 0.05em; font-size: 12px; min-height: 38px; padding: 0 14px 0 16px; }
.hdr__cta-short { display: none; }
@media (max-width: 559.98px) { .hdr__cta-long { display: none; } .hdr__cta-short { display: inline; } }
.months { border-top: 1px solid var(--rule-2); }
.month { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: var(--s-1) var(--s-5); padding-block: var(--s-3); border-bottom: 1px solid var(--rule); }
.month__name { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; padding-top: 2px; }
.month .items { border-top: 0; }
.month .item { padding-block: 0 var(--s-3); border-bottom: 0; }
@media (max-width: 639.98px) { .month { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .btn--solid:hover { transform: none; } }

.days__note { margin-top: var(--s-2); font-size: var(--t-xs); color: var(--fg-3); }

/* the bar's hover tip (refresh.js places it; position: fixed, kept inside the window) */
.tip { position: fixed; z-index: 60; width: max-content; max-width: min(18rem, calc(100vw - 16px)); padding: 8px 10px; border-radius: 8px; background: var(--fg); color: var(--bg); font-size: var(--t-xs); line-height: 1.4; white-space: pre-line; pointer-events: none; box-shadow: 0 6px 18px -8px rgb(0 0 0 / 0.4); }
.tip[hidden] { display: none; }
.tip b { font-weight: 600; }
.bar__d[data-tip] { cursor: default; }
.bar__d[data-tip]:hover { outline: 1px solid var(--fg); outline-offset: 1px; }
.offline { margin-top: var(--s-5); padding: var(--s-3) var(--s-4); border: 1px dashed var(--fg-3); border-radius: var(--radius); color: var(--fg); font-size: var(--t-small); }
