:root {
  --bg: #eef3f8;
  --bg-deep: #dfe8f2;
  --paper: rgba(255, 255, 255, 0.98);
  --paper-strong: #ffffff;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-hover: #ffffff;
  --line: rgba(31, 42, 68, 0.1);
  --line-strong: rgba(31, 42, 68, 0.18);
  --text: #0d1424;
  --muted: #536275;
  --muted-strong: #1f3048;
  --navy: #0f1e4f;
  --navy-soft: rgba(30, 58, 138, 0.08);
  --accent: #00a79d;
  --accent-dark: #04746c;
  --accent-soft: rgba(0, 167, 157, 0.12);
  --violet: #4f63d8;
  --violet-soft: rgba(79, 99, 216, 0.1);
  --gold: #d7a02f;
  --sky: #3b82f6;
  --sky-soft: rgba(59, 130, 246, 0.12);
  --ok: #12805c;
  --ok-soft: rgba(18, 128, 92, 0.12);
  --error: #c2413d;
  --error-soft: rgba(194, 65, 61, 0.12);
  --shadow: 0 34px 86px rgba(9, 18, 38, 0.16);
  --shadow-soft: 0 18px 44px rgba(9, 18, 38, 0.1);
  --shadow-hairline: 0 1px 2px rgba(15, 23, 42, 0.045);
  --glass: rgba(255, 255, 255, 0.74);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54));
  --radius-xl: 14px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 8px;
  --font-sans: Inter, "Avenir Next", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  --font-serif: Inter, "Avenir Next", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(145deg, rgba(0, 167, 157, 0.1) 0%, transparent 30%),
    linear-gradient(235deg, rgba(79, 99, 216, 0.1) 0%, transparent 28%),
    linear-gradient(180deg, rgba(252, 254, 255, 0.9) 0%, rgba(230, 238, 248, 0.96) 100%),
    linear-gradient(135deg, #f8fafc 0%, #e8f0f7 48%, #eef3f8 100%);
  font-family: var(--font-sans);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(15, 30, 79, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 30, 79, 0.026) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.26), transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.46) 43%, transparent 68%);
  opacity: 0.34;
  mix-blend-mode: soft-light;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
  border-radius: var(--radius-md);
  padding: 0.82rem 1.08rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 42%),
    linear-gradient(135deg, #0f1e4f 0%, #00a79d 100%);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(30, 58, 138, 0.18);
  filter: saturate(1.05);
}

button:active {
  transform: translateY(0);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(17, 56, 71, 0.14);
  font-weight: 700;
}

.inline-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.72rem 1rem;
  border-radius: var(--radius-md);
  background: var(--navy-soft);
  color: var(--navy);
  border: 1px solid rgba(17, 56, 71, 0.14);
}

.danger-button {
  background: linear-gradient(135deg, #b4232f 0%, #e15b4f 100%);
  color: #ffffff;
}

.screen-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(20, 184, 166, 0.22), transparent 26%),
    radial-gradient(circle at 82% 8%, rgba(59, 130, 246, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, transparent 32%),
    linear-gradient(180deg, #060d1b 0%, #0e1729 48%, #0b1222 100%);
  color: #e5eef8;
}

.screen-body::before {
  background:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: none;
}

.screen-body .site-footer {
  display: none;
}

.screen-shell {
  position: relative;
  z-index: 1;
  width: min(1840px, 100%);
  margin: 0 auto;
  padding: 1.25rem;
}

.screen-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 38%),
    rgba(8, 17, 31, 0.72);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.screen-kicker,
.screen-panel-head span,
.screen-stat span {
  color: #5eead4;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.screen-hero h1 {
  margin: 0.35rem 0;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 4rem);
}

.screen-hero p,
.screen-time span,
.screen-stat p,
.screen-panel-head strong,
.screen-funnel-item p,
.screen-question span,
.screen-feed-item span {
  color: #9fb0c7;
}

.screen-time {
  min-width: 220px;
  text-align: right;
}

.screen-time strong {
  display: block;
  margin-top: 0.35rem;
  color: #ffffff;
  font-size: 1.1rem;
}

.screen-stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.screen-stat,
.screen-panel {
  border: 1px solid rgba(148, 163, 184, 0.17);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(15, 23, 42, 0.76);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(14px);
}

.screen-stat {
  padding: 0.92rem;
}

.screen-stat strong {
  display: block;
  margin: 0.25rem 0;
  color: #ffffff;
  font-size: 1.95rem;
  letter-spacing: -0.035em;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.screen-panel {
  min-height: 260px;
  padding: 0.95rem;
}

.screen-panel.span-7 {
  grid-column: span 7;
}

.screen-panel.span-5 {
  grid-column: span 5;
}

.screen-panel.span-4 {
  grid-column: span 4;
}

.screen-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.screen-model-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.7rem;
}

.screen-model-card {
  padding: 0.85rem;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(20, 184, 166, 0.06), rgba(8, 17, 31, 0.78));
  border: 1px solid rgba(94, 234, 212, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.screen-model-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  color: #ffffff;
}

.screen-model-top span {
  font-size: 1.7rem;
  font-weight: 900;
  color: #facc15;
}

.screen-meter {
  height: 9px;
  margin: 0.85rem 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
}

.screen-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #14b8a6, #38bdf8, #facc15);
}

.screen-model-meta {
  display: grid;
  gap: 0.38rem;
  color: #cbd5e1;
  font-size: 0.86rem;
}

.screen-funnel,
.screen-question-list,
.screen-audit-list,
.screen-feed {
  display: grid;
  gap: 0.62rem;
}

.screen-funnel-item,
.screen-question,
.screen-audit,
.screen-feed-item {
  padding: 0.72rem;
  border-radius: 11px;
  background: rgba(8, 17, 31, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.screen-funnel-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.3rem 0.8rem;
}

.screen-funnel-item strong {
  grid-row: span 2;
  color: #ffffff;
  font-size: 1.7rem;
}

.screen-question strong,
.screen-feed-item strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #ffffff;
  line-height: 1.35;
}

.screen-audit {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.55rem;
}

.screen-audit span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.screen-audit span.ok {
  background: #22c55e;
}

.screen-audit span.warn {
  background: #f59e0b;
}

.screen-audit strong {
  color: #ffffff;
}

.screen-audit em {
  color: #cbd5e1;
  font-style: normal;
}

input,
select,
textarea {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 41, 59, 0.13);
  background: rgba(255, 255, 255, 0.98);
  padding: 0.82rem 0.9rem;
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 159, 154, 0.42);
  box-shadow: 0 0 0 4px rgba(15, 159, 154, 0.14);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

label {
  display: grid;
  gap: 0.42rem;
  color: var(--muted);
  font-size: 0.94rem;
}

label span {
  font-size: 0.82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-strong);
  font-weight: 800;
}

.login-shell {
  display: grid;
  place-items: center;
  padding: 2rem;
}

.app-body {
  padding: 0;
}

.login-card,
.panel,
.stat-card,
.sidebar,
.topbar,
.hero-panel,
.login-story {
  backdrop-filter: blur(20px);
}

