:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --sidebar: #eef4fb;
  --panel: #ffffff;
  --panel-soft: #f6f9fd;
  --panel-strong: #edf4fb;
  --ink: #101828;
  --muted: #667085;
  --line: #d8e2ee;
  --line-strong: #c8d6e5;
  --shadow: 0 18px 50px rgb(16 24 40 / 0.08);
  --up: #2fcf7b;
  --up-soft: rgb(47 207 123 / 0.12);
  --down: #ff5b55;
  --down-soft: rgb(255 91 85 / 0.13);
  --degraded: #f7b731;
  --degraded-soft: rgb(247 183 49 / 0.14);
  --stale: #27b7e7;
  --stale-soft: rgb(39 183 231 / 0.14);
  --unknown: #8b98aa;
  --unknown-soft: rgb(139 152 170 / 0.08);
  --accent: #2fcf7b;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111d;
  --sidebar: #081522;
  --panel: #0d1a29;
  --panel-soft: #122235;
  --panel-strong: #101f31;
  --ink: #f2f7ff;
  --muted: #a7b4c7;
  --line: #213247;
  --line-strong: #2b3d54;
  --shadow: 0 24px 70px rgb(0 0 0 / 0.32);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

h1,
h2,
h3,
p {
  margin: 0;
}

button,
input {
  font: inherit;
}

.app-shell {
  display: grid;
  grid-template-columns: 246px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 18px;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo-frame {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  border-radius: 10px;
  background: #ffffff;
}

.brand-logo {
  display: block;
  width: 100%;
  max-height: 30px;
  object-fit: contain;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
  padding: 18px 0;
}

.admin-only {
  display: none;
}

.admin-mode .admin-only {
  display: flex;
}

.public-mode .sidebar,
.public-mode .sidebar-user {
  display: none;
}

.public-mode .app-shell {
  grid-template-columns: minmax(0, 1fr);
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 0 22px;
  border-left: 4px solid transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-item span {
  width: 20px;
  color: #91a5bd;
  text-align: center;
}

.nav-item-active {
  border-left-color: var(--accent);
  background: var(--panel-soft);
  color: var(--ink);
}

.nav-item-active span {
  color: var(--accent);
}

.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto 10px 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--panel) 66%, transparent);
}

.sidebar-user strong,
.sidebar-user span {
  display: block;
}

.sidebar-user span {
  color: var(--muted);
  font-size: 12px;
}

.user-avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: #8c9aad;
  color: #ced8e6;
  font-size: 13px;
}

.user-avatar.small {
  width: 22px;
  height: 22px;
  font-size: 9px;
}

.workspace {
  min-width: 0;
}

.notice {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.notice[hidden] {
  display: none;
}

.notice-error {
  border-color: color-mix(in srgb, var(--down) 45%, var(--line));
  background: var(--down-soft);
  color: var(--down);
}

.notice-success {
  border-color: color-mix(in srgb, var(--up) 45%, var(--line));
  background: var(--up-soft);
  color: var(--up);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 clamp(18px, 2vw, 28px);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, var(--panel));
}

.live-meta,
.topbar-actions,
.theme-toggle,
.login-button {
  display: flex;
  align-items: center;
}

.live-meta {
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgb(47 207 123 / 0.08);
}

.topbar-actions {
  gap: 18px;
}

.theme-toggle,
.login-button {
  gap: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  user-select: none;
}

.login-button {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
}

.logged-in-mode .login-button {
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  background: var(--up-soft);
  color: var(--ink);
}

.theme-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-track {
  position: relative;
  width: 48px;
  height: 22px;
  border-radius: 999px;
  background: #1aaee8;
}

.toggle-track::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 5px rgb(0 0 0 / 0.28);
  content: "";
  transition: transform 160ms ease;
}

.theme-toggle input:checked + .toggle-track::after {
  transform: translateX(26px);
}

