body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.1), transparent 24%),
    linear-gradient(180deg, #0b1220 0%, #101827 100%);
  color: #e5eefc;
}

.page {
  max-width: 1780px;
  margin: 0 auto;
  padding: 20px 20px 36px;
}

h1, h2, p {
  margin: 0;
}

.sub, .muted, .tiny {
  color: #94a3b8;
}

.sub.strong {
  color: #dbeafe;
  margin-top: 10px;
  font-weight: 700;
}

.overview-reasons,
.overview-capacity {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.overview-reason,
.overview-ok,
.overview-capacity span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #dbeafe;
  line-height: 1.35;
}

.overview-reason strong {
  font-size: 13px;
}

.overview-reason small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
}

.overview-ok {
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.2);
}

.overview-capacity span {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.hero-compact {
  grid-template-columns: minmax(0, 1.5fr) minmax(360px, 0.5fr);
}

.hero-copy,
.hero-actions,
.card {
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.hero-copy,
.hero-actions {
  padding: 14px 18px;
}

.eyebrow {
  margin-bottom: 8px;
  color: #38bdf8;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero-copy h1 {
  font-size: 26px;
  line-height: 1.15;
}

.hero-side-inline {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.badge {
  padding: 7px 13px;
  border-radius: 999px;
  background: #1e293b;
  font-weight: 800;
  font-size: 14px;
}

.action-btn {
  appearance: none;
  border: 1px solid rgba(96, 165, 250, 0.24);
  background: #172033;
  color: #e5eefc;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.action-btn.primary {
  background: linear-gradient(180deg, #0ea5e9, #2563eb);
  border-color: rgba(125, 211, 252, 0.4);
}

.release-gate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 16px;
  margin-bottom: 16px;
}

.release-gate-card {
  padding: 18px;
}

.release-gate-primary {
  background:
    radial-gradient(circle at top right, rgba(14, 165, 233, 0.12), transparent 28%),
    rgba(15, 23, 42, 0.94);
}

.release-gate-head {
  align-items: flex-start;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 86px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(30, 41, 59, 0.92);
  color: #e2e8f0;
}

.status-pass {
  background: rgba(22, 163, 74, 0.18);
  border-color: rgba(34, 197, 94, 0.38);
  color: #bbf7d0;
}

.status-warn {
  background: rgba(217, 119, 6, 0.18);
  border-color: rgba(251, 191, 36, 0.38);
  color: #fde68a;
}

.status-hold {
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
}

.status-fail {
  background: rgba(185, 28, 28, 0.2);
  border-color: rgba(248, 113, 113, 0.42);
  color: #fecaca;
}

.status-loading {
  background: rgba(30, 41, 59, 0.92);
  border-color: rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}

.release-kv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.release-kv-card,
.release-timer-box {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.12);
}

.release-kv-card span,
.release-timer-box span,
.release-reason-title,
.release-helper span {
  color: #93a6c6;
  font-size: 12px;
  font-weight: 800;
}

.release-kv-card strong,
.release-timer-box strong,
.release-helper strong {
  color: #f8fbff;
  font-size: 16px;
  line-height: 1.45;
}

.release-reason-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.release-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.release-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(30, 41, 59, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.release-chip.warn {
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.26);
}

.release-chip.block {
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.26);
}

.release-chip.muted {
  color: #94a3b8;
}

.release-timer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.release-helper {
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(17, 24, 39, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(360px, 0.7fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.sidebar-stack {
  display: grid;
  gap: 16px;
}

.card {
  padding: 18px 18px 20px;
}

.summary-primary {
  background: linear-gradient(180deg, rgba(8, 47, 73, 0.95), rgba(15, 23, 42, 0.95));
}

.summary-panel .compact-metric {
  margin-top: 16px;
}

.metric {
  margin-top: 10px;
  font-size: 44px;
  font-weight: 900;
}

.metric.small {
  font-size: 18px;
  line-height: 1.5;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #67e8f9;
  font-size: 12px;
  font-weight: 800;
}

.chip-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chip-button {
  border: 0;
  cursor: pointer;
}

.chip-button:disabled {
  opacity: 0.55;
  cursor: wait;
}

.hidden {
  display: none !important;
}

.ops-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  padding: 10px;
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.86);
}

.ops-tab-button {
  appearance: none;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: #172033;
  color: #cbd5e1;
  border-radius: 12px;
  padding: 10px 13px;
  font-weight: 900;
  font-size: 12px;
  cursor: pointer;
}

.ops-tab-button.active {
  background: linear-gradient(180deg, #0891b2, #2563eb);
  border-color: rgba(125, 211, 252, 0.5);
  color: #fff;
}

.ops-tab-panel {
  margin-bottom: 16px;
}

.compare-primary {
  min-height: 780px;
}

.compare-head {
  margin-bottom: 12px;
}

.compare-sub {
  margin-top: 6px;
}

.compare-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

.compare-search,
.compare-select,
.compare-tool-btn {
  min-height: 34px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  background: #172033;
  color: #e5eefc;
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  outline: none;
}

.compare-search::placeholder {
  color: #64748b;
}

.compare-search:focus,
.compare-select:focus {
  border-color: rgba(103, 232, 249, 0.65);
}

.compare-tool-btn {
  cursor: pointer;
}

.compare-tool-btn:hover {
  background: #1e293b;
}

.compare-filter-count {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.compare-card {
  min-height: 760px;
}

.compare-viewport-hint {
  margin: 10px 0 12px;
  color: #93a6c6;
  font-size: 12px;
  font-weight: 800;
}

.compare-table-wrap {
  overflow: auto;
  min-height: 520px;
  height: clamp(520px, 58vh, 760px);
  max-height: 760px;
  border-radius: 18px;
  border: 1px solid rgba(56, 189, 248, 0.12);
  background: rgba(9, 14, 28, 0.96);
  scrollbar-gutter: stable both-edges;
}

@media (max-width: 1120px) {
  .hero-compact,
  .release-gate-grid {
    grid-template-columns: 1fr;
  }

  .release-kv-grid,
  .release-reason-wrap,
  .release-timer-grid {
    grid-template-columns: 1fr;
  }

  .compare-card {
    min-height: 0;
  }

  .compare-table-wrap {
    min-height: 360px;
    height: 420px;
  }
}

.compare-table {
  width: 100%;
  min-width: 1220px;
  border-collapse: collapse;
}

.compare-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 13px 12px;
  text-align: left;
  font-size: 12px;
  color: #a8bbd8;
  background: #0b1224;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.compare-table tbody td {
  padding: 12px 12px;
  vertical-align: middle;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.compare-table th:nth-child(1),
.compare-table td:nth-child(1),
.compare-table th:nth-child(4),
.compare-table td:nth-child(4),
.compare-table th:nth-child(5),
.compare-table td:nth-child(5),
.compare-table th:nth-child(6),
.compare-table td:nth-child(6) {
  white-space: nowrap;
}

.compare-table th:nth-child(5),
.compare-table td:nth-child(5) {
  width: 280px;
}

.compare-table th:nth-child(6),
.compare-table td:nth-child(6) {
  width: 320px;
}

.compare-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.06);
}

.compare-streamer {
  display: grid;
  gap: 2px;
}

.compare-streamer strong {
  font-size: 15px;
  line-height: 1.2;
}

.compare-streamer small,
.compare-uuid {
  color: #94a3b8;
  font-size: 12px;
  line-height: 1.25;
  word-break: break-all;
}

.compare-amount {
  color: #e5eefc;
  font-weight: 700;
}

.compare-badge,
.compare-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 8px 10px;
  border-radius: 14px;
  font-weight: 800;
  font-size: 13px;
}

.compare-badge.main {
  background: #2563eb;
  color: #eff6ff;
}

.compare-badge.backup {
  background: #eab308;
  color: #fff8db;
}

.compare-badge.none {
  background: #334155;
  color: #94a3b8;
}

.compare-badge.db.saved {
  background: #0f766e;
  color: #ecfeff;
}

.compare-badge.db.pending,
.compare-result.db_wait {
  background: #f97316;
  color: #fff7ed;
}

.compare-badge.db.failed,
.compare-result.db_fail {
  background: #dc2626;
  color: #fff1f2;
}

.compare-badge.db.unknown,
.compare-result.unknown {
  background: #475569;
  color: #e2e8f0;
}

.compare-badge small {
  display: block;
  font-size: 9px;
  line-height: 1;
  margin-top: 3px;
  opacity: 0.9;
}

.compare-result {
  min-width: 136px;
}

.compare-stage-cell {
  display: grid;
  gap: 8px;
}

.compare-stage-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.compare-stage-summary {
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
}

.compare-result.matched {
  background: #16a34a;
  color: #f0fdf4;
}

.compare-result.recovered {
  background: #0f766e;
  color: #ecfeff;
}

.compare-result.processing {
  background: #2563eb;
  color: #eff6ff;
}

.compare-result.warning {
  background: #f97316;
  color: #fff7ed;
}

.compare-result.critical,
.compare-result.missing {
  background: #ef4444;
  color: #fff1f2;
}

.compare-result.main_only,
.compare-result.backup_only {
  background: #ef4444;
  color: #fff1f2;
}

.latency-warnings {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.compare-result-reason {
  margin-top: 6px;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 800;
  word-break: break-all;
}

.latency-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.18);
  color: #fde68a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.latency-badge.normal {
  background: rgba(34, 197, 94, 0.16);
  color: #bbf7d0;
}

