:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --card: #ffffff;
  --line: #e5e7eb;
  --text: #111827;
  --muted: #6b7280;
  --primary: #2563eb;
  --primary-soft: #dbeafe;
  --warning-soft: #fef3c7;
  --warning-text: #b45309;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
}

html {
  scroll-behavior: smooth;
}

body.page-dashboard,
body.page-admin-reviews,
body.page-public-reviews {
  background: var(--bg);
}

body.page-home {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.24), transparent 26%),
    linear-gradient(180deg, #07111f 0%, #091425 26%, #0b1424 54%, #eef4ff 54%, #f5f7fb 100%);
  color: #e5eefc;
}

body.page-dashboard .page,
body.page-public-reviews .page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

body.page-home .page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

body.page-admin-reviews .page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

body.page-dashboard .hero,
body.page-admin-reviews .hero,
body.page-public-reviews .hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

body.page-dashboard .hero h1,
body.page-admin-reviews .hero h1,
body.page-public-reviews .hero h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
}

body.page-dashboard .hero p,
body.page-admin-reviews .hero p,
body.page-public-reviews .hero p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

body.page-admin-reviews .hero p,
body.page-public-reviews .hero p {
  line-height: 1.7;
}

body.page-public-reviews .hero p {
  line-height: 1.6;
}

body.page-dashboard .hero-main,
body.page-admin-reviews .hero-main {
  flex: 1;
  min-width: 0;
}

body.page-dashboard .hero-side,
body.page-admin-reviews .hero-side {
  width: min(100%, 420px);
}

body.page-dashboard .admin-nav,
body.page-admin-reviews .admin-nav {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-dashboard .admin-sidecard,
body.page-admin-reviews .admin-sidecard {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

body.page-dashboard .admin-sidecard-label,
body.page-admin-reviews .admin-sidecard-label {
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

body.page-dashboard .admin-sidecard-title,
body.page-admin-reviews .admin-sidecard-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
}

body.page-dashboard .admin-sidecard-text,
body.page-admin-reviews .admin-sidecard-text {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

body.page-dashboard .admin-sidecard-actions,
body.page-admin-reviews .admin-sidecard-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.page-dashboard .button,
body.page-admin-reviews .button,
body.page-public-reviews .button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

body.page-home .button {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fbff;
  border-radius: 14px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(12px);
}

body.page-dashboard .button:hover,
body.page-admin-reviews .button:hover,
body.page-public-reviews .button:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

body.page-home .button:hover {
  border-color: rgba(191, 219, 254, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

body.page-dashboard .button.primary,
body.page-admin-reviews .button.primary,
body.page-public-reviews .button.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

body.page-home .button.primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.32);
}

body.page-dashboard .button.primary:hover,
body.page-admin-reviews .button.primary:hover,
body.page-public-reviews .button.primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

body.page-home .button.primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

body.page-home .button.ghost {
  background: rgba(15, 23, 42, 0.22);
}

body.page-home .button.large {
  min-height: 46px;
  padding: 12px 18px;
  font-size: 14px;
}

body.page-home .home-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0 28px;
}

body.page-home .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

body.page-home .brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

body.page-home .brand-text {
  font-size: 18px;
  letter-spacing: -0.02em;
}

body.page-home .home-links,
body.page-home .home-nav-actions,
body.page-home .hero-actions,
body.page-home .hero-tags {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-home .home-links a {
  color: rgba(226, 232, 240, 0.86);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

body.page-home .home-links a:hover {
  color: #fff;
}

body.page-home .home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px);
  gap: 28px;
  align-items: center;
  padding: 18px 0 28px;
}

body.page-home .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.24);
  color: #bfdbfe;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-home .hero-copy h1,
body.page-home .section-copy h2 {
  margin: 18px 0 0;
  letter-spacing: -0.04em;
}

body.page-home .hero-copy h1 {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.06;
  color: #f8fbff;
}

body.page-home .hero-lead,
body.page-home .section-copy p,
body.page-home .panel-text,
body.page-home .feature-card p,
body.page-home .scene-card p,
body.page-home .timeline-item p,
body.page-home .resource-card p {
  color: rgba(226, 232, 240, 0.74);
  line-height: 1.8;
}

body.page-home .hero-lead {
  max-width: 720px;
  margin: 18px 0 0;
  font-size: 16px;
}

body.page-home .hero-actions {
  margin-top: 28px;
}

body.page-home .hero-tags {
  margin-top: 22px;
}

body.page-home .hero-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

body.page-home .hero-panel {
  display: grid;
  gap: 14px;
}

body.page-home .panel-card,
body.page-home .metric-strip,
body.page-home .feature-card,
body.page-home .scene-card,
body.page-home .timeline-card,
body.page-home .resource-card {
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(8, 15, 29, 0.56);
  border-radius: 24px;
  box-shadow: 0 22px 44px rgba(2, 6, 23, 0.22);
  backdrop-filter: blur(14px);
}

body.page-home .panel-card {
  padding: 18px;
}

body.page-home .panel-card-primary {
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.22), transparent 40%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.62));
}