.login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 460px);
  align-items: stretch;
  gap: 1.4rem;
  width: min(1200px, 100%);
}

.login-story,
.login-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.login-story {
  padding: 2.6rem;
  background:
    linear-gradient(90deg, rgba(10, 20, 42, 0.88) 0%, rgba(17, 31, 61, 0.72) 46%, rgba(17, 31, 61, 0.24) 100%),
    url("./assets/geo-hero-visual.png") center / cover no-repeat;
  color: #ffffff;
}

.brand-logo-card {
  display: flex;
  align-items: center;
  width: min(440px, 100%);
  min-height: 72px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.brand-logo-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.login-story::after {
  content: none;
}

.login-story .eyebrow {
  margin-top: 1.2rem;
  background: rgba(94, 234, 212, 0.16);
  color: #99f6e4;
  border: 1px solid rgba(94, 234, 212, 0.22);
}

.login-card {
  width: 100%;
  padding: 2rem;
  background: var(--paper);
}

.login-card h2,
.login-story h1,
.hero-panel h1,
.brand-block h1,
.panel h2,
.stat-card strong,
.metric-line strong {
  font-family: var(--font-serif);
  letter-spacing: -0.025em;
  margin: 0;
}

.login-story h1 {
  max-width: 12ch;
  margin-top: 1rem;
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  line-height: 0.98;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.login-card h2 {
  font-size: 2rem;
}

.login-story p,
.login-card p,
.hero-panel p,
.brand-block p,
.list-row p,
.list-card p,
.muted,
.sidebar-note p {
  color: var(--muted);
  line-height: 1.62;
}

.login-story p {
  color: rgba(226, 232, 240, 0.82);
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack.compact {
  gap: 0.75rem;
}

.section-stack {
  display: grid;
  gap: 1rem;
}

.section-intro {
  display: grid;
  gap: 0.42rem;
  align-content: start;
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.section-intro h2,
.section-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-intro p,
.section-desc {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.8rem;
}

.feature-chip {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.login-story .feature-chip {
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.feature-chip strong,
.sidebar-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.feature-chip span {
  color: var(--muted);
  font-size: 0.94rem;
}

.login-story .feature-chip span {
  color: rgba(226, 232, 240, 0.78);
}

.login-tip {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.eyebrow,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.card-kicker {
  background: var(--navy-soft);
  color: var(--navy);
}

.alert {
  margin: 1rem 0;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  box-shadow: 0 10px 24px rgba(28, 43, 68, 0.05);
}

.alert.success {
  background: var(--ok-soft);
  border-color: rgba(18, 128, 92, 0.18);
  color: var(--ok);
}

.alert.error {
  background: var(--error-soft);
  border-color: rgba(194, 65, 61, 0.18);
  color: var(--error);
}

.app-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 1.45rem;
  min-height: 100vh;
  padding: 1.45rem;
  position: relative;
}

.sidebar {
  position: sticky;
  top: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: calc(100vh - 2.9rem);
  min-height: 0;
  padding: 1.18rem;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(150deg, rgba(0, 167, 157, 0.24), transparent 34%),
    linear-gradient(168deg, #07101f 0%, #0f1e4f 48%, #064f4c 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 72px rgba(9, 18, 38, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f8fafc;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: auto, 18px 18px;
  opacity: 0.8;
}

.brand-block {
  position: relative;
  z-index: 1;
  padding: 0.1rem 0.1rem 0.95rem;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  width: min(206px, 100%);
  min-height: 54px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sidebar-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.32));
}

.brand-block::after {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-top: 1rem;
  background: linear-gradient(90deg, rgba(94, 234, 212, 0.9), rgba(96, 165, 250, 0.45), transparent);
}

.brand-block .eyebrow {
  margin-top: 0.85rem;
  background: rgba(94, 234, 212, 0.16);
  color: #99f6e4;
}

.brand-block h1 {
  margin-top: 0.75rem;
  font-size: 1.58rem;
  line-height: 1.12;
}

.brand-block p {
  color: rgba(226, 232, 240, 0.78);
}

.nav {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.34rem;
  min-height: 0;
  overflow: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}

.nav-link {
  position: relative;
  padding: 0.84rem 0.95rem 0.84rem 1.05rem;
  border-radius: 10px;
  color: rgba(226, 232, 240, 0.78);
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 760;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.nav-link.active,
.nav-link:hover {
  transform: translateX(2px);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.075));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link.active::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 4px;
  height: 24px;
  border-radius: 999px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, #5eead4, #38bdf8);
}

.sidebar-note {
  margin-top: auto;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.sidebar-note .card-kicker {
  background: rgba(94, 234, 212, 0.14);
  color: #99f6e4;
}

.sidebar .sidebar-note p {
  margin: 0;
  color: rgba(248, 250, 252, 0.88);
  font-size: 0.92rem;
  font-weight: 560;
  line-height: 1.62;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.24);
}

.logout-form {
  position: relative;
  z-index: 1;
  margin-top: 0.4rem;
}

.main {
  display: grid;
  align-content: start;
  gap: 1.18rem;
  padding-bottom: 2rem;
  max-width: 1540px;
  width: 100%;
}

.topbar,
.hero-panel,
.panel,
.stat-card {
  border: 1px solid rgba(31, 42, 68, 0.095);
  background: var(--glass-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hairline), 0 16px 38px rgba(15, 23, 42, 0.065);
  backdrop-filter: blur(20px);
}

.topbar {
  position: sticky;
  top: 1.45rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.96rem 1.18rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.66));
  box-shadow: 0 18px 42px rgba(9, 18, 38, 0.08);
}

.topbar strong {
  font-size: 1.06rem;
}

.module-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.32rem;
  border: 1px solid rgba(31, 42, 68, 0.095);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 20px rgba(28, 43, 68, 0.045);
  backdrop-filter: blur(16px);
}

.module-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.48rem 0.78rem;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.module-tabs a.active,
.module-tabs a:hover {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.055), inset 0 0 0 1px rgba(15, 159, 154, 0.12);
}

.setup-guide-panel {
  overflow: hidden;
}

.setup-guide {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  counter-reset: setup-step;
}

.setup-step {
  position: relative;
  display: grid;
  gap: 0.42rem;
  min-height: 172px;
  padding: 1.05rem 1.05rem 1rem 1.1rem;
  border: 1px solid rgba(31, 42, 68, 0.095);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 250, 0.8));
  box-shadow: 0 12px 28px rgba(9, 18, 38, 0.052);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.setup-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.18);
}

.setup-step:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(15, 159, 154, 0.28);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.07);
}

.setup-step span {
  width: fit-content;
  padding: 0.24rem 0.52rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #0f1e4f;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(30, 58, 138, 0.08);
}

.setup-step strong {
  color: var(--text);
  font-size: 1.06rem;
  line-height: 1.28;
}

.setup-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.setup-step em {
  align-self: end;
  width: fit-content;
  padding: 0.24rem 0.56rem;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.1);
  color: var(--muted-strong);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 800;
}

.setup-step.ready em {
  background: var(--ok-soft);
  color: var(--ok);
}

.setup-step.ready::before {
  background: var(--ok);
}