.project-visibility {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.project-visibility-public {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--up-soft);
  color: var(--ink);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.project-overview-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.project-overview-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.project-overview-card p {
  color: var(--muted);
  font-size: 13px;
}

.public-status-card .customer-header {
  border-bottom: 0;
}

.public-mode .public-status-card .customer-header {
  border-bottom: 1px solid var(--line);
}

.public-mode .check-table-head,
.public-mode .check-row {
  grid-template-columns: 62px minmax(190px, 1.6fr) 104px 104px 84px minmax(160px, 1fr);
}

.public-mode .check-table-head-agent,
.public-mode .check-row-agent {
  grid-template-columns: 38px minmax(170px, 1.7fr) minmax(110px, 0.8fr) 82px 92px 70px minmax(120px, 1fr);
}

.public-mode .check-table-head:not(.check-table-head-agent) span:nth-child(6),
.public-mode .alert-routes {
  display: none;
}

.public-mode .check-row {
  cursor: default;
}

.public-mode .check-row:hover,
.public-mode .check-row:focus-visible {
  background: var(--panel-soft);
}

.project-public-form {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-form .project-public-form,
.project-name-form .project-public-form {
  display: inline-flex;
  min-width: auto;
  color: var(--muted);
}

.status-badge {
  min-width: 88px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--unknown);
  color: #fff;
  font-size: 13px;
  font-weight: 850;
}

#overallBadge {
  display: none;
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
}

.public-mode .dashboard {
  grid-template-columns: minmax(0, 1fr);
}

.public-mode .summary,
.public-mode .insight-rail {
  display: none;
}

.view {
  display: none;
}

.view-active {
  display: grid;
}

.secondary-view {
  gap: 16px;
  padding: 18px;
}

.dashboard-main {
  min-width: 0;
}

.page-title {
  margin: 0 0 16px;
}

.page-title h1 {
  font-size: 25px;
  line-height: 1.15;
}

.page-title p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
  margin-bottom: 18px;
  overflow-x: auto;
}

.summary-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.summary-icon {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
}

.summary-copy strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.summary-copy span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-copy span {
  margin-top: 6px;
}

.summary-item-up {
  border-color: color-mix(in srgb, var(--up) 45%, var(--line));
  background: color-mix(in srgb, var(--up-soft) 55%, var(--panel));
}

.summary-item-up .summary-icon {
  background: var(--up-soft);
  color: var(--up);
}

.summary-item-degraded {
  border-color: color-mix(in srgb, var(--degraded) 48%, var(--line));
  background: color-mix(in srgb, var(--degraded-soft) 55%, var(--panel));
}

.summary-item-degraded .summary-icon {
  background: var(--degraded-soft);
  color: var(--degraded);
}

.summary-item-down {
  border-color: color-mix(in srgb, var(--down) 48%, var(--line));
  background: color-mix(in srgb, var(--down-soft) 55%, var(--panel));
}

.summary-item-down .summary-icon {
  background: var(--down-soft);
  color: var(--down);
}

.summary-item-stale {
  border-color: color-mix(in srgb, var(--stale) 48%, var(--line));
  background: color-mix(in srgb, var(--stale-soft) 55%, var(--panel));
}

.summary-item-stale .summary-icon {
  background: var(--stale-soft);
  color: var(--stale);
}

.summary-item-unknown {
  border-color: color-mix(in srgb, var(--unknown) 18%, transparent);
  background: transparent;
  opacity: 0.38;
}

.customers {
  display: grid;
  gap: 16px;
}

