/* Page-specific reading rhythm and article arrangement. */
.home-notes {
  margin-top: 24px;
}
.home-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.home-articles > * {
  min-width: 0;
}
.home-start-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: var(--r-window);
  background: var(--text);
  color: var(--surface);
  box-shadow: var(--shadow-soft);
}
.home-start-band p {
  min-width: 0;
  margin: 0;
  font-size: var(--size-lead);
  font-weight: var(--weight-medium);
}
.home-start-band .btn {
  flex-shrink: 0;
}

/* The generated status component stays in normal document flow. */
.server-status:empty {
  display: none;
}
.server-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.server-status > * {
  min-width: 0;
}
.server-status > :not(.srv-row) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  grid-column: 1 / -1;
}
.server-status .srv-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--panel);
  color: var(--text);
  box-shadow: inset 0 1px 0 var(--hi), var(--shadow-soft);
  font-size: var(--size-small);
}
.server-status .srv-dot {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: var(--r-round);
  background: var(--ink-teal);
}
.server-status .srv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 24px;
  width: 24px;
  height: 18px;
  overflow: hidden;
  border-radius: var(--r-side);
}
.server-status .srv-flag svg,
.server-status .srv-flag img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.server-status .srv-name {
  min-width: 0;
  flex: 1 1 90px;
  overflow-wrap: anywhere;
  font-weight: var(--weight-semibold);
}
.server-status .srv-type {
  max-width: 100%;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  color: var(--indigo);
  background: rgb(var(--indigo-rgb) / .10);
  font-size: var(--size-caption);
  overflow-wrap: anywhere;
}
.server-status .srv-ms,
.server-status .srv-bw {
  font-family: var(--font-mono);
  font-size: var(--size-caption);
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}
@media (max-width: 768px) {
  .home-articles {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-start-band {
    flex-direction: column;
    align-items: flex-start;
  }
  .server-status,
  .server-status > :not(.srv-row) {
    grid-template-columns: minmax(0, 1fr);
  }
}