/* Geteiltes Chrome-CSS für alle admin/*.html-Seiten — Design-Tokens, Layout,
   Sidebar/Hamburger, Buttons/Inputs/Tabellen-Basis, Profil-Menü, Modal,
   Markdown-Editor (Notizen UND Wiki), Responsive-Regeln. Section-
   spezifisches CSS (News-Bilder, Koop-Vorschau, ...) lebt im <style>-Block
   der jeweiligen Seite, nicht hier — siehe admin/shared/shell.js Kommentar
   "Neue Seite anlegen".
*/
:root {
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --line: #E7E5DF;
  --ink: #14151A;
  --ink-dim: #6B6D76;
  --accent: #0F5D3C;
  --accent-soft: #E6F0EA;
  --danger: #E23744;
  --danger-soft: rgba(226, 55, 68, 0.1);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
}
.page {
  /* Bewusst kein max-width mehr (vorher 1180px) — das ganze Admin-Panel
     nutzt jetzt die volle Bildschirmbreite statt zentriert in einer festen
     Spalte zu laufen. Betrifft alle admin/*.html-Seiten gleichermaßen,
     kein Opt-in mehr nötig. */
  margin: 0 auto;
  padding: 32px 20px 80px;
}
h1 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}
.subtitle {
  color: var(--ink-dim);
  font-size: 13px;
  margin: 2px 0 0;
}
.brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Logo + "Sc0re Admin"-Text führen zurück zum Dashboard (index.html) —
   display:contents lässt den Link selbst keine eigene Box erzeugen, seine
   beiden Kinder (.brand-mark + Titel-Block) bleiben dadurch direkte
   Flex-Kinder von .brand-row und das bestehende Layout/gap bleibt
   unverändert, statt durch einen zusätzlichen Wrapper verschoben zu werden. */
.brand-link {
  display: contents;
  color: inherit;
  text-decoration: none;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.card h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 14px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-dim);
  margin-bottom: 6px;
}
input[type="text"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select {
  width: 100%;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 0 12px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
}
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  resize: vertical;
}
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.field {
  margin-bottom: 12px;
}
.field-hint {
  font-size: 12px;
  color: var(--ink-dim);
  margin-top: 4px;
}
.stat-pill {
  display: inline-block;
  font-size: 12px;
  color: var(--ink-dim);
  margin-right: 8px;
}
/* Von News UND RSS-Feeds genutzt (Artikel-Titel/Teaser-Zelle) */
.news-cell-title {
  font-weight: 700;
  margin-bottom: 2px;
}
.news-cell-teaser {
  color: var(--ink-dim);
  font-size: 13px;
}
/* Von News, Kooperationsgruppen, Vereinen UND Kosmetik genutzt (Bild-/
   Logo-Upload-Vorschau) — trotz des Namens ("news-") generisch. */
.news-image-preview {
  display: block;
  max-width: 220px;
  max-height: 130px;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 8px;
  border: 1px solid var(--line);
}
/* Von News, Kooperationsgruppen UND Kosmetik genutzt (kleine Bild-Kachel in
   Tabellenzeilen) — ebenfalls generisch trotz des Namens. */
