:root {
  color-scheme: light;
  font: 100%/1.55 "Inter", system-ui, -apple-system, sans-serif;
  background: #f6f8fc;
  color: #18213b;
  --ink: #18213b;
  --muted: #53617b;
  --line: #dce3ef;
  --surface: #fff;
  --accent: #374ab3;
  --accent-dark: #2a3993;
  --accent-light: #ecf0ff;
  --danger: #a1283d;
  --radius: .85rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { min-width: 300px; margin: 0; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(1.55rem, 4vw, 2.3rem); line-height: 1.16; letter-spacing: -.045em; }
h2 { font-size: 1.35rem; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 1.04rem; line-height: 1.35; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button:disabled { opacity: .55; cursor: default; }
:focus-visible { outline: 3px solid #566bee; outline-offset: 3px; }
header.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 69rem; margin: auto; min-height: 4.5rem; padding: .7rem 1.6rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.brand { display: flex; align-items: center; gap: .72rem; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .55rem; background: var(--accent); color: white; font-size: 1.15rem; font-weight: 800; }
.brand-name { font-size: 1.12rem; font-weight: 550; letter-spacing: -.035em; }
.brand-name strong { font-weight: 800; }
.brand-divider { width: 1px; height: 1.3rem; background: var(--line); }
.brand-section { color: var(--muted); font-size: .9rem; font-weight: 650; }
.public-main { max-width: 64rem; margin: 2.5rem auto 3rem; padding: 0 1.5rem; }
.site-footer { border-top: 1px solid var(--line); padding: 1.25rem 1.5rem; text-align: center; color: var(--muted); font-size: .9rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.spread { justify-content: space-between; }
.muted { color: var(--muted); }
.time { font-size: .875rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .35rem; min-height: 2.65rem; padding: .45rem .9rem; border-radius: .55rem; border: 1px solid #c8d2e5; background: var(--surface); color: var(--ink); font-weight: 650; font-size: .9rem; }
.button:hover:not(:disabled) { background: #edf1fa; }
.button.primary { background: var(--accent); color: white; border-color: var(--accent); }
.button.primary:hover:not(:disabled) { background: var(--accent-dark); }
.button.danger { color: var(--danger); }
select, input:not([type=checkbox]), textarea { padding: .55rem .7rem; background: var(--surface); border: 1px solid #bfc9dd; color: var(--ink); border-radius: .55rem; min-width: 0; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #53617b 50%), linear-gradient(135deg, #53617b 50%, transparent 50%); background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
textarea { resize: vertical; }
.status-content { display: grid; gap: 1.5rem; }
.hero { border: 1px solid #c6e7dc; background: #eaf8f2; color: #134b3e; border-radius: 1rem; padding: clamp(1.05rem, 4vw, 1.9rem); display: flex; justify-content: space-between; gap: 1.4rem; align-items: center; }
.hero-major { background: #fcecf0; border-color: #f0c9d3; color: #762238; }
.hero-partial { background: #fff4e0; border-color: #ebd5a6; color: #634206; }
.hero-maintenance { background: #edf1ff; border-color: #d6dfff; color: #293c89; }
.hero-main { display: flex; align-items: center; gap: 1rem; }
.hero-main p { margin-top: .35rem; }
.hero-symbol { flex: 0 0 auto; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: #ffffffb8; color: inherit; font-size: 1.55rem; font-weight: 800; }
.hero-time { flex: 0 0 auto; font-size: .875rem; }
.hero-time strong { display: block; }
.filter-bar { gap: .75rem 1.2rem; }
.filter-bar p { margin-top: .25rem; }
.filter-field { display: grid; gap: .25rem; min-width: 11rem; }
.filter-field label { font-size: .875rem; font-weight: 700; }
.status-results { display: grid; gap: 1.05rem; }
.status-results > div:empty { display: none; }
.active-incidents { display: grid; gap: .65rem; }
.section-heading { padding: 0 .1rem; }
.count { border: 1px solid var(--line); border-radius: 1rem; padding: 0 .5rem; min-width: 1.6rem; background: white; text-align: center; color: var(--muted); font-weight: 700; font-size: .875rem; }
.empty-box, .incident-card, .group-card { border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); }
.empty-box { padding: .9rem 1.1rem; display: flex; align-items: center; gap: .65rem; color: var(--muted); }
.empty-icon { color: #116747; font-weight: 800; }
.incident-card { border-left: .25rem solid #c17421; padding: 1rem 1.15rem; display: grid; gap: .7rem; }
.incident-card summary { color: var(--accent-dark); width: fit-content; }
.message { white-space: pre-wrap; overflow-wrap: anywhere; }
.affected-list { margin: .65rem 0; padding-left: 1.3rem; }
.timeline-item { margin-top: .75rem; padding: .25rem 0 .25rem .75rem; border-left: 2px solid var(--line); }
.timeline-item p { margin-top: .4rem; }
.group-card { overflow: clip; }
.group-heading { padding: .85rem 1.1rem; background: #f0f3fb; border-bottom: 1px solid var(--line); }
.group-heading .muted { font-size: .875rem; }
.service-summary { padding: .8rem 1.1rem; }
.service-summary strong { overflow-wrap: anywhere; }
.service-detail summary { list-style: none; display: flex; align-items: center; }
.service-detail summary::-webkit-details-marker { display: none; }
.service-detail summary .service-summary { width: 100%; padding-left: .55rem; }
.service-detail summary::before { content: ''; width: .45rem; height: .45rem; flex: 0 0 auto; margin-left: 1.1rem; border: solid var(--muted); border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.service-detail[open] summary::before { transform: rotate(45deg); }
.service-detail summary:hover { background: #f8faff; }
.service-detail summary:focus-visible { outline-offset: -3px; }
.group-card > * + *:not(:nth-child(2)) { border-top: 1px solid var(--line); }
.scopes { display: grid; gap: .45rem; margin: 0 1.1rem .8rem 1.95rem; }
.scope, .scopes > .scope-title { background: #f6f8fc; padding: .4rem .65rem; border-radius: .45rem; }
.scope-title { font-size: .92rem; font-weight: 650; }
.component-line { padding: .3rem 0; font-size: .9rem; }
.status-badge { display: inline-flex; align-items: center; gap: .35rem; width: max-content; max-width: 100%; padding: .12rem .5rem; font-size: .875rem; line-height: 1.45; font-weight: 700; border-radius: 1rem; color: #364361; background: #e9edf5; }
.status-badge::before { content: ''; width: .43rem; height: .43rem; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.status-operational, .status-resolved { background: #e5f5ed; color: #116347; }
.status-partial, .status-investigating { background: #fff1d6; color: #714604; }
.status-major { background: #fbe6eb; color: #962840; }
.status-maintenance, .status-monitoring { background: #e9eeff; color: #3646a6; }
.draft-banner { background: #fff0cf; color: #684006; border-radius: .55rem; padding: .6rem .9rem; font-weight: 700; }
@media (max-width: 650px) {
  .hero { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .public-main { margin-top: 1.3rem; padding: 0 1rem; }
  .header-inner { padding-inline: 1rem; }
  .hero-time { padding-left: 4rem; }
}
@media (max-width: 390px) {
  .hero-time { padding-left: 0; }
  .service-summary { align-items: flex-start; }
}