.customer-section,
.side-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.customer-header,
.host-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.customer-header {
  min-height: 64px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.customer-name {
  font-size: 18px;
  line-height: 1.2;
}

.customer-meta,
.host-header p,
.meta {
  color: var(--muted);
  font-size: 13px;
}

.customer-meta,
.host-header p {
  margin-top: 5px;
}

.customer-actions,
.host-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.show-all,
.delete-customer,
.row-menu,
.collapse-toggle {
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
}

.show-all {
  min-height: 34px;
  padding: 7px 14px;
  border-color: transparent;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
}

.delete-customer {
  display: none;
  min-height: 34px;
  padding: 7px 11px;
  border-color: color-mix(in srgb, var(--down) 35%, var(--line));
  background: var(--down-soft);
  color: var(--down);
  font-size: 13px;
}

.collapse-toggle {
  min-height: 30px;
  padding: 5px 10px;
  background: color-mix(in srgb, var(--panel-soft) 72%, transparent);
  color: var(--muted);
  font-size: 12px;
}

.collapse-toggle:hover,
.collapse-toggle:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  color: var(--ink);
}

.project-agent-summary {
  display: none;
  gap: 1px;
  padding: 6px;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-soft) 40%, transparent);
}

.is-collapsed > .project-agent-summary {
  display: grid;
}

.project-agent-summary-item {
  display: grid;
  grid-template-columns: 28px minmax(160px, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 6px 10px;
  border-radius: 7px;
  background: var(--panel-soft);
}

.project-agent-summary-item h3 {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-agent-summary-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.customer-section.is-collapsed > .host-list,
.is-collapsed > .check-table-head,
.is-collapsed > .check-list {
  display: none;
}

.admin-mode .delete-customer {
  display: inline-flex;
  align-items: center;
}

.mini-counts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.mini-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.mini-count-up {
  border-color: color-mix(in srgb, var(--up) 24%, var(--line));
  color: var(--up);
}

.mini-count-down {
  border-color: color-mix(in srgb, var(--down) 24%, var(--line));
  color: var(--down);
}

.mini-count-degraded {
  border-color: color-mix(in srgb, var(--degraded) 24%, var(--line));
  color: var(--degraded);
}

.mini-count-stale {
  border-color: color-mix(in srgb, var(--stale) 24%, var(--line));
  color: var(--stale);
}

.mini-count-unknown {
  opacity: 0.38;
}

.host-list {
  display: grid;
  gap: 8px;
  padding: 0;
}

.project-check-table {
  gap: 0;
}

.host-panel + .host-panel {
  border-top: 1px solid var(--line);
}

.host-panel {
  background: transparent;
}

.host-header {
  padding: 10px 14px;
  background: color-mix(in srgb, var(--panel-soft) 72%, transparent);
}

.host-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.host-title h3 {
  font-size: 15px;
  line-height: 1.2;
}

.check-table-head,
.check-row {
  display: grid;
  grid-template-columns: 38px minmax(170px, 1.7fr) 92px 92px 70px 82px minmax(130px, 1fr) 30px;
  align-items: center;
  column-gap: 10px;
}

.check-table-head-agent,
.check-row-agent {
  grid-template-columns: 38px minmax(170px, 1.7fr) minmax(110px, 0.8fr) 82px 92px 70px 82px minmax(120px, 1fr) 30px;
}

.check-table-head {
  min-height: 34px;
  padding: 0 12px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.check-list {
  display: grid;
  gap: 1px;
  padding: 5px;
  background: color-mix(in srgb, var(--panel-soft) 40%, transparent);
}

.check-row {
  min-height: 48px;
  padding: 5px 6px 5px 8px;
  border-radius: 7px;
  background: var(--panel-soft);
  cursor: pointer;
}

.check-row:hover,
.check-row:focus-visible {
  background: color-mix(in srgb, var(--panel-soft) 78%, var(--panel));
}

.check-row:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 2px;
}

.check-title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.check-title h2 {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.type-icon {
  width: 20px;
  flex: 0 0 20px;
  font-size: 16px;
  text-align: center;
}

.metric {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.alert-routes {
  display: flex;
  align-items: center;
  gap: 4px;
}

.alert-route {
  display: inline-grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--unknown) 24%, transparent);
  border-radius: 50%;
  color: var(--unknown);
  font-size: 13px;
  opacity: 0.38;
}

.alert-route-active {
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--up-soft);
  color: var(--ink);
  opacity: 1;
}

.status-dot {
  width: 13px;
  height: 13px;
  margin-left: 7px;
  border-radius: 50%;
  background: var(--unknown);
}

.timeline {
  min-width: 0;
  width: 100%;
  height: 24px;
  overflow: hidden;
}

.timeline-chart {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bucket {
  shape-rendering: geometricPrecision;
  fill: var(--unknown);
}

.row-menu {
  width: 26px;
  height: 30px;
  border-color: transparent;
  background: color-mix(in srgb, var(--panel) 70%, transparent);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
}

.insight-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.side-panel header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
}

.side-panel h2 {
  font-size: 16px;
}

.side-panel > div {
  padding: 18px 20px;
}

.data-panel,
.settings-card,
.loading-panel,
.empty-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.loading-panel,
.empty-panel {
  padding: 24px;
  color: var(--muted);
  font-weight: 700;
}

.data-table {
  display: grid;
}

.data-row {
  display: grid;
  grid-template-columns: 32px minmax(240px, 1fr) 110px 110px 190px;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 14px 18px;
}

.data-row + .data-row {
  border-top: 1px solid var(--line);
}

.data-row strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.data-row p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.agent-management {
  display: grid;
  gap: 14px;
}

.agent-card {
  overflow: hidden;
}

.agent-card-header {
  display: grid;
  grid-template-columns: 32px minmax(220px, 1fr) 110px 110px 110px 190px auto;
  align-items: center;
  gap: 16px;
  min-height: 74px;
  padding: 14px 18px;
}

.agent-card-header strong {
  display: block;
}

.agent-card-header p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.agent-card-header .dot-up {
  animation: live-agent-pulse 1.4s ease-in-out infinite;
}

@keyframes live-agent-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(47 207 123 / 0.46);
  }

  50% {
    box-shadow: 0 0 0 8px rgb(47 207 123 / 0);
  }
}

