:root {
  color-scheme: dark;
  --bg: #101214;
  --panel: #171b20;
  --panel2: #1e242b;
  --line: #303842;
  --text: #eef2f6;
  --muted: #9da8b3;
  --green: #22c46f;
  --amber: #e9ad3c;
  --red: #ef6262;
  --blue: #6ca8ff;
  --orange: #f06f2f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button {
  font: inherit;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
}

.hero,
article,
.panel {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border-radius: 8px;
}

.hero {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  margin-bottom: 16px;
}

.notice {
  display: flex;
  gap: 10px;
  align-items: baseline;
  border: 1px solid rgba(233, 173, 60, 0.45);
  background: rgba(233, 173, 60, 0.08);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  color: var(--muted);
}

.notice strong {
  color: var(--amber);
}

.hero h1 {
  margin: 0;
  font-size: 34px;
}

.hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

.eyebrow {
  color: var(--orange) !important;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

button {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #222a33;
  color: var(--text);
  padding: 10px 14px;
  cursor: pointer;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.top-grid article,
.grid article,
.panel {
  padding: 16px;
}

article span,
.panel-head span {
  color: var(--muted);
  font-size: 13px;
}

article strong {
  display: block;
  margin-top: 10px;
  font-size: 24px;
}

article em {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.wide {
  grid-column: span 2;
}

.panel {
  margin-bottom: 14px;
}

.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.news-grid,
.fleet {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.news,
.row,
.pod {
  background: #12161b;
  border: 1px solid #2b333c;
  border-radius: 8px;
  padding: 12px;
}

.news time,
.row small,
.pod small {
  color: var(--muted);
}

.news h3 {
  margin: 8px 0;
  font-size: 16px;
}

.news p,
.row p,
.pod p {
  margin: 6px 0 0;
  color: var(--muted);
}

.rows {
  display: grid;
  gap: 10px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.score {
  color: var(--blue);
  font-weight: 800;
}

.status-ok {
  color: var(--green);
}

.status-warn {
  color: var(--amber);
}

.status-stop {
  color: var(--red);
}

@media (max-width: 820px) {
  .hero,
  .notice,
  .grid,
  .news-grid,
  .fleet {
    grid-template-columns: 1fr;
    display: grid;
  }

  .wide {
    grid-column: auto;
  }
}
