/* Página pública de estado */
.st { width: min(100% - 2 * var(--l-pad, 1.25rem), 62rem); margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 7rem); color: var(--l-graphite, #2B3136); }
.st-kicker { margin: 0 0 .5rem; color: var(--muted); font-size: .86rem; font-weight: 600; }
.st-overall { display: flex; align-items: center; gap: .7rem; margin: 1.25rem 0 0; color: var(--ink); font-size: clamp(1.15rem, 2.2vw, 1.4rem); font-weight: 600; line-height: 1.3; }
.st-dot { flex: none; width: .75rem; height: .75rem; background: var(--line-strong); }
.st-overall-up .st-dot { background: var(--success); }
.st-overall-down .st-dot { background: var(--danger); }
.st-overall-maintenance .st-dot { background: var(--blue-700); }
.st-sub { margin: .6rem 0 0; color: var(--muted); font-size: .9375rem; }
.st-head { padding-bottom: 1.5rem; border-bottom: 2px solid var(--ink); }

.st-section { margin-top: 2.5rem; }
.st-section h2 { margin: 0 0 1rem; color: var(--ink); font-size: 1.3125rem; font-weight: 600; }
.st-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; }
.st-legend { margin: 0 0 1rem; color: var(--muted); font-size: .78rem; }
.st-key { display: inline-block; width: .7rem; height: .7rem; margin: 0 .3rem 0 .6rem; vertical-align: -1px; }
.st-key-ok, .st-bars .is-ok { background: var(--success); }
.st-key-partial, .st-bars .is-partial { background: #C98A1B; }
.st-key-bad, .st-bars .is-bad { background: var(--danger); }
.st-key-none, .st-bars .is-none { background: #E3E7EB; }

.st-components { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.st-component { padding: 1.1rem 0 1.2rem; border-bottom: 1px solid var(--line); }
.st-component-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.st-component h3 { margin: 0; color: var(--ink); font-size: 1rem; }
.st-component-head p { margin: .15rem 0 0; color: var(--muted); font-size: .86rem; }
.st-state { flex: none; margin: 0; font-size: .86rem; font-weight: 700; }
.st-state-up { color: var(--success); }
.st-state-down { color: var(--danger); }
.st-state-maintenance { color: var(--blue-800); }
.st-state-unknown { color: var(--muted); }
.st-bars { display: flex; gap: 2px; height: 2rem; margin-top: .8rem; }
.st-bars span { flex: 1; min-width: 1px; }
.st-figures { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin: .55rem 0 0; font-size: .82rem; }
.st-figures div { display: flex; gap: .4rem; }
.st-figures dt { color: var(--muted); }
.st-figures dd { margin: 0; color: var(--ink); font-family: var(--l-mono, monospace); font-size: .8125rem; font-weight: 500; }

.st-chart { padding: .5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.st-chart svg { display: block; width: 100%; height: 8rem; }
.st-grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.st-axis { fill: var(--muted); font-size: 10px; }
.st-area { fill: var(--blue-050); }
.st-line { fill: none; stroke: var(--blue-700); stroke-width: 2; vector-effect: non-scaling-stroke; }
.st-note, .st-empty, .st-foot { margin: .6rem 0 0; color: var(--muted); font-size: .88rem; }
.st-foot { margin-top: 3rem; padding-top: 1rem; border-top: 1px solid var(--line); }

.st-external { margin: .75rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.st-external li { display: flex; flex-wrap: wrap; gap: .25rem 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }

.st-notice { margin-bottom: 1rem; padding: 1rem 1.15rem; border: 1px solid var(--line); border-left: 3px solid var(--line-strong); background: var(--surface); }
.st-notice-incident { border-left-color: var(--danger); }
.st-notice-maintenance { border-left-color: var(--blue-700); }
.st-notice h3 { margin: .15rem 0 0; color: var(--ink); font-size: 1rem; }
.st-notice p { margin: .5rem 0 0; }
.st-notice-kind, .st-when { color: var(--muted); font-size: .8rem; }
.st-notice-kind { margin: 0; font-weight: 700; }
.st-updates { margin: .9rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.st-updates li { display: grid; grid-template-columns: 10rem 6rem minmax(0, 1fr); gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.st-updates li p { margin: 0; }
.st-phase { color: var(--ink); font-weight: 700; }
.st-updates time { color: var(--muted); font-family: var(--l-mono, monospace); font-size: .8125rem; }

@media (max-width: 40rem) {
  .st { padding-top: 1.75rem; }
  .st-bars { height: 1.6rem; gap: 2px; }
  .st-bars span:nth-child(-n+60) { display: none; }
  .st-updates li { grid-template-columns: 1fr auto; }
  .st-updates li p { grid-column: 1 / -1; }
  .st-component-head { flex-direction: column; gap: .3rem; }
}