.news-thumb {
  width: 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.news-thumb-empty {
  width: 56px;
  height: 40px;
  border-radius: 6px;
  background: var(--line);
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  font-size: 14px;
  color: var(--ink);
}
.checkbox-row input { width: auto; }
.icon-button {
  width: 46px;
  height: 46px;
  padding: 0;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-button .nav-icon {
  width: 30px;
  height: 30px;
}
.app-layout {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 32px;
  /* max-height+overflow-y: bei vielen sichtbaren Nav-Einträgen (z.B.
     Super-Admin mit allen Gruppen) kann die Sidebar höher werden als der
     Viewport — ohne das müsste man die ganze Seite scrollen, um die
     unteren Einträge zu erreichen. So bleibt sie eigenständig scrollbar,
     unabhängig vom .content-Scroll, bei kurzem Menü ändert sich nichts
     sichtbar (kein Overflow, keine Scrollbar). */
  max-height: calc(100vh - 64px);
  overflow-y: auto;
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 4px;
}
.sidebar-group-label {
  padding: 4px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}
.sidebar-spacer {
  flex: 1;
}
.content {
  flex: 1;
  min-width: 0;
}
.tab-button {
  display: flex;
  align-items: center;
  /* <button>/<a> bekommt vom Browser standardmäßig justify-content:center
     bzw. Link-Unterstreichung/-Farbe — ohne diese explizite Überschreibung
     wirkte die Icon+Label-Gruppe unterschiedlich weit eingerückt bzw. sah
     wie ein normaler Link statt ein Nav-Eintrag aus. */
  justify-content: flex-start;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  width: 100%;
}
.tab-button:hover {
  background: var(--surface);
  border-color: var(--line);
}
.tab-button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tab-button .nav-icon {
  /* Feste, zentrierte Box statt der reinen SVG-Eigengröße: die Icon-Pfade
     selbst sind nicht alle exakt gleich im 24x24-viewBox zentriert (z.B.
     "shield" vs. "calendar"), dadurch wirkten die Labels bislang wie
     unterschiedlich weit eingerückt. Ein fester Slot mit align/justify-
     center macht jedes Icon optisch exakt gleich weit vom Label entfernt,
     unabhängig vom Pfad selbst. */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
.tab-button .nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.row > div { flex: 1; }
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
/* Basisgröße fürs Icon-SVG (siehe iconSVG()/applyButtonIcons) in JEDEM
   Button, der eins hat — Buttons mit Text+Icon (z.B. "Anmelden",
   "Hinzufügen", siehe BUTTON_ICONS) hatten bisher gar keine eigene
   Icon-Größe und blieben dadurch bei der iconSVG()-Standardgröße (16px)
   hängen, deutlich kleiner als reine Icon-Buttons in Tabellenzeilen
   (.icon-button, 30px). .icon-button/.tab-button oben sind spezifischer
   und überschreiben diese Basisgröße dort weiterhin gezielt (Sidebar-Nav
   bleibt bewusst kompakter, siehe .tab-button .nav-icon-Kommentar).
*/
button .nav-icon {
  width: 30px;
  height: 30px;
}
button:hover { opacity: 0.92; }
button:disabled { opacity: 0.5; cursor: not-allowed; }
button.secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}
button.danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.hint-text {
  font-weight: 400;
  color: var(--ink-dim);
  font-size: 12px;
}
.notice-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}
tr:last-child td { border-bottom: none; }
/* Bewusst KEIN display:flex direkt auf dem td — ein table-cell mit
   überschriebenem display verliert seine normale Zellenhöhe (der Browser
   hängt intern eine anonyme table-cell-Box drumherum), wodurch die
   border-bottom-Linie dieser Spalte nicht mehr auf Höhe der übrigen
   Spalten der Zeile lag, sobald eine andere Zelle durch mehrzeiligen Text
   höher war als die Actions-Zelle — sah wie eine versetzte Trennlinie aus.
   text-align erreicht dieselbe Rechtsbündigkeit, ohne die Zelle zu
   "blockifizieren". */
td.actions {
  text-align: right;
  white-space: nowrap;
}
td.actions button { height: 46px; padding: 0 12px; font-size: 13px; }
td.actions button + button { margin-left: 8px; }
.empty {
  color: var(--ink-dim);
  font-size: 14px;
  padding: 12px 0;
}
.status {
  font-size: 13px;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 8px;
}
.status.error { background: var(--danger-soft); color: var(--danger); }
.status.ok, .status.success { background: var(--accent-soft); color: var(--accent); }
.hidden { display: none; }
.edit-input {
  height: 32px;
  font-size: 13px;
}
.profile-menu {
  position: relative;
  flex-shrink: 0;
}
.profile-trigger {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}
.profile-trigger .nav-icon { width: 20px; height: 20px; }
.profile-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(20, 21, 26, 0.16);
  padding: 6px;
  z-index: 30;
}
.profile-dropdown-name {
  padding: 10px 12px 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  overflow-wrap: break-word;
}
.profile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  text-align: left;
}
.profile-dropdown-item:hover { background: var(--bg); opacity: 1; }
.profile-dropdown-item.danger { color: var(--danger); }
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 21, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 40;
}
.modal-overlay.hidden { display: none; }
.modal-card {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.modal-header h2 { margin: 0; font-size: 16px; font-weight: 800; }
.modal-header .icon-button { width: 34px; height: 34px; }
.modal-header .icon-button .nav-icon { width: 18px; height: 18px; }

/* Horizontal-Scroll-Wrapper um jede Tabelle (siehe Read-Skript beim
   Responsive-Umbau) — unter 880px zwingt table{width:auto} die Tabelle
   zurück auf ihre natürliche (ggf. breitere) Inhaltsbreite, sonst würde
   das globale table{width:100%} die Spalten immer auf Containerbreite
   zusammenquetschen statt den Wrapper scrollen zu lassen. */
.table-scroll { width: 100%; }
.hamburger-button { display: none; }
/* Nav-Collapse-Button: Gegenstück zum Hamburger — nur AB 880px sichtbar
   (unter 880px übernimmt ohnehin der Hamburger/Drawer, ein zweiter Toggle
   wäre dort überflüssig, siehe @media-Block unten). Togglet
   body.wide-mode, siehe shell.js applyWideModePreference/navCollapseButton.
   Seiten, die das Markup nicht einbinden (kein #navCollapseButton), sind
   unbetroffen — shell.js prüft auf null, bevor es etwas anfasst. */
.nav-collapse-button { display: inline-flex; }
/* Höhere Spezifität nötig, sonst gewinnt die Regel direkt darüber gegen
   .hidden{display:none} (gleiche Spezifität, aber diese Regel steht später
   im Stylesheet) — gleiche Falle wie .hamburger-button.hidden unten, der
   Button bliebe vor dem Login/nach dem Abmelden sichtbar. */
.nav-collapse-button.hidden { display: none; }
@media (min-width: 881px) {
  body.wide-mode .sidebar { display: none; }
}
/* Von Kooperationsgruppen, Feature-Flags UND Management (Admin-Rolle-Pille)
   genutzt — generischer Status-Pill trotz des "koop-"-Namens. */
.koop-status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}
.koop-status-pill.draft { background: var(--line); color: var(--ink-dim); }
.koop-status-pill.live { background: var(--accent); color: #fff; }
@media (max-width: 880px) {
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .table-scroll table { width: auto; min-width: 100%; }
  .table-scroll th, .table-scroll td { white-space: nowrap; }

  .page { padding: 16px 14px 64px; }
  .brand-row .subtitle { display: none; }
  .nav-collapse-button { display: none; }

  /* iOS/Android zoomen beim Fokussieren eines Eingabefelds automatisch
     hinein, sobald dessen Schriftgröße unter 16px liegt (hier sonst 14px,
     siehe input/select/textarea-Grundregeln oben) — 16px unterbindet das
     zuverlässig, ohne dafür user-scalable=no im viewport-Meta-Tag setzen zu
     müssen (das würde Pinch-Zoom komplett abschalten, auch dort wo er
     erwünscht ist). */
  input[type="text"],
  input[type="password"],
  input[type="number"],
  input[type="datetime-local"],
  select,
  textarea {
    font-size: 16px;
  }

  /* Formular-/Toolbar-Zeilen (siehe .row) stapeln sich statt sich
     gegenseitig auf schmalen Screens zusammenzuquetschen — betrifft auch
     verschachtelte .row-Button-Gruppen (z.B. RSS-Feed-Toolbar), die dann
     einfach als zusätzliche gestapelte Zeile erscheinen. */
  .row { flex-direction: column; align-items: stretch; }
  .row > button { width: 100%; }

  .hamburger-button { display: inline-flex; }
  /* Höhere Spezifität als die Regel direkt darüber nötig, sonst gewinnt
     .hamburger-button{display:inline-flex} gegen .hidden{display:none}
     (gleiche Spezifität, aber diese Regel steht im Stylesheet später) —
     der Button bliebe nach dem Abmelden sichtbar. */
  .hamburger-button.hidden { display: none; }
  .sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(20, 21, 26, 0.45);
    z-index: 55;
  }
  .sidebar-backdrop.hidden { display: none; }
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 260px;
    max-width: 82vw;
    z-index: 60;
    background: var(--surface);
    padding: 16px 12px;
    overflow-y: auto;
    box-shadow: 8px 0 28px rgba(20, 21, 26, 0.18);
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  .sidebar.open { transform: translateX(0); }
}