.latency-badge.db,
.latency-badge.process,
.latency-badge.gap {
  background: rgba(249, 115, 22, 0.2);
  color: #fed7aa;
}

.compare-delay {
  color: #a5b4fc;
  font-size: 11px;
  line-height: 1.25;
}

.table-empty {
  color: #94a3b8;
  text-align: center;
}

.bottleneck-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.metric-card {
  min-height: 86px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #172033;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.metric-card span {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-card strong {
  display: block;
  color: #e5eefc;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  word-break: break-word;
}

.metric-card em {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.empty-hint {
  margin-top: 14px;
  padding: 16px;
  border-radius: 14px;
  background: #172033;
  border: 1px solid rgba(148, 163, 184, 0.08);
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.server-log-card {
  padding-bottom: 16px;
}

.server-log-toolbar {
  display: grid;
  grid-template-columns: minmax(420px, auto) 150px minmax(220px, 1fr) auto auto auto;
  gap: 10px;
  align-items: center;
  margin: 14px 0;
}

.server-log-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.server-log-source-btn {
  appearance: none;
  min-height: 34px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: #172033;
  color: #cbd5e1;
  border-radius: 12px;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.server-log-source-btn.active {
  background: linear-gradient(180deg, #0891b2, #2563eb);
  border-color: rgba(125, 211, 252, 0.5);
  color: #fff;
}

.check-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 12px;
  background: #172033;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.server-log-full-view {
  width: 100%;
  min-height: 680px;
  max-height: 80vh;
  box-sizing: border-box;
  overflow: auto;
  margin: 0;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: #050914;
  color: #dbeafe;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.two-column h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.bundle-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

/* OPS can render the admin cross-check fragment without Tailwind loaded.
   Keep that table usable and dense from plain CSS as well. */
#crossCompareLayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 14px;
  align-items: start;
}

#crossCompareLayout section {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  padding: 16px;
}

#crossCompareLayout section:first-child {
  height: calc(100vh - 190px);
  min-height: 720px;
  display: flex;
  flex-direction: column;
}

#crossCompareLayout section:first-child > div:last-child {
  flex: 1;
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  background: rgba(9, 14, 28, 0.96);
}