.setup-step.warning em {
  background: rgba(217, 154, 43, 0.14);
  color: #9a6514;
}

.setup-step.warning::before {
  background: var(--gold);
}

.setup-step.blocked em {
  background: var(--error-soft);
  color: var(--error);
}

.setup-step.blocked::before {
  background: var(--error);
}

.readiness-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.readiness-mini-grid article {
  display: grid;
  gap: 0.45rem;
  padding: 1.12rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 42, 68, 0.09);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(9, 18, 38, 0.055);
  backdrop-filter: blur(14px);
}

.readiness-mini-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.readiness-mini-grid strong {
  color: var(--text);
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.035em;
}

.readiness-mini-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.readiness-mini-grid .ready {
  border-color: rgba(18, 128, 92, 0.2);
  background: linear-gradient(145deg, rgba(240, 253, 244, 0.9), rgba(255, 255, 255, 0.68));
}

.readiness-mini-grid .warning {
  border-color: rgba(217, 154, 43, 0.22);
  background: linear-gradient(145deg, rgba(255, 251, 235, 0.9), rgba(255, 255, 255, 0.68));
}

.readiness-mini-grid .blocked {
  border-color: rgba(194, 65, 61, 0.2);
  background: linear-gradient(145deg, rgba(254, 242, 242, 0.9), rgba(255, 255, 255, 0.68));
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) 360px;
  gap: 1.15rem;
  min-height: 328px;
  padding: 1.65rem;
  background:
    linear-gradient(100deg, rgba(7, 16, 31, 0.94) 0%, rgba(13, 28, 58, 0.88) 42%, rgba(11, 82, 78, 0.44) 100%),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 72px rgba(9, 18, 38, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.13);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -34% 36%;
  height: 220px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 167, 157, 0.32), rgba(56, 189, 248, 0.16), transparent);
  filter: blur(10px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(94, 234, 212, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(94, 234, 212, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.16), transparent 72%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-panel h1 {
  margin-top: 0.9rem;
  font-size: clamp(2.45rem, 3.55vw, 4.08rem);
  line-height: 0.98;
  max-width: 13ch;
  color: #ffffff;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.hero-panel p {
  max-width: 56ch;
  color: rgba(226, 239, 248, 0.86);
}

.hero-panel .eyebrow {
  background: rgba(94, 234, 212, 0.14);
  color: #a7fff0;
  border: 1px solid rgba(94, 234, 212, 0.22);
}

.hero-panel .meta-chip {
  background: rgba(255, 255, 255, 0.1);
  color: #e6fffb;
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.hero-badge {
  position: relative;
  z-index: 2;
  align-self: stretch;
  padding: 1.25rem;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055));
  color: #d8fff9;
  border: 1px solid rgba(255, 255, 255, 0.17);
  box-shadow: 0 22px 42px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
}

.hero-badge strong {
  display: block;
  margin-top: 0.7rem;
  font-size: 1.42rem;
  line-height: 1.2;
  color: #ffffff;
}

.hero-badge p {
  color: rgba(226, 239, 248, 0.78);
}

.hero-badge p {
  margin-bottom: 0;
}

.stats-grid,
.panel-grid {
  display: grid;
  gap: 1rem;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.panel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 126px;
  padding: 1.22rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(240, 246, 250, 0.82));
  isolation: isolate;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -24px;
  top: -24px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 167, 157, 0.13), rgba(79, 99, 216, 0.08));
  z-index: 0;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto 14px 12px auto;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(15, 30, 79, 0.34), rgba(0, 167, 157, 0.68));
  opacity: 0.75;
}

.stat-card span {
  position: relative;
  z-index: 1;
  color: var(--muted);
  display: block;
  font-size: 0.86rem;
  font-weight: 650;
}

.stat-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 0.55rem;
  font-size: 2.72rem;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #151d2e;
}

.panel {
  position: relative;
  overflow: hidden;
  padding: 1.26rem;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(0, 167, 157, 0.035), transparent 42%);
  opacity: 0.72;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.panel:hover {
  background: var(--panel-hover);
  box-shadow: 0 24px 54px rgba(9, 18, 38, 0.11);
  border-color: rgba(15, 30, 79, 0.16);
}

.panel-head,
.list-row,
.chip-row,
.action-row,
.metric-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.panel-head {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(31, 42, 68, 0.085);
}

.panel-head h2 {
  font-size: 1.44rem;
  line-height: 1.16;
  color: var(--text);
}

.panel-head p {
  margin: 0.32rem 0 0;
}

.panel-head a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.68rem;
  border-radius: 999px;
  background: rgba(15, 30, 79, 0.075);
  color: var(--navy);
  font-weight: 700;
  border: 1px solid rgba(30, 58, 138, 0.08);
}

.panel-head a:hover {
  border-color: rgba(30, 58, 138, 0.18);
  background: rgba(30, 58, 138, 0.1);
}

.form-grid,
.info-grid {
  display: grid;
  gap: 0.9rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid .full {
  grid-column: 1 / -1;
}

.content-helper-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.15rem;
}

.content-helper-grid article {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 30, 79, 0.1);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(239, 247, 250, 0.86));
  box-shadow: 0 10px 24px rgba(9, 18, 38, 0.04);
}

.content-helper-grid span,
.form-section span,
.check-card small {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent-dark);
  font-weight: 800;
}

.content-helper-grid strong {
  display: block;
  margin-top: 0.38rem;
  color: var(--text);
  line-height: 1.45;
}

.content-helper-grid p,
.form-section p,
.submit-bar p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.58;
}

.form-section {
  margin-top: 0.35rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, rgba(0, 167, 157, 0.1), rgba(248, 250, 252, 0.9) 56%);
  border: 1px solid rgba(0, 167, 157, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.form-section:first-child {
  margin-top: 0;
}

.field-with-help em {
  font-style: normal;
  color: #69778a;
  font-size: 0.86rem;
  line-height: 1.55;
}

.submit-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(30, 58, 138, 0.12);
  background:
    linear-gradient(135deg, rgba(15, 30, 79, 0.08), rgba(0, 167, 157, 0.09)),
    rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 28px rgba(9, 18, 38, 0.055);
}

.submit-bar button {
  min-width: 150px;
}

.info-grid div {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid var(--line);
}

.info-grid span {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  font-weight: 700;
}

.info-grid strong {
  display: block;
  margin-top: 0.45rem;
  line-height: 1.45;
}

.meta-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  background: rgba(0, 167, 157, 0.11);
  color: var(--accent-dark);
  border: 1px solid rgba(0, 167, 157, 0.15);
  font-size: 0.82rem;
  line-height: 1.25;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.meta-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(36, 59, 128, 0.14);
}

.status-pill.ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: rgba(18, 128, 92, 0.14);
}

.status-pill.error {
  background: var(--error-soft);
  color: var(--error);
  border-color: rgba(194, 65, 61, 0.14);
}

.status-pill.warning {
  background: rgba(245, 158, 11, 0.14);
  color: #a15c07;
  border-color: rgba(245, 158, 11, 0.22);
}