.agent-name-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-name-form input {
  min-width: 0;
  width: min(280px, 100%);
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 800;
}

.toggle-agent,
.agent-name-form button,
.managed-check-form button,
.managed-check-item button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.toggle-agent-approve {
  border-color: color-mix(in srgb, var(--accent) 72%, var(--line));
  background: var(--accent);
  color: #06140d;
  animation: approve-pulse 1.4s ease-in-out infinite;
}

@keyframes approve-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(47 207 123 / 0.42);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 0 0 8px rgb(47 207 123 / 0);
    transform: translateY(-1px);
  }
}

.managed-checks {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--panel-soft) 45%, transparent);
}

.agent-enrollment-panel {
  margin-bottom: 16px;
  overflow: hidden;
}

.agent-enrollment-panel .panel-header p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.agent-enrollment-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(180px, 240px) 150px auto;
  align-items: end;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.agent-enrollment-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.agent-enrollment-form input,
.agent-enrollment-form select {
  min-height: 36px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.agent-enrollment-form button,
.copy-agent-command {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--accent);
  color: #06140d;
  cursor: pointer;
  font-weight: 850;
}

.agent-enrollment-form button {
  padding: 0 14px;
}

.agent-enrollment-result {
  display: grid;
  gap: 14px;
  padding: 16px 20px 20px;
}

.agent-enrollment-result h3 {
  font-size: 16px;
}

.agent-enrollment-result p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

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

.agent-command-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.agent-command-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.copy-agent-command {
  min-height: 30px;
  padding: 0 10px;
  background: var(--panel);
  color: var(--ink);
  font-size: 12px;
}

.agent-command-card pre {
  min-height: 124px;
  max-height: 260px;
  margin: 0;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--panel) 75%, #000 8%);
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
}