#crossCompareLayout h2 {
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 8px;
}

#crossCompareLayout input,
#crossCompareLayout select,
#crossCompareLayout button {
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  background: #172033;
  color: #e5eefc;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 10px;
}

#crossCompareLayout input {
  min-width: 320px;
}

#crossFilterResultText {
  color: #67e8f9;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

#crossCompareLayout table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left;
  font-size: 12px;
}

#crossCompareLayout thead {
  position: sticky;
  top: 0;
  z-index: 2;
}

#crossCompareLayout thead tr {
  background: #0b1224;
}

#crossCompareLayout th {
  padding: 10px 8px;
  color: #a8bbd8;
  font-size: 11px;
  font-weight: 900;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  white-space: nowrap;
}

#crossCompareLayout th:nth-child(1),
#crossCompareBody td:nth-child(1) {
  width: 78px;
}

#crossCompareLayout th:nth-child(2),
#crossCompareBody td:nth-child(2) {
  width: 132px;
}

#crossCompareLayout th:nth-child(3),
#crossCompareBody td:nth-child(3) {
  width: 116px;
}

#crossCompareLayout th:nth-child(4),
#crossCompareBody td:nth-child(4) {
  width: 82px;
}

#crossCompareLayout th:nth-child(5),
#crossCompareBody td:nth-child(5),
#crossCompareLayout th:nth-child(6),
#crossCompareBody td:nth-child(6) {
  width: 70px;
  text-align: center;
}