.status-pill.muted {
  background: rgba(100, 116, 139, 0.1);
  color: var(--muted);
  border-color: rgba(100, 116, 139, 0.12);
}

.list-card,
.details-card,
.variant-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(31, 42, 68, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(9, 18, 38, 0.045);
  backdrop-filter: blur(14px);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.list-card:hover,
.details-card:hover,
.variant-card:hover {
  border-color: rgba(15, 30, 79, 0.16);
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(9, 18, 38, 0.07);
}

.list-card,
.variant-card {
  padding: 0.95rem;
}

.list-card strong,
.variant-card strong,
.details-card strong {
  line-height: 1.3;
}

.details-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  cursor: pointer;
  padding: 0.95rem;
}

.details-card summary::after {
  content: "展开";
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  background: rgba(30, 58, 138, 0.08);
  font-size: 0.76rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.details-card[open] summary::after {
  content: "收起";
}

.details-card summary::-webkit-details-marker {
  display: none;
}

.details-body {
  padding: 0 1rem 1rem;
}

.summary-block {
  display: grid;
  gap: 0.28rem;
}

.summary-block p,
.summary-micro {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.summary-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.summary-split > div:first-child {
  min-width: 0;
}

.action-row {
  flex-wrap: wrap;
  margin: 0.9rem 0;
}

.action-row form {
  flex: 1 1 180px;
}

.action-row button {
  width: 100%;
}

.inline-form {
  display: flex;
  align-items: end;
  gap: 0.8rem;
  flex: 1 1 320px;
}

.compact-field {
  display: grid;
  gap: 0.35rem;
  flex: 1 1 auto;
}

.compact-field span {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--line);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.check-card {
  position: relative;
  display: grid;
  gap: 0.36rem;
  align-content: start;
  min-height: 108px;
  padding: 0.92rem 0.95rem 0.92rem 2.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.035);
}

.check-card input[type="checkbox"] {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.check-card strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text);
}

.check-card small {
  width: fit-content;
  padding: 0.18rem 0.48rem;
  border-radius: 999px;
  background: rgba(15, 159, 154, 0.1);
}

.check-card span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
  text-transform: none;
  letter-spacing: normal;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.table-shell {
  overflow: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

thead th {
  position: sticky;
  top: 0;
  background: rgba(241, 245, 249, 0.95);
  backdrop-filter: blur(14px);
}

th,
td {
  text-align: left;
  padding: 0.82rem 0.78rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

tbody tr:hover td {
  background: rgba(240, 253, 250, 0.48);
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 700;
}

.metric-stack {
  display: grid;
  gap: 0.8rem;
}

.metric-line {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(248, 250, 252, 0.92);
  border: 1px solid var(--line);
}

.metric-line span {
  color: var(--muted);
}

.metric-line strong {
  font-size: 1.45rem;
}

.geo-score-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
}

.geo-score-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(36, 59, 128, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
  box-shadow: 0 14px 34px rgba(28, 43, 68, 0.06);
}

.geo-score-card.muted {
  opacity: 0.72;
}

.geo-score-card .list-row {
  margin-bottom: 0.8rem;
}

.geo-score-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1.08rem;
}

.geo-score {
  min-width: 54px;
  padding: 0.38rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 159, 154, 0.12);
  color: var(--accent-dark);
  text-align: center;
  font-weight: 900;
}

.metric-stack.compact {
  gap: 0.45rem;
}

.metric-stack.compact .metric-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.62rem 0.7rem;
}

.metric-stack.compact .metric-line strong {
  font-size: 0.98rem;
}

.demo-ribbon {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(20, 32, 51, 0.92);
  color: #ffffff;
  font-size: 0.86rem;
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.22);
}

.demo-home .panel {
  background: rgba(255, 255, 255, 0.92);
}

.filter-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.archive-shell {
  display: grid;
  gap: 1rem;
}

.archive-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 320px);
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.archive-highlight strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.12;
}

.archive-highlight p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.archive-meta {
  display: grid;
  gap: 0.7rem;
}

.archive-meta .meta-chip,
.archive-meta .status-pill {
  justify-content: flex-start;
}

.content-card-grid {
  display: grid;
  gap: 1rem;
}

.content-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.table-title {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 0.9rem;
}

.table-title p {
  margin: 0;
  color: var(--muted);
}

.demo-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.demo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 59, 128, 0.12);
  box-shadow: 0 24px 48px rgba(28, 43, 68, 0.12);
}