body.page-home .panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-home .panel-label,
body.page-home .resource-label {
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.page-home .panel-title {
  margin-top: 12px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.4;
  color: #fff;
}

body.page-home .panel-value {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

body.page-home .metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
  padding: 20px 24px;
}

body.page-home .metric-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body.page-home .metric-value {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
}

body.page-home .metric-label {
  color: rgba(226, 232, 240, 0.72);
  font-size: 13px;
  line-height: 1.7;
}

body.page-home .home-section {
  margin-top: 76px;
}

body.page-home .section-copy {
  max-width: 760px;
}

body.page-home .section-copy.compact {
  max-width: 680px;
}

body.page-home .section-copy h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.16;
  color: #f8fbff;
}

body.page-home .section-copy p {
  margin: 16px 0 0;
  font-size: 15px;
}

body.page-home .feature-grid,
body.page-home .scene-grid,
body.page-home .resource-grid {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

body.page-home .feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-home .scene-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-home .resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-home .feature-card,
body.page-home .scene-card,
body.page-home .resource-card {
  padding: 22px;
}

body.page-home .feature-index,
body.page-home .timeline-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.16);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 800;
}

body.page-home .feature-card h3,
body.page-home .scene-card h3,
body.page-home .timeline-item h3,
body.page-home .resource-card h3 {
  margin: 16px 0 0;
  font-size: 20px;
  line-height: 1.4;
  color: #fff;
}

body.page-home .feature-card p,
body.page-home .scene-card p,
body.page-home .resource-card p {
  margin: 12px 0 0;
  font-size: 14px;
}

body.page-home .scene-section,
body.page-home .timeline-section,
body.page-home .resource-section {
  color: var(--text);
}

body.page-home .scene-section .section-copy h2,
body.page-home .timeline-section .section-copy h2,
body.page-home .resource-section .section-copy h2 {
  color: #0f172a;
}

body.page-home .scene-section .section-copy p,
body.page-home .timeline-section .section-copy p,
body.page-home .resource-section .section-copy p {
  color: #64748b;
}

body.page-home .scene-section .eyebrow,
body.page-home .timeline-section .eyebrow,
body.page-home .resource-section .eyebrow {
  border-color: rgba(59, 130, 246, 0.16);
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

body.page-home .scene-card,
body.page-home .timeline-card,
body.page-home .resource-card {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

body.page-home .scene-card h3,
body.page-home .timeline-item h3,
body.page-home .resource-card h3 {
  color: #0f172a;
}

body.page-home .scene-card p,
body.page-home .timeline-item p,
body.page-home .resource-card p,
body.page-home .resource-note {
  color: #64748b;
}

body.page-home .timeline-card {
  padding: 28px;
}

body.page-home .timeline-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

body.page-home .timeline-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

body.page-home .timeline-item p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.8;
}

body.page-home .resource-card a {
  display: inline-block;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
}

body.page-home .resource-card a:hover {
  text-decoration: underline;
}

body.page-home .resource-note {
  display: inline-block;
  margin-top: 14px;
  line-height: 1.8;
}

body.page-dashboard .button.danger,
body.page-admin-reviews .button.danger {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fff5f5;
}

body.page-dashboard .button.danger:hover,
body.page-admin-reviews .button.danger:hover {
  border-color: #fca5a5;
  background: #fee2e2;
}

body.page-dashboard .button:disabled,
body.page-admin-reviews .button:disabled,
body.page-public-reviews .button:disabled,
body.page-admin-login button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

body.page-dashboard .button-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

body.page-dashboard .toolbar {
  display: flex;
  gap: 10px;
  flex-direction: column;
  flex-wrap: wrap;
}

body.page-admin-reviews .toolbar,
body.page-public-reviews .toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

body.page-admin-reviews .toolbar.review-toolbar {
  align-items: stretch;
  max-width: none;
  gap: 10px;
}

body.page-public-reviews .toolbar {
  justify-content: flex-end;
}

body.page-admin-reviews .toolbar input,
body.page-public-reviews .toolbar input,
body.page-public-reviews .toolbar select {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--text);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}