#crossCompareLayout th:nth-child(7),
#crossCompareBody td:nth-child(7) {
  width: 330px;
  text-align: center;
}

#crossCompareLayout th:nth-child(8),
#crossCompareBody td:nth-child(8) {
  width: 130px;
}

#crossCompareBody tr {
  background: rgba(15, 23, 42, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

#crossCompareBody tr:hover {
  background: rgba(59, 130, 246, 0.08);
}

#crossCompareBody td {
  padding: 9px 8px;
  vertical-align: middle;
  line-height: 1.25;
}

#crossCompareBody td:nth-child(1),
#crossCompareBody td:nth-child(8) {
  color: #94a3b8;
  font-size: 11px;
  word-break: break-all;
}

#crossCompareBody td:nth-child(2),
#crossCompareBody td:nth-child(3),
#crossCompareBody td:nth-child(4) {
  color: #e5eefc;
  font-size: 13px;
  font-weight: 800;
}

#crossCompareBody td:nth-child(5) span,
#crossCompareBody td:nth-child(6) span {
  display: inline-flex;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
}

#crossCompareBody td:nth-child(7) > span {
  display: inline-flex;
  width: 310px;
  min-height: 84px;
  padding: 10px;
  border-radius: 16px;
  box-sizing: border-box;
}

#crossCompareBody td:nth-child(7) > span > span:first-child {
  width: 100%;
}

#crossCompareBody td:nth-child(7) .grid,
#crossCompareBody td:nth-child(7) span.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
}

#crossCompareBody td:nth-child(7) .grid > div,
#crossCompareBody td:nth-child(7) span.grid > div {
  min-height: 22px;
  padding: 0 6px;
  border-radius: 7px;
  font-size: 10px;
}

.stack,
.list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.item,
.kv-card {
  padding: 14px 16px;
  border-radius: 14px;
  background: #172033;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.item strong {
  display: block;
  margin-bottom: 6px;
}

.item span {
  color: #cbd5e1;
}

.policy-grid,
.kv-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.policy-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kv-grid,
.compact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kv-card span {
  display: block;
  color: #94a3b8;
  margin-bottom: 6px;
  font-size: 13px;
}

.kv-card strong {
  font-size: 20px;
}

.dense-lower {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tiny {
  font-size: 12px;
}

@media (max-width: 1500px) {
  .dense-lower {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bottleneck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .console-grid,
  .hero-compact,
  .dense-lower {
    grid-template-columns: 1fr;
  }

  .policy-grid,
  .kv-grid,
  .compact-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hero-side-inline {
    justify-items: start;
  }

  .compare-toolbar {
    grid-template-columns: 1fr;
  }

  .server-log-toolbar,
  .two-column,
  .bottleneck-grid {
    grid-template-columns: 1fr;
  }

  .compare-primary {
    min-height: auto;
  }

  .compare-table-wrap {
    max-height: none;
  }
}

/* [컴팩트 상단 2026-06-30] 위쪽 카드가 세로로 과하게 늘어나던 것 정리 (마크업/ID 변경 없음) */
.release-gate-grid { align-items: start; margin-bottom: 10px; }
.release-gate-card { padding: 14px 16px; }
.release-timer-grid { gap: 8px; margin-top: 10px; }
.release-timer-box { padding: 9px 12px; border-radius: 10px; gap: 4px; }
.release-helper { margin-top: 10px; }
#topStatusCard { align-self: start; }
#serverGlance { margin-top: 0 !important; }
.dev-collapse { margin-top: 6px !important; }
.hero-compact { padding-top: 14px; padding-bottom: 14px; }
