:root {
  font:
    15px/1.6 system-ui,
    sans-serif;
  color: #0a1b1a;
  background: #f6faf9;
  color-scheme: light;
  --muted: #4c6664;
  --line: #d7e5e7;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: radial-gradient(ellipse at 80% 0%, #dceff8 0, transparent 55%), #f6faf9;
  min-height: 100vh;
}
header {
  max-width: 1120px;
  padding: 30px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
a {
  color: #0971a5;
  text-decoration: none;
}
.status-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.status-actions a,
.status-actions button {
  border: 1px solid #c9dde5;
  border-radius: 24px;
  padding: 9px 16px;
  font-size: 13px;
  background: #fff;
  color: #23556c;
}
.status-actions button {
  cursor: pointer;
  font: 600 13px system-ui;
}
.status-actions button:hover,
.status-actions a:hover {
  background: #eaf6fa;
}
.theme-icon {
  margin-right: 5px;
  font-size: 16px;
}
.brand {
  display: flex;
  white-space: nowrap;
  gap: 12px;
  align-items: center;
  color: #0971a5;
  font:
    600 23px ui-monospace,
    monospace;
}
.brand strong {
  font: 750 23px system-ui;
}
.brand span {
  border-left: 1px solid #b9d9e5;
  padding-left: 14px;
  font: 400 14px system-ui;
  color: #4c6664;
}
main {
  max-width: 1000px;
  margin: 32px auto 0;
  padding: 0 24px 50px;
}
.hero {
  padding: 35px 0 32px;
}
.eyebrow {
  font:
    600 12px ui-monospace,
    monospace;
  letter-spacing: 1.7px;
  color: #0971a5;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  letter-spacing: -1.1px;
  margin: 17px 0;
}
h2 {
  font-size: 18px;
  margin: 0;
}
.hero p {
  font-size: 16px;
  margin: 12px 0;
}
.muted {
  color: var(--muted);
  font-size: 13px !important;
}
.card {
  background: #ffffffd9;
  border: 1px solid #d7e5e7;
  border-radius: 22px;
  padding: 28px 30px;
  margin: 18px 0;
  box-shadow: 0 10px 26px #173d4a12;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 110px 110px;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.service {
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.service > .columns {
  font-size: 15px;
  color: inherit;
  align-items: center;
}
.service summary {
  cursor: pointer;
  list-style: none;
}
.service summary::-webkit-details-marker {
  display: none;
}
.service summary > strong::before {
  content: '+';
  display: inline-block;
  width: 20px;
  color: var(--muted);
}
.service[open] summary > strong::before {
  content: '−';
}
.service summary:focus-visible,
.bar:focus-visible {
  outline: 2px solid #0971a5;
  outline-offset: 4px;
}
.service-history {
  padding-top: 10px;
}
.history-part {
  margin-top: 18px;
}
.history-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  font-size: 13px;
}
.history-heading small,
.coverage {
  color: var(--muted);
  font-size: 11px;
}
.coverage {
  margin: 6px 0 0;
}
.history-part .history {
  margin-top: 8px;
}
.service strong {
  font-weight: 650;
}
.badge {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.dot {
  height: 9px;
  width: 9px;
  display: inline-block;
  border-radius: 50%;
  background: #b8c5be;
  flex-shrink: 0;
}
.dot.operativo {
  background: #21a367;
  box-shadow: 0 0 0 3px #e8f8ee;
}
.dot.degradado {
  background: #e6b731;
}
.dot.caido {
  background: #e36565;
}
.history {
  display: flex;
  gap: 3px;
  margin-top: 19px;
  height: 25px;
}
.bar {
  flex: 1;
  min-width: 1px;
  border-radius: 3px;
  background: #e5edf0;
}
.bar.operativo {
  background: #37a871;
}
.bar.degradado {
  background: #e6b731;
}
.bar.caido {
  background: #e36565;
}
.bar.sin_datos {
  background: #e0e9ec;
}
.history-label {
  display: flex;
  justify-content: space-between;
  font:
    11px ui-monospace,
    monospace;
  color: var(--muted);
  margin-top: 7px;
}
.legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.card > p,
footer {
  font-size: 13px;
  color: var(--muted);
}
footer {
  padding: 20px 4px;
}
#headline[data-state='caido'] {
  color: #b44242;
}
:root[data-theme='dark'] {
  color: #eaf5f3;
  background: #060b0d;
  color-scheme: dark;
  --muted: #8faeab;
  --line: #294044;
}
[data-theme='dark'] body {
  background: radial-gradient(ellipse at 80% 0%, #0c3546 0, transparent 55%), #060b0d;
}
[data-theme='dark'] a,
[data-theme='dark'] .brand,
[data-theme='dark'] .eyebrow {
  color: #75cdf6;
}
[data-theme='dark'] .brand span {
  border-color: #294044;
  color: #9bb6b4;
}
[data-theme='dark'] .status-actions a,
[data-theme='dark'] .status-actions button {
  background: #112126;
  border-color: #345158;
  color: #d4e9e9;
}
[data-theme='dark'] .status-actions a:hover,
[data-theme='dark'] .status-actions button:hover {
  background: #183840;
}
[data-theme='dark'] .card {
  background: #0d1a1d;
  border-color: #294044;
  box-shadow: 0 10px 26px #0004;
}
[data-theme='dark'] .bar.sin_datos {
  background: #1b343c;
}
[data-theme='dark'] .dot:not(.operativo, .degradado, .caido) {
  background: #5d787b;
}
[data-theme='dark'] .dot.operativo {
  box-shadow: 0 0 0 3px #164138;
}
[data-theme='dark'] #headline[data-state='caido'] {
  color: #ff9ca5;
}
@media (max-width: 600px) {
  header {
    padding: 20px 16px;
  }
  .theme-label {
    display: none;
  }
  .brand span {
    display: none;
  }
  main {
    padding: 0 14px;
    margin-top: 10px;
  }
  .hero {
    padding: 20px 5px;
  }
  .card {
    padding: 21px 18px;
  }
  .columns {
    grid-template-columns: 1fr 85px 85px;
    gap: 8px;
  }
  .badge {
    font-size: 10px;
  }
  .service > .columns {
    font-size: 13px;
  }
  .history {
    gap: 2px;
    height: 21px;
  }
  .section-title .muted {
    font-size: 10px !important;
  }
}