.managed-check-form {
  display: grid;
  grid-template-columns: 170px 120px minmax(220px, 1fr) 80px 120px 150px auto auto auto;
  gap: 10px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.managed-check-form input,
.managed-check-form select {
  min-height: 36px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
}

.managed-check-list {
  display: grid;
}

.managed-check-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
}

.managed-check-item + .managed-check-item {
  border-top: 1px solid var(--line);
}

.managed-check-item p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.managed-check-target-label {
  color: var(--ink);
  font-weight: 800;
}

.managed-check-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.project-settings-panel {
  margin-top: 16px;
}

.project-form,
.project-name-form {
  display: flex;
  align-items: end;
  gap: 10px;
}

.project-form {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.project-form label {
  display: grid;
  gap: 6px;
  min-width: min(320px, 100%);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.project-form input,
.project-name-form input {
  min-height: 36px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--ink);
}

.project-form button,
.project-name-form button,
.save-project-alerts {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.project-list {
  display: grid;
}

.project-item {
  display: grid;
  gap: 12px;
  padding: 14px 18px;
}

.project-item + .project-item {
  border-top: 1px solid var(--line);
}

.project-alert-options {
  display: grid;
  gap: 10px;
}

.alert-options-inline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

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

.settings-card {
  padding: 20px;
}

.settings-card h2 {
  margin-bottom: 18px;
  font-size: 17px;
}

.settings-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.settings-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.settings-card dt {
  color: var(--muted);
  font-size: 13px;
}

.settings-card dd {
  margin: 0;
  text-align: right;
  font-size: 13px;
  font-weight: 800;
  word-break: break-word;
}

.panel-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.panel-header h2 {
  font-size: 17px;
}

.panel-header p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.config-transfer-panel {
  margin-top: 16px;
}

.config-transfer-actions {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr);
  align-items: end;
  gap: 14px;
  padding: 16px 20px;
}

.config-transfer-actions button,
.config-upload-form button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.config-upload-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.config-upload-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.config-upload-form input {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.destination-form {
  display: grid;
  grid-template-columns: 150px 190px minmax(260px, 1fr) auto auto;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.destination-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.destination-form input,
.destination-form select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.destination-form button,
.destination-actions button,
.dialog button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.destination-form button {
  align-self: end;
  padding: 0 14px;
  border-color: transparent;
  background: var(--accent);
  color: #fff;
}

.destination-list {
  display: grid;
}

.history-panel {
  overflow: hidden;
}

.history-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.history-toolbar h2 {
  font-size: 17px;
}

.history-toolbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.history-toolbar label {
  display: grid;
  min-width: min(360px, 100%);
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.history-toolbar select {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.history-list {
  display: grid;
}

.history-event {
  display: grid;
  grid-template-columns: 36px minmax(220px, 1fr) minmax(190px, auto) 180px;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 14px 20px;
}

.history-event + .history-event {
  border-top: 1px solid var(--line);
}

.history-status {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--unknown);
  font-weight: 900;
}

.history-event-main {
  min-width: 0;
}

.history-event-main strong,
.history-event-main p,
.history-event-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-event-main strong {
  font-size: 14px;
}

.history-event-main p,
.history-event-main small,
.history-event-meta {
  color: var(--muted);
  font-size: 12px;
}

.history-event-main p {
  margin-top: 4px;
}

.history-event-main small {
  margin-top: 5px;
}

.history-transition {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.status-pill-up {
  border-color: color-mix(in srgb, var(--up) 35%, var(--line));
  color: var(--up);
}

.status-pill-down {
  border-color: color-mix(in srgb, var(--down) 35%, var(--line));
  color: var(--down);
}

.status-pill-degraded {
  border-color: color-mix(in srgb, var(--degraded) 35%, var(--line));
  color: var(--degraded);
}

.status-pill-stale {
  border-color: color-mix(in srgb, var(--stale) 35%, var(--line));
  color: var(--stale);
}

.status-pill-unknown {
  opacity: 0.45;
}

.history-event-meta {
  display: grid;
  justify-items: end;
  gap: 5px;
  font-variant-numeric: tabular-nums;
}

.notification-log-panel {
  margin-top: 18px;
  overflow: hidden;
}

.notification-log-list {
  display: grid;
}

.notification-log {
  display: grid;
  grid-template-columns: 36px minmax(220px, 1fr) 190px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 14px 20px;
}

.notification-log + .notification-log {
  border-top: 1px solid var(--line);
}

.notification-log-icon {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--degraded);
  font-weight: 900;
}

.notification-log-success .notification-log-icon {
  color: var(--up);
}

.notification-log-main {
  min-width: 0;
}

.notification-log-main strong,
.notification-log-main p,
.notification-log-main small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notification-log-main strong {
  font-size: 14px;
}

.notification-log-main p,
.notification-log-main small,
.notification-log-meta {
  color: var(--muted);
  font-size: 12px;
}

.notification-log-main p {
  margin-top: 4px;
}

.notification-log-main small {
  margin-top: 5px;
}

.notification-log-meta {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-variant-numeric: tabular-nums;
}

.system-log-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 190px 190px;
  align-items: end;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.system-log-toolbar p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.system-log-toolbar label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.system-log-toolbar select {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.system-log-list {
  display: grid;
}

.system-log-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.7fr);
  gap: 16px;
  padding: 14px 20px;
}

.system-log-entry + .system-log-entry {
  border-top: 1px solid var(--line);
}

.system-log-entry strong {
  display: block;
}

.system-log-entry p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.system-log-entry pre {
  max-height: 220px;
  margin: 0;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 12px;
  white-space: pre-wrap;
}

.system-log-level {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--unknown-soft);
  color: var(--ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.system-log-error .system-log-level {
  background: var(--down-soft);
}

.system-log-warn .system-log-level {
  background: var(--degraded-soft);
}

.system-log-info .system-log-level,
.system-log-debug .system-log-level {
  background: var(--up-soft);
}

.destination-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}

.destination-item + .destination-item {
  border-top: 1px solid var(--line);
}

.destination-item p,
.empty-inline {
  color: var(--muted);
  font-size: 12px;
}

.destination-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.destination-actions button {
  padding: 0 12px;
}

.destination-actions button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.test-destination {
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
  background: var(--up-soft);
}

.empty-inline {
  padding: 16px 20px;
}

.dialog {
  width: min(520px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgb(0 0 0 / 0.55);
}

.dialog header,
.dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.dialog footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  justify-content: flex-end;
}

.dialog h2 {
  font-size: 18px;
}

.dialog p {
  padding: 14px 18px 0;
  color: var(--muted);
  font-size: 13px;
}

.login-fields {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
}

.login-fields label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.login-fields input {
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--ink);
}

.login-status {
  min-height: 18px;
  padding: 0;
  font-weight: 800;
}

.login-dialog button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.icon-button {
  width: 34px;
  padding: 0;
  font-size: 20px;
}

.alert-options {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
}

.alert-option {
  display: grid;
  grid-template-columns: 20px 28px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
}

.alert-option strong,
.alert-option small {
  display: block;
}

.alert-option small {
  margin-top: 3px;
  color: var(--muted);
}

.empty-state {
  display: grid;
  min-height: 142px;
  place-items: center;
  text-align: center;
}

.empty-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  place-items: center;
  border: 3px solid var(--up);
  border-radius: 50%;
  color: var(--up);
  font-size: 24px;
  font-weight: 900;
}

.empty-state p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.side-list-item {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.side-list-item + .side-list-item {
  border-top: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.side-status {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--unknown);
  font-weight: 900;
}

.side-list-item strong {
  display: block;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-list-item p,
.side-list-item time {
  color: var(--muted);
  font-size: 12px;
}

.side-list-item-up .side-status {
  color: var(--up);
}

.side-list-item-down .side-status {
  color: var(--down);
}

.side-list-item-degraded .side-status {
  color: var(--degraded);
}

.side-list-item-stale .side-status {
  color: var(--stale);
}

.history-event-up .history-status {
  color: var(--up);
}

.history-event-down .history-status {
  color: var(--down);
}

.history-event-degraded .history-status {
  color: var(--degraded);
}

.history-event-stale .history-status {
  color: var(--stale);
}

.system-overview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.donut {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--panel) 0 52%, transparent 53%),
    conic-gradient(
      var(--up) 0 var(--up-end),
      var(--degraded) var(--up-end) var(--degraded-end),
      var(--down) var(--degraded-end) var(--down-end),
      var(--stale) var(--down-end) var(--stale-end),
      color-mix(in srgb, var(--unknown) 26%, transparent) var(--stale-end) 100%
    );
  text-align: center;
}

.donut strong,
.donut span {
  grid-area: 1 / 1;
}

.donut strong {
  align-self: center;
  margin-top: -12px;
  font-size: 24px;
}

.donut span {
  align-self: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
}

.legend {
  display: grid;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--unknown);
}

