:root {
  --bg: #eef3fb;
  --ink: #0c1b3f;
  --blue: #1d4ed8;
  --blue-2: #2563eb;
  --text: #4c5e80;
  --muted: #64748b;
  --line: #e4ebf6;
  --card: #ffffff;
  --soft: #f6f8fd;
  --good: #0f766e;
  --warn: #b45309;
  --shadow: 0 16px 40px rgba(18, 40, 84, 0.08);
  --max: 1120px;
  --radius: 18px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(720px 380px at 100% 0%, #dbe6ff 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 0.35em;
  font-size: clamp(42px, 5.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
}
h1 span { color: var(--blue-2); }
h2 {
  margin-bottom: 0.4em;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
h3 { margin-bottom: 0.35em; letter-spacing: -0.02em; font-size: 1.05rem; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.rail {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rail-top { display: flex; align-items: center; padding: 0 6px; }
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.02rem;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  display: grid;
  place-items: center;
}
.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rail-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #3e5690;
  font-weight: 700;
  font-size: 0.98rem;
}
.rail-nav a svg { flex: none; }
.rail-nav a:hover { background: rgba(255, 255, 255, 0.72); color: var(--ink); }
.rail-nav a[aria-current="page"] {
  background: var(--blue-2);
  color: white;
  box-shadow: 0 10px 18px rgba(37, 99, 235, 0.22);
}
.rail-nav a[aria-current="page"]:hover { background: var(--blue); color: white; }
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-height: 64px;
  padding: 8px 28px 0;
}
.quiet { color: #41516f; text-decoration: none; font-weight: 700; }
.who { font-weight: 700; color: var(--blue); }
.account-menu { position: relative; }
.account-menu summary {
  list-style: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #1f7a45;
  color: white;
  cursor: pointer;
}
.account-menu summary::-webkit-details-marker { display: none; }
.account-menu[open] summary { background: #145c32; }
.account-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 30;
  width: 280px;
  padding: 14px 12px 10px;
  border-radius: 18px;
  background: #fffdf8;
  border: 1px solid #eadfce;
  box-shadow: 0 18px 40px rgba(70, 42, 18, 0.12);
  display: grid;
  gap: 2px;
}
.account-name, .account-mail { margin: 0; padding: 0 8px; }
.account-name { font-weight: 800; color: #1c1712; }
.account-mail { color: #6d6258; font-size: 0.92rem; margin-bottom: 8px; }
.account-panel a,
.account-panel button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 8px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #1c1712;
  text-decoration: none;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.account-panel a:hover,
.account-panel button:hover { background: #e7f4ec; color: #145c32; }
.account-panel form { margin: 4px 0 0; }
.account-panel form button { color: #9a3412; }
.account-panel form button:hover { background: #fde8e4; color: #9a3412; }
.sheet {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  background: transparent;
  color: #1c1712;
}
.sheet::backdrop { background: rgba(28, 23, 18, 0.35); }
.sheet form {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 28px 22px 20px;
  border-radius: 22px;
  background: #fffdf8;
  border: 1px solid #eadfce;
  box-shadow: 0 24px 50px rgba(70, 42, 18, 0.16);
}
.sheet h2 { margin: 0 36px 4px 0; font-size: 1.45rem; }
.sheet label { display: grid; gap: 6px; font-weight: 800; }
.sheet input {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #eadfce;
  padding: 0 12px;
  background: white;
}
.sheet-x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #5c5148;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.sheet-x:hover { background: #f3eee4; color: #1c1712; }
.profile-actions { display: grid; gap: 10px; }
.profile-card { padding-top: 28px; }
.profile-card h1 { font-size: clamp(32px, 4vw, 44px); }
.profile-stack { display: grid; gap: 12px; width: min(420px, 100%); }
.profile-stack > div,
.profile-stack form {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}
.profile-stack span { color: var(--muted); font-weight: 800; font-size: 0.82rem; }
.profile-stack strong { font-size: 1.05rem; overflow-wrap: break-word; }
.profile-stack input {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
  background: white;
}
.profile-stack .btn { width: 100%; }
.menu-btn {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  background: white;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
}
.history-list, .plans, .affiliate-note { padding-bottom: 64px; }
.history-list { display: grid; gap: 12px; }
.history-row, .plan-card, .affiliate-note { padding: 18px 18px 16px; }
.history-row h2, .plan-card h2 { font-size: 1.25rem; margin-bottom: 6px; }
.history-row p, .plan-card p, .plan-card li { color: var(--text); }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan-card.is-current { border-color: #bfdbfe; box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12); }
.plan-price { margin: 0 0 10px; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.plan-card ul { margin: 0 0 12px; padding-left: 18px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  border: 0;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.22);
}
.btn:hover { background: #1e40af; }
.btn-sm { min-height: 40px; padding: 0 14px; box-shadow: none; }
.btn-ghost {
  background: white;
  color: var(--blue);
  border: 1px solid #d7e2f4;
  box-shadow: 0 8px 18px rgba(18, 40, 84, 0.05);
}
.btn-ghost:hover { background: #f8fbff; }
.btn svg { display: inline-block; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0 20px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: white;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 6px 16px rgba(18, 40, 84, 0.05);
}
.lede {
  max-width: 58ch;
  color: var(--text);
  font-size: 1.05rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.stat, .card, .panel-block, .note-card, .callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.stat { padding: 16px 14px 14px; }
.stat strong {
  display: block;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}
.stat span, .fine, .kicker { color: var(--muted); }
.stat span { font-size: 0.86rem; font-weight: 600; }
.kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #d7e3f4;
  box-shadow: 0 30px 60px rgba(20, 40, 80, 0.16);
}
.frame-media { height: auto; }
.frame-media svg { width: 100%; height: 460px; }
.frame-media img { width: 100%; height: auto; display: block; }
.frame-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px 22px 18px;
  background: linear-gradient(transparent, rgba(8, 15, 30, 0.78));
  color: white;
}
.frame-cap strong, .frame-cap span { display: block; }
.frame-cap span { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; }

.section { padding: 34px 0; }
.section-head { max-width: 720px; margin-bottom: 22px; }
.section-head p:last-child, .card p, .panel-block p, .note-card p { color: var(--text); }
.cards { display: grid; gap: 14px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card { padding: 20px; transition: transform 0.18s ease; }
.card:hover { transform: translateY(-2px); }
.chip-btn[aria-pressed="true"] { background: var(--blue); color: white; border-color: var(--blue); }
.split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 12px; }
.steps span {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e7efff;
  color: var(--blue);
  font-weight: 800;
  font-size: 0.82rem;
}
.callout, .note-card, .panel-block { padding: 24px; }
.callout .btn, .sticky-card .btn { margin-top: 8px; }
.panel-block.accent { background: #0f1d44; color: white; border-color: #0f1d44; }
.panel-block.accent p, .panel-block.accent li { color: #d5def2; }
.panel-block.accent .kicker { color: #93c5fd; }
.clean { margin: 0; padding-left: 18px; }
.clean li { margin: 8px 0; }
.step-card span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #e7efff;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 10px;
}
.end { padding-bottom: 64px; }

.page-hero { padding: 42px 0 10px; }
.page-hero .lede { margin-bottom: 10px; }
.prose { max-width: 820px; padding-bottom: 64px; }
.prose.narrow { padding-top: 10px; }
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose p, .prose li { color: var(--text); font-size: 1.02rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li {
  padding: 0 0 18px 20px;
  border-left: 2px solid #d5e2f7;
}
.timeline h3 { margin-bottom: 4px; }
.inline-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.inline-cards article {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}
.formula {
  background: white;
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px dashed #b9cbf0;
  color: var(--ink);
  font-weight: 700;
}

.path-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 22px;
  padding-bottom: 64px;
}
.path-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.path-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.path-index { font-weight: 800; color: var(--blue); letter-spacing: -0.04em; }
.sticky-card {
  position: sticky;
  top: 96px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
  align-self: start;
}
.track p:last-child { margin-bottom: 0; }
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
table { width: 100%; border-collapse: collapse; min-width: 680px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
td { color: var(--text); }
tr:last-child td { border-bottom: 0; }

.pay-layout, .match-layout, .start-grid, .lab-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding-bottom: 28px;
}
.calc, .quiz { padding: 18px; display: grid; gap: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 700; color: #334155; }
.secret { position: relative; display: block; }
.secret-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #41516f;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.secret-toggle:hover, .secret-toggle:focus-visible { background: #e7eefb; color: var(--ink); }
.secret-toggle svg { display: block; }
input[type="number"], input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="date"], select {
  width: 100%;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #d5e0f0;
  padding: 0 12px;
  background: var(--soft);
  color: var(--ink);
}
.secret input { padding-right: 44px; }
input[type="file"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 0;
  color: var(--text);
}
.span-2 { grid-column: 1 / -1; }
.auth-wrap { width: min(720px, calc(100% - 40px)); margin: 28px auto 0; padding-bottom: 72px; }
.auth-wrap h2 { font-size: 1.3rem; margin: 6px 0 0; }
.form-error {
  margin: 0;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 700;
}
.logout-form { margin: 0; }
.logout-form button {
  border: 0;
  background: transparent;
  color: #41516f;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}
.status-word { font-size: clamp(32px, 4vw, 48px); }
.wallet { width: min(880px, calc(100% - 40px)); margin: 28px auto 72px; }
.wallet-head h1 { font-size: clamp(36px, 5vw, 52px); }
.wallet-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 16px; margin-bottom: 16px; }
.wallet-balance {
  background: var(--ink);
  color: white;
  border-radius: 8px;
  padding: 28px 26px;
}
.wallet-balance p { margin: 0 0 8px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.75rem; color: #b7c3dc; }
.wallet-balance strong { display: block; font-size: clamp(48px, 6vw, 68px); letter-spacing: -0.05em; line-height: 0.95; }
.wallet-balance ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; color: #d5def0; }
.wallet-notice {
  background: white;
  border: 1px solid var(--line);
  border-left: 6px solid var(--warn);
  border-radius: 8px;
  padding: 22px;
}
.wallet-notice h2 { font-size: 1.35rem; margin-bottom: 8px; }
.wallet-notice p { color: var(--text); }
.wallet-money { display: grid; gap: 16px; }
.wallet-deposit, .wallet-form { padding: 22px; }
.wallet-deposit h2, .wallet-form h2 { font-size: 1.4rem; }
.wallet-deposit p { color: var(--text); }
.paybill {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--soft);
}
.paybill .kicker { margin: 0; }
.paybill dl { margin: 0; display: grid; gap: 6px; }
.paybill div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.paybill dt { color: var(--muted); font-weight: 700; }
.paybill dd { margin: 0; font-weight: 800; text-align: right; }
.btn:disabled { background: #e7edf6; color: #64748b; box-shadow: none; cursor: not-allowed; }
.admin-panel { padding-bottom: 72px; }
.admin-gate {
  min-height: 100vh;
  background:
    radial-gradient(520px 280px at 50% 18%, #ffffff 0%, transparent 70%),
    radial-gradient(900px 520px at 50% 0%, #e7f6fb 0%, transparent 58%),
    #f7f9fc;
}
.gate {
  width: min(440px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 0;
}
.gate-badge {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 18px;
  color: #0891b2;
  background: white;
  border: 1px solid #d5f3fb;
  box-shadow: 0 10px 28px rgba(14, 165, 233, 0.16);
}
.gate h1 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.gate-sub, .gate-note { color: #64748b; }
.gate-sub { margin: 8px 0 22px; }
.gate-card {
  width: 100%;
  display: grid;
  gap: 14px;
  padding: 22px;
  text-align: left;
  background: white;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}
.gate-card label { color: #334155; font-size: 0.84rem; }
.gate-card input {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.gate-submit {
  width: 100%;
  margin-top: 4px;
  background: #22c3ea;
  box-shadow: 0 10px 22px rgba(34, 195, 234, 0.28);
}
.gate-submit:hover { background: #06b6d4; }
.gate-note { margin: 22px 0 0; font-size: 0.86rem; }
.dash { min-height: 100vh; }
.dash-bar, .dash-nav { background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid #e6edf5; }
.dash-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
}
.dash-tools { display: flex; align-items: center; gap: 16px; }
.dash-hello, .dash-online, .live { color: #64748b; font-size: 0.9rem; font-weight: 600; }
.dash-online, .live { display: inline-flex; align-items: center; gap: 6px; }
.dash-online i, .live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}
.dash-logout {
  border: 1px solid #fecaca;
  background: white;
  color: #dc2626;
  border-radius: 10px;
  min-height: 36px;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}
.dash-logout:hover { background: #fef2f2; }
.dash-nav { display: flex; gap: 4px; padding: 0 14px; overflow-x: auto; }
.dash-nav a {
  padding: 14px 12px;
  text-decoration: none;
  color: #64748b;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.dash-nav a.is-current { color: #0891b2; border-bottom-color: #22c3ea; }
.dash-main { width: min(1180px, calc(100% - 32px)); margin: 22px auto 48px; display: grid; gap: 18px; }
.dash-panel {
  background: white;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dash-panel h2 { margin: 0; font-size: 1.2rem; letter-spacing: -0.03em; }
.dash-panel .lede { margin-bottom: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.dash-panel > .stat-grid:last-child { margin-bottom: 0; }
a.stat-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  background: #f8fafc;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  padding: 16px;
}
a.stat-card:hover, a.stat-card.is-current {
  border-color: #22c3ea;
  background: white;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.12);
}
.stat-card p { margin: 0 0 10px; color: #64748b; font-size: 0.82rem; font-weight: 700; }
.stat-card strong { display: block; font-size: 1.7rem; letter-spacing: -0.04em; line-height: 1; }
.tone-amber { color: #d97706; }
.tone-green { color: #059669; }
.tone-red { color: #e11d48; }
.tone-blue { color: #2563eb; }
.tone-purple { color: #7c3aed; }
.dash-panel .table-wrap { box-shadow: none; }
@media (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .dash-bar, .dash-tools { flex-wrap: wrap; }
}
.admin-desk { width: min(1120px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.admin-brand { display: flex; align-items: center; gap: 12px; }
.admin-brand .gate-badge { width: 44px; height: 44px; margin: 0; border-radius: 14px; }
.admin-brand .gate-badge svg { width: 20px; height: 20px; }
.admin-sheet {
  background: white;
  border: 1px solid #e6edf5;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.06);
}
.admin-sheet h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.admin-sheet .lede { color: var(--text); max-width: 62ch; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-actions form { margin: 0; }
.btn-warn {
  background: white;
  color: var(--warn);
  border: 1px solid #fed7aa;
  box-shadow: none;
}
.status {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.status-pending { background: #fff7ed; color: #9a3412; }
.account-status { margin: 0 0 12px; padding: 8px 14px; font-size: 1rem; }
.status-verified, .status-confirmed, .status-paid { background: #ecfdf5; color: #047857; }
.status-rejected, .status-declined { background: #fef2f2; color: #b91c1c; }
.status-started, .status-requested { background: #f1f5f9; color: #334155; }
.status-suspended { background: #f4f0e6; color: #6b4e16; }
.ops-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.ops-filters a {
  text-decoration: none;
  border: 1px solid #eadfce;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  color: #5c5148;
  background: #f7f3ea;
}
.ops-filters a.is-current { background: #1f7a45; color: white; border-color: #1f7a45; }
.ops-queue { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ops-queue a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f7f3ea;
  color: inherit;
}
.ops-queue span { color: #5c5148; font-weight: 650; }
.ops-note { display: grid; gap: 10px; }
.ops-note textarea {
  width: 100%;
  border: 1px solid #eadfce;
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  resize: vertical;
}
.ops-pay + .ops-pay { margin-top: 14px; }

.ops {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #f3efe4;
  color: #1c1712;
}
.ops-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 16px;
  background: #10241a;
  color: #e7f6ec;
}
.ops-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
}
.ops-brand .gate-badge { width: 42px; height: 42px; margin: 0; color: #145c32; border-color: transparent; }
.ops-brand small { display: block; color: #9dccb0; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ops-nav { display: grid; gap: 4px; }
.ops-nav a {
  color: #d5eadc;
  text-decoration: none;
  font-weight: 750;
  padding: 10px 12px;
  border-radius: 12px;
}
.ops-nav a.is-current, .ops-nav a:hover { background: #1f7a45; color: white; }
.ops-logout {
  margin-top: auto;
  border: 1px solid #3d5c4a;
  background: transparent;
  color: #e7f6ec;
  border-radius: 12px;
  min-height: 40px;
  font-weight: 800;
  cursor: pointer;
}
.ops-main { padding: 22px 22px 48px; display: grid; gap: 16px; align-content: start; }
.ops-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.ops-top p { margin: 0; color: #5c5148; font-weight: 700; }
.ops-search { display: flex; gap: 8px; flex: 1; min-width: 280px; max-width: 560px; }
.ops-search input { flex: 1; min-width: 0; background: white; border: 1px solid #e4d6c4; border-radius: 12px; min-height: 44px; }
.ops-search button, .ops .btn { background: #1f7a45; color: white; border: 0; }
.ops .btn-warn { background: white; color: #9a3412; border: 1px solid #e7c3a8; }
.ops .btn-ghost { background: white; color: #1c1712; border: 1px solid #eadfce; }
.ops-search button {
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}
.ops .btn:hover, .ops-search button:hover { background: #145c32; }
.ops-card, .ops-metrics a {
  background: white;
  border: 1px solid #eadfce;
  border-radius: 18px;
  padding: 18px;
}
.ops-card h2 { margin: 0 0 8px; font-size: 1.35rem; }
.ops-card p { color: #5c5148; }
.ops-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.ops-metrics a { text-decoration: none; color: inherit; }
.ops-metrics span { display: block; color: #8a7568; font-size: 0.82rem; font-weight: 750; }
.ops-metrics strong { display: block; margin-top: 8px; font-size: 1.6rem; letter-spacing: -0.04em; }
.ops-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0; }
.ops-facts article { background: #f7f3ea; border-radius: 14px; padding: 12px; }
.ops-facts span { display: block; color: #8a7568; font-size: 0.78rem; font-weight: 750; }
.ops-facts strong { display: block; margin-top: 4px; }
.ops-pay { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 12px; align-items: end; }
.ops-empty { margin: 0; }
.ops-link { font-weight: 800; }
body.admin-gate:has(.ops-gate),
body.admin-gate:has(.ops-gate) main {
  min-height: 100vh;
  background: #10241a;
}
.ops-gate {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  background: #10241a;
  color: white;
}
.ops-gate h1, .ops-gate .gate-sub, .ops-gate .gate-note { color: white; }
.ops-gate .gate-card {
  width: min(440px, calc(100% - 32px));
  color: #1c1712;
}
.ops-gate .gate-submit { background: #1f7a45; box-shadow: none; }
.ops-gate .gate-submit:hover { background: #145c32; }
@media (max-width: 900px) {
  .ops, .ops-metrics, .ops-facts, .ops-pay { grid-template-columns: 1fr; }
  .ops-side { position: sticky; top: 0; z-index: 5; }
  .ops-nav { grid-template-columns: repeat(3, 1fr); }
  .ops-logout { margin-top: 0; }
}
input:focus { outline: 2px solid #bfdbfe; border-color: var(--blue); }
.preset-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  border: 1px solid #d5e2f6;
  background: #f8fbff;
  color: var(--blue);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}
.result-card { padding: 22px; }
.big {
  margin: 0 0 8px;
  font-size: clamp(40px, 5vw, 58px);
  letter-spacing: -0.05em;
  font-weight: 800;
  line-height: 1;
}
.metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 16px 0 0; }
.metrics div { background: var(--soft); border-radius: 12px; padding: 10px; }
.metrics dt { color: var(--muted); font-size: 0.78rem; font-weight: 700; }
.metrics dd { margin: 2px 0 0; font-weight: 800; }
.q { border: 0; margin: 0 0 8px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.q legend { font-weight: 800; padding: 0; margin-bottom: 8px; }
.choice {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--text);
  margin: 6px 0;
}
.rank { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.rank li { display: grid; gap: 4px; }
.bar { height: 8px; background: #e8eef8; border-radius: 99px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: inherit; }
.rank small { color: var(--muted); }

.lab-grid { align-items: start; padding-bottom: 64px; }
.stage-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.stage-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 16px 12px;
  background: white;
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}
.stage-bar p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.scene-switch { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn { white-space: nowrap; }
.stage { position: relative; aspect-ratio: 640 / 460; background: #d7e4f6; }
.art, .art svg, #draw { position: absolute; inset: 0; width: 100%; height: 100%; }
#draw { cursor: crosshair; touch-action: none; }
.stage-help { padding: 0 16px 14px; }
.lab-side { padding: 16px; display: grid; gap: 10px; }
.side-top { display: flex; justify-content: space-between; align-items: center; }
.timer { margin: 0; font-weight: 800; color: var(--blue); }
.box-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 240px; overflow: auto; }
.box-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.box-list select {
  min-height: 38px;
  border-radius: 10px;
  border: 1px solid #d5e0f0;
  background: var(--soft);
  padding: 0 8px;
}
.linkish {
  border: 0;
  background: transparent;
  color: var(--warn);
  font-weight: 800;
  cursor: pointer;
}
.side-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.slip {
  background: #f8fafc;
  border-radius: 14px;
  padding: 12px;
  border: 1px solid var(--line);
}
.slip.pass { background: #f0fdfa; }
.slip.fail { background: #fffbeb; }
.slip ul { margin: 8px 0 0; padding-left: 18px; color: var(--text); }
.footer { padding: 10px 0 36px; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid #dbe4f3;
}
.footer p { color: var(--muted); max-width: 46ch; margin-bottom: 0; }
.footer-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: #41516f; font-weight: 700; text-decoration: none; }

@media (max-width: 1100px) {
  .hero, .cards-3, .split, .path-grid, .pay-layout, .match-layout, .start-grid, .lab-grid, .inline-cards, .plans {
    grid-template-columns: 1fr;
  }
  .frame-media svg { height: 380px; }
  .sticky-card { position: static; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .rail {
    position: sticky;
    top: 0;
    z-index: 20;
    height: auto;
    padding: 10px 14px;
    background: rgba(247, 243, 234, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: none; }
  .rail-nav { display: flex; padding-bottom: 8px; }
  .topbar { justify-content: flex-start; padding: 12px 16px 0; flex-wrap: wrap; }
  .cards-2, .fields, .stats, .footer-inner, .wallet-layout { grid-template-columns: 1fr; }
  .footer-inner, .footer-links { flex-direction: column; align-items: flex-start; }
  h1 { font-size: 40px; }
}

body.market {
  --bg: #f3eee4;
  --ink: #1c1712;
  --blue: #1f7a45;
  --blue-2: #145c32;
  --text: #5c5148;
  --muted: #8a7568;
  --line: #e7dccb;
  --card: #fffdf8;
  --shadow: 0 18px 40px rgba(70, 42, 18, 0.08);
  color: var(--ink);
  background:
    radial-gradient(820px 420px at -10% -8%, #d7eadc 0%, transparent 58%),
    radial-gradient(680px 380px at 110% 0%, #efe3c4 0%, transparent 52%),
    var(--bg);
}
body.market h1,
body.market h2,
body.market h3,
body.market .m-price {
  font-family: Fraunces, Georgia, serif;
  font-weight: 560;
  letter-spacing: -0.03em;
}
body.market h1 {
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.96;
  font-weight: 680;
}
body.market h1 span { color: var(--blue); }
body.market h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.08; }
body.market .btn {
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 10px 20px rgba(31, 122, 69, 0.22);
}
body.market .btn:hover { background: #145c32; }
body.market .btn-ghost {
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid #e4d3bc;
  box-shadow: none;
}
body.market .btn-ghost:hover { background: #fff; }
body.market .btn-light {
  background: #fffdf8;
  color: var(--ink);
  box-shadow: none;
}
body.market .btn-light:hover { background: #fff; }
body.market .pill {
  background: rgba(255, 253, 248, 0.86);
  color: var(--blue);
  border: 1px solid #cfe6d6;
}
body.market .mark {
  background: var(--blue);
  border-radius: 12px;
}
body.market .quiet { color: var(--ink); }
body.market .who { color: var(--blue); }
body.market .logout-form button {
  color: var(--ink);
  background: transparent;
}

.m-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 238, 228, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(231, 220, 203, 0.9);
}
.m-bar-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.m-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
}
.m-nav a {
  text-decoration: none;
  color: #4e433b;
  font-weight: 700;
  font-size: 0.95rem;
}
.m-nav-gap { flex: 1; }
.m-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  padding: 54px 0 18px;
}
body.market .frame {
  background: #1c1712;
  border-radius: 32px 32px 32px 72px;
  box-shadow: 0 28px 50px rgba(70, 42, 18, 0.16);
}
.m-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.m-stats article {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px 12px;
}
.m-stats strong {
  display: block;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}
.m-stats span { color: var(--muted); font-weight: 700; font-size: 0.84rem; }
.m-trust {
  width: min(1120px, calc(100% - 40px));
  margin: 10px auto 8px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.m-trust li {
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid #eadcc8;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #6b4e3d;
}
.m-block { padding: 54px 0 10px; }
.m-center { max-width: 680px; margin: 0 auto 26px; text-align: center; }
.m-center p:last-child { color: var(--text); }
.m-quad, .m-types, .m-steps, .m-plans {
  display: grid;
  gap: 14px;
}
.m-quad { grid-template-columns: repeat(4, 1fr); }
.m-tile, .m-plan, .m-aside, .m-steps li, .m-types a {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 22px;
}
.m-tile { padding: 18px 16px 16px; }
.m-tile p, .m-plan li, .m-aside p, .m-steps p, .m-points span { color: var(--text); }
.m-ico {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e4f3e8;
  color: var(--blue);
  margin-bottom: 12px;
}
.m-split {
  width: min(1120px, calc(100% - 40px));
  margin: 28px auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.m-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-points li {
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
}
.m-points strong, .m-points span { display: block; }
.m-points span { margin-top: 4px; }
.m-aside { padding: 24px; background: #1c1712; color: #f6efe6; border-color: #1c1712; }
.m-aside .kicker, .m-aside p { color: #e7d3c4; }
.m-aside h3 { color: white; font-size: 1.8rem; }
.m-plans { grid-template-columns: 1fr 1fr; }
.m-plan { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.m-plan ul { margin: 4px 0 12px; padding-left: 18px; }
.m-plan .btn { margin-top: auto; align-self: flex-start; }
.m-price { margin: 0; font-size: 3rem; line-height: 1; }
.m-plan-note { margin: 0; color: var(--muted); font-weight: 700; }
.m-plan-ink {
  background: #1c1712;
  color: #f6efe6;
  border-color: #1c1712;
}
.m-plan-ink .kicker, .m-plan-ink li, .m-plan-ink .m-plan-note { color: #e7d3c4; }
.m-plan-ink .btn { background: #f3eee4; color: #1c1712; box-shadow: none; }
.m-plan-ink .btn:hover { background: white; }
.m-steps { grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0; padding: 0; }
.m-steps li { padding: 20px 18px 16px; }
.m-steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e4f3e8;
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 12px;
}
.m-types { grid-template-columns: repeat(6, 1fr); }
.m-types a {
  text-decoration: none;
  padding: 16px 12px;
  font-weight: 800;
  min-height: 108px;
}
.m-types small { display: block; margin-top: 6px; color: var(--muted); font-weight: 650; }
.m-banner {
  margin: 36px auto 28px;
  width: min(1120px, calc(100% - 40px));
  background: linear-gradient(120deg, #145c32, #1f7a45 55%, #3d9a62);
  color: white;
  border-radius: 28px;
  padding: 28px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.m-banner h2, .m-banner p { color: white; }
.m-banner .kicker { color: rgba(255, 255, 255, 0.82); }
.m-banner p { max-width: 52ch; margin-bottom: 0; }
.m-foot { padding: 20px 0 28px; }
.m-foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.8fr;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid #e4d6c4;
}
.m-foot p { color: var(--text); max-width: 36ch; }
.m-foot a { display: block; text-decoration: none; font-weight: 700; color: #4e433b; margin: 8px 0; }
.m-foot .brand { margin-bottom: 10px; }
.m-foot-base {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e4d6c4;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .m-hero, .m-split, .m-quad, .m-plans, .m-steps, .m-types, .m-foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .m-quad, .m-types { grid-template-columns: 1fr 1fr; }
  .m-banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  body.market .menu-btn { display: inline-flex; }
  body.market .m-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    z-index: 30;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 20px 18px;
    background: #fffdf8;
    border-bottom: 1px solid var(--line);
  }
  body.market.open .m-nav { display: flex; }
  body.market .m-bar { position: sticky; }
  body.market .m-bar-inner { position: relative; }
  .m-nav-gap { display: none; }
  .m-hero, .m-split, .m-plans, .m-steps, .m-foot-grid, .m-stats { grid-template-columns: 1fr; }
  .m-foot-base { flex-direction: column; }
  body.market h1 { font-size: 42px; }
}

body.start-gate,
body.start-gate main {
  min-height: 100vh;
}
.start-screen {
  width: min(440px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: safe center;
}
.start-back {
  display: inline-flex;
  margin: 0 0 14px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}
.start-card {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  width: 100%;
  padding: 28px 26px 24px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid #eadfce;
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(70, 42, 18, 0.08);
}
.start-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #5c5148;
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
}
.start-x:hover { background: #f3eee4; color: #1c1712; }
.start-brand { text-align: center; }
.start-brand .mark { margin: 0 auto 12px; }
.start-brand .kicker { margin-bottom: 6px; }
.start-brand h1 {
  font-size: clamp(34px, 5vw, 42px);
  margin-bottom: 8px;
}
.start-brand p { color: var(--text); margin: 0 auto; max-width: 34ch; }
.start-card label { color: var(--ink); font-size: 0.95rem; }
.start-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.start-label-row a {
  color: var(--blue);
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.start-card label span { color: var(--muted); font-weight: 650; }
.start-card input {
  background: white;
  border: 1px solid #eadfce;
  border-radius: 14px;
  min-height: 48px;
}
.start-card input:focus { outline: 2px solid #b7dcc4; border-color: var(--blue); }
.start-card .fine { margin: -4px 0 0; text-align: left; }
.start-card .btn { width: 100%; min-height: 52px; border-radius: 14px; }
.start-switch, .start-guest { margin: 0; text-align: center; }
.start-switch { color: var(--text); }
.start-switch a, .start-guest a { color: var(--ink); font-weight: 800; }
.start-guest a { text-underline-offset: 3px; }

.verify-block {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.verify-head, .verify-status, .verify-benefits, .verify-guide, .upload-tile {
  border: 1px solid #eadfce;
  border-radius: 16px;
  background: white;
}
.verify-head, .verify-status, .verify-benefits, .verify-guide { padding: 14px; }
.verify-head { display: flex; gap: 12px; align-items: flex-start; }
body.market .verify-block h2,
body.market .verify-block h3 {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.verify-head p, .verify-status p, .verify-benefits li, .verify-guide li { color: var(--text); margin: 0; }
.verify-status strong { display: block; margin-bottom: 4px; }
.verify-benefits ul, .verify-guide ul { margin: 8px 0 0; padding-left: 18px; }
.verify-benefits li, .verify-guide li { margin: 4px 0; }
.upload-title { margin: 4px 0 0; }
.upload-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 12px;
  align-items: center;
  padding: 12px;
  cursor: pointer;
}
.upload-tile input { grid-column: 1 / -1; }
.upload-tile strong, .upload-tile small { display: block; }
.upload-tile small { color: var(--muted); font-weight: 600; }
.upload-ico {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e4f3e8;
  color: var(--blue);
}

.board-bar {
  width: min(820px, calc(100% - 28px));
  margin: 22px auto 14px;
  min-height: 64px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid #eadfce;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(70, 42, 18, 0.05);
}
.board-title {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.03em;
}
.board-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.board-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #eadfce;
  background: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}
.board-chip svg { flex: none; }
.board-list {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto 48px;
  display: grid;
  gap: 12px;
}
.board-note, .job-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid #eadfce;
  border-radius: 18px;
  padding: 16px 18px 14px;
}
.board-note strong, .board-note p { display: block; }
.board-note p { margin: 4px 0 0; color: var(--text); }
.board-note a { font-weight: 800; }
.job-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.job-card h2,
body.market .job-card h2 {
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
}
.job-pay {
  color: var(--blue);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}
.job-card summary {
  list-style: none;
  display: block;
  cursor: pointer;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
  width: auto;
  border-radius: 0;
}
.job-card summary::-webkit-details-marker { display: none; }
.job-blurb {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-weight: 500;
  line-height: 1.45;
}
.job-card details[open] .job-blurb {
  display: block;
  -webkit-line-clamp: unset;
}
.preview-pill {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #eadfce;
  background: white;
  color: #1c1712;
  font-weight: 800;
  text-decoration: none;
}
.task-page { width: min(760px, calc(100% - 32px)); margin: 28px auto 56px; }
.task-page h1 { font-size: 1.8rem; letter-spacing: -0.03em; margin: 6px 0 8px; }
.stage-rail { list-style: none; display: grid; gap: 8px; margin: 18px 0; padding: 0; }
.stage-rail li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #eadfce;
  background: #fffdf8;
}
.stage-rail .is-open { border-color: #1f7a45; }
.stage-rail .is-done strong { color: #145c32; }
.stage-rail .is-locked { color: #5c5148; }
.task-form, .stage-pay { display: grid; gap: 14px; }
.task-form h2, .stage-pay h2 { font-size: 1.15rem; }
.task-form label { display: grid; gap: 6px; font-weight: 700; }
.task-form textarea {
  min-height: 110px;
  border-radius: 14px;
  border: 1px solid #eadfce;
  padding: 12px 14px;
  font: inherit;
  background: white;
}
.stage-pay-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.task-done { font-weight: 700; }
.unlock-form { display: grid; gap: 14px; }
.mpesa-field {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.mpesa-field input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid #eadfce;
  padding: 0 14px;
  background: white;
}
.mpesa-note { margin: 0; color: #6d6258; font-weight: 700; }
.unlock-head { text-align: center; padding: 18px 12px 6px; }
.unlock-head h1,
body.market .unlock-head h1 {
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  margin-bottom: 8px;
}
.unlock-head p { color: var(--text); }
.unlock-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #e8f6ec;
  color: #145c32;
  font-weight: 700;
}
.unlock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.unlock-card {
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid #eadfce;
  border-radius: 22px;
  padding: 18px;
}
.unlock-rate {
  margin: 0 0 10px;
  font-family: Fraunces, Georgia, serif;
  font-size: 2.6rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.unlock-rate span { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1rem; font-weight: 700; color: var(--muted); }
.unlock-card ul { margin: 0 0 16px; padding-left: 18px; color: var(--text); }
.unlock-fee { color: var(--blue); font-weight: 800; }
.unlock-card .btn { width: 100%; }
@media (max-width: 720px) {
  .unlock-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .board-bar { border-radius: 22px; align-items: flex-start; flex-direction: column; padding: 14px; }
  .job-top { flex-direction: column; gap: 4px; }
}

body:has(.shell) {
  --bg: #f4efe6;
  --ink: #1c1712;
  --blue: #1f7a45;
  --blue-2: #145c32;
  --text: #5c5148;
  --muted: #8a7568;
  --line: #eadfce;
  --card: #fffdf8;
  --soft: #f7f3ea;
  --shadow: 0 16px 40px rgba(70, 42, 18, 0.08);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, #ffffff 0%, transparent 55%),
    radial-gradient(720px 380px at 100% 0%, #d7eadc 0%, transparent 50%),
    var(--bg);
}
body:has(.shell) .rail {
  background: #f7f3ea;
  border-right: 1px solid #eadfce;
}
body:has(.shell) .rail-nav a { color: #3d4a40; }
body:has(.shell) .rail-nav a:hover { background: #e7f4ec; color: #145c32; }
body:has(.shell) .rail-nav a[aria-current="page"],
body:has(.shell) .rail-nav a[aria-current="page"]:hover {
  background: #1f7a45;
  color: white;
  box-shadow: none;
}
body:has(.shell) .mark { background: #1f7a45; }
body:has(.shell) .who,
body:has(.shell) .quiet,
body:has(.shell) .footer-links a { color: #145c32; }
body:has(.shell) .btn { box-shadow: 0 8px 18px rgba(31, 122, 69, 0.22); }
body:has(.shell) .btn:hover { background: #145c32; }
body:has(.shell) .btn-ghost { color: #145c32; border-color: #cfe3d4; }
body:has(.shell) .btn-ghost:hover { background: #f3faf5; }
body:has(.shell) .plan-card.is-current {
  border-color: #b7dcc4;
  box-shadow: 0 16px 36px rgba(31, 122, 69, 0.12);
}
body:has(.shell) .footer-inner { border-top-color: #eadfce; }
body:has(.shell) input:focus { outline-color: #b7dcc4; }

body:has(.desk-home) { background: #f4efe6; }
body:has(.desk-home) .rail { background: #f7f3ea; border-right: 1px solid #eadfce; }
body:has(.desk-home) .rail-nav a { color: #3d4a40; }
body:has(.desk-home) .rail-nav a[aria-current="page"] {
  background: #1f7a45;
  box-shadow: none;
}
body:has(.desk-home) .who { color: #145c32; }
body:has(.desk-home) .mark { background: #1f7a45; }
.desk-home { width: min(1080px, calc(100% - 40px)); margin: 8px auto 48px; display: grid; gap: 16px; }
.desk-home h1 { font-size: clamp(32px, 4vw, 44px); margin: 0; }
.desk-bar, .desk-work-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.desk-bar-actions, .desk-wallet-row { display: flex; gap: 10px; flex-wrap: wrap; }
.desk-chip, .desk-wallet-row a {
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
}
.desk-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  background: white;
  border: 1px solid #eadfce;
  color: #1c1712;
}
.desk-top { display: grid; grid-template-columns: 1.5fr 0.7fr; gap: 14px; }
.desk-wallet {
  border-radius: 28px;
  padding: 22px;
  color: white;
  background:
    radial-gradient(420px 180px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(135deg, #145c32, #1f7a45 55%, #2f9d57);
  display: grid;
  gap: 22px;
}
.desk-wallet p, .desk-wallet span { margin: 0; color: rgba(255, 255, 255, 0.86); font-weight: 700; }
.desk-wallet strong { display: block; font-size: clamp(48px, 6vw, 68px); letter-spacing: -0.05em; line-height: 0.95; }
.desk-wallet-top { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.desk-wallet .btn-light { background: white; color: #145c32; border-radius: 999px; }
.desk-wallet-row a {
  flex: 1;
  text-align: center;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  color: white;
}
.desk-stats { display: grid; gap: 10px; }
.desk-stats article, .desk-plans article, .desk-work a {
  background: white;
  border: 1px solid #eadfce;
}
.desk-stats article, .desk-plans article { border-radius: 20px; }
.desk-stats article { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.desk-stats span, .desk-plans p, .desk-plans small, .desk-work span { color: #6d6258; font-weight: 750; }
.desk-stats strong { font-size: 1.4rem; color: #145c32; }
.desk-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.desk-work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.desk-plans article { padding: 16px 18px; }
.desk-plans strong { display: block; font-size: 2rem; letter-spacing: -0.04em; }
.desk-plans strong span { font-size: 1rem; color: #6d6258; }
.desk-plans .is-current { border-color: #1f7a45; box-shadow: 0 10px 24px rgba(31, 122, 69, 0.12); }
.desk-note {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f8e7d2;
  color: #6b3d12;
  font-weight: 700;
}
.desk-work a {
  display: grid;
  gap: 6px;
  padding: 18px 14px;
  border-radius: 22px;
  color: inherit;
  text-decoration: none;
}
.desk-work strong { font-size: 1rem; }
.desk-work-head a { font-weight: 800; color: #145c32; }
@media (max-width: 900px) {
  .desk-top, .desk-plans, .desk-work { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .desk-bar, .desk-work-head { flex-direction: column; align-items: start; }
  .desk-top, .desk-plans, .desk-work { grid-template-columns: 1fr; }
}
