:root {
  color-scheme: light;
  --bg: #f3f6f5;
  --surface: #ffffff;
  --surface-soft: #f8faf9;
  --surface-tint: #eef7f5;
  --text: #151719;
  --muted: #66716f;
  --line: #dce4e1;
  --line-strong: #bdcbc7;
  --accent: #e83d4f;
  --accent-dark: #c92c3d;
  --cyan: #079a9a;
  --green: #167553;
  --amber: #b87800;
  --gold: #d7a13a;
  --ink: #111417;
  --panel: #121616;
  --panel-soft: #1b2020;
  --shadow: 0 18px 44px rgba(31, 44, 42, 0.08);
  --shadow-strong: 0 28px 70px rgba(17, 20, 23, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #f7f9f8 0%, var(--bg) 52%, #edf3f1 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

button,
a,
input,
output {
  font: inherit;
  letter-spacing: 0;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

code {
  background: #eef8f6;
  border: 1px solid #cce5df;
  border-radius: 6px;
  color: #086b67;
  padding: 1px 6px;
}

.site-frame {
  margin: 0 auto;
  max-width: 1440px;
  min-height: 100vh;
  padding: 18px 22px 26px;
}

.public-site {
  position: relative;
}

.public-site::before {
  background:
    linear-gradient(90deg, rgba(232, 61, 79, 0.08), transparent 26%),
    linear-gradient(180deg, rgba(7, 154, 154, 0.08), transparent 38%);
  content: "";
  height: 320px;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -1;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.brand {
  align-items: center;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 34px;
  justify-content: center;
  width: 34px;
}

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

.nav-links a,
.nav-button,
.text-link,
.link-button {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  cursor: pointer;
  min-height: 34px;
  padding: 8px 10px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-links a:hover,
.nav-button:hover,
.text-link:hover,
.link-button:hover {
  background: #e9efed;
  color: var(--text);
}

.nav-links a:focus-visible,
.nav-button:focus-visible,
.text-link:focus-visible,
.link-button:focus-visible,
.action-button:focus-visible,
.demo-tab:focus-visible,
.workflow-card:focus-visible {
  outline: 3px solid rgba(7, 154, 154, 0.2);
  outline-offset: 2px;
}

.nav-cta {
  background: var(--ink) !important;
  color: #fff !important;
}

.public-hero {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.72fr);
  min-height: 560px;
  padding: 34px 0 20px;
}

.hero-copy {
  max-width: 760px;
  padding-left: 16px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 1.22;
  margin: 0;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 18px;
}

.public-hero h1 {
  font-size: 52px;
  max-width: 720px;
}

.lead {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 16px 0 0;
  max-width: 660px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-facts {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
  max-width: 640px;
  padding-top: 18px;
}

.hero-facts span {
  color: var(--muted);
  display: grid;
  gap: 4px;
}

.hero-facts strong {
  color: var(--text);
  font-size: 20px;
}

.signal-panel {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  align-self: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 36%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow-strong);
  color: #eff7f4;
  min-height: 470px;
  overflow: hidden;
  padding: 20px;
  position: relative;
  transform: perspective(900px) rotateX(var(--tilt-y)) rotateY(var(--tilt-x));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.signal-panel::before {
  background:
    linear-gradient(90deg, transparent, rgba(7, 154, 154, 0.2), transparent),
    linear-gradient(180deg, rgba(232, 61, 79, 0.15), transparent);
  content: "";
  height: 1px;
  left: 0;
  opacity: 0.8;
  position: absolute;
  right: 0;
  top: 64px;
}

.signal-head,
.demo-tabs,
.demo-list article,
.signal-control,
.signal-insight,
.panel-head,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.pulse-badge {
  background: rgba(7, 154, 154, 0.16);
  border: 1px solid rgba(106, 223, 211, 0.34);
  border-radius: 999px;
  color: #8be7dc;
  font-weight: 800;
  padding: 6px 10px;
}

.demo-tabs {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  gap: 6px;
  margin: 18px 0 14px;
  padding: 5px;
}

.demo-tab {
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: #a8b6b2;
  cursor: pointer;
  flex: 1 1 0;
  min-height: 36px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.demo-tab:hover {
  color: #fff;
}

.demo-tab.active {
  background: #f4fbf8;
  color: #111616;
  font-weight: 800;
}

.signal-grid {
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 146px;
  min-height: 0;
  padding: 12px;
}

.signal-grid span {
  --heat: 0.4;
  align-self: end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 20%),
    linear-gradient(180deg, #d7a13a, #079a9a 46%, #e83d4f);
  border-radius: 5px;
  display: block;
  height: calc(10px + (var(--heat) * 30px));
  min-height: 10px;
  max-height: 100%;
  opacity: calc(0.42 + (var(--heat) * 0.5));
  transform: scaleY(0.98);
  transform-origin: bottom;
  transition: height 260ms ease, opacity 260ms ease, transform 260ms ease;
}

.signal-grid span.hot {
  outline: 1px solid rgba(255, 255, 255, 0.32);
  transform: scaleY(1.04);
}

.signal-control {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 12px;
  margin: 14px 0 0;
  padding: 11px 0;
}

.signal-control label,
.signal-insight span {
  color: #a7b5b1;
  flex: 0 0 auto;
  font-weight: 700;
}

.signal-control input[type="range"] {
  accent-color: var(--accent);
  flex: 1 1 auto;
  min-width: 120px;
}

.signal-control output {
  color: #fff;
  flex: 0 0 42px;
  font-weight: 800;
  text-align: right;
}

.signal-insight {
  gap: 14px;
  margin-top: 11px;
}

.signal-insight strong {
  color: #fff;
  overflow-wrap: anywhere;
  text-align: right;
}

.demo-list {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.demo-list.flash article {
  animation: rowFlash 420ms ease;
}

@keyframes rowFlash {
  from {
    opacity: 0.6;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-list article {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 8px;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
}

.demo-list article:first-child {
  background: rgba(232, 61, 79, 0.16);
  border-color: rgba(232, 61, 79, 0.34);
}

.demo-list span {
  color: #ff7582;
  font-weight: 900;
}

.demo-list strong {
  flex: 1 1 auto;
  overflow-wrap: anywhere;
}

.demo-list em {
  color: #8be7dc;
  font-style: normal;
  font-weight: 800;
}

.product-header {
  align-items: stretch;
  background:
    linear-gradient(135deg, #ffffff 0%, #f7fbfa 52%, #ecf6f3 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 420px;
  margin-bottom: 16px;
  overflow: hidden;
  padding: 26px;
}

.console-header {
  background:
    linear-gradient(135deg, #ffffff 0%, #f8faf9 62%, #f1f6f3 100%);
}

.intro-copy {
  align-self: center;
  max-width: 780px;
}

.visual-board {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 38%),
    var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 20, 23, 0.18);
  color: #eef6f3;
  min-height: 220px;
  overflow: hidden;
  padding: 16px;
}

.visual-toolbar {
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
}

.visual-toolbar span {
  background: #394440;
  border-radius: 999px;
  display: block;
  height: 9px;
  width: 9px;
}

.visual-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.visual-rank {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  min-height: 48px;
  padding: 10px;
}

.visual-rank span {
  color: #ff7582;
  font-weight: 800;
}

.visual-rank strong {
  background: linear-gradient(90deg, #e2ece8, rgba(226, 236, 232, 0.12));
  border-radius: 999px;
  display: block;
  height: 12px;
  width: 100%;
}

.visual-rank:nth-child(2) strong {
  width: 78%;
}

.visual-rank:nth-child(3) strong {
  width: 60%;
}

.visual-chart {
  align-items: end;
  background: rgba(7, 154, 154, 0.12);
  border: 1px solid rgba(7, 154, 154, 0.34);
  border-radius: 8px;
  display: flex;
  gap: 9px;
  grid-column: 2;
  grid-row: 1 / span 3;
  min-height: 164px;
  padding: 14px;
}

.visual-chart i {
  animation: barPulse 2.8s ease-in-out infinite;
  background: linear-gradient(180deg, #d7a13a, #079a9a 48%, #e83d4f);
  border-radius: 999px 999px 4px 4px;
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

.visual-chart i:nth-child(2),
.signal-grid span:nth-child(3n) {
  animation-delay: 0.16s;
}

.visual-chart i:nth-child(3),
.signal-grid span:nth-child(4n) {
  animation-delay: 0.32s;
}

.visual-chart i:nth-child(4),
.signal-grid span:nth-child(5n) {
  animation-delay: 0.48s;
}

.visual-chart i:nth-child(5),
.signal-grid span:nth-child(6n) {
  animation-delay: 0.64s;
}

@keyframes barPulse {
  0%, 100% {
    transform: scaleY(0.96);
  }
  50% {
    transform: scaleY(1.04);
  }
}

.status-grid,
.public-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metric,
.tool-panel,
.info-band,
.legal-page,
.apply-band {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric {
  min-height: 86px;
  padding: 16px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.metric:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 26px rgba(31, 44, 42, 0.06);
  transform: translateY(-2px);
}

.metric span {
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}

.metric strong {
  display: block;
  font-size: 20px;
  overflow-wrap: anywhere;
}

.metric strong[data-site-field="official_scope"] {
  font-size: 16px;
  line-height: 1.35;
}

.workspace {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) 390px;
  margin-bottom: 14px;
}

.tool-panel,
.info-band {
  padding: 18px;
}

.workflow-band {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
  margin-bottom: 14px;
}

.workflow-copy {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 100%;
  padding: 22px;
}

.workflow-copy p,
.legal-page p,
.legal-page li,
.info-band p {
  color: var(--muted);
  line-height: 1.8;
}

.workflow-rail {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  min-height: 144px;
  padding: 16px;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.workflow-card:hover,
.workflow-card.active {
  border-color: rgba(232, 61, 79, 0.42);
  box-shadow: 0 12px 30px rgba(31, 44, 42, 0.07);
  transform: translateY(-2px);
}

.workflow-card > span,
.process-grid span {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  margin-bottom: 14px;
  width: 28px;
}

.workflow-card.active > span {
  background: var(--accent);
}

.workflow-card strong,
.process-grid strong {
  display: block;
  margin-bottom: 7px;
}

.workflow-card p,
.process-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.workflow-detail {
  background:
    linear-gradient(90deg, rgba(7, 154, 154, 0.12), transparent 68%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  grid-column: 2;
  padding: 18px;
}

.workflow-detail span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}

.workflow-detail strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

.workflow-detail p {
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.apply-band {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  margin-bottom: 14px;
  padding: 22px;
}

.apply-list {
  margin: 0;
}

.compliance-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

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

.page-links a {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-weight: 800;
  min-height: 44px;
  padding: 12px;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.page-links a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

.tool-panel.compact {
  padding: 16px;
}

.panel-head {
  gap: 14px;
  margin-bottom: 14px;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.action-button,
.link-button {
  align-items: center;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.action-button::before {
  color: var(--cyan);
  content: attr(data-icon);
  font-size: 13px;
  font-weight: 800;
}

.action-button:hover,
.link-button:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

.action-button:disabled {
  cursor: wait;
  opacity: 0.64;
  transform: none;
}

.action-button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.action-button.primary::before {
  color: #fff;
}

.action-button.primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.notice {
  background: #fff8f3;
  border: 1px solid #f1d7b5;
  border-radius: 8px;
  color: #7f4d00;
  font-size: 13px;
  line-height: 1.55;
  margin: 0 0 8px;
  padding: 11px 12px;
}

.notice p {
  margin: 0 0 4px;
}

.notice p:last-child {
  margin-bottom: 0;
}

.notice ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.video-list {
  border-top: 1px solid var(--line);
}

.quality-failed {
  border-bottom: 1px solid var(--line);
  color: #8b1730;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 0;
}

.video-item {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 10px;
  grid-template-columns: 42px minmax(0, 1fr) minmax(210px, 0.36fr);
  padding: 14px 0;
}

.video-item:last-child {
  border-bottom: 0;
}

.rank {
  color: var(--accent);
  font-size: 18px;
  font-weight: 900;
}

.video-title strong {
  display: block;
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.video-meta,
.video-stats {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 4px 0 0;
}

.video-stats {
  align-self: center;
  text-align: right;
}

.video-item a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.side-stack {
  display: grid;
  gap: 14px;
}

.config-list,
.plain-list {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
}

.config-row,
.plain-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 9px;
}

.config-row:last-child,
.plain-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.tag-ok,
.tag-warn,
.tag-neutral {
  border-radius: 999px;
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  min-height: 24px;
  padding: 4px 9px;
}

.tag-ok {
  background: #e8f7f1;
  color: var(--green);
}

.tag-warn {
  background: #fff4df;
  color: var(--amber);
}

.tag-neutral {
  background: #eef2f1;
  color: var(--muted);
}

.result,
.logs {
  background: var(--panel);
  border-radius: 8px;
  color: #dfe9e5;
  line-height: 1.6;
  margin: 12px 0 0;
  max-height: 260px;
  overflow: auto;
  overflow-wrap: anywhere;
  padding: 12px;
  white-space: pre-wrap;
  word-break: break-word;
}

.info-band {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  margin-bottom: 14px;
}

.process-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-grid div {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 132px;
  padding: 14px;
}

.process-grid p {
  font-size: 13px;
}

.logs-panel {
  margin-bottom: 16px;
}

.site-footer {
  color: var(--muted);
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 10px 2px 0;
}

.legal-page {
  margin: 0 auto 16px;
  max-width: 980px;
  padding: 28px;
}

.legal-page.mini {
  margin: 0;
  max-width: none;
  padding: 22px;
}

.legal-page header {
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
  padding-bottom: 18px;
}

.legal-page h1 {
  font-size: 30px;
}

.legal-page h2 {
  margin-top: 24px;
}

.legal-page.mini h2,
.info-band h2,
.tool-panel h2,
.apply-band h2,
.workflow-copy h2,
.workflow-detail h2 {
  margin-top: 0;
}

.legal-page ul,
.legal-page ol {
  padding-left: 20px;
}

.login-frame {
  min-height: 100vh;
}

.login-panel {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 360px;
  margin: 12vh auto 0;
  max-width: 920px;
  padding: 32px;
}

.login-form {
  align-self: center;
  display: grid;
  gap: 10px;
}

.login-form label {
  color: var(--muted);
  font-weight: 700;
}

.login-form input {
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--text);
  min-height: 42px;
  padding: 9px 11px;
}

.login-form input:focus {
  border-color: var(--cyan);
  outline: 3px solid rgba(7, 154, 154, 0.16);
}

.form-message {
  color: var(--amber);
  margin: 0;
  min-height: 20px;
}

.callback-box {
  background: #f7fbfa;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}

.callback-box pre {
  background: var(--panel);
  border-radius: 8px;
  color: #dfe9e5;
  overflow: auto;
  padding: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1080px) {
  .product-header,
  .public-hero,
  .workspace,
  .info-band,
  .workflow-band,
  .apply-band,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .workflow-detail {
    grid-column: auto;
  }

  .visual-board {
    min-height: 190px;
  }
}

@media (max-width: 820px) {
  .site-frame {
    padding: 14px;
  }

  .site-nav,
  .panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links,
  .toolbar {
    justify-content: flex-start;
  }

  .status-grid,
  .public-metrics,
  .compliance-grid,
  .process-grid,
  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-hero {
    min-height: auto;
    padding: 24px 0 18px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .public-hero h1 {
    font-size: 38px;
  }

  .signal-panel {
    min-height: 0;
  }

  .video-item {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .video-stats {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 27px;
  }

  .product-header,
  .tool-panel,
  .info-band,
  .legal-page,
  .apply-band,
  .workflow-copy,
  .workflow-detail {
    padding: 16px;
  }

  .status-grid,
  .public-metrics,
  .workflow-rail,
  .compliance-grid,
  .process-grid,
  .visual-grid,
  .hero-facts,
  .page-links {
    grid-template-columns: 1fr;
  }

  .public-hero h1 {
    font-size: 31px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .signal-panel {
    padding: 15px;
  }

  .signal-grid {
    gap: 6px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
    height: 150px;
    min-height: 0;
  }

  .signal-control,
  .signal-insight {
    align-items: flex-start;
    flex-direction: column;
  }

  .signal-control input[type="range"] {
    width: 100%;
  }

  .signal-insight strong,
  .signal-control output {
    text-align: left;
  }

  .visual-chart {
    grid-column: auto;
    grid-row: auto;
    min-height: 120px;
  }

  .action-button,
  .link-button {
    justify-content: center;
    width: 100%;
  }

  .login-panel {
    margin-top: 7vh;
    padding: 18px;
  }

  .config-row,
  .plain-list div {
    align-items: flex-start;
    flex-direction: column;
  }

  dd {
    text-align: left;
  }
}