body.page-admin-reviews .toolbar input {
  min-width: 0;
  width: 100%;
}

body.page-public-reviews .toolbar input {
  min-width: 260px;
}

body.page-public-reviews .toolbar select {
  min-width: 120px;
  appearance: none;
}

body.page-dashboard .grid,
body.page-public-reviews .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

body.page-admin-reviews .grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

body.page-dashboard .panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

body.page-public-reviews .two-col {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 14px;
}

body.page-dashboard .card,
body.page-admin-reviews .card,
body.page-public-reviews .card,
body.page-admin-login .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

body.page-dashboard .card,
body.page-admin-reviews .card,
body.page-public-reviews .card {
  padding: 16px;
}

body.page-admin-login {
  min-height: 100vh;
  padding: 24px;
  background: radial-gradient(circle at top, #dbeafe 0%, #f3f6fb 45%, #eef2ff 100%);
}

body.page-admin-login .login-shell {
  min-height: calc(100vh - 48px);
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.page-admin-login .card {
  width: 100%;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

body.page-admin-login .login-card {
  max-width: 420px;
}

body.page-admin-login .form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.page-admin-login label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
}

body.page-admin-login input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text);
  outline: none;
}

body.page-admin-login input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

body.page-admin-login button {
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

body.page-admin-login button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

body.page-admin-login .error {
  min-height: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--danger);
}

body.page-admin-login .tips {
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

body.page-dashboard .label,
body.page-admin-reviews .label,
body.page-public-reviews .label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

body.page-dashboard .value,
body.page-admin-reviews .value,
body.page-public-reviews .value {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

body.page-public-reviews .value.compact {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: normal;
  word-break: break-word;
}

body.page-dashboard .subtle,
body.page-admin-reviews .subtle,
body.page-public-reviews .subtle,
body.page-dashboard .muted,
body.page-admin-reviews .muted,
body.page-public-reviews .muted {
  color: var(--muted);
}

body.page-dashboard .subtle,
body.page-admin-reviews .subtle,
body.page-public-reviews .subtle {
  font-size: 12px;
  margin-top: 6px;
}

body.page-dashboard .section-title,
body.page-admin-reviews .section-title,
body.page-public-reviews .section-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
}

body.page-public-reviews .section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

body.page-public-reviews .section-head .section-title {
  margin: 0;
}

body.page-public-reviews .section-extra {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

body.page-dashboard .rows,
body.page-admin-reviews .rows,
body.page-public-reviews .rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.page-dashboard .row {
  display: grid;
  grid-template-columns: 140px 1fr 52px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

body.page-public-reviews .row {
  display: grid;
  grid-template-columns: 56px 1fr 42px;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}

body.page-dashboard .bar,
body.page-public-reviews .bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #eef2ff;
  overflow: hidden;
}

body.page-dashboard .bar > span,
body.page-public-reviews .bar > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #60a5fa);
  border-radius: 999px;
}

body.page-dashboard table,
body.page-admin-reviews table {
  width: 100%;
  border-collapse: collapse;
}

body.page-dashboard th,
body.page-dashboard td,
body.page-admin-reviews th,
body.page-admin-reviews td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  vertical-align: top;
}

body.page-admin-reviews td {
  word-break: break-word;
}

