* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top, #172554 0%, #0f172a 42%, #020617 100%);
  color: #e2e8f0;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.card {
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.95), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(71, 85, 105, 0.45);
  border-radius: 16px;
  padding: 18px;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.35);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.metric h3 {
  margin-top: 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #93c5fd;
}

.metric p {
  margin: 6px 0 0;
  font-size: 32px;
  font-weight: bold;
}

.row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

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

select,
input,
button {
  border-radius: 10px;
  border: 1px solid #475569;
  background: #0b1220;
  color: #e5e7eb;
  padding: 10px 12px;
  font-size: 14px;
}

.button {
  cursor: pointer;
  background: linear-gradient(130deg, #2563eb, #1d4ed8);
  border-color: #2563eb;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.button-secondary {
  background: #1e293b;
  border-color: #334155;
  text-decoration: none;
  color: #e5e7eb;
}

.button-danger {
  background: linear-gradient(130deg, #dc2626, #b91c1c);
  border-color: #dc2626;
}

.muted {
  color: #94a3b8;
}

.snapshots {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.snapshot-item {
  padding: 10px;
  border: 1px solid #1e293b;
  border-radius: 10px;
  background: rgba(11, 18, 32, 0.75);
}

.hidden {
  display: none;
}

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

.hero .muted {
  margin: 0;
}

.eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #93c5fd;
}

.admin-cta {
  align-self: center;
  white-space: nowrap;
}

.no-margin {
  margin: 0;
}

.row-spread {
  justify-content: space-between;
  align-items: center;
}

.details-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.details-list {
  display: grid;
  gap: 8px;
}

.app-shell {
  padding-bottom: 36px;
}

a {
  color: #93c5fd;
}

.brand-logo {
  display: block;
  max-height: 56px;
  width: auto;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.5);
  padding: 4px;
}

.preview-logo {
  max-height: 70px;
  width: auto;
  border-radius: 10px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.5);
  padding: 4px;
}

.preview-favicon {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(15, 23, 42, 0.5);
  padding: 4px;
}

.action-row {
  margin-top: 10px;
}