/* Markdown-Editor (Notizen UND Wiki, siehe shell.js setMarkdownEditorMode/
   handleMarkdownToolbarAction) — Toolbar + Bearbeiten/Vorschau-Umschalter.
   .md-editor-textarea kommt auf die jeweilige <textarea> der Seite (ersetzt
   eine frühere ID-spezifische Regel, jetzt von mehreren Seiten genutzt). */
.md-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  border: 1px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: var(--bg);
  padding: 6px;
}
.md-tool-btn {
  height: 30px;
  min-width: 30px;
  padding: 0 8px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-weight: 800;
  font-size: 13px;
}
.md-tool-btn:hover { background: var(--surface); color: var(--ink); opacity: 1; }
.md-toolbar-sep {
  width: 1px;
  height: 20px;
  background: var(--line);
  margin: 0 4px;
}
.md-toolbar-spacer { flex: 1; }
.md-tab-btn {
  height: 30px;
  padding: 0 12px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 12px;
}
.md-tab-btn:hover { background: var(--surface); color: var(--ink); opacity: 1; }
.md-tab-btn.active { background: var(--ink); color: #fff; }
.md-editor-textarea {
  border-radius: 0 0 12px 12px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
}
.md-preview {
  border: 1px solid var(--line);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 14px 16px;
  min-height: 220px;
  font-size: 14px;
  line-height: 1.6;
}
.md-preview h1, .md-preview h2, .md-preview h3 { margin: 0.6em 0 0.3em; }
.md-preview p { margin: 0 0 0.8em; }
.md-preview ul, .md-preview ol { margin: 0 0 0.8em; padding-left: 22px; }
.md-preview blockquote {
  margin: 0 0 0.8em;
  padding: 4px 14px;
  border-left: 3px solid var(--line);
  color: var(--ink-dim);
}
.md-preview code {
  background: var(--accent-soft);
  padding: 1px 5px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.md-preview pre {
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  overflow-x: auto;
  margin: 0 0 0.8em;
}
.md-preview pre code { background: none; padding: 0; color: inherit; }
.md-preview hr { border: none; border-top: 1px solid var(--line); margin: 1em 0; }
.md-preview a { color: var(--accent); }

/* Liniendiagramm (siehe shell.js renderLineChart/renderChartLegend, aktuell
   admin/monitoring.html) — SVG skaliert responsiv per viewBox, kein Chart-
   Paket. */
.chart-svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--ink-dim);
  font-size: 13px;
}
.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 10px;
}
.chart-legend-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  border: none;
  background: transparent;
  padding: 2px 4px;
  border-radius: 6px;
  font-family: inherit;
}
/* Legenden-Zeilen sind klickbare <button>, sobald renderChartLegend ein
   onToggle bekommt (siehe createChartPanel) — Klick blendet die Serie im
   Chart aus, nochmal klicken zeigt sie wieder (siehe .chart-legend-row-off
   unten). Reine <div>-Legenden (kein onToggle) bleiben unverändert. */