body.page-dashboard th,
body.page-admin-reviews th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

body.page-admin-reviews th {
  white-space: nowrap;
}

body.page-dashboard .tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

body.page-admin-reviews .table-actions {
  display: flex;
  justify-content: flex-end;
}

body.page-admin-reviews .button.small {
  padding: 7px 10px;
  font-size: 12px;
  border-radius: 10px;
}

body.page-dashboard .empty,
body.page-admin-reviews .empty,
body.page-public-reviews .empty {
  color: var(--muted);
  font-size: 13px;
}

body.page-dashboard .empty {
  padding: 10px 0;
}

body.page-admin-reviews .empty,
body.page-public-reviews .empty {
  padding: 12px 0;
}

body.page-public-reviews .review-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.page-public-reviews .review-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fafafa;
}

body.page-public-reviews .review-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

body.page-public-reviews .review-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  word-break: break-word;
}

body.page-public-reviews .review-meta,
body.page-public-reviews .review-station,
body.page-public-reviews .review-foot {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  word-break: break-word;
}

body.page-public-reviews .review-content {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

body.page-public-reviews .score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning-text);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

body.page-public-reviews .last-updated,
body.page-admin-reviews .last-updated {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.table-wrap {
  overflow: auto;
}

@media (max-width: 1024px) {
  body.page-admin-reviews .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.page-dashboard .grid,
  body.page-dashboard .panel-grid,
  body.page-public-reviews .grid,
  body.page-public-reviews .two-col,
  body.page-public-reviews .review-list {
    grid-template-columns: 1fr;
  }

  body.page-home {
    background:
      radial-gradient(circle at top left, rgba(59, 130, 246, 0.24), transparent 36%),
      linear-gradient(180deg, #07111f 0%, #091425 42%, #eef4ff 42%, #f5f7fb 100%);
  }

  body.page-home .home-hero,
  body.page-home .metric-strip,
  body.page-home .feature-grid,
  body.page-home .scene-grid,
  body.page-home .resource-grid,
  body.page-home .panel-grid {
    grid-template-columns: 1fr;
  }

  body.page-dashboard .row {
    grid-template-columns: 100px 1fr 40px;
  }

  body.page-dashboard .hero,
  body.page-admin-reviews .hero,
  body.page-public-reviews .hero {
    flex-direction: column;
  }

  body.page-home .home-nav {
    flex-direction: column;
    align-items: stretch;
  }

  body.page-home .home-links,
  body.page-home .home-nav-actions {
    justify-content: flex-start;
  }

  body.page-dashboard .hero-side,
  body.page-admin-reviews .hero-side,
  body.page-dashboard .toolbar,
  body.page-dashboard .admin-sidecard-actions,
  body.page-admin-reviews .admin-sidecard-actions,
  body.page-admin-reviews .toolbar.review-toolbar {
    width: 100%;
  }

  body.page-dashboard .admin-sidecard-actions,
  body.page-admin-reviews .admin-sidecard-actions,
  body.page-public-reviews .toolbar {
    justify-content: flex-start;
  }

  body.page-public-reviews .toolbar input,
  body.page-public-reviews .toolbar select,
  body.page-public-reviews .button {
    width: 100%;
  }

  body.page-public-reviews .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.page-public-reviews .section-extra {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  body.page-admin-login .login-shell {
    max-width: none;
    min-height: calc(100vh - 48px);
  }

  body.page-admin-reviews .grid {
    grid-template-columns: 1fr;
  }

  body.page-admin-reviews .hero {
    flex-direction: column;
  }

  body.page-admin-reviews .toolbar.review-toolbar {
    gap: 8px;
  }

  body.page-home .page {
    padding: 20px 18px 52px;
  }

  body.page-home .hero-copy h1 {
    font-size: 38px;
  }

  body.page-home .section-copy h2 {
    font-size: 30px;
  }

  body.page-home .timeline-card,
  body.page-home .feature-card,
  body.page-home .scene-card,
  body.page-home .resource-card {
    padding: 20px;
  }

  body.page-home .button,
  body.page-home .button.large {
    width: 100%;
  }
}