.legend-dot-up,
.status-up,
.dot-up {
  background: var(--up);
}

.bucket-up {
  fill: var(--up);
}

.legend-dot-down,
.status-down,
.dot-down {
  background: var(--down);
}

.bucket-down {
  fill: var(--down);
}

.legend-dot-degraded,
.status-degraded,
.dot-degraded {
  background: var(--degraded);
}

.bucket-degraded {
  fill: var(--degraded);
}

.legend-dot-stale,
.status-stale,
.dot-stale {
  background: var(--stale);
}

.bucket-stale {
  fill: var(--stale);
}

.status-unknown {
  border-color: color-mix(in srgb, var(--unknown) 20%, transparent);
  background: transparent;
  color: var(--unknown);
  opacity: 0.35;
}

.dot-unknown {
  background: transparent;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--unknown) 38%, transparent);
  opacity: 0.42;
}

.bucket-unknown {
  fill: color-mix(in srgb, var(--unknown) 18%, transparent);
  opacity: 0.24;
}

@media (min-width: 1560px) {
  .dashboard {
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .insight-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .insight-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .settings-grid {
    grid-template-columns: 1fr;
  }

  .agent-command-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1320px) and (min-width: 1181px) {
  .insight-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
    max-width: 100vw;
    overflow: hidden;
  }

  .sidebar-nav {
    display: flex;
    gap: 0;
    overflow-x: auto;
    width: 100%;
    padding: 0 10px 12px;
  }

  .nav-item {
    min-width: max-content;
    border-left: 0;
    border-bottom: 3px solid transparent;
  }

  .nav-item-active {
    border-bottom-color: var(--accent);
  }

  .sidebar-user {
    display: none;
  }

  .topbar,
  .customer-header,
  .host-header,
  .history-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-rail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-actions,
  .customer-actions {
    flex-wrap: wrap;
  }

  .dashboard {
    padding: 14px;
  }

  .secondary-view {
    padding: 14px;
  }

  .summary {
    grid-template-columns: repeat(5, 150px);
  }

  .check-table-head {
    display: none;
  }

  .check-row {
    grid-template-columns: 24px minmax(0, 1fr) 30px;
    row-gap: 8px;
  }

  .data-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .agent-card-header {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .agent-card-header > div:not(:first-of-type),
  .agent-card-header .toggle-agent {
    grid-column: 2;
  }

  .managed-check-form {
    grid-template-columns: 1fr;
  }

  .agent-enrollment-form {
    grid-template-columns: 1fr;
  }

  .data-row > div:not(:first-of-type) {
    grid-column: 2;
  }

  .check-title {
    grid-column: 2;
  }

  .check-type,
  .latency,
  .interval,
  .alert-routes,
  .timeline {
    grid-column: 2 / -1;
  }

  .destination-form {
    grid-template-columns: 1fr;
  }

  .config-transfer-actions,
  .config-upload-form {
    grid-template-columns: 1fr;
  }

  .history-event {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .notification-log {
    grid-template-columns: 30px minmax(0, 1fr);
  }

  .history-transition,
  .history-event-meta,
  .notification-log-meta {
    grid-column: 2;
    justify-content: flex-start;
    justify-items: start;
  }

  .row-menu {
    grid-column: 3;
    grid-row: 1;
  }

  .timeline {
    grid-column: 2 / -1;
    width: 100%;
    height: 34px;
  }

  .public-mode .topbar {
    flex-direction: row;
    align-items: center;
    min-height: auto;
    gap: 10px;
    padding: 6px 8px;
  }

  .public-mode .topbar-actions {
    width: auto;
    gap: 8px;
    margin-left: auto;
    flex-wrap: nowrap;
  }

  .public-mode .dashboard,
  .public-mode .secondary-view {
    padding: 6px;
  }

  .public-mode .page-title {
    display: none;
  }

  .public-mode .live-meta {
    gap: 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .public-mode .theme-toggle,
  .public-mode .login-button {
    gap: 6px;
    font-size: 12px;
  }

  .public-mode .toggle-track {
    width: 40px;
    height: 20px;
  }

  .public-mode .toggle-track::after {
    width: 14px;
    height: 14px;
  }

  .public-mode .theme-toggle input:checked + .toggle-track::after {
    transform: translateX(20px);
  }

  .public-mode .status-badge {
    min-width: 88px;
    min-height: 38px;
    padding: 7px 12px;
  }

  .public-mode .customer-meta,
  .public-mode .meta,
  .public-mode .metric {
    font-size: 12px;
  }

  .public-mode .customer-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px 10px;
  }

  .public-mode .customer-header > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 10px;
    min-width: 0;
  }

  .public-mode .customer-name {
    font-size: 18px;
  }

  .public-mode .customer-actions {
    gap: 7px;
  }

  .public-mode .status-pill,
  .public-mode .project-visibility,
  .public-mode .collapse-toggle,
  .public-mode .mini-count {
    min-height: 26px;
    padding: 3px 8px;
    font-size: 11px;
  }

  .public-mode .check-list {
    gap: 1px;
    padding: 0;
  }

  .public-mode .check-row-agent,
  .public-check-row {
    grid-template-areas:
      "status title interval type"
      ". timeline timeline timeline"
      ". agent latency latency";
    grid-template-columns: 28px minmax(0, 1fr) 72px 86px;
    align-items: start;
    row-gap: 6px;
    column-gap: 8px;
    min-height: 0;
    padding: 10px 14px 11px;
    border-radius: 0;
  }

  .public-mode .check-row-agent > .status-dot,
  .public-check-row > .status-dot {
    grid-area: status;
    margin: 5px 0 0 4px;
  }

  .public-mode .check-row-agent > .check-title,
  .public-check-row > .check-title {
    grid-area: title;
  }

  .public-mode .check-row-agent > .agent-cell,
  .public-check-row > .agent-cell {
    grid-area: agent;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-mode .check-row-agent > .check-type,
  .public-check-row > .check-type {
    grid-area: type;
    text-align: right;
  }

  .public-mode .check-row-agent > .latency,
  .public-check-row > .latency {
    grid-area: latency;
    text-align: right;
  }

  .public-mode .check-row-agent > .interval,
  .public-check-row > .interval {
    grid-area: interval;
  }

  .public-mode .check-row-agent > .timeline,
  .public-check-row > .timeline {
    grid-area: timeline;
    min-width: 0;
    width: 100%;
    height: 22px;
    margin-top: 0;
  }

  .public-mode .check-title {
    gap: 7px;
  }

  .public-mode .check-title h2 {
    font-size: 12px;
  }

  .public-mode .type-icon {
    width: 17px;
    flex-basis: 17px;
    font-size: 14px;
  }
}
