:root {
  --bar-ok:#24c19a; --bar-warn:#fbbf24; --bar-bad:#f5785c;
  --bg: #0b0c0e; --surface: #111416; --surface-2: #171a1b; --surface-3: #202425;
  --ink: #f2f3ee; --muted: #9ba1a0; --faint: #6d7474; --line: #292e2f;
  --green: #d2f993; --cyan: #88dbe5; --amber: #f3c35d; --red: #ef806c; --grey: #6c7374;
  --sans: "PingFang SC", "PingFang TC", -apple-system, BlinkMacSystemFont, "Microsoft YaHei", sans-serif;
  --mono: var(--sans);
  color-scheme: dark; font-family: var(--sans); color: var(--ink); background: var(--bg);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 72px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(11,12,14,.94); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 14px; }
.brand { font-size: 24px; font-weight: 650; letter-spacing: -.04em; }
.brand-period { color: var(--green); }
.hdr-sep { width: 1px; height: 18px; background: var(--line); }
.hdr-sub { color: var(--muted); font-size: 14px; }
.spacer { flex: 1; }
.refresh-note { color: var(--faint); font: 11px var(--mono); }
.button { min-height: 34px; padding: 0 14px; border-radius: 5px; border: 1px solid #42494a; background: var(--surface-2); transition: .2s background, .2s border; }
.button:hover { background: var(--surface-3); border-color: #66706f; }
.page-main { padding: 52px 0 54px; }
.intro { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--green); font: 10px var(--mono); letter-spacing: .13em; }
.live-dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(210,249,147,.1); vertical-align: 1px; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 13px; font-size: clamp(32px, 5vw, 54px); line-height: 1.05; letter-spacing: -.055em; font-weight: 650; }
.lede { max-width: 680px; margin-bottom: 0; color: var(--muted); font-size: 15px; }
.source-links { display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; font: 12px var(--mono); color: var(--cyan); }
.source-links span { color: var(--faint); }
.notice { min-height: 0; margin-top: 12px; color: var(--amber); font-size: 12px; }
.notice:empty { display: none; }
.summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 52px; }
.summary-card { min-height: 116px; padding: 17px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; display: flex; flex-direction: column; }
.summary-k { color: var(--faint); font: 10px var(--mono); letter-spacing: .04em; }
.summary-card strong { margin: 13px 0 5px; font-size: 31px; line-height: 1; font-weight: 650; font-variant-numeric: tabular-nums; }
.summary-card > span:last-child { margin-top: auto; color: var(--muted); font-size: 11px; }
.section-head { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.section-note { color: var(--faint); font-size: 11px; }
.provider-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.loading-card, .empty-state { padding: 24px; border: 1px dashed var(--line); border-radius: 5px; color: var(--faint); }
.provider-card { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.provider-top { padding: 19px 20px 16px; display: flex; align-items: center; gap: 13px; }
.provider-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; font-size: 17px; font-weight: 700; }
.provider-mark.openai { background: #177d68; } .provider-mark.anthropic { background: #a95336; }
.provider-name { min-width: 0; } .provider-name h3 { margin: 0 0 2px; font-size: 17px; } .provider-name p { margin: 0; color: var(--faint); font: 10px var(--mono); }
.status-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.status-badge .dot, .state-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grey); }
.status-badge.operational, .state-operational { color: var(--bar-ok); } .status-badge.operational .dot, .state-dot.operational { background: var(--bar-ok); }
.status-badge.degraded, .state-degraded { color: var(--bar-warn); } .status-badge.degraded .dot, .state-dot.degraded { background: var(--bar-warn); }
.status-badge.major, .state-major { color: var(--bar-bad); } .status-badge.major .dot, .state-dot.major { background: var(--bar-bad); }
.status-badge.unknown { color: var(--muted); }
.provider-body { border-top: 1px solid var(--line); }
.component-row { display: flex; align-items: center; gap: 9px; min-height: 43px; padding: 0 20px; border-bottom: 1px solid rgba(41,46,47,.7); }
.component-row:last-child { border-bottom: 0; }
.component-row .component-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #d8dbd4; font-size: 12px; }
.component-row small { color: var(--faint); font: 10px var(--mono); }
.incident-strip { padding: 13px 20px; border-top: 1px solid var(--line); background: rgba(243,195,93,.055); color: var(--amber); font-size: 12px; }
.incident-strip strong { color: var(--ink); font-weight: 600; }
.compare-head { margin-top: 56px; }
.compare-card { background: var(--surface); border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.compare-title-row { display: flex; align-items: start; justify-content: space-between; gap: 20px; padding: 20px; }
.compare-title-row h3 { margin: 0 0 5px; font-size: 16px; } .compare-title-row p { margin: 0; color: var(--muted); font-size: 12px; }
.group-filter { display:flex; align-items:center; gap:10px; flex:0 0 auto; max-width:100%; color:var(--muted); font-size:11px; }
.group-filter > span { white-space:nowrap; }
.group-filter select { width:240px; min-width:0; max-width:100%; min-height:36px; padding:7px 10px; border:1px solid #424d39; border-radius:5px; background:var(--bg); color:var(--green); font:12px var(--sans); text-overflow:ellipsis; cursor:pointer; }
.group-filter select:hover { border-color:var(--green); }
.group-filter select:disabled { color:var(--faint); border-color:var(--line); cursor:default; }
.group-filter option { color:var(--ink); background:var(--surface); }
.compare-table-wrap { overflow-x: auto; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid rgba(41,46,47,.7); white-space: nowrap; }
.compare-table th { color: var(--faint); font: 10px var(--mono); letter-spacing: .04em; font-weight: 400; }
.compare-table td { color: #d9dbd5; font-size: 12px; } .compare-table tr:last-child td { border-bottom: 0; }
.table-empty { color: var(--faint) !important; padding: 22px 20px !important; }
.cell-status { display: inline-flex; align-items: center; gap: 7px; } .state-dot.ok { background: var(--bar-ok); } .state-dot.warn { background: var(--bar-warn); } .state-dot.bad { background: var(--bar-bad); } .state-dot.none { background: var(--grey); }
.availability { font: 12px var(--mono); font-variant-numeric: tabular-nums; } .availability.ok { color: var(--bar-ok); } .availability.warn { color: var(--bar-warn); } .availability.none { color: var(--faint); }
.scope-note { display: flex; align-items: start; gap: 9px; padding: 14px 20px; color: var(--faint); font-size: 11px; }
.info-mark { flex: 0 0 auto; width: 15px; height: 15px; display: grid; place-items: center; border: 1px solid var(--faint); border-radius: 50%; font: 10px var(--mono); }
.incident-head { margin-top: 56px; }
.incident-list { display: grid; gap: 8px; }
.incident-card { padding: 17px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 5px; }
.incident-meta { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; color: var(--faint); font: 10px var(--mono); }
.incident-meta .provider-tag { color: var(--cyan); } .incident-card h3 { margin: 0 0 6px; font-size: 14px; } .incident-card p { margin: 0; color: var(--muted); font-size: 12px; }
.incident-card a { display: inline-block; margin-top: 10px; color: var(--cyan); font-size: 11px; }
.page-foot { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--faint); font: 10px var(--mono); }
.page-foot a { color: var(--muted); }
@media (max-width: 780px) {
  .wrap { width: min(100% - 32px, 1160px); } .page-main { padding-top: 34px; }
  .intro { display: block; } .source-links { flex-direction: row; flex-wrap: wrap; margin-top: 22px; gap: 15px; }
  .summary { grid-template-columns: repeat(2, 1fr); margin-bottom: 38px; } .provider-grid { grid-template-columns: 1fr; }
  .section-head { display: block; } .section-note { display: block; margin-top: 8px; }
  .compare-title-row { display: block; } .group-filter { margin-top:14px; } .group-filter select { flex:1; width:auto; }
  .page-foot { display: block; } .page-foot span { display: block; } .page-foot span + span { margin-top: 8px; }
}
@media (max-width: 460px) {
  .brand { font-size: 21px; } .hdr-sub { font-size: 12px; } .refresh-note { display: none; }
  h1 { font-size: 34px; } .summary-card { min-height: 105px; padding: 13px; } .summary-card strong { font-size: 26px; }
}
/* Official status center */
.hdr-sub { font:10px var(--mono); letter-spacing:.07em; }
.page-main { padding-top:28px; }
.intro { padding-bottom:35px; }
h1 { font-size:clamp(32px,4vw,47px); line-height:1.3; letter-spacing:-.06em; margin-bottom:18px; }
h1 span { color:var(--green); }
.lede { line-height:1.9; color:#919998; font-size:14px; }
.eyebrow { color:#a3af9d; font-size:10px; margin-bottom:19px; }
.source-links { margin-bottom:2px; min-width:215px; gap:0; }
.source-caption { color:var(--faint)!important; font-size:9px; letter-spacing:.08em; margin-bottom:10px; }
.source-links a { padding:10px 0; border-bottom:1px solid var(--line); display:flex; justify-content:space-between; color:#c5ccca; }
.source-links a:last-child { border-bottom:0; }
.source-links a:hover { color:var(--green); text-decoration:none; }
.summary { margin:24px 0 41px; gap:0; border:1px solid var(--line); background:#0f1213; border-radius:6px; overflow:hidden; }
.summary-card { border:0; border-radius:0; background:transparent; border-right:1px solid var(--line); min-height:123px; padding:19px 23px; }
.summary-card:last-child { border-right:0; }
.summary-card strong { font-family:var(--mono); font-size:30px; font-weight:400; letter-spacing:-.04em; margin:13px 0 8px; }
.summary-card .text-green,.text-green { color:var(--green); }
.text-amber { color:var(--amber); }
.text-muted { color:var(--faint)!important; }
.section-head h1,.section-head h2 { margin:0; font-weight:600; font-size:21px; letter-spacing:-.035em; line-height:1.55; }
.section-kicker { color:var(--faint); font-size:9px; margin-bottom:7px; letter-spacing:.09em; }
.legend { display:flex; gap:15px; color:var(--muted); font-size:10px; margin-bottom:4px; }
.legend span { display:flex; align-items:center; gap:5px; }
.legend i { width:5px; height:5px; }
.provider-grid { gap:18px; align-items:start; }
.provider-card { border-radius:7px; }
.provider-top { padding:22px 23px; gap:13px; }
.provider-name h3 { font-size:22px; letter-spacing:-.035em; font-weight:550; }
.provider-name p { font-size:9px; letter-spacing:.12em; }
.provider-mark { background:transparent!important; border:1px solid var(--line); border-radius:9px; width:43px; height:43px; color:#e2e9e3; }
.provider-mark svg { width:26px; height:26px; }
.provider-mark.claude { color:#e7ad98; background:#251d1a!important; border-color:#49332b; }
.provider-external { margin-left:auto; display:grid; place-items:center; width:30px; height:30px; border:1px solid var(--line); border-radius:5px; color:var(--faint); font-size:19px; }
.provider-external:hover { text-decoration:none; color:var(--green); border-color:#5e7148; }
.provider-overview { margin:0 23px 20px; display:flex; justify-content:space-between; align-items:center; padding:18px; border:1px solid #303b28; background:#171e13; border-radius:5px; }
.provider-overview.degraded { background:#211e15; border-color:#443b27; }
.provider-overview.major { background:#251916; border-color:#52312b; }
.provider-overview.unknown { background:#1a1d1e; border-color:var(--line); }
.provider-overview.maintenance { background:#162225; border-color:#2b4649; }
.micro-label { font-size:10px; color:var(--muted); }
.provider-overview strong { margin-top:6px; display:flex; align-items:center; gap:8px; color:var(--bar-ok); font-size:20px; font-weight:550; letter-spacing:-.025em; }
.provider-overview.degraded strong { color:var(--bar-warn); }
.provider-overview.major strong { color:var(--bar-bad); }
.provider-overview.unknown strong { color:var(--muted); }
.provider-overview.maintenance strong { color:var(--cyan); }
.provider-overview .state-dot { width:8px; height:8px; box-shadow:0 0 0 4px rgba(255,255,255,.025); }
.active-count { text-align:right; display:flex; flex-direction:column; gap:0; }
.active-count b { font:27px var(--mono); letter-spacing:-.07em; color:#ded8c7; }
.active-count span { font-size:9px; color:var(--muted); }
.component-heading { display:flex; justify-content:space-between; margin:0 23px 3px; color:var(--faint); font-size:10px; }
.component-heading span:last-child { font:9px var(--mono); }
.provider-body { border-top:0; padding:0 23px; }
.component-row { padding:0; min-height:42px; gap:15px; }
.component-row .component-name { font-size:12px; }
.component-name em { font-style:normal; color:var(--faint); margin-left:8px; font-size:10px; }
.component-status { display:inline-flex; gap:6px; align-items:center; color:var(--bar-ok); font-size:10px; white-space:nowrap; }
.component-status.degraded,.cell-status.degraded { color:var(--bar-warn); }
.component-status.major,.cell-status.major { color:var(--bar-bad); }
.component-status.maintenance,.cell-status.maintenance { color:var(--cyan); }
.component-status.unknown,.cell-status.unknown { color:var(--faint); }
.cell-status.operational,.cell-status.ok { color:var(--bar-ok); }
.cell-status.warn { color:var(--bar-warn); }
.cell-status.bad { color:var(--bar-bad); }
.state-dot.maintenance { background:var(--cyan); }
.component-status .state-dot { width:5px; height:5px; }
.component-empty { padding:25px 0; color:var(--faint); font-size:12px; min-height:210px; }
.expand-components,.component-footnote { background:none; border:0; display:flex; justify-content:space-between; width:calc(100% - 46px); margin:0 23px; padding:13px 0; color:var(--muted); font-size:10px; }
.expand-components:hover { color:var(--green); }
.expand-components span { font-size:14px; line-height:1; color:var(--faint); }
.provider-sync { border-top:1px solid var(--line); padding:13px 23px; display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; color:var(--faint); font:9px var(--mono); background:#0f1213; }
.sync-label { display:flex; align-items:center; gap:5px; }
.sync-label .state-dot { width:4px; height:4px; }
.sync-label.live { color:var(--bar-ok); }
.sync-label.stale,.provider-error { color:var(--bar-warn); }
.provider-error { padding:12px 23px; font-size:11px; border-top:1px solid var(--line); }
.compare-head { margin-top:44px; }
.section-link { color:var(--green); font-size:11px; margin-bottom:2px; }
.compare-title-row { padding:22px 23px 20px; }
.compare-title-row h3 { font-weight:550; font-size:14px; }
.compare-title-row p { font-size:11px; }
.compare-table th { background:#101314; font-family:var(--sans); padding:11px 23px; }
.compare-table td { padding:16px 23px; font-size:11px; }
.compare-table td small { display:block; color:var(--faint); margin-top:4px; font-size:9px; }
.compare-table .group-name { font-size:12px; color:#d9dfd5; }
.group-name-line { display:inline-flex; align-items:center; gap:7px; font-size:14px; font-weight:600; }
.rate-tag { display:inline-flex; align-items:center; padding:2px 5px; border:1px solid #424d39; border-radius:4px; background:rgba(201,255,86,.05); color:var(--green); font:10px var(--mono); line-height:1.2; }
.compare-table .scope-cell { font-size:10px; color:var(--muted); }
.compare-table .no-coverage td { color:var(--muted); }
.scope-note { font-size:10px; padding:14px 23px; line-height:1.7; }
.incident-head { margin-top:45px; }
.incident-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:19px 0 14px; }
.seg { display:inline-flex; background:#111415; border:1px solid var(--line); border-radius:5px; padding:3px; }
.seg button { border:0; background:none; color:var(--faint); font-size:11px; padding:6px 12px; border-radius:3px; }
.seg button:hover { color:var(--ink); }
.seg button[aria-pressed="true"] { background:#252b25; color:var(--green); }
.event-count { font:10px var(--mono); color:var(--faint); margin-left:auto; }
.incident-list { gap:0; border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.incident-card { border:0; border-bottom:1px solid var(--line); border-radius:0; padding:21px 23px; display:flex; gap:15px; }
.incident-card:last-child { border-bottom:0; }
.event-provider-logo { display:grid; place-items:center; border:1px solid var(--line); width:30px; height:30px; border-radius:6px; color:#b9c8c0; }
.event-provider-logo.claude { color:#dda78f; }
.event-provider-logo svg { width:18px; height:18px; }
.incident-content { min-width:0; flex:1; }
.incident-meta { flex-wrap:wrap; gap:12px; margin-bottom:7px; font:10px var(--mono); }
.incident-meta .provider-tag { color:var(--muted); }
.incident-card h3 { font-size:14px; font-weight:550; line-height:1.5; }
.incident-card h3 button { text-align:left; padding:0; background:none; border:0; color:#e3e7df; line-height:1.5; font-weight:550; }
.incident-card h3 button:hover { color:var(--green); }
.incident-card p { overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; font-size:11px; line-height:1.8; color:#818b89; }
.phase { font:10px var(--sans); display:inline-block; padding:1px 7px; border-radius:3px; }
.phase.active { color:var(--bar-warn); background:#2c2618; }
.phase.resolved { color:var(--bar-ok); background:rgba(36,193,154,.08); }
.event-open { color:var(--faint); padding:5px; background:none; border:0; align-self:center; font-size:18px; }
.event-open:hover { color:var(--green); }
.more-events { background:var(--surface); border:0; color:var(--muted); padding:14px; font-size:11px; }
.more-events:hover { color:var(--green); }
.empty-state { text-align:center; border:0; padding:30px; }
.empty-icon { display:block; font-size:21px; color:var(--muted); margin-bottom:5px; }
.empty-state strong { color:#c3cbc3; font-size:13px; font-weight:500; }
.empty-state p { margin:6px 0 0; font-size:11px; }
.official-head { display:grid; grid-template-columns:minmax(200px,1fr) minmax(0,2fr); align-items:center; gap:32px; margin-bottom:22px; }
.official-head .legend { margin:10px 0 0; }
.reading-note { display:flex; gap:12px; padding-left:24px; border-left:1px solid var(--line); color:var(--faint); }
.reading-note .info-mark { margin-top:3px; }
.reading-note strong { font-size:11px; color:var(--muted); font-weight:500; }
.reading-note p { margin:5px 0 0; font-size:11px; line-height:1.9; max-width:960px; }
.page-foot { margin-top:34px; font-size:9px; }
button:disabled { cursor:wait; opacity:.6; }
dialog { width:min(700px,calc(100% - 32px)); padding:27px; border:1px solid #414b43; border-radius:9px; background:#111516; color:var(--ink); max-height:85vh; box-shadow:0 20px 120px #0009; }
dialog::backdrop { background:#030506bb; backdrop-filter:blur(5px); }
.dialog-top { display:flex; align-items:center; justify-content:space-between; }
.dialog-top .eyebrow { margin:0; }
.close-button { width:32px; height:32px; border:1px solid var(--line); border-radius:5px; font-size:21px; background:#192021; color:var(--muted); }
#dialog-title { font-size:23px; line-height:1.4; font-weight:550; margin:19px 0 12px; }
.dialog-meta { display:flex; align-items:center; flex-wrap:wrap; gap:12px; color:var(--faint); font-size:10px; }
.affected { font-size:11px; padding:14px 0; color:var(--muted); border-bottom:1px solid var(--line); }
.event-updates { margin:22px 0; padding-left:9px; }
.event-update { position:relative; border-left:1px solid var(--line); padding:0 0 25px 22px; }
.event-update:last-child { border-left-color:transparent; padding-bottom:0; }
.update-dot { position:absolute; width:7px; height:7px; background:var(--bar-ok); border-radius:50%; top:4px; left:-4px; }
.update-meta { display:flex; justify-content:space-between; gap:20px; font-size:11px; }
.update-meta b { font-weight:500; color:var(--bar-ok); }
.update-meta time { font:10px var(--mono); color:var(--faint); }
.event-update p { font-size:12px; color:#b0b9b4; line-height:1.9; margin:8px 0 0; white-space:pre-wrap; overflow-wrap:anywhere; }
.primary { display:inline-flex; align-items:center; padding:9px 14px; background:var(--green); border-color:var(--green); color:#172013; font-size:11px; }
.primary:hover { background:#e1ffb1; text-decoration:none; }
@media (max-width:900px) { .hdr-sub,.hdr-sep { display:none; } }
@media (max-width:780px) {
  .official-head { grid-template-columns:1fr; gap:18px; }
  .official-head .reading-note { padding:0; border:0; }
  .page-main { padding-top:24px; } .source-links { min-width:0; gap:18px; align-items:center; } .source-caption { display:none; } .source-links a { padding:0; border:0; gap:13px; font-size:11px; }
  .summary { margin:22px 0 32px; } .summary-card { padding:17px; min-height:115px; } .summary-card:nth-child(2) { border-right:0; } .summary-card:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .legend { margin-top:13px; } .section-link { display:inline-block; margin-top:10px; }
  .provider-sync { font-size:9px; } .page-foot { line-height:1.9; }
}
@media (max-width:460px) {
  .site-header { height:63px; } .header-inner { gap:11px; }
  .button { min-height:33px; font-size:11px; padding:0 9px; } h1 { font-size:33px; margin-bottom:13px; } .lede { font-size:12px; }
  .source-links { margin-top:19px; } .intro { padding-bottom:22px; } .summary-card strong { font-size:26px; } .summary-k { font-size:8px; }
  .provider-top { padding:19px; } .provider-overview { margin-inline:19px; } .provider-body { padding-inline:19px; } .component-heading { margin-inline:19px; }
  .provider-overview strong { font-size:19px; } .provider-sync { padding:12px 19px; } .component-name { max-width:185px; }
  .incident-toolbar { gap:9px; } .seg button { font-size:10px; padding:6px 9px; } .event-count { font-size:9px; }
  .incident-card { padding:17px; gap:10px; } .incident-card h3 { font-size:13px; } .incident-meta { gap:7px; font-size:9px; } .incident-rail { display:none; }
  .compare-title-row { padding:19px; } .scope-note { padding:13px 19px; }
  dialog { padding:20px; } #dialog-title { font-size:20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition:none!important; scroll-behavior:auto!important; } }

/* Three equal cards share one row; expanded lists scroll inside each card. */
.status-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; align-items:stretch; }
.status-grid > .provider-grid { display:contents; }
.status-grid .provider-card,.incident-panel,.status-grid .loading-card { height:548px; min-width:0; }
.status-grid .provider-card,.incident-panel { display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:7px; overflow:hidden; }
.status-grid .provider-top { padding:21px 19px; flex-shrink:0; }
.status-grid .provider-name h2 { margin:0 0 2px; font-size:19px; font-weight:550; letter-spacing:-.035em; }
.status-grid .provider-overview { margin:0 19px 19px; padding:16px; flex-shrink:0; }
.status-grid .provider-overview strong { font-size:19px; }
.status-grid .component-heading { margin-inline:19px; flex-shrink:0; }
.status-grid .provider-body { padding-inline:19px; flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#3a423e transparent; }
.status-grid .component-row { min-height:42px; }
.status-grid .component-name { max-width:none; }
.status-grid .expand-components,.status-grid .component-footnote { width:calc(100% - 38px); margin-inline:19px; flex-shrink:0; }
.status-grid .provider-sync { padding:12px 19px; min-height:43px; flex-shrink:0; font-size:8px; }
.status-grid .provider-error { flex-shrink:0; padding:10px 19px; }
.incident-mark { color:var(--cyan); }
.incident-panel .incident-toolbar { display:flex; flex-direction:column; align-items:stretch; gap:9px; margin:0; padding:0 19px 17px; flex-shrink:0; border-bottom:1px solid var(--line); }
.incident-panel #provider-filter { display:flex; }
.incident-panel #provider-filter button { flex:1; }
.incident-phase-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.incident-panel .seg button { padding:6px 10px; font-size:10px; }
.incident-panel .event-count { white-space:nowrap; font-size:9px; }
.incident-panel .incident-list { display:block; flex:1; min-height:0; border:0; border-radius:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#3a423e transparent; }
.incident-panel .incident-card { padding:17px 19px; gap:8px; }
.incident-panel .incident-rail { display:none; }
.incident-panel .incident-meta { gap:8px; font-size:9px; }
.incident-panel .incident-card h3 { font-size:12px; line-height:1.6; }
.incident-panel .incident-card p { font-size:10px; -webkit-line-clamp:3; }
.incident-panel .event-open { align-self:flex-start; margin-top:22px; font-size:16px; padding:0; }
.incident-panel .more-events { width:100%; }
.incident-panel-foot { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px; padding:12px 19px; min-height:43px; flex-shrink:0; border-top:1px solid var(--line); color:var(--faint); font:8px var(--mono); background:#0f1213; }
@media (max-width:1000px) {
  .status-grid { grid-template-columns:1fr; }
  .status-grid .provider-card,.incident-panel,.status-grid .loading-card { height:548px; }
}

/* FluxToken group rows and the source's 60 half-hour monitoring cells. */
.compare-table th:last-child { width:48%; }
.compare-table td { padding-block:22px; }
.compare-table .availability { font-size:14px; font-weight:550; }
.monitor-bar { display:flex; align-items:stretch; gap:2px; height:29px; width:100%; min-width:310px; }
.monitor-bar i { flex:1 1 0; min-width:2px; border-radius:1px; background:#353d3d; }
.monitor-bar i.ok { background:var(--bar-ok); }
.monitor-bar i.warn { background:var(--bar-warn); }
.monitor-bar i.bad { background:var(--bar-bad); }
.monitor-bar:hover i { opacity:.5; }
.monitor-bar:hover i:hover { opacity:1; outline:1px solid #f2f3ee; outline-offset:1px; }
.monitor-bar.is-stale { opacity:.45; }
.monitor-scale { display:flex; justify-content:space-between; margin-top:7px; color:var(--faint); font:9px var(--mono); }
.monitor-bar-empty { display:block; padding:8px; text-align:center; border:1px dashed var(--line); color:var(--faint); font-size:10px; border-radius:3px; }
.monitor-footer { display:flex; justify-content:space-between; align-items:center; gap:12px; padding-right:23px; }
.monitor-footer .scope-note { flex:1; }
.monitor-legend { flex-shrink:0; margin:0; gap:13px; }
@media (max-width:780px) {
  .compare-table { min-width:800px; }
  .monitor-footer { flex-direction:column; align-items:flex-start; gap:0; padding-right:0; }
  .monitor-legend { padding:0 23px 16px; }
}

/* Official status layout: overview banner, incidents, then collapsible groups. */
.official-status { margin-top: 4px; }
.official-overview { min-height: 76px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:19px 23px; border:1px solid #334330; border-radius:6px; background:#151d14; }
.official-overview.degraded { border-color:#4a4029; background:#211e14; }
.official-overview.major { border-color:#54312d; background:#251815; }
.official-overview.maintenance { border-color:#2e4a4d; background:#162225; }
.official-overview.unknown { border-color:var(--line); background:#171a1b; }
.overall-indicator { display:flex; align-items:center; gap:11px; min-width:0; }
.overall-indicator strong { font-size:17px; font-weight:550; letter-spacing:-.02em; }
.overall-indicator .state-dot { width:9px; height:9px; box-shadow:0 0 0 4px rgba(255,255,255,.035); }
.overall-updated { color:var(--faint); font:10px var(--mono); white-space:nowrap; }
.official-section-head { display:flex; align-items:end; justify-content:space-between; gap:18px; margin:42px 0 15px; }
.official-section-head h2 { margin:0; font-size:22px; line-height:1.35; font-weight:600; letter-spacing:-.04em; }
.official-section-head .section-kicker { margin:0 0 6px; }
.system-note,.event-count { color:var(--faint); font:10px var(--mono); }
.incident-section .incident-list { border:1px solid var(--line); border-radius:6px; overflow:hidden; }
.incident-section .incident-card { background:var(--surface); }
.incident-section .empty-state { background:var(--surface); }
.affected-tags { display:flex; flex-wrap:wrap; gap:6px; margin-top:12px; }
.affected-tag { padding:3px 7px; border:1px solid #344035; border-radius:3px; color:#b8ccac; background:#182119; font-size:10px; }
/* Official groups retain the site's three-column dark card layout. */
.official-heading-row { margin:0 0 20px; align-items:center; }
.official-heading-row h2 { font-size:21px; letter-spacing:0; }
.official-heading-row .official-overview { min-height:0; padding:0; border:0; background:none; justify-content:flex-end; flex-wrap:wrap; gap:8px 18px; }
.official-heading-row .overall-indicator { gap:8px; }
.official-heading-row .overall-indicator strong { font-size:12px; font-weight:500; letter-spacing:0; color:var(--muted); }
.official-heading-row .overall-indicator .state-dot { width:6px; height:6px; box-shadow:none; }
.status-grid > .system-groups { display:contents; }
.official-provider-section { min-width:0; height:548px; display:flex; flex-direction:column; background:var(--surface); border:1px solid var(--line); border-radius:7px; overflow:hidden; }
.official-provider-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:21px 19px; min-height:78px; flex-shrink:0; }
.official-provider-head h3 { display:flex; align-items:center; gap:10px; margin:0; font-size:17px; font-weight:600; }
.official-provider-logo { display:inline-flex; width:23px; height:23px; }
.official-provider-logo svg { width:100%; height:100%; }
.official-provider-head a { color:var(--faint); font-size:10px; white-space:nowrap; }
.official-system-card { color:var(--ink); color-scheme:dark; background:transparent; border:0; border-radius:0; flex:1; min-height:0; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#3a423e transparent; }
.system-card-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; min-height:38px; padding:0 19px 13px; border-bottom:1px solid var(--line); flex-shrink:0; }
.system-card-heading h4 { margin:0; color:var(--faint); font-size:10px; line-height:1.4; font-weight:400; letter-spacing:0; }
.system-period { color:var(--faint); font-size:10px; line-height:1.4; }
.system-group { margin:0; border:0; border-bottom:1px solid var(--line); background:transparent; border-radius:0; }
.system-group:last-child { border-bottom:0; }
.system-group > summary { display:block; padding:14px 19px; list-style:none; cursor:pointer; }
.system-group > summary::-webkit-details-marker { display:none; }
.system-group > summary:hover { background:var(--surface-2); }
.system-group > summary:focus-visible { outline:2px solid var(--green); outline-offset:-3px; }
.group-summary-line,.component-summary-line { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:6px 10px; min-width:0; }
.group-summary-main { display:flex; align-items:center; flex-wrap:wrap; gap:6px; min-width:0; }
.group-summary-main strong { color:var(--ink); font-size:13px; font-weight:550; line-height:1.5; }
.group-component-count { color:var(--faint); font-size:9px; white-space:nowrap; }
.official-uptime { color:var(--muted); font-size:10px; line-height:1.5; white-space:nowrap; font-variant-numeric:tabular-nums; }
.official-state-icon { display:inline-flex; flex:0 0 15px; width:15px; height:15px; color:var(--faint); }
.official-state-icon svg { display:block; width:100%; height:100%; }
.official-state-icon.operational { color:var(--bar-ok); }
.official-state-icon.degraded { color:var(--bar-warn); }
.official-state-icon.major { color:var(--bar-bad); }
.official-state-icon.maintenance { color:#60a5fa; }
.summary-chevron { flex:0 0 11px; width:11px; height:11px; fill:none; stroke:var(--faint); stroke-width:2; transition:transform .18s ease; }
.system-group[open] > summary .summary-chevron { transform:rotate(90deg); }
.component-history { display:flex; align-items:stretch; gap:1px; width:100%; height:18px; margin-top:11px; }
.component-history i { flex:1 1 0; min-width:0; border-radius:1px; background:#353d3d; }
.component-history i.operational { background:var(--bar-ok); }
.component-history i.degraded { background:var(--bar-warn); }
.component-history i.maintenance { background:#60a5fa; }
.component-history i.partial_outage { background:#f5785c; }
.component-history i.major { background:#f87171; }
.component-history i:hover { outline:1px solid var(--ink); outline-offset:1px; }
.system-group.is-stale .component-history { opacity:.55; }
.system-components { border-top:1px solid var(--line); background:#0f1213; }
.system-component { padding:12px 19px 12px 30px; border-bottom:1px solid var(--line); }
.system-component:last-child { border-bottom:0; }
.component-status-cell { display:flex; align-items:center; gap:8px; min-width:0; }
.component-name { color:#d8ddd7; font-size:12px; overflow-wrap:anywhere; }
.system-component .official-state-icon { width:13px; height:13px; flex-basis:13px; }
.system-component .official-uptime { font-size:10px; }
.system-component .component-history { height:15px; }
.system-no-data { padding:24px; color:var(--faint); }
.official-provider-section .provider-sync { margin-top:auto; flex-shrink:0; min-height:43px; padding:12px 19px; }
.claude-service-row { padding:14px 19px; border-bottom:1px solid var(--line); }
.claude-service-row:last-child { border-bottom:0; }
.claude-service-head { display:flex; justify-content:space-between; align-items:baseline; flex-wrap:wrap; gap:4px 10px; }
.claude-service-head h4 { margin:0; font-size:12px; font-weight:550; overflow-wrap:anywhere; }
.claude-service-head .component-status { font-size:9px; margin-left:auto; }
.claude-service-row .component-history { height:22px; margin-top:10px; }
.component-history.source-colors > svg { display:block; flex:1 1 0; width:0; min-width:0; height:100%; }
.component-history.source-colors > svg:hover { outline:1px solid var(--ink); outline-offset:1px; }
.claude-service-row.is-stale .component-history { opacity:.55; }
.claude-history-scale { display:flex; align-items:center; justify-content:space-between; gap:7px; margin-top:7px; color:var(--faint); font-size:9px; white-space:nowrap; }
.claude-uptime { color:var(--muted); font-variant-numeric:tabular-nums; }
.scale-rule { min-width:0; height:1px; flex:1; background:var(--line); }
.incident-panel .incident-content { overflow-wrap:anywhere; }
@media (max-width:1000px) {
  .official-heading-row { align-items:flex-start; gap:12px; }
  .official-heading-row .official-overview { gap:8px; }
}
@media (max-width:600px) {
  .official-heading-row { flex-direction:column; }
  .official-heading-row .official-overview { justify-content:flex-start; }
  .official-provider-section,.status-grid .incident-panel { height:548px; }
}