/* Youyan premium brand skin */
.app-body {
  color: #1f2933;
  background:
    linear-gradient(135deg, rgba(38, 94, 99, 0.1) 0%, transparent 32%),
    linear-gradient(230deg, rgba(47, 44, 44, 0.055) 0%, transparent 26%),
    linear-gradient(180deg, #f7f9fb 0%, #edf3f6 46%, #f4f7f8 100%);
}

.app-body::before {
  background:
    linear-gradient(rgba(38, 94, 99, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 94, 99, 0.022) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent 78%);
}

.app-body::after {
  opacity: 0.2;
  background: linear-gradient(125deg, transparent 0%, rgba(255, 255, 255, 0.64) 42%, transparent 66%);
}

.app-body .app-shell {
  grid-template-columns: 284px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.35rem;
}

.app-body .sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(160deg, #265e63 0%, #244d52 48%, #343131 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 56px rgba(38, 94, 99, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-body .brand-block h1 {
  font-size: 1.54rem;
  letter-spacing: 0;
}

.app-body .brand-block p {
  color: rgba(248, 250, 252, 0.82);
}

.app-body .nav-link {
  color: rgba(248, 250, 252, 0.76);
  border-color: rgba(255, 255, 255, 0.035);
}

.app-body .nav-link.active,
.app-body .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.app-body .nav-link.active::before {
  height: 26px;
  background: linear-gradient(180deg, #ffffff, #9ad9d3);
  box-shadow: 0 0 12px rgba(154, 217, 211, 0.48);
}

.app-body .main {
  gap: 1.18rem;
}

.app-body .topbar,
.app-body .module-tabs,
.app-body .hero-panel,
.app-body .panel,
.app-body .stat-card {
  border-color: rgba(38, 94, 99, 0.12);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 36px rgba(47, 44, 44, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

.app-body .topbar {
  background: rgba(255, 255, 255, 0.86);
}

.app-body .topbar strong,
.app-body .panel h2,
.app-body .panel-head h2,
.app-body .stat-card strong,
.app-body .list-card strong,
.app-body .variant-card strong,
.app-body .details-card strong,
.app-body .content-helper-grid strong,
.app-body .info-grid strong,
.app-body .setup-step strong {
  color: #202427;
}

.app-body .eyebrow,
.app-body .card-kicker,
.app-body .section-kicker {
  color: #265e63;
  background: rgba(38, 94, 99, 0.09);
  border: 1px solid rgba(38, 94, 99, 0.12);
}

.app-body .chip-row .meta-chip,
.app-body .meta-chip,
.app-body .status-pill {
  color: #265e63;
  background: rgba(38, 94, 99, 0.085);
  border-color: rgba(38, 94, 99, 0.13);
}

.app-body .status-pill.warning {
  color: #8a5f12;
  background: rgba(215, 160, 47, 0.13);
  border-color: rgba(215, 160, 47, 0.22);
}

.app-body .status-pill.ok {
  color: #126342;
  background: rgba(18, 128, 92, 0.11);
  border-color: rgba(18, 128, 92, 0.17);
}

.app-body .status-pill.muted {
  color: #64748b;
  background: rgba(100, 116, 139, 0.1);
  border-color: rgba(100, 116, 139, 0.12);
}

.app-body .hero-panel {
  min-height: 318px;
  grid-template-columns: minmax(0, 1.2fr) 340px;
  background:
    linear-gradient(96deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.93) 42%, rgba(38, 94, 99, 0.18) 100%),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
  border-color: rgba(38, 94, 99, 0.14);
}

.app-body .hero-panel h1 {
  font-size: clamp(2.2rem, 3.1vw, 3.65rem);
  max-width: 13ch;
  color: #202427;
  text-shadow: none;
}

.app-body .hero-panel p {
  color: #536275;
  font-size: 1rem;
}

.app-body .hero-badge {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(38, 94, 99, 0.16);
  color: #265e63;
}

.app-body .stat-card {
  min-height: 126px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 248, 0.9));
  border-color: rgba(38, 94, 99, 0.12);
}

.app-body .stat-card span,
.app-body .list-row p,
.app-body .list-card p,
.app-body .section-intro p,
.app-body .section-desc,
.app-body .muted,
.app-body .content-helper-grid p,
.app-body .form-section p,
.app-body .submit-bar p,
.app-body .field-with-help em,
.app-body .summary-block p,
.app-body .summary-micro {
  color: #5b687a;
}

.app-body .stat-card strong {
  font-size: 2.72rem;
}

.app-body .setup-step,
.app-body .readiness-mini-grid article,
.app-body .content-helper-grid article,
.app-body .form-section,
.app-body .submit-bar,
.app-body .info-grid div,
.app-body .list-card,
.app-body .details-card,
.app-body .variant-card,
.app-body .metric-line,
.app-body .check-card,
.app-body .table-shell,
.app-body pre {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(38, 94, 99, 0.1);
  box-shadow: 0 10px 24px rgba(47, 44, 44, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.app-body .setup-step::before {
  box-shadow: none;
}

.app-body input,
.app-body select,
.app-body textarea {
  color: #202427;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(38, 94, 99, 0.13);
}

.app-body input::placeholder,
.app-body textarea::placeholder {
  color: rgba(83, 98, 117, 0.58);
}

.app-body label,
.app-body label span,
.app-body .info-grid span,
.app-body th,
.app-body td {
  color: #536275;
}

.app-body thead th {
  background: rgba(238, 243, 246, 0.94);
}

.app-body tbody tr:hover td {
  background: rgba(38, 94, 99, 0.055);
}

.app-body .panel-head {
  border-bottom-color: rgba(38, 94, 99, 0.1);
}

.app-body .panel-head a,
.app-body .inline-link-button,
.app-body .ghost-button {
  color: #265e63;
  background: rgba(38, 94, 99, 0.085);
  border-color: rgba(38, 94, 99, 0.13);
}

.app-body .details-card summary::after {
  color: #265e63;
  background: rgba(38, 94, 99, 0.085);
}

.app-body .module-tabs a {
  color: #536275;
}

.app-body .module-tabs a.active,
.app-body .module-tabs a:hover {
  color: #265e63;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 0 1px rgba(38, 94, 99, 0.14), 0 10px 24px rgba(47, 44, 44, 0.07);
}

/* Readability correction: calm brand dashboard */
.app-body {
  color: #1f2933;
  background:
    linear-gradient(180deg, #f7fafb 0%, #eef4f5 48%, #f8faf9 100%);
}

.app-body::before {
  background: none;
}

.app-body::after {
  content: none;
}

.app-body .app-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.2rem;
  padding: 1.2rem;
}

.app-body .sidebar {
  background: linear-gradient(180deg, #285f64 0%, #28595e 54%, #333130 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 42px rgba(32, 36, 39, 0.18);
}

.app-body .sidebar::after {
  content: none;
}

.app-body .brand-block h1 {
  color: #ffffff;
  font-size: 1.48rem;
}

.app-body .brand-block p,
.app-body .nav-link {
  color: rgba(255, 255, 255, 0.84);
}

.app-body .nav-link.active,
.app-body .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.app-body .nav-link.active::before {
  background: #ffffff;
  box-shadow: none;
}

.app-body .topbar,
.app-body .module-tabs,
.app-body .hero-panel,
.app-body .panel,
.app-body .stat-card,
.app-body .setup-step,
.app-body .readiness-mini-grid article,
.app-body .content-helper-grid article,
.app-body .form-section,
.app-body .submit-bar,
.app-body .info-grid div,
.app-body .list-card,
.app-body .details-card,
.app-body .variant-card,
.app-body .metric-line,
.app-body .check-card,
.app-body .table-shell,
.app-body pre {
  color: #1f2933;
  background: #ffffff;
  border-color: rgba(38, 94, 99, 0.12);
  box-shadow: 0 10px 24px rgba(32, 36, 39, 0.06);
  backdrop-filter: none;
}

.app-body .panel::before,
.app-body .hero-panel::before,
.app-body .hero-panel::after {
  content: none;
}

.app-body .hero-panel {
  min-height: 300px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.94) 48%, rgba(255, 255, 255, 0.72) 100%),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
}

.app-body .hero-panel h1,
.app-body .panel h2,
.app-body .panel-head h2,
.app-body .stat-card strong,
.app-body .list-card strong,
.app-body .variant-card strong,
.app-body .details-card strong,
.app-body .content-helper-grid strong,
.app-body .info-grid strong,
.app-body .setup-step strong,
.app-body .topbar strong {
  color: #1f2933;
  text-shadow: none;
}

.app-body .hero-panel h1 {
  font-size: clamp(2.2rem, 3vw, 3.45rem);
  line-height: 1.05;
  max-width: 15ch;
}

.app-body .hero-panel p,
.app-body .stat-card span,
.app-body .list-row p,
.app-body .list-card p,
.app-body .section-intro p,
.app-body .section-desc,
.app-body .muted,
.app-body .content-helper-grid p,
.app-body .form-section p,
.app-body .submit-bar p,
.app-body .field-with-help em,
.app-body .summary-block p,
.app-body .summary-micro,
.app-body .setup-step p,
.app-body .readiness-mini-grid p {
  color: #475569;
}

.app-body .eyebrow,
.app-body .card-kicker,
.app-body .section-kicker,
.app-body .meta-chip,
.app-body .status-pill,
.app-body .panel-head a,
.app-body .inline-link-button,
.app-body .ghost-button,
.app-body .details-card summary::after {
  color: #285f64;
  background: #e8f3f2;
  border-color: #cfe3e1;
}

.app-body .hero-panel .eyebrow,
.app-body .hero-panel .meta-chip {
  color: #285f64;
  background: #e8f3f2;
  border-color: #cfe3e1;
}

.app-body .hero-badge {
  color: #1f2933;
  background: #f4faf9;
  border-color: #cfe3e1;
  box-shadow: none;
}

.app-body .hero-badge strong,
.app-body .hero-badge p {
  color: #1f2933;
}

.app-body .stat-card {
  min-height: 120px;
}

.app-body .stat-card strong {
  font-size: 2.5rem;
}

.app-body input,
.app-body select,
.app-body textarea {
  color: #1f2933;
  background: #ffffff;
  border-color: rgba(38, 94, 99, 0.18);
}

.app-body input::placeholder,
.app-body textarea::placeholder {
  color: #94a3b8;
}

.app-body label,
.app-body label span,
.app-body .info-grid span,
.app-body th,
.app-body td {
  color: #334155;
}

.app-body thead th {
  background: #f1f6f6;
}

.app-body tbody tr:hover td {
  background: #f4faf9;
}

.app-body .status-pill.ok {
  color: #166534;
  background: #e8f7ed;
  border-color: #c9ebd4;
}

.app-body .status-pill.warning {
  color: #8a5f12;
  background: #fff6df;
  border-color: #f0dfb8;
}

.app-body .status-pill.error {
  color: #b4232f;
  background: #fff1f1;
  border-color: #f1cece;
}

.app-body .status-pill.muted {
  color: #64748b;
  background: #f1f5f9;
  border-color: #dbe4ee;
}

/* Harmonize app with login page: dark brand hero + readable white workspace */
.app-body {
  color: #202427;
  background:
    radial-gradient(circle at 12% 0%, rgba(38, 94, 99, 0.14), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(17, 31, 61, 0.09), transparent 30%),
    linear-gradient(180deg, #f5f8f8 0%, #edf3f4 48%, #f8faf9 100%);
}

.app-body .app-shell {
  grid-template-columns: 286px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.25rem;
}

.app-body .sidebar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(160deg, #111f3d 0%, #24465a 48%, #285f64 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 48px rgba(17, 31, 61, 0.24);
}

.app-body .topbar,
.app-body .module-tabs,
.app-body .panel,
.app-body .stat-card,
.app-body .setup-step,
.app-body .readiness-mini-grid article,
.app-body .content-helper-grid article,
.app-body .form-section,
.app-body .submit-bar,
.app-body .info-grid div,
.app-body .list-card,
.app-body .details-card,
.app-body .variant-card,
.app-body .metric-line,
.app-body .check-card,
.app-body .table-shell,
.app-body pre {
  color: #202427;
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(38, 94, 99, 0.11);
  box-shadow: 0 12px 28px rgba(32, 36, 39, 0.065);
}

.app-body .hero-panel {
  min-height: 318px;
  grid-template-columns: minmax(0, 1.18fr) 340px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(10, 20, 42, 0.9) 0%, rgba(17, 31, 61, 0.76) 48%, rgba(38, 94, 99, 0.38) 100%),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 54px rgba(17, 31, 61, 0.2);
}

.app-body .hero-panel h1 {
  color: #ffffff;
  font-size: clamp(2.45rem, 3.5vw, 4.1rem);
  line-height: 1.02;
  max-width: 13ch;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.app-body .hero-panel p {
  color: rgba(226, 232, 240, 0.86);
}

.app-body .hero-panel .eyebrow,
.app-body .hero-panel .meta-chip {
  color: #d7fffa;
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.22);
}

.app-body .hero-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.app-body .hero-badge strong {
  color: #ffffff;
}

.app-body .hero-badge p {
  color: rgba(226, 232, 240, 0.82);
}

.app-body .stat-card {
  min-height: 128px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f4f9f8 100%);
}

.app-body .stat-card strong {
  color: #202427;
  font-size: 2.7rem;
}

.app-body .eyebrow,
.app-body .card-kicker,
.app-body .section-kicker,
.app-body .meta-chip,
.app-body .status-pill,
.app-body .panel-head a,
.app-body .inline-link-button,
.app-body .ghost-button,
.app-body .details-card summary::after {
  color: #285f64;
  background: #e7f2f1;
  border-color: #cfe3e1;
}

.app-body .panel-head h2,
.app-body .panel h2,
.app-body .list-card strong,
.app-body .details-card strong,
.app-body .variant-card strong,
.app-body .setup-step strong,
.app-body .content-helper-grid strong,
.app-body .info-grid strong {
  color: #202427;
}

.app-body .list-row p,
.app-body .list-card p,
.app-body .section-intro p,
.app-body .content-helper-grid p,
.app-body .form-section p,
.app-body .submit-bar p,
.app-body .summary-block p,
.app-body .summary-micro,
.app-body .setup-step p,
.app-body .readiness-mini-grid p {
  color: #536275;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel,
.stat-card,
.hero-panel,
.login-card,
.login-story {
  animation: riseIn 420ms ease both;
}

@media (max-width: 1180px) {
  .login-stage,
  .hero-panel,
  .stats-grid,
  .panel-grid,
  .geo-score-grid,
  .setup-guide,
  .readiness-mini-grid,
  .screen-hero,
  .screen-stat-grid,
  .screen-model-grid,
  .form-grid,
  .info-grid,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .screen-panel.span-7,
  .screen-panel.span-5,
  .screen-panel.span-4 {
    grid-column: 1 / -1;
  }

  .screen-time {
    text-align: left;
  }

  .feature-band {
    grid-template-columns: 1fr;
  }

  .archive-highlight,
  .filter-summary-grid,
  .content-meta-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .login-shell,
  .app-shell {
    padding: 1rem;
  }

  .login-story,
  .login-card,
  .panel,
  .stat-card,
  .topbar,
  .hero-panel,
  .sidebar {
    border-radius: 24px;
  }

  .topbar,
  .panel-head,
  .list-row,
  .chip-row,
  .metric-line,
  .summary-split {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-panel h1,
  .login-story h1 {
    max-width: none;
  }

  .panel-head a,
  .meta-chip,
  .status-pill {
    margin-top: 0.25rem;
  }

  th,
  td {
    padding-inline: 0.5rem;
  }
}
.site-footer {
  padding: 18px 24px 28px;
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(34, 43, 69, 0.62);
}

.site-footer__inner a {
  color: inherit;
  text-decoration: none;
}

.site-footer__inner a:hover {
  text-decoration: underline;
}

/* Final brand system: calmer contrast, clearer hierarchy, login-matched tone */
.app-body {
  --brand-ink: #132238;
  --brand-ink-2: #20324d;
  --brand-teal: #235f63;
  --brand-teal-2: #17837e;
  --brand-mint: #dff3ee;
  --brand-gold: #c7942e;
  --surface: #ffffff;
  --surface-soft: #f4f8f7;
  --surface-tint: #edf5f3;
  --readable: #1d2838;
  --readable-soft: #596779;
  --stroke: rgba(35, 95, 99, 0.14);
  --stroke-strong: rgba(35, 95, 99, 0.24);
  --premium-shadow: 0 18px 44px rgba(19, 34, 56, 0.1);
  color: var(--readable);
  background:
    linear-gradient(135deg, rgba(35, 95, 99, 0.1), transparent 30%),
    linear-gradient(215deg, rgba(199, 148, 46, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbfa 0%, #edf4f4 52%, #f7faf9 100%);
}

.app-body * {
  letter-spacing: 0;
}

.app-body .app-shell {
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.app-body .sidebar {
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(145deg, #111f3d 0%, #173150 45%, #235f63 100%);
  box-shadow: 0 24px 54px rgba(17, 31, 61, 0.24);
}

.app-body .sidebar-logo {
  width: 198px;
  min-height: 48px;
}

.app-body .brand-block h1 {
  color: #ffffff;
  font-size: 1.38rem;
  line-height: 1.16;
}

.app-body .brand-block p,
.app-body .nav-link {
  color: rgba(239, 246, 246, 0.86);
}

.app-body .brand-block .eyebrow {
  color: #d9fff8;
  background: rgba(94, 234, 212, 0.14);
  border-color: rgba(94, 234, 212, 0.18);
}

.app-body .nav {
  gap: 0.42rem;
}

.app-body .nav-link {
  min-height: 44px;
  border-radius: 10px;
  font-weight: 800;
}

.app-body .nav-link.active,
.app-body .nav-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.app-body .main {
  gap: 16px;
}

.app-body .topbar,
.app-body .module-tabs,
.app-body .panel,
.app-body .stat-card,
.app-body .setup-step,
.app-body .info-grid div,
.app-body .list-card,
.app-body .details-card,
.app-body .variant-card,
.app-body .metric-line,
.app-body .check-card,
.app-body .table-shell,
.app-body .form-section,
.app-body .submit-bar {
  color: var(--readable);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--stroke);
  box-shadow: var(--premium-shadow);
  backdrop-filter: blur(8px);
}

.app-body .topbar {
  min-height: 76px;
  border-radius: 16px;
}

.app-body .hero-panel {
  min-height: 340px;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.54fr);
  align-items: stretch;
  border-radius: 20px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(17, 31, 61, 0.94) 0%, rgba(21, 49, 80, 0.86) 42%, rgba(35, 95, 99, 0.48) 100%),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
  box-shadow: 0 26px 64px rgba(17, 31, 61, 0.23);
}

.app-body .hero-panel h1 {
  max-width: 9ch;
  color: #ffffff;
  font-size: clamp(2.9rem, 4.8vw, 5.2rem);
  line-height: 1;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.app-body .hero-panel p {
  max-width: 680px;
  color: rgba(238, 246, 248, 0.9);
  font-size: 1.03rem;
}

.app-body .hero-panel .eyebrow,
.app-body .hero-panel .meta-chip {
  color: #e5fffa;
  background: rgba(223, 243, 238, 0.14);
  border-color: rgba(223, 243, 238, 0.2);
}

.app-body .hero-badge {
  display: grid;
  align-content: space-between;
  gap: 14px;
  color: #ffffff;
  background: rgba(10, 20, 42, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.app-body .hero-badge strong {
  color: #ffffff;
  font-size: 1.35rem;
  line-height: 1.3;
}

.app-body .hero-badge p {
  color: rgba(238, 246, 248, 0.84);
}

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

.app-body .hero-actions .ghost-button {
  color: #f8fffd;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: none;
}

.ops-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ops-card {
  position: relative;
  display: grid;
  gap: 9px;
  min-height: 172px;
  padding: 18px;
  overflow: hidden;
  border-radius: 16px;
  color: var(--readable);
  background: linear-gradient(145deg, #ffffff 0%, #f3f8f7 100%);
  border: 1px solid var(--stroke);
  box-shadow: var(--premium-shadow);
}

.ops-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-gold));
}

.ops-card.primary {
  color: #ffffff;
  background: linear-gradient(145deg, var(--brand-ink) 0%, var(--brand-teal) 100%);
}

.ops-card span {
  color: inherit;
  opacity: 0.72;
  font-size: 0.82rem;
  font-weight: 800;
}

.ops-card strong {
  color: inherit;
  font-size: 2rem;
  line-height: 1.05;
}

.ops-card p {
  margin: 0;
  color: inherit;
  opacity: 0.76;
  line-height: 1.55;
}

.ops-card a {
  align-self: end;
  justify-self: start;
  padding: 0.48rem 0.72rem;
  border-radius: 9px;
  color: var(--brand-teal);
  background: var(--brand-mint);
  font-weight: 800;
}

.ops-card.primary a {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.app-body .stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.app-body .stat-card {
  min-height: 112px;
  border-radius: 16px;
  background: #ffffff;
}

.app-body .stat-card span,
.app-body .list-row p,
.app-body .list-card p,
.app-body .section-intro p,
.app-body .muted,
.app-body .summary-micro {
  color: var(--readable-soft);
}

.app-body .stat-card strong {
  color: var(--brand-ink);
  font-size: 2.45rem;
}

.app-body .panel {
  border-radius: 18px;
}

.app-body .panel-head h2,
.app-body .panel h2,
.app-body .topbar strong,
.app-body .list-card strong,
.app-body .details-card strong,
.app-body .info-grid strong {
  color: var(--brand-ink);
}

.app-body .eyebrow,
.app-body .card-kicker,
.app-body .section-kicker,
.app-body .meta-chip,
.app-body .status-pill,
.app-body .panel-head a,
.app-body .inline-link-button,
.app-body .ghost-button,
.app-body .details-card summary::after {
  color: var(--brand-teal);
  background: var(--brand-mint);
  border-color: rgba(35, 95, 99, 0.18);
}

.app-body .status-pill.warning {
  color: #7a540d;
  background: #fff4dc;
  border-color: rgba(199, 148, 46, 0.28);
}

.app-body .status-pill.ok {
  color: #12634d;
  background: #e6f7ef;
  border-color: rgba(18, 99, 77, 0.18);
}

.app-body .status-pill.muted {
  color: #64748b;
  background: #eef3f5;
  border-color: rgba(100, 116, 139, 0.16);
}

.app-body button {
  background: linear-gradient(135deg, var(--brand-ink) 0%, var(--brand-teal-2) 100%);
}

.app-body input,
.app-body select,
.app-body textarea {
  color: var(--readable);
  background: #ffffff;
  border-color: rgba(35, 95, 99, 0.18);
}

@media (max-width: 1180px) {
  .ops-rail,
  .app-body .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .app-body .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ops-rail,
  .app-body .stats-grid {
    grid-template-columns: 1fr;
  }

  .app-body .hero-panel h1 {
    max-width: none;
    font-size: 2.55rem;
  }
}

/* Lightweight operations skin: faster scanning, clearer choices */
.app-body {
  --brand-ink: #162235;
  --brand-teal: #1f6b68;
  --brand-mint: #e8f5f2;
  --readable: #172033;
  --readable-soft: #5c6878;
  --stroke: #dce7e6;
  --stroke-strong: #c6d8d6;
  --surface-soft: #f6faf9;
  --premium-shadow: 0 1px 2px rgba(17, 31, 61, 0.05);
  background: #f5f8f8;
}

.app-body .app-shell {
  grid-template-columns: 252px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.app-body .sidebar {
  top: 14px;
  height: calc(100vh - 28px);
  padding: 14px;
  border-radius: 12px;
  background: #14233a;
  box-shadow: none;
}

.app-body .sidebar-logo {
  width: 174px;
  min-height: 42px;
}

.app-body .brand-block {
  padding-bottom: 10px;
}

.app-body .brand-block::after {
  margin-top: 12px;
  background: rgba(255, 255, 255, 0.18);
}

.app-body .brand-block h1 {
  margin-top: 8px;
  font-size: 1.16rem;
}

.app-body .brand-block p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.app-body .nav {
  gap: 4px;
}

.app-body .nav-link {
  display: grid;
  gap: 2px;
  min-height: 50px;
  padding: 9px 10px 9px 14px;
  border-radius: 8px;
  transform: none;
}

.app-body .nav-link span {
  font-size: 0.94rem;
  line-height: 1.2;
}

.app-body .nav-link small {
  color: rgba(239, 246, 246, 0.66);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.25;
}

.app-body .nav-link.active,
.app-body .nav-link:hover {
  transform: none;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.12);
}

.app-body .nav-link.active::before {
  left: 5px;
  width: 3px;
  height: 30px;
}

.app-body .main {
  gap: 12px;
  max-width: 1440px;
}

.app-body .topbar {
  top: 14px;
  min-height: 58px;
  padding: 10px 14px;
  border-radius: 10px;
}

.app-body .module-tabs {
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  box-shadow: none;
}

.app-body .module-tabs a {
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 0.88rem;
}

.app-body .hero-panel {
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr) 300px;
  padding: 20px;
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(20, 35, 58, 0.94), rgba(31, 107, 104, 0.82)),
    url("./assets/geo-hero-visual.png") right center / cover no-repeat;
  box-shadow: none;
}

.app-body .hero-panel h1 {
  max-width: 15ch;
  margin-top: 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
}

.app-body .hero-panel p {
  max-width: 760px;
  font-size: 0.98rem;
}

.app-body .hero-badge {
  gap: 10px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(12, 21, 34, 0.38);
  box-shadow: none;
}

.app-body .hero-badge strong {
  font-size: 1.16rem;
}

.app-body .ops-rail {
  gap: 10px;
}

.app-body .ops-card {
  min-height: 132px;
  padding: 14px;
  border-radius: 10px;
  box-shadow: var(--premium-shadow);
}

.app-body .ops-card strong {
  font-size: 1.45rem;
}

.app-body .stats-grid,
.app-body .panel-grid,
.app-body .setup-guide,
.app-body .readiness-mini-grid,
.app-body .content-helper-grid,
.app-body .check-grid {
  gap: 10px;
}

.app-body .panel,
.app-body .stat-card,
.app-body .setup-step,
.app-body .readiness-mini-grid article,
.app-body .content-helper-grid article,
.app-body .form-section,
.app-body .submit-bar,
.app-body .info-grid div,
.app-body .list-card,
.app-body .details-card,
.app-body .variant-card,
.app-body .metric-line,
.app-body .check-card,
.app-body .table-shell,
.app-body pre {
  border-radius: 10px;
  background: #ffffff;
  border-color: var(--stroke);
  box-shadow: var(--premium-shadow);
  backdrop-filter: none;
}

.app-body .panel {
  padding: 16px;
}

.app-body .panel:hover,
.app-body .list-card:hover,
.app-body .details-card:hover,
.app-body .variant-card:hover {
  transform: none;
  border-color: var(--stroke-strong);
  box-shadow: 0 4px 12px rgba(17, 31, 61, 0.07);
}

.app-body .panel-head {
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.app-body .panel-head h2 {
  font-size: 1.18rem;
}

.app-body .stat-card {
  min-height: 90px;
  padding: 14px;
}

.app-body .stat-card::before,
.app-body .stat-card::after {
  content: none;
}

.app-body .stat-card strong {
  margin-top: 8px;
  font-size: 2rem;
}

.app-body input,
.app-body select,
.app-body textarea {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  border-color: #cfdcda;
  background: #ffffff;
}

.app-body select {
  cursor: pointer;
}

.app-body input:focus,
.app-body select:focus,
.app-body textarea:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(31, 107, 104, 0.13);
}

.app-body label {
  gap: 6px;
}

.app-body label span {
  color: #344256;
  font-size: 0.8rem;
}

.app-body .field-with-help em {
  color: #6b7685;
  font-size: 0.82rem;
}

.app-body .form-section {
  padding: 10px 12px;
  background: var(--surface-soft);
}

.app-body .form-section span {
  color: var(--brand-teal);
}

.app-body .check-card {
  min-height: 92px;
  padding: 12px 12px 12px 40px;
}

.app-body .check-card input[type="checkbox"] {
  left: 12px;
  top: 14px;
}

.app-body .check-card small,
.app-body .meta-chip,
.app-body .status-pill,
.app-body .panel-head a,
.app-body .inline-link-button,
.app-body .ghost-button,
.app-body .details-card summary::after {
  min-height: 28px;
  border-radius: 7px;
  background: var(--brand-mint);
}

.app-body button,
.app-body .ghost-button,
.app-body .inline-link-button,
.app-body .panel-head a,
.app-body .ops-card a {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 8px;
}

.app-body button {
  box-shadow: none;
}

.app-body button:hover,
.app-body .meta-chip:hover,
.app-body .demo-card:hover {
  transform: none;
}

.app-body .action-row {
  gap: 8px;
}

.app-body .submit-bar {
  padding: 12px;
}

.app-body .list-card,
.app-body .variant-card,
.app-body .details-body {
  padding: 12px;
}

.app-body .list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--stroke);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: var(--premium-shadow);
}

.app-body .list-toolbar strong {
  display: block;
  color: var(--brand-ink);
  font-size: 1rem;
}

.app-body .list-toolbar p {
  margin: 4px 0 0;
  color: var(--readable-soft);
  line-height: 1.45;
}

.app-body .compact-index summary {
  align-items: center;
}

.app-body .compact-table td:first-child {
  min-width: 220px;
}

.app-body .text-preview {
  display: grid;
  gap: 8px;
}

.app-body .text-preview pre {
  max-height: 360px;
  overflow: auto;
  background: #f8fbfb;
}

.app-body .table-note {
  margin: 0 0 10px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f6faf9;
  border: 1px solid var(--stroke);
}

.app-body th,
.app-body td {
  padding: 10px;
}

.panel,
.stat-card,
.hero-panel,
.login-card,
.login-story {
  animation: none;
}

@media (max-width: 1180px) {
  .app-body .app-shell,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-body .sidebar {
    position: static;
    height: auto;
  }

  .app-body .hero-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .app-body .app-shell,
  .login-shell,
  .app-shell {
    padding: 10px;
  }

  .app-body .topbar,
  .app-body .panel-head,
  .app-body .list-row,
  .app-body .chip-row,
  .app-body .metric-line,
  .app-body .summary-split,
  .app-body .submit-bar,
  .app-body .list-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .app-body .hero-panel {
    min-height: 0;
    padding: 16px;
  }

  .app-body .hero-panel h1 {
    font-size: 2rem;
  }
}
