:root{
  color-scheme:light;
  --bg:#f4f7fa;
  --surface:#ffffff;
  --surface-2:#f7f9fb;
  --surface-3:#eaf0f5;
  --line:#d5e0e9;
  --line-soft:#e4ebf1;
  --text:#102b46;
  --muted:#536b80;
  --dim:#74899b;
  --brand:#2b63d9;
  --brand-strong:#1e4fb8;
  --brand-soft:#edf3ff;
  --green:#138663;
  --green-soft:#eaf6f1;
  --orange:#d17a12;
  --orange-soft:#fff4e4;
  --red:#c63c4b;
  --red-soft:#fff0f2;
  --blue:#2b63d9;
  --blue-soft:#edf3ff;
  --nodata:#d7e0e9;
  --width:1240px;
  --shadow:0 14px 36px rgba(24,53,82,.07);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--bg)}
body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button{font:inherit}
.container{width:min(calc(100% - 48px),var(--width));margin-inline:auto}
.skip-link{position:fixed;z-index:1000;top:10px;left:10px;padding:10px 14px;border-radius:8px;background:#102b46;color:#fff;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.hidden{display:none!important}

/* Header deliberately mirrors web01. */
.site-header{position:fixed;z-index:1000;top:0;left:0;right:0;width:100%;border-bottom:1px solid var(--line);background:rgba(255,255,255,.98);transition:none;box-shadow:none}
.site-header.scrolled{box-shadow:none}
.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:76px;gap:20px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:800;letter-spacing:-.035em}
.logo{display:grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:#102b46;color:#fff;font-size:15px;font-weight:900;letter-spacing:-.06em}
.brand-text{color:#102b46;font-size:20px}
.header-actions{display:flex;align-items:center;gap:10px}
.header-link,.header-status-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:0 15px;border-radius:12px;color:#48627a;font-size:12px;font-weight:740;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease}
.header-link:hover{background:#f0f4f8;color:#102b46}
.header-status-link{border:1px solid #d2dde7;background:#f8fafc;color:#27445f}
.header-status-link:hover{border-color:#aebfce;background:#eef4f9;color:#102b46;transform:none}

/* Hero uses the same light provider-style language as web01. */
.status-hero{position:relative;overflow:hidden;padding:56px 0 32px;background:linear-gradient(135deg,rgba(20,95,198,.05),transparent 48%),linear-gradient(180deg,#fff 0%,#f7fafe 100%);border-bottom:1px solid #e2e9f0}
.status-hero::after{content:"";position:absolute;right:-9%;top:-70%;width:520px;height:520px;border:1px solid rgba(20,95,198,.08);border-radius:50%;box-shadow:0 0 0 58px rgba(20,95,198,.02),0 0 0 116px rgba(20,95,198,.012);pointer-events:none}
.status-hero>.container{position:relative;z-index:1}
.status-hero-row{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:24px}
.eyebrow{display:block;margin-bottom:8px;color:#476b91;font-size:10px;font-weight:850;letter-spacing:.16em;text-transform:uppercase}
h1{margin:0;color:#102b46;font-size:clamp(40px,4.6vw,60px);line-height:1.01;letter-spacing:-.05em}
.status-meta{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;color:#6f8295;font-size:12px;font-variant-numeric:tabular-nums}
.live-state{display:inline-flex;align-items:center;gap:8px;font-weight:760}
.live-state i{position:relative;width:8px;height:8px;border-radius:50%;background:#9aa9b7}
.live-state.operational{color:#0b7749}.live-state.operational i{background:#12945d;animation:statusDotPulse 2.6s ease-in-out infinite}
.live-state.degraded{color:#a95d08}.live-state.degraded i{background:#d17a12}.live-state.outage{color:#b12f3e}.live-state.outage i{background:#c63c4b}
@keyframes statusDotPulse{50%{transform:scale(.72);opacity:.58}}

.overall-banner,.monitoring-warning{display:flex;align-items:center;gap:14px;padding:17px 18px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(25,52,80,.045);color:#50687f}
.overall-banner strong,.monitoring-warning strong{display:block;color:#102b46;font-size:15px}
.overall-banner span:not(.overall-icon),.monitoring-warning span{display:block;margin-top:2px;color:#6f8295;font-size:12px}
.overall-icon{display:grid;place-items:center;width:26px;height:26px;flex:none;border-radius:50%;background:#edf2f6;color:#778b9e;font-weight:900}
.overall-banner.operational{border-color:#b6dec9;background:#f6fbf8}.overall-banner.operational .overall-icon{background:#e8f7f0;color:#0b7749}
.overall-banner.degraded{border-color:#efd4ad;background:#fffaf2}.overall-banner.degraded .overall-icon{background:#fff0d9;color:#a95d08}
.overall-banner.outage{border-color:#ecc0c6;background:#fff8f9}.overall-banner.outage .overall-icon{background:#fee9ec;color:#b12f3e}
.monitoring-warning{margin-top:10px;border-color:#efd4ad;background:#fffaf2}

.status-content{padding-bottom:18px}
.status-section{padding-top:54px}
.section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:30px;margin-bottom:20px}
.section-head h2{margin:0;color:#102b46;font-size:24px;line-height:1.2;letter-spacing:-.03em}
.section-head p{margin:7px 0 0;color:#667b8f;font-size:12px}
.section-side,.average-uptime{padding-top:3px;color:#6f8295;font-size:12px;font-variant-numeric:tabular-nums}
.status-legend{display:flex;flex-wrap:wrap;gap:15px 24px;margin:18px 0 24px;color:#60758a;font-size:12px}
.status-legend span{display:inline-flex;align-items:center;gap:8px}
.status-legend i{width:15px;height:15px;border-radius:4px;background:var(--nodata)}
.legend-operational{background:var(--green)!important}.legend-degraded{background:var(--orange)!important}.legend-outage{background:var(--red)!important}.legend-maintenance{background:var(--blue)!important}

/* Component block deliberately follows the 24fire information density,
   but uses the 24nodes visual system. */
.component-groups{display:grid;gap:18px}
.component-group{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.component-group:hover{transform:translateY(-2px);border-color:#bdcad8;box-shadow:0 18px 40px rgba(24,53,82,.085)}
.component-group[open] .group-arrow{transform:rotate(90deg)}
.component-group summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:22px;min-height:72px;padding:0 26px;background:#f5f8fb;border-bottom:1px solid transparent}
.component-group[open] summary{border-bottom-color:var(--line-soft)}
.component-group summary::-webkit-details-marker{display:none}
.group-title{display:flex;align-items:center;gap:12px;min-width:0}.group-arrow{display:inline-block;color:#6f8397;font-size:18px;line-height:1;transition:transform .16s ease}.group-title strong{font-size:17px;color:#16334f}
.group-meta{display:flex;align-items:center;gap:10px;color:#6f8397;font-size:12px}.group-meta strong{color:#173650;font-size:14px;font-variant-numeric:tabular-nums}.group-count{color:#6f8397;font-size:13px;font-weight:800}
.component-row{padding:24px 26px;border-top:1px solid var(--line-soft)}.component-row:first-child{border-top:0}
.component-row-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px}.component-name strong{font-size:16px;color:#173650;letter-spacing:-.015em}.component-name span{display:block;margin-top:2px;color:#7a8da0;font-size:11px}
.component-state{display:inline-flex;align-items:center;gap:9px;font-size:13px;font-weight:800}.component-state::after{content:"";width:9px;height:9px;border-radius:50%;background:currentColor}.component-state.operational{color:#0b7749}.component-state.degraded{color:#c66f0d}.component-state.outage{color:#c23b49}.component-state.maintenance{color:#2b63d9}.component-state.no_data{color:#8697a7}
.uptime-bars{display:flex;align-items:stretch;gap:3px;width:100%;height:24px;margin:4px 0 8px}
.uptime-bar{position:relative;display:block;flex:1 1 0;min-width:3px;border-radius:2px;background:var(--nodata);outline:none;transition:transform .12s ease,filter .12s ease}
.uptime-bar.operational{background:#12945d}.uptime-bar.degraded{background:#e18a1c}.uptime-bar.outage{background:#d44553}.uptime-bar.maintenance{background:#2d6fd5}.uptime-bar.no_data{background:#d7e0e9}
.uptime-bar:hover,.uptime-bar:focus-visible{transform:none;filter:none}
.uptime-bar::after{content:attr(data-tooltip);position:absolute;left:50%;bottom:calc(100% + 9px);z-index:20;transform:translateX(-50%);padding:6px 8px;border:1px solid #c6d2dd;border-radius:7px;background:#102b46;color:#fff;font-size:11px;white-space:nowrap;opacity:0;visibility:hidden;pointer-events:none;box-shadow:0 8px 20px rgba(16,42,67,.18)}
.uptime-bar:hover::after,.uptime-bar:focus-visible::after{opacity:1;visibility:visible}
.uptime-labels{display:flex;justify-content:space-between;color:#74889b;font-size:11px}.uptime-labels strong{color:#28455f;font-size:12px;font-variant-numeric:tabular-nums}
.history-note{display:flex;align-items:flex-start;gap:11px;margin-top:14px;color:#75899c;font-size:11px}.history-note>span{display:grid;place-items:center;width:20px;height:20px;flex:none;border:1px solid #cbd7e1;border-radius:50%;color:#5f7890;font-weight:800}.history-note p{margin:0}

.event-list{display:grid;gap:12px}
.empty-state{display:flex;align-items:center;gap:16px;min-height:82px;padding:0 26px;border:1px dashed #c5d2de;border-radius:14px;background:#fff;color:#64798d;box-shadow:0 8px 24px rgba(25,52,80,.035)}
.empty-state>span{color:#12945d;font-size:25px;line-height:1}.empty-state strong{font-size:14px;font-weight:560}.empty-state.warning>span{color:#d17a12}
.event-card{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(25,52,80,.04)}
.event-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 22px;border-bottom:1px solid var(--line-soft);background:#f8fafc}.event-card-head strong{display:block;color:#173650;font-size:15px}.event-meta{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:5px;color:#75899c;font-size:11px}
.event-badge{padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.event-badge.degraded{background:#fff0d9;color:#a95d08}.event-badge.outage{background:#fee9ec;color:#b12f3e}.event-badge.maintenance{background:#eaf3ff;color:#0f4fa8}
.event-body{padding:18px 22px;color:#60758a;font-size:12px}.event-components{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.event-components span{padding:4px 7px;border:1px solid var(--line);border-radius:6px;background:#f8fafc;color:#60758a;font-size:10px}
.incident-link{display:inline-flex;align-items:center;gap:8px;margin-top:18px;color:#2b63d9;font-size:13px;font-weight:800;transition:gap .18s ease,color .18s ease}.incident-link:hover{gap:11px;color:#0f4fa8}
.status-policy{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:52px;padding:22px 24px;border:1px solid #d8e3ec;border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(25,52,80,.035)}.status-policy strong{font-size:13px;color:#173650}.status-policy p{max-width:820px;margin:5px 0 0;color:#718598;font-size:11px}.status-policy a{flex:none;color:#2b63d9;font-size:12px;font-weight:800}

/* One-shot reveal motion; no continuous page-wide animations. */
.status-reveal{opacity:0;transform:translateY(16px);transition:opacity .5s cubic-bezier(.2,.7,.2,1),transform .5s cubic-bezier(.2,.7,.2,1);transition-delay:var(--delay,0ms)}
.status-reveal.is-visible{opacity:1;transform:none}

@media(max-width:820px){
  .container{width:min(calc(100% - 30px),var(--width))}
  .header-link{display:none}
  .status-hero{padding-top:42px}.status-hero-row{align-items:flex-start;flex-direction:column}.status-meta{justify-content:flex-start}
  .component-group summary{grid-template-columns:1fr auto;padding:0 18px}.group-meta{grid-column:1/-1;margin:-10px 0 14px 30px}.group-count{grid-row:1;grid-column:2}.component-row{padding:20px 18px}.uptime-bars{gap:2px;height:34px}
  .section-head{flex-direction:column;gap:8px}.section-side,.average-uptime{padding:0}.status-policy{align-items:flex-start;flex-direction:column}
}
@media(max-width:520px){
  .container{width:min(calc(100% - 28px),var(--width))}
  .header-inner{min-height:66px}.header-status-link{padding-inline:10px}.brand-text{font-size:18px}.logo{width:34px;height:34px}
  h1{font-size:36px}.status-legend{gap:12px 16px}.status-legend i{width:13px;height:13px}
  .component-row-head{align-items:flex-start;flex-direction:column;gap:8px}.uptime-bars{gap:1px;height:30px}.uptime-bar{min-width:1px}.component-group{border-radius:14px}
  .event-card-head{flex-direction:column}.empty-state{padding:18px 20px}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}.group-arrow,.component-group,.uptime-bar,.header-status-link,.incident-link{transition:none}
  .live-state.operational i{animation:none}.status-reveal{opacity:1;transform:none;transition:none}.component-group:hover{transform:none}
}


/* v17 density + brand parity ---------------------------------------- */
/* The component area follows the compact 24fire rhythm while keeping
   the 24nodes light visual system. */
.status-content{padding-bottom:18px}
.status-section{padding-top:48px}
.section-head{margin-bottom:16px}
.section-head h2{font-size:22px}
.section-head p{margin-top:5px;color:#536b80;font-size:11px}
.section-side,.average-uptime{font-size:11px}
.status-legend{gap:12px 20px;margin:14px 0 20px;font-size:11px}
.status-legend i{width:11px;height:11px;border-radius:3px}

.component-groups{gap:14px}
.component-group{border-radius:15px;box-shadow:0 10px 28px rgba(24,53,82,.055)}
.component-group:hover{transform:translateY(-1px);box-shadow:0 13px 30px rgba(24,53,82,.07)}
.component-group summary{min-height:60px;padding:0 20px;gap:18px;background:#f5f8fb}
.group-title{gap:10px}.group-title strong{font-size:15px}.group-arrow{font-size:16px}
.group-meta{gap:8px;font-size:11px}.group-meta strong{font-size:12px}.group-count{font-size:12px}
.component-row{padding:18px 20px}
.component-row-head{margin-bottom:7px}
.component-name strong{font-size:14px}.component-name span{font-size:10px}
.component-state{gap:7px;font-size:11px}.component-state::after{width:8px;height:8px}

/* 22px is deliberately close to the reference page's uptime stripe. */
.uptime-bars{gap:2px;height:22px;margin:3px 0 6px}
.uptime-bar{min-width:2px;border-radius:1.5px;transition:opacity .12s ease}
.uptime-bar.operational{background:#12945d}
.uptime-bar:hover,.uptime-bar:focus-visible{transform:none;filter:none;opacity:.78}
.uptime-bar::after{bottom:calc(100% + 8px);padding:5px 7px;border-radius:6px;font-size:10px}
.uptime-labels{font-size:10px}.uptime-labels strong{font-size:10px}
.history-note{margin-top:12px;font-size:10px}

.empty-state{min-height:72px;padding:0 22px}.empty-state>span{color:#138663}

@media(max-width:760px){
  .component-group summary{padding:0 16px}
  .component-row{padding:17px 16px}
  .uptime-bars{height:20px;gap:1.5px}
}

/* ==========================================================
   24nodes status v18 — fixed header parity with web01
   ========================================================== */
:root{
  --header-height:76px;
}
body{
  padding-top:var(--header-height);
}
.site-header{
  position:fixed!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  z-index:1000!important;
  box-shadow:none!important;
  transition:none!important;
}
.header-actions{
  gap:0;
}
section[id]{
  scroll-margin-top:calc(var(--header-height) + 20px);
}
@media(max-width:520px){
  :root{--header-height:66px}
}


/* v21 corrections — unified green + truly fixed header + identical footer */
:root{--green:#12945d;--green-strong:#0b7749;--green-soft:#e8f7f0;--green-border:#b6dec9;}
.site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;z-index:1000!important;box-shadow:none!important;transition:none!important;transform:none!important;background:rgba(255,255,255,.98)!important;}
.site-header.scrolled{box-shadow:none!important;background:rgba(255,255,255,.98)!important;}
.header-inner{min-height:76px!important;}
.header-status-link,.header-status-link:hover{transform:none!important;}
.live-state.operational,.component-state.operational,.event-badge.operational{color:#0b7749!important;}
.live-state.operational i,.overall-banner.operational .overall-icon,.legend-operational,.uptime-bar.operational{background:#12945d!important;}
.overall-banner.operational{border-color:#b6dec9!important;background:#f6fbf8!important;}
.overall-banner.operational .overall-icon{color:#0b7749!important;}


/* ==========================================================
   24nodes status v22 — normal-flow header + medium-light surfaces
   ========================================================== */
:root{
  --bg:#e9eff4!important;
  --surface:#ffffff!important;
  --surface-2:#f2f5f8!important;
  --surface-3:#e8eef3!important;
  --line:#cbd7e1!important;
  --line-soft:#dde5ec!important;
}
html{background:var(--bg)!important}
body{padding-top:0!important;background:var(--bg)!important;color:#102b46!important}
.site-header,
.site-header.scrolled{
  position:relative!important;
  top:auto!important;
  left:auto!important;
  right:auto!important;
  width:100%!important;
  z-index:20!important;
  min-height:76px!important;
  background:#f7f9fb!important;
  border-bottom:1px solid #cbd7e1!important;
  box-shadow:none!important;
  transform:none!important;
  transition:none!important;
}
.header-inner{min-height:76px!important}
.status-hero{
  background:linear-gradient(135deg,rgba(43,99,217,.045),transparent 48%),linear-gradient(180deg,#f7f9fb 0%,#e8eef3 100%)!important;
  border-bottom-color:#cbd7e1!important;
}
.component-group,.event-card,.empty-state,.status-policy,.overall-banner,.monitoring-warning{background:#fff!important}
.component-group summary{background:#eef3f7!important}
.status-content{background:transparent!important}
section[id]{scroll-margin-top:20px!important}


/* v23 darker light theme — white components on a calmer gray-blue canvas. */
:root{
  --bg:#dce5ec!important;
  --surface:#ffffff!important;
  --surface-2:#eef3f7!important;
  --surface-3:#e2e9ef!important;
  --line:#bccbd7!important;
  --line-soft:#d2dde6!important;
}
html,body{background:var(--bg)!important}
.status-hero{
  background:linear-gradient(135deg,rgba(43,99,217,.055),transparent 48%),linear-gradient(180deg,#eef3f7 0%,#dfe7ed 100%)!important;
  border-bottom-color:#bdcad5!important;
}
.component-group,.event-card,.empty-state,.status-policy,.overall-banner,.monitoring-warning{background:#fff!important;border-color:#bccbd7!important}
.component-group summary{background:#e8eef3!important}


/* v24: darker light canvas, same white components as web01. */
:root{
  --bg:#ccd7e0!important;
  --surface:#ffffff!important;
  --surface-2:#e8eef3!important;
  --surface-3:#d9e2e9!important;
  --line:#adbfcd!important;
  --line-soft:#c8d4de!important;
}
html,body{background:var(--bg)!important;}
.status-hero{background:linear-gradient(135deg,rgba(43,99,217,.065),transparent 48%),linear-gradient(180deg,#e6edf2 0%,#cbd6df 100%)!important;border-bottom-color:#aebfcd!important;}
.component-group,.event-card,.empty-state,.status-policy,.overall-banner,.monitoring-warning{background:#fff!important;border-color:#adbfcd!important;}
.component-group summary{background:#e2e9ef!important;}

/* 24nodes Status — Design System v1 */
body{background:var(--page)!important;color:var(--text)!important;padding-top:0!important}
.status-hero{padding:64px 0 38px!important;background:linear-gradient(180deg,#d9e2e9 0%,#cdd8e0 100%)!important;border-bottom:1px solid var(--line)!important}.status-hero::after{display:none!important}
.status-content{padding-bottom:24px!important}.status-section{padding-top:50px!important}
.section-head h2,h1{color:var(--navy-900)!important}.section-head p,.section-description,.section-side,.average-uptime,.status-meta{color:#4f677b!important}
.overall-banner,.monitoring-warning,.component-group,.event-card,.empty-state,.status-policy{background:#fff!important;border-color:var(--line)!important;box-shadow:var(--shadow-sm)!important}
.overall-banner.operational{background:#f4faf7!important;border-color:#9fceb7!important}.overall-banner.operational .overall-icon{background:var(--green-100)!important;color:var(--green-700)!important}
.component-group summary{background:#edf2f5!important}.component-group{box-shadow:var(--shadow-sm)!important}.component-group:hover{transform:none!important;box-shadow:var(--shadow-sm)!important}
.component-row{padding:21px 24px!important}.uptime-bars{height:22px!important;gap:2px!important}.uptime-bar{transition:opacity .12s ease!important}.uptime-bar:hover,.uptime-bar:focus-visible{transform:none!important;filter:none!important;opacity:.78!important}.uptime-bar.operational{background:var(--green-600)!important}.component-state.operational,.live-state.operational{color:var(--green-700)!important}.legend-operational{background:var(--green-600)!important}
.history-note{color:#5f7588!important}.status-policy{margin-top:42px!important}.incident-link{color:var(--blue-600)!important}
.status-reveal{opacity:0;transform:translateY(10px);transition:opacity .45s ease,transform .45s ease;transition-delay:var(--delay,0ms)}.status-reveal.is-visible{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){.status-reveal{opacity:1!important;transform:none!important;transition:none!important}.uptime-bar{transition:none!important}}