button.chart-legend-row { cursor: pointer; }
button.chart-legend-row:hover { background: var(--bg); opacity: 1; }
.chart-legend-row-off {
  opacity: 0.45;
}
.chart-legend-row-off .chart-legend-label { text-decoration: line-through; }
.chart-legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}
.chart-legend-label {
  color: var(--ink-dim);
}
.chart-legend-value {
  font-weight: 700;
}

/* Hover-Tooltip + Crosshair (siehe shell.js renderLineChart) — .chart-svg
   liegt in einem position:relative-Container (von renderLineChart selbst
   gesetzt), das Tooltip-<div> ist absolut darin positioniert. */
.chart-tooltip {
  position: absolute;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(20, 21, 26, 0.25);
  z-index: 5;
}
.chart-tooltip-time {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 3px;
}
.chart-tooltip-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.chart-tooltip-swatch {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.range-toggle {
  display: inline-flex;
  gap: 2px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 2px;
}
.range-toggle-btn {
  height: 30px;
  padding: 0 14px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-dim);
  font-weight: 600;
  font-size: 12px;
}
.range-toggle-btn:hover { background: var(--surface); color: var(--ink); opacity: 1; }
.range-toggle-btn.active { background: var(--ink); color: #fff; }

/* Verlaufsleiste (siehe shell.js renderUptimeBar, aktuell admin/status.html)
   — Reihe kleiner Blöcke statt einer echten Kurve, für ein reines
   Online/Offline-Signal. */
.uptime-bar {
  display: flex;
  gap: 2px;
}
.uptime-block {
  flex: 1;
  height: 20px;
  min-width: 2px;
  border-radius: 2px;
  background: var(--line);
}
.uptime-block.uptime-ok { background: #2f9e5c; }
.uptime-block.uptime-down { background: #c0392b; }
.uptime-block.uptime-unknown { background: var(--line); }
