﻿:root {
  color-scheme: light;
  font-family: Inter, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: #f5f7fb;
  color: #172033;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.topbar {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-bottom: 1px solid #dde3ee;
  background: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: #111827;
  text-decoration: none;
}

/* Super-i inspired responsive structure: large white hero, lime accent, full mobile reflow. */
:root {
  --accent-lime: #aaff00;
  --ink: #070707;
  --line-soft: #e7ecf3;
}

body {
  background: #ffffff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.brand {
  min-width: 210px;
}

.brand-mark {
  background: var(--accent-lime);
}

.page {
  max-width: 1440px;
  padding: clamp(22px, 3.2vw, 56px);
}

.super-auth {
  min-height: calc(100svh - 154px);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(620px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.auth-stage {
  align-content: center;
}

.auth-stage h1,
.home-hero h1 {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(48px, 6.4vw, 112px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-stage .muted,
.home-hero .muted {
  max-width: 620px;
  color: #334155;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.7;
}

.auth-notes {
  margin-top: 10px;
}

.auth-notes span {
  border-color: #d7dde6;
  color: #172033;
  background: #fff;
}

.auth-stack {
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.86fr);
  align-items: stretch;
}

.auth-stack .auth-primary {
  grid-row: span 2;
}

.panel {
  border-color: var(--line-soft);
  border-radius: 16px;
}

.auth-panel {
  border-radius: 18px;
  padding: clamp(20px, 2vw, 30px);
}

.auth-primary {
  border-color: rgba(170, 255, 0, 0.72);
  box-shadow: 0 28px 70px rgba(7, 7, 7, 0.08);
}

button {
  min-height: 44px;
  border-radius: 999px;
  background: #070707;
}

.secondary,
.ghost {
  color: #070707;
  background: var(--accent-lime);
}

.super-home {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
}

.home-hero {
  min-height: clamp(220px, 33vh, 420px);
  align-items: center;
  margin-bottom: 0;
}

.home-hero h1 {
  font-size: clamp(42px, 5.4vw, 96px);
}

.entry-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.entry-link {
  min-height: 136px;
  border-radius: 18px;
  padding: clamp(18px, 2vw, 28px);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.entry-link:hover {
  transform: translateY(-3px);
}

.entry-link.active,
.entry-link.accent {
  border-color: rgba(170, 255, 0, 0.9);
  background: #f7ffe8;
}

.entry-link strong {
  font-size: clamp(17px, 1.3vw, 22px);
}

.entry-link span {
  font-size: 14px;
}

.dashboard-grid {
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(18px, 2vw, 28px);
}

.task-panel,
.task-list-panel {
  border-radius: 18px;
}

.table-row {
  grid-template-columns: 120px minmax(0, 1fr) 90px;
}

@media (max-width: 1100px) {
  .super-auth {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .auth-stage h1 {
    max-width: 760px;
  }

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

@media (max-width: 820px) {
  .topbar {
    height: auto;
    align-items: center;
    padding: 14px 18px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    flex: 1 0 100%;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page {
    padding: 24px 16px;
  }

  .super-auth {
    min-height: auto;
    gap: 22px;
  }

  .auth-stage h1,
  .home-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .auth-stack,
  .entry-strip,
  .dashboard-grid,
  .agent-toolbar {
    grid-template-columns: 1fr;
  }

  .auth-stack .auth-primary {
    grid-row: auto;
  }

  .home-hero {
    min-height: auto;
  }

  .entry-link {
    min-height: 108px;
  }

  .table-row {
    grid-template-columns: 88px minmax(0, 1fr) 78px;
  }
}

.brand-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  color: #111827;
  background: #aaff00;
  font-size: 14px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 6px;
}

.nav-links a {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  background: #f1f5f9;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 6px;
  color: #334155;
  background: #eef2f7;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.inline-action {
  width: fit-content;
  margin: -6px 0 12px;
}

.page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(360px, 440px) 1fr;
  gap: 20px;
  align-items: start;
}

.agent-layout {
  max-width: 980px;
  margin: 0 auto;
}

.agent-form {
  display: grid;
  gap: 16px;
}

.agent-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.agent-list {
  display: grid;
  gap: 14px;
}

.agent-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #f8fafc;
}

.agent-check {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.agent-check input {
  width: auto;
  margin-top: 3px;
}

.agent-check span {
  display: grid;
  gap: 4px;
}

.agent-check small {
  color: #667085;
  font-weight: 500;
}

.panel {
  background: #ffffff;
  border: 1px solid #dde3ee;
  border-radius: 8px;
  padding: 22px;
}

.wide {
  max-width: 880px;
}

.login-shell {
  min-height: calc(100vh - 112px);
  display: grid;
  place-items: center;
}

.login-panel {
  width: min(420px, 100%);
}

/* Frontend polish for the authenticated workspace and auth entry. */
body {
  background: #f4f6f9;
}

.topbar {
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.page-head.compact {
  max-width: 980px;
  margin: 0 auto 18px;
}

.page-head h1 {
  margin-bottom: 8px;
  font-size: 28px;
  letter-spacing: 0;
}

.page-head p {
  margin: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}

.entry-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.entry-link {
  display: grid;
  gap: 5px;
  min-height: 82px;
  align-content: center;
  padding: 14px 16px;
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  color: #172033;
  text-decoration: none;
  background: #ffffff;
}

.entry-link strong {
  font-size: 15px;
}

.entry-link span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.entry-link.active {
  border-color: #93c5fd;
  background: #eff6ff;
}

.entry-link.accent {
  border-color: #99f6e4;
  background: #f0fdfa;
}

.dashboard-grid {
  grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
}

.task-panel,
.task-list-panel {
  min-width: 0;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
}

.section-title span {
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
}

.agent-toolbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 14px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #f8fafc;
}

.upload-field {
  padding: 12px 14px;
  border: 1px dashed #b6c3d5;
  border-radius: 8px;
  background: #fbfdff;
}

.auth-shell {
  grid-template-columns: minmax(280px, 0.82fr) minmax(520px, 1.18fr);
  gap: 24px;
}

.auth-copy {
  display: grid;
  gap: 22px;
}

.auth-copy h1 {
  margin-bottom: 12px;
  font-size: 32px;
}

.auth-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-notes span {
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #475569;
  background: #ffffff;
  font-size: 13px;
  font-weight: 700;
}

.auth-primary {
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.08);
}

.scan-link.wechat {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.scan-link.qq {
  border-color: #bae6fd;
  background: #f0f9ff;
}

.site-footer {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px 24px;
  color: #64748b;
  font-size: 13px;
}

.site-footer a {
  color: #64748b;
  text-decoration: none;
}

.site-footer a:hover {
  color: #111827;
}

@media (max-width: 820px) {
  .page-head {
    display: grid;
  }

  .entry-strip,
  .dashboard-grid,
  .agent-toolbar,
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-copy h1 {
    font-size: 26px;
  }

  .site-footer {
    display: grid;
    gap: 6px;
    text-align: center;
  }
}

.auth-shell {
  min-height: calc(100vh - 112px);
  display: grid;
  align-items: center;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 18px;
  width: min(920px, 100%);
  margin: 0 auto;
}

.auth-panel {
  display: grid;
  align-content: start;
}

.notice {
  padding: 10px 12px;
  border-radius: 6px;
  color: #155e75;
  background: #ecfeff;
}

.scan-actions {
  display: grid;
  gap: 12px;
}

.scan-link {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid #ccd5e3;
  border-radius: 6px;
  color: #172033;
  text-decoration: none;
  background: #f8fafc;
  font-weight: 700;
}

.scan-link span {
  color: #991b1b;
  font-size: 12px;
}

h1 {
  margin: 0 0 16px;
  font-size: 22px;
}

h2 {
  margin: 22px 0 10px;
  font-size: 16px;
}

.muted {
  color: #667085;
}

label {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 14px;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #ccd5e3;
  border-radius: 6px;
  padding: 10px 11px;
  font: inherit;
  background: #ffffff;
}

textarea {
  resize: vertical;
}

button {
  border: 0;
  border-radius: 6px;
  padding: 10px 14px;
  font-weight: 700;
  color: #ffffff;
  background: #1f6feb;
  cursor: pointer;
}

.ghost {
  color: #334155;
  background: #eef2f7;
}

.error {
  padding: 10px 12px;
  border-radius: 6px;
  color: #9f1239;
  background: #fff1f2;
}

.table {
  display: grid;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  overflow: hidden;
}

.table-row {
  display: grid;
  grid-template-columns: 130px 1fr 90px;
  gap: 12px;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 1px solid #e4e9f2;
  color: inherit;
  text-decoration: none;
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  font-weight: 700;
  background: #f8fafc;
}

.status {
  display: inline-flex;
  justify-content: center;
  min-width: 70px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #e2e8f0;
}

.status-done {
  color: #166534;
  background: #dcfce7;
}

.status-running,
.status-queued {
  color: #854d0e;
  background: #fef3c7;
}

.status-failed {
  color: #991b1b;
  background: #fee2e2;
}

.empty {
  padding: 20px;
  color: #667085;
}

.back {
  display: inline-block;
  margin-bottom: 18px;
  color: #1f6feb;
  text-decoration: none;
}

.meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.meta div {
  display: grid;
  grid-template-columns: 90px 1fr;
}

.job-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.job-head h1 {
  margin-bottom: 6px;
}

.job-head p {
  margin: 0;
}

.job-actions {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 12px;
  margin: 14px 0 18px;
}

.retry-model {
  width: min(280px, 100%);
  margin: 0;
}

.secondary {
  color: #1f2937;
  background: #e5edf8;
}

.result-panel {
  margin: 22px 0;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  overflow: hidden;
  background: #f8fbff;
}

.result-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #dbe6ff;
  background: #eef5ff;
}

.result-panel-head h2 {
  margin: 0;
}

.result-panel pre {
  min-height: 220px;
  margin: 0;
  border-radius: 0;
}

.result-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  min-height: 52px;
  padding: 12px;
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  background: #f8fafc;
}

.result-gallery.is-empty {
  display: grid;
  place-items: center;
  color: #667085;
  font-size: 14px;
}

.result-gallery a {
  display: block;
  overflow: hidden;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: #ffffff;
}

.result-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

dt {
  font-weight: 700;
  color: #475569;
}

dd {
  margin: 0;
}

pre {
  white-space: pre-wrap;
  padding: 14px;
  border-radius: 6px;
  background: #0f172a;
  color: #e2e8f0;
  overflow: auto;
}

.route-list {
  display: grid;
  gap: 14px;
}

.route-card {
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  overflow: hidden;
}

.route-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: #f8fafc;
}

.route-title span {
  color: #667085;
  font-size: 13px;
}

.route-table {
  display: grid;
}

.route-row {
  display: grid;
  grid-template-columns: 130px minmax(180px, 1fr) 180px 70px 60px 60px;
  gap: 10px;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-top: 1px solid #e4e9f2;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.route-head {
  font-weight: 700;
  color: #475569;
}

.route-off {
  color: #991b1b;
  background: #fff1f2;
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .agent-options {
    grid-template-columns: 1fr;
  }

  .auth-grid {
    grid-template-columns: 1fr;
  }
.table-row {
    grid-template-columns: 110px 1fr 78px;
  }

  .route-title,
  .route-row {
    grid-template-columns: 1fr;
  }
}

.lab-shell {
  display: grid;
  gap: 18px;
}

.lab-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.lab-title h1 {
  margin-bottom: 8px;
}

.lab-grid {
  display: grid;
  grid-template-columns: minmax(260px, 320px) minmax(420px, 1fr) minmax(320px, 380px);
  gap: 18px;
  align-items: start;
}

.lab-inputs,
.lab-analysis,
.lab-output {
  min-width: 0;
}

.lab-block {
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid #e4e9f2;
}

.lab-block h3,
.analysis-head h3 {
  margin: 0;
  font-size: 15px;
}

.analysis-split {
  display: grid;
  gap: 14px;
}

.analysis-card {
  border: 1px solid #e4e9f2;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.analysis-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid #e4e9f2;
  background: #f8fafc;
}

.analysis-head span {
  color: #667085;
  font-size: 12px;
  font-weight: 700;
}

.product-card .analysis-head {
  background: #f0f7ff;
}

.reference-card .analysis-head {
  background: #f6f7fb;
}

.analysis-card textarea {
  min-height: 270px;
  border: 0;
  border-radius: 0;
  font-family: Consolas, "Microsoft YaHei", monospace;
}

.lab-rule {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #c7d7fe;
  border-radius: 8px;
  color: #1e3a8a;
  background: #eff6ff;
  font-size: 14px;
  line-height: 1.55;
}

.lab-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(68px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.lab-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  background: #f8fafc;
}

.lab-job {
  min-height: 44px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  color: #475569;
  background: #f8fafc;
  font-size: 14px;
}

.lab-job a {
  color: #1f6feb;
  font-weight: 700;
}

button:disabled {
  opacity: 0.62;
  cursor: wait;
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }
.table-row {
    grid-template-columns: 110px 1fr 78px;
  }

  .route-title,
  .route-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    height: auto;
    align-items: flex-start;
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    order: 3;
    flex: 1 0 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .top-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .lab-title {
    display: grid;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }
}

/* Final responsive layout overrides. Keep this block last so older utility rules cannot undo it. */
body {
  background: #ffffff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 72px;
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.brand {
  min-width: 210px;
}

.brand-mark {
  background: var(--accent-lime, #aaff00);
}

.page {
  max-width: 1440px;
  padding: clamp(22px, 3.2vw, 56px);
}

.super-auth {
  min-height: calc(100svh - 154px);
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(620px, 1.1fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
}

.auth-stage h1,
.home-hero h1 {
  display: grid;
  gap: 2px;
  margin: 0 0 18px;
  color: #070707;
  font-size: clamp(48px, 6.4vw, 112px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-stage .muted,
.home-hero .muted {
  max-width: 620px;
  color: #334155;
  font-size: clamp(16px, 1.4vw, 22px);
  line-height: 1.7;
}

.auth-stack {
  width: 100%;
  margin: 0;
  grid-template-columns: minmax(280px, 1fr) minmax(260px, 0.86fr);
  align-items: stretch;
}

.auth-stack .auth-primary {
  grid-row: span 2;
}

.panel,
.auth-panel,
.task-panel,
.task-list-panel,
.entry-link {
  border-radius: 18px;
}

.auth-primary {
  border-color: rgba(170, 255, 0, 0.72);
  box-shadow: 0 28px 70px rgba(7, 7, 7, 0.08);
}

button {
  min-height: 44px;
  border-radius: 999px;
  background: #070707;
}

.secondary,
.ghost {
  color: #070707;
  background: var(--accent-lime, #aaff00);
}

.super-home {
  display: grid;
  gap: clamp(18px, 2.4vw, 34px);
}

.home-hero {
  min-height: clamp(220px, 33vh, 420px);
  align-items: center;
  margin-bottom: 0;
}

.home-hero h1 {
  font-size: clamp(42px, 5.4vw, 96px);
}

.entry-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.entry-link {
  min-height: 136px;
  padding: clamp(18px, 2vw, 28px);
}

.entry-link.active,
.entry-link.accent {
  border-color: rgba(170, 255, 0, 0.9);
  background: #f7ffe8;
}

.entry-link strong {
  font-size: clamp(17px, 1.3vw, 22px);
}

.dashboard-grid {
  grid-template-columns: minmax(360px, 0.86fr) minmax(520px, 1.14fr);
  gap: clamp(18px, 2vw, 28px);
}

.table-row {
  grid-template-columns: 120px minmax(0, 1fr) 90px;
}

@media (max-width: 1100px) {
  .super-auth,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .topbar {
    height: auto;
    align-items: center;
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .nav-links {
    flex: 1 0 100%;
    order: 3;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .page {
    padding: 24px 16px;
  }

  .super-auth {
    min-height: auto;
    gap: 22px;
  }

  .auth-stage h1,
  .home-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .auth-stack,
  .entry-strip,
  .dashboard-grid,
  .agent-toolbar {
    grid-template-columns: 1fr;
  }

  .auth-stack .auth-primary {
    grid-row: auto;
  }

  .home-hero {
    min-height: auto;
  }

  .entry-link {
    min-height: 108px;
  }

  .table-row {
    grid-template-columns: 88px minmax(0, 1fr) 78px;
  }
}


