.journey-next-prompt { margin-bottom:32px; padding:clamp(18px,4vw,32px); border:2px solid #b9df72; border-radius:24px; background:linear-gradient(130deg,#efffcf,#fff); scroll-margin-top:130px; }
.journey-next-prompt h2 { margin:12px 0; font-size:clamp(23px,4vw,34px); line-height:1.15; }
.journey-next-prompt > p { line-height:1.6; }
.journey-next-prompt .route-contact-panel { margin-top:18px; }
.coordination-actions { display:flex; flex-wrap:wrap; gap:10px; margin:18px 0; }
.coordination-actions > * { flex:1 1 200px; text-align:center; white-space:normal; }
.journey-next-prompt:focus-visible { outline:3px solid #426b21; outline-offset:4px; }
:root {
  --ink: #141713;
  --muted: #535d50;
  --paper: #f8f9f5;
  --lime: #d0f582;
  --line: #dce1d5;
  --white: #fff;
  --radius: 24px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #426813;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  font-weight: 650;
}
h2 {
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 620;
}
h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
p {
  line-height: 1.65;
  color: var(--muted);
}
small,
.fine {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.fine {
  margin: 14px 0 0;
}
.demo-banner {
  background: #fff1b8;
  color: #51400a;
  text-align: center;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 650;
}
.account-header {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 40px;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: -2px;
  text-decoration: none;
  display: flex;
  gap: 9px;
  align-items: center;
}
.brand span {
  background: var(--lime);
  border-radius: 50%;
  font-size: 25px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}
.header-caption {
  font-size: 13px;
  color: var(--muted);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.quiet {
  border: 0;
  background: none;
  color: var(--muted);
  min-height: 44px;
  padding: 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  font-size: 13px;
}
.notice {
  max-width: 1180px;
  margin: 18px auto;
  padding: 16px 24px;
  border: 1px solid #a9c57d;
  background: #edf7df;
  border-radius: 14px;
  color: var(--ink);
}
.notice.error {
  background: #fff1eb;
  border-color: #daaa90;
  color: #7c3013;
}
.login-layout {
  max-width: 1180px;
  margin: 32px auto 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
  align-items: center;
  padding: 0 28px;
}
.login-story .story-title {
  font-size: clamp(42px, 5vw, 65px);
  margin: 22px 0;
}
.login-story > p {
  max-width: 480px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 750;
  color: var(--muted);
}
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px #14171303;
}
.login-panel {
  padding: 32px;
  border: 2px solid #b5d783;
  box-shadow: 0 12px 44px #263a0f0d;
}
.login-panel .step-tag { background: var(--lime); border: 0; margin-bottom: 14px; letter-spacing: .08em; }
.login-panel #auth-title { font-size: clamp(34px, 4vw, 46px); margin: 0 0 12px; }
.login-panel #auth-description { margin-bottom: 20px; font-size: 15px; line-height: 1.45; }
.login-panel #email { min-height: 56px; font-size: 18px; border: 2px solid #8e9c7f; }
.login-panel #login-submit { min-height: 56px; font-size: 17px; font-weight: 750; }
.login-panel .consent-box { padding: 12px; margin: 14px 0; }
.login-panel .consent-box label { font-size: 12px; line-height: 1.5; }
.signup-steps { display: flex; gap: 12px; list-style: none; padding: 16px 0; margin: 18px 0 0; border-block: 1px solid var(--line); }
.signup-steps li { flex: 1; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; line-height: 1.3; }
.signup-steps b { display: grid; place-items: center; flex: 0 0 24px; height: 24px; border-radius: 50%; background: #edf1e7; color: var(--ink); }
.signup-steps [aria-current] b { background: var(--lime); }
.login-panel .login-alternatives { justify-content: center; }
.login-panel #toggle-login { font-weight: 650; color: var(--ink); }
.step-tag,
.pill {
  display: inline-flex;
  font-size: 11px;
  font-weight: 650;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
}
.step-tag {
  margin-bottom: 28px;
}
.login-alternatives {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.verification-gate {
  min-height: calc(100svh - 92px);
  padding: 48px 20px 80px;
  display: grid;
  justify-items: center;
  align-items: start;
  background:
    radial-gradient(circle at 50% 12%, #d0f58240, transparent 35%),
    var(--paper);
}
.verification-panel {
  width: min(100%, 680px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 24px 70px #14171312;
}
.verification-panel .step-tag {
  margin-bottom: 22px;
  background: #edf5df;
  border-color: #bfd58f;
  color: #35531b;
}
.verification-panel h1 {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: clamp(34px, 5vw, 50px);
}
.verification-lead {
  max-width: 580px;
  margin-bottom: 24px;
  font-size: 17px;
}
.verification-lead strong {
  color: var(--ink);
  overflow-wrap: anywhere;
}
.verification-bonus {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3px 20px;
  margin: 0 0 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--white);
}
.verification-bonus > span {
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
}
.verification-bonus > strong {
  grid-row: 1 / 3;
  grid-column: 2;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}
.verification-bonus > small {
  color: #c8d0c4;
}
#verify-code-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}
#verify-code-form label {
  grid-column: 1 / -1;
  margin: 0;
}
#verify-code {
  min-width: 0;
  height: 58px;
  text-align: center;
  letter-spacing: 0.42em;
  font-size: 27px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.verification-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.verification-password-note {
  margin: 18px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.login-panel h2 {
  font-size: 32px;
}
.bonus-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  max-width: 440px;
}
.bonus-preview strong {
  font-size: 26px;
}
.bonus-preview progress,
.bonus-preview small {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin: 22px 0 9px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #aeb6a6;
  border-radius: 12px;
  padding: 14px;
  background: var(--white);
  color: var(--ink);
  min-height: 48px;
}
textarea {
  resize: vertical;
  line-height: 1.5;
}
input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  accent-color: #426813;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  min-height: 48px;
  border: 1px solid transparent;
  transition: background 0.15s;
}
.primary {
  background: var(--lime);
  color: var(--ink);
}
.primary:hover {
  background: #bde568;
}
.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}
.secondary:hover {
  background: #f0f3e9;
}
.full {
  width: 100%;
  margin-top: 20px;
}
.soft-box {
  padding: 20px;
  border-radius: 16px;
  background: #edf5df;
  margin-top: 24px;
}
.soft-box p {
  margin-bottom: 0;
}
.legal-consent-gate {
  margin: 0 0 24px;
  padding: clamp(20px, 4vw, 32px);
  border: 2px solid #83b738;
  border-radius: 22px;
  background: linear-gradient(135deg, #edffc8, #fffdf6);
  box-shadow: 0 14px 36px rgba(46, 76, 20, .12);
  scroll-margin-top: 110px;
}
.legal-consent-gate h2 { margin: 10px 0; font-size: clamp(24px, 4vw, 34px); line-height: 1.14; }
.legal-consent-gate > p { margin: 0 0 18px; line-height: 1.55; }
.legal-consent-gate .consent-box { margin: 0; }
.legal-consent-gate .button { width: 100%; min-height: 48px; }
.legal-consent-gate:focus-visible { outline: 3px solid #426b21; outline-offset: 4px; }
.task-legal-gate { margin: 18px 0; padding: 18px; border: 2px solid #83b738; border-radius: 16px; background: #f2ffd9; }
.task-legal-gate p { margin: 8px 0 14px; line-height: 1.5; }
.task-legal-gate .button { width: 100%; }
.social-section { margin-bottom: 32px; }
#account-client-code { display: block; font-size: 10px; overflow-wrap: anywhere; margin-top: 8px; color: #5a6553; }
.social-section:focus-visible { outline: 3px solid #426b21; outline-offset: 6px; }
#profile-channel { width: 100%; margin: 8px 0 16px; }
.social-task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.social-task-card { padding: clamp(18px, 3vw, 26px); border: 1px solid var(--line); border-radius: 22px; background: #fff; min-width: 0; }
.social-task-card h3 { margin: 8px 0; font-size: clamp(20px, 2.5vw, 26px); }
.social-task-card p { line-height: 1.55; }
.social-task-card .reward { display: block; margin: 12px 0; }
.social-task-card .button { width: 100%; }
.social-profile-link { display: block; overflow-wrap: anywhere; margin: 12px 0; }
.social-task-card .social-status { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #edf5df; }
.social-profile { margin-top: 24px; }
.social-profile .section-heading { margin-bottom: 14px; }
.social-profile-links { display: grid; gap: 10px; }
.social-profile-item { display: grid; grid-template-columns: minmax(85px, .3fr) minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #f9fbf5; }
.social-profile-item .social-profile-link { min-width: 0; overflow-wrap: anywhere; }
.social-profile-item .social-status { font-size: 12px; white-space: nowrap; }
@media (max-width: 640px) { .social-profile-item { grid-template-columns: 1fr; gap: 6px; } .social-profile-item .social-status { justify-self: start; } }
#social-url-field { margin: 12px 0; }
#social-url-field label { display: block; margin-bottom: 8px; }
#social-url { width: 100%; box-sizing: border-box; }
@media (max-width: 720px) { .social-task-grid { grid-template-columns: 1fr; } }
#verification .spam-tip {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  padding: 15px 16px;
  border: 1px solid #a27620;
  border-left: 6px solid #d8a11c;
  border-radius: 12px;
  background: #fff7da;
  color: var(--ink);
  line-height: 1.45;
}
body.verification-required #session-bar {
  display: none !important;
}
.dashboard {
  max-width: 1360px;
  margin: auto;
  display: grid;
  grid-template-columns: 205px 1fr;
  gap: 42px;
  padding: 36px 40px 0;
}
.sidebar {
  padding-top: 10px;
}
.sidebar nav {
  display: grid;
  gap: 10px;
}
.sidebar nav a {
  padding: 14px 12px;
  text-decoration: none;
  font-size: 14px;
  border-radius: 12px;
}
.sidebar nav a:hover {
  background: #eaf0df;
}
.sidebar-note {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding: 24px 12px;
  font-size: 12px;
  font-weight: 600;
}
.sidebar-note p {
  font-size: 12px;
  font-weight: 400;
  margin-top: 14px;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #508024;
  margin-right: 6px;
}
#account-email {
  overflow-wrap: anywhere;
  display: block;
  padding: 12px;
}
.dashboard-main {
  min-width: 0;
}
.service-announcement {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  padding: clamp(18px, 2.5vw, 26px);
  border: 1px solid #b5d5d1;
  border-radius: 20px;
  background: #ebf4f2;
  color: #1c3431;
}
.service-announcement-icon {
  display: inline-grid;
  flex: 0 0 30px;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #1c5149;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  font-style: normal;
}
.service-announcement-label {
  display: block;
  margin: 2px 0 7px;
  color: #315b54;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}
.service-announcement h2 { margin: 0 0 7px; font-size: clamp(17px, 2vw, 21px); line-height: 1.2; }
.service-announcement p { margin: 0; max-width: 72ch; font-size: 14px; line-height: 1.55; }
.service-announcement-compact { margin: 0 0 18px; padding: 16px; border-radius: 16px; }
.service-announcement-compact h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.25; }
.referral-promo { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 30px; padding:clamp(18px,3vw,28px); border:1px solid #a9cc68; border-radius:20px; background:linear-gradient(125deg,#eef9d5,#fcfff5); }
.referral-promo h2 { margin:7px 0; font-size:clamp(22px,3vw,30px); line-height:1.12; }
.referral-promo p { margin:0; max-width:55ch; line-height:1.5; }
.referral-promo .button { flex:none; }
@media(max-width:650px) { .referral-promo { align-items:stretch; flex-direction:column; } .referral-promo .button { text-align:center; } }
.dashboard-main > section {
  margin-bottom: 52px;
}
.referrals-card { background:linear-gradient(135deg,#fff 0%,#f2f9e8 100%); }
.referrals-card h2 { margin:10px 0; font-size:clamp(24px,3vw,34px); letter-spacing:-.04em; }
.referrals-card > p { max-width:68ch; color:var(--muted); line-height:1.55; }
.referrals-card label { display:block; margin:22px 0 8px; font-weight:750; }
.referral-link-row { display:flex; gap:10px; }
.referral-link-row input { min-width:0; flex:1; border:1px solid #a3b394; border-radius:12px; padding:12px; background:#fff; color:var(--ink); }
.referral-link-row .button { white-space:nowrap; }
.referral-metrics { display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.referral-metrics p { flex:1 1 150px; margin:0; padding:16px; border-radius:14px; background:#e5f6cb; }
.referral-metrics strong,.referral-metrics span { display:block; }
.referral-metrics strong { font-size:26px; }
.referral-metrics span { color:var(--muted); font-size:13px; }
@media(max-width:560px) { .referral-link-row { flex-direction:column; } .referral-link-row .button { width:100%; } }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 12px 0 24px;
}
.section-heading h1 {
  font-size: 34px;
  margin: 10px 0 0;
}
.section-heading h2 {
  margin: 10px 0 0;
}
.overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.balance-card {
  background: var(--ink);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius);
}
.balance-card > span {
  font-size: 13px;
  color: #dbe2d5;
}
.balance {
  display: block;
  font-size: 64px;
  letter-spacing: -0.06em;
  line-height: 1.25;
  margin: 14px 0;
}
.balance-card p {
  color: #dbe2d5;
}
.balance-card .button {
  margin-top: 22px;
}
.balance-card .fine {
  font-size: 12px;
}
.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 9px;
  color: #dbe2d5;
}
progress {
  appearance: none;
  display: block;
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #41483c;
}
progress::-webkit-progress-bar {
  background: #41483c;
  border-radius: 10px;
}
progress::-webkit-progress-value {
  background: var(--lime);
  border-radius: 10px;
}
progress::-moz-progress-bar {
  background: var(--lime);
  border-radius: 10px;
}
.bonus-preview progress::-webkit-progress-bar {
  background: #e3e8d9;
}
.journey-card h2 {
  margin-top: 18px;
}
.journey {
  padding: 0;
  list-style: none;
  counter-reset: journey;
  display: grid;
  gap: 16px;
}
.journey li {
  counter-increment: journey;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.journey li:before {
  content: counter(journey);
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 11px;
}
.journey .done {
  color: var(--ink);
}
.journey .done:before {
  content: "✓";
  background: var(--lime);
  border-color: var(--lime);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.stat {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.stat span {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 24px;
  margin-top: 8px;
  letter-spacing: -0.025em;
}
.preferences {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.preferences label {
  margin: 0;
  font-size: 12px;
}
.preferences .task-alerts-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  font-size: 13px;
  line-height: 1.4;
}
.preferences .task-alerts-choice input { flex: none; }
.preferences select {
  width: auto;
  max-width: 100%;
  font-size: 13px;
  padding: 12px;
}
.preferences .button {
  font-size: 12px;
  padding: 12px 16px;
}
.password-settings {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(360px, 1.25fr);
  gap: 42px;
  align-items: start;
}
.password-settings-copy {
  padding: 4px 0;
}
.password-settings-copy h3 {
  margin-bottom: 10px;
}
.password-settings-copy p:last-child {
  margin-bottom: 0;
}
.password-email-tip {
  display: grid;
  gap: 3px;
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #a27620;
  border-left: 5px solid #d8a11c;
  border-radius: 12px;
  background: #fff7da;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.password-email-tip strong {
  font-size: 14px;
}
.password-change-form label:first-child {
  margin-top: 0;
}
.password-new-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.password-change-form .button {
  margin-top: 18px;
}
.form-status {
  margin: 14px 0 0;
  padding: 12px 14px;
  border: 1px solid #a9c57d;
  border-radius: 12px;
  background: #edf7df;
  color: var(--ink);
  font-size: 13px;
}
.form-status.error {
  border-color: #daaa90;
  background: #fff1eb;
  color: #7c3013;
}
.task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.task-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 23px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
.task-card.recommended {
  border-color: #8caa5e;
}
.task-category {
  font-size: 10px;
  letter-spacing: 0.07em;
  color: var(--muted);
  text-transform: uppercase;
}
.task-card h3 {
  margin: 22px 0 12px;
}
.task-card p {
  font-size: 13px;
}
.task-card .reward {
  margin-top: auto;
}
.reward {
  font-size: 26px;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.task-card .button {
  width: 100%;
  font-size: 12px;
  padding: 12px;
}
.task-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 18px;
}
.badge {
  border-radius: 100px;
  background: #edf5df;
  padding: 6px 10px;
  font-size: 11px;
  display: inline-block;
  color: #354d1f;
}
.task-card .badge {
  margin-top: 12px;
}
.empty {
  padding: 26px;
  border: 1px dashed #b8c3aa;
  border-radius: 18px;
  color: var(--muted);
  font-size: 14px;
  grid-column: 1/-1;
  line-height: 1.7;
}
.stack {
  display: grid;
  gap: 12px;
}
.activity-row {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}
.activity-row h3 {
  font-size: 15px;
  margin-bottom: 8px;
}
.activity-row p {
  font-size: 13px;
  margin-bottom: 8px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.activity-row > div {
  min-width: 0;
}
.activity-row strong {
  white-space: nowrap;
}
.subheading {
  margin: 30px 0 16px;
}
.ledger {
  padding: 4px 24px;
}
.ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.ledger-row:last-child {
  border: 0;
}
.ledger-row small {
  display: block;
  margin-top: 6px;
}
.ledger-row strong {
  white-space: nowrap;
}
.positive {
  color: #3c631d;
}
.payout-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.payout-reference {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  word-break: break-all;
}
.terms {
  max-width: 1040px;
  margin: 60px auto 36px;
  padding: 30px;
  border-top: 1px solid var(--line);
}
.terms h2 {
  font-size: 20px;
}
.terms p {
  font-size: 12px;
}
.launch-note {
  padding: 14px;
  border-radius: 10px;
  background: #fff4d6;
}
.terms > a {
  font-size: 13px;
}
dialog {
  max-width: 620px;
  width: calc(100% - 32px);
  max-height: 90dvh;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 24px 80px #0003;
}
dialog::backdrop {
  background: #14171388;
}
dialog p {
  white-space: pre-wrap;
  font-size: 14px;
}
dialog h3 {
  font-size: 14px;
  margin-top: 24px;
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}
.admin {
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 28px;
}
.admin > section {
  margin-bottom: 40px;
}
.admin-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.admin-form label {
  margin-top: 0;
}
.admin-form .wide {
  grid-column: 1/-1;
}
.admin-form textarea {
  min-height: 90px;
}
.admin-row {
  display: block;
}
.admin-row textarea,
.admin-row input {
  margin: 12px 0;
}
.admin-row .payout-actions {
  margin-top: 12px;
}
.admin-row .fine {
  overflow-wrap: anywhere;
}
.danger {
  background: #fff1eb;
  color: #7c3013;
  border-color: #daaa90;
}
.operator-warning {
  background: #fff4d6;
  padding: 20px;
  border-radius: 14px;
  font-size: 13px;
}
.admin-proof {
  background: #f4f6f0;
  padding: 16px;
  border-radius: 10px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .dashboard {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 28px;
  }
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-heading {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .login-layout {
    gap: 40px;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .balance-card,
  .journey-card {
    padding: 24px;
  }
}
@media (max-width: 760px) {
  .account-header {
    padding: 18px 20px;
    gap: 12px;
  }
  .header-caption {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .brand {
    font-size: 28px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 16px auto 48px;
    padding: 0 12px;
  }
  .login-story .story-title {
    font-size: 36px;
  }
  .login-panel {
    padding: 22px 18px;
  }
  .login-story { padding: 12px; }
  .login-panel #auth-title { font-size: 36px; }
  .verification-gate {
    min-height: calc(100svh - 74px);
    padding: 24px 16px 56px;
  }
  .verification-panel {
    padding: 26px 20px;
    border-radius: 22px;
  }
  .verification-panel h1 {
    font-size: 36px;
  }
  .verification-lead {
    font-size: 15px;
  }
  .verification-bonus > strong {
    font-size: 36px;
  }
  #verify-code-form {
    grid-template-columns: 1fr;
  }
  #verify-code-form .button {
    width: 100%;
  }
  .dashboard {
    display: block;
    padding: 20px;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding-bottom: 12px;
  }
  .sidebar nav a {
    white-space: nowrap;
    padding: 12px 10px;
    font-size: 12px;
  }
  .sidebar-note,
  #account-email {
    display: none;
  }
  .sidebar {
    margin-bottom: 20px;
  }
  .overview-grid {
    grid-template-columns: 1fr;
  }
  .journey-card h2 br {
    display: none;
  }
  .balance {
    font-size: 62px;
  }
  .section-heading h1 {
    font-size: 30px;
  }
  .task-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .stat {
    padding: 14px 10px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat span {
    font-size: 11px;
  }
  .preferences {
    gap: 10px;
  }
  .preferences label {
    width: 100%;
    margin-top: 8px;
  }
  .preferences select {
    flex: 1;
  }
  .preferences .button {
    width: 100%;
  }
  .password-settings,
  .password-new-fields {
    grid-template-columns: 1fr;
  }
  .password-settings {
    gap: 22px;
  }
  .terms {
    margin: 24px 20px;
    padding: 28px 0;
  }
  .activity-row {
    padding: 18px;
  }
  .notice {
    margin: 16px 20px;
  }
  .admin-form {
    grid-template-columns: 1fr;
  }
  .admin-form .wide {
    grid-column: auto;
  }
  .admin {
    padding: 0 20px;
  }
  .header-actions a {
    font-size: 12px;
  }
  .payout-actions .button {
    flex: 1;
  }
  .journey {
    gap: 12px;
  }
}
@media (max-width: 430px) {
  .task-grid {
    grid-template-columns: 1fr;
  }
  .task-card {
    padding: 24px;
  }
  .task-card h3 {
    margin-top: 14px;
  }
  .task-card .reward {
    margin-top: 8px;
  }
  .section-heading .pill {
    font-size: 10px;
  }
  .login-story .story-title {
    font-size: 34px;
  }
  .activity-row {
    flex-wrap: wrap;
  }
  .balance-card {
    padding: 26px;
  }
  .header-actions .quiet {
    padding: 8px;
  }
  .admin-form {
    display: block;
  }
  .admin-form > div {
    margin-bottom: 16px;
  }
}
.route-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
}
.collection-card { border-radius: 24px; margin: 18px 0; padding: 24px; }
.collection-card > h3 { margin: 0; }
.collection-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.collection-step { min-width: 0; padding: 20px; border: 1px solid #dce1d5; border-radius: 18px; background: #fff; }
.collection-step h4 { font-size: 19px; margin: 15px 0 10px; overflow-wrap: anywhere; }
.collection-step .reward { display: block; }
.collection-step .button { margin-top: 15px; }
.collection-step.is-locked { background: #f1f4ec; }
.collection-step.collection-grade-blue, .task-card.task-grade-blue {
  border-color: #5a91d7; background: #eff6ff;
  box-shadow: 0 8px 28px #2769bc1c, inset 0 2px 0 #b9dcff;
}
.collection-step.collection-grade-legendary, .task-card.task-grade-legendary {
  border-color: #dd69be; background: #fff2fa;
  box-shadow: 0 8px 28px #bd378c1a;
}
.collection-step.collection-grade-immortal, .task-card.task-grade-immortal {
  border-color: #cda04e; background: #fff8e9;
  box-shadow: 0 8px 28px #b57e291c;
}
@media(max-width:700px) { .collection-steps { grid-template-columns: 1fr; } }
.route-card {
  position: relative;
  min-width: 0;
  padding: 26px;
  border: 1px solid #dce1d5;
  border-radius: 24px;
  background: #fff;
  overflow-wrap: anywhere;
  scroll-margin-top: 140px;
  box-shadow: 0 0 20px rgb(151 200 73 / 12%);
}
.route-card h3 { margin: 18px 0 10px; }
.route-card p { color: #535d50; line-height: 1.6; }
.route-card .route-next-hint, .task-dialog-content .route-next-hint {
  margin: 16px 0 0; padding: 11px 13px; border-left: 3px solid #8ac35c;
  border-radius: 0 10px 10px 0; background: #f0f7e6; color: #29462c;
  font-size: 12px; line-height: 1.5;
}
.partner-form-note { margin: 16px 0; padding: 15px 17px; border: 2px solid #5896e8; border-radius: 14px; background: #eaf3ff; color: #112d52; box-shadow: 0 5px 18px rgb(40 103 186 / 12%); }
.partner-form-note strong { display: block; font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.route-card .partner-form-note p, .task-dialog-content .partner-form-note p { margin: 7px 0 0; color: #1c3659; font-size: 14px; line-height: 1.5; }
.route-blue .route-next-hint, .route-legendary .route-next-hint, .route-immortal .route-next-hint {
  border-left-color: currentColor; background: #ffffff14; color: inherit;
}
.route-card .button { width: 100%; margin-top: 18px; }
.route-contact-panel { position: relative; margin-top: 20px; padding: 18px; border: 1px solid #91ad70; border-radius: 16px; background: #eaf4d9; color: #244523; }
.route-contact-panel > strong { display: block; font-size: 14px; }
.route-card .route-contact-panel p { margin: 7px 0 0; font-size: 12px; color: #354e33; }
.route-contact-panel .button.primary { background: #d4f889; color: #172219; }
.route-contact-panel .button.secondary { background: transparent; color: #244523; border-color: #a5b69a; }
.route-contact-alternatives { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 15px; padding-top: 12px; border-top: 1px solid #bdcfae; font-size: 12px; }
.route-contact-alternatives a { color: #244523; text-decoration: underline; text-underline-offset: 3px; }
.route-contact-alternatives a:focus-visible { outline: 2px solid #244523; outline-offset: 3px; border-radius: 2px; }
.task-contact-invite { margin-top: 16px; padding: 16px; border: 1px solid #bfd0aa; border-radius: 16px; background: #f1f7e7; color: #1b271c; }
.task-contact-invite p { margin: 8px 0 0; font-size: 14px; line-height: 1.45; }
.task-contact-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.task-contact-actions .button { min-height: 44px; max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 560px) { .task-contact-actions .button { width: 100%; } }
.route-number {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 12px;
  border-radius: 50%;
  background: #edf2e5;
  color: #26462e;
  font-weight: 800;
}
.route-current { border: 2px solid #7eaa42; }
.route-done { background: #f1f6e9; }
.route-declined { background:#f3f4ef; border-color:#cbd2c3; }
.route-declined .route-number { background:#dfe5d7; color:#263322; }
.route-reward-unpaid { color:#66715e; text-decoration:line-through; text-decoration-thickness:1px; }
.route-done .route-number { background: #d0f582; }
.route-mystery { background: #1e251c; border-color: #35452c; color: #f8f9f5; }
.route-mystery p { color: #d0d9c8; }
.route-cipher { color: #d0f582; font-size: 24px; letter-spacing: 5px; margin: 24px 0; }
.route-blue {
  --step-glow: 60 131 231;
  isolation: isolate; overflow: hidden;
  color: #eff7ff; border-color: #69a6f5;
  background: linear-gradient(142deg, #1b3d72 0%, #142b4e 58%, #101d33 100%);
  box-shadow: 0 0 25px #347fe544, inset 0 1px 0 #aad8ff77;
}
.route-blue::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 180px; height: 180px; right: -55px; top: -65px;
  border: 1px solid #85c5ff88; transform: rotate(45deg);
  box-shadow: 0 0 0 18px #68aafb12, 0 0 0 42px #68aafb0b;
}
.route-blue p, .route-blue .fine { color: #c9e1fa; }
.route-blue .route-number, .route-blue .badge { background: #294f85; color: #f0f8ff; }
.route-blue .route-reward { color: #9ed2ff; }
.route-blue .button.primary { color: #132b49; background: #9ed2ff; }
.route-blue.route-current { border-width: 3px; }
.route-legendary {
  --step-glow: 255 66 206;
  color: #fff2fd;
  border: 1px solid #ff42ce;
  background: radial-gradient(ellipse at top right, #63204f 0, transparent 65%), #241321;
  box-shadow: 0 0 24px rgb(255 66 206 / 16%), inset 0 1px 0 rgb(255 167 236 / 24%);
}
.route-legendary p, .route-legendary .fine { color: #efcfe8; }
.route-legendary .route-number, .route-legendary .badge { background: #532047; color: #ffe0f7; }
.route-legendary .route-reward, .route-legendary .route-cipher { color: #ff8be2; }
.route-immortal {
  --step-glow: 255 177 44;
  grid-column: 1 / -1;
  isolation: isolate;
  color: #fff5d9;
  border: 2px solid #ffbf48;
  background: radial-gradient(ellipse at top right, #68411a 0, transparent 62%), #241b10;
  box-shadow: 0 0 30px rgb(255 174 44 / 20%), inset 0 1px 0 #ffdb80;
}
.route-immortal p, .route-immortal .fine { color: #f2dcaf; }
.route-immortal .route-number, .route-immortal .badge { background: #5a3818; color: #fff1c9; }
.route-immortal .route-reward, .route-immortal .route-cipher { color: #ffd477; }
.route-code { font-size: 36px; letter-spacing: -1px; }
.route-reward { display: block; margin: 12px 0 6px; font-size: 32px; font-weight: 800; }
.route-immortal .route-reward { font-size: clamp(38px, 7vw, 58px); }
.route-opportunity .route-reward { font-size: clamp(38px, 7vw, 58px); }
.route-monthly-examples { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:18px 0 8px; }
.route-monthly-example { padding:12px 10px; border:1px solid #a97931; border-radius:12px; background:#443017; }
.route-monthly-example span { display:block; color:#f2dcaf; font-size:13px; }
.route-monthly-example strong { display:block; margin-top:4px; color:#ffd477; font-size:clamp(18px,3vw,25px); white-space:nowrap; }
@media(max-width:540px) { .route-monthly-examples { gap:6px; } .route-monthly-example { padding:10px 6px; } .route-monthly-example strong { font-size:16px; } }
.route-opportunity-contact .button { display: flex; justify-content: center; align-items: center; min-height: 50px; text-align: center; }
.route-opportunity-contact .button:first-of-type { margin-top: 16px; }
.route-legendary.route-current { border-width: 3px; }
.route-immortal.route-current { border-width: 3px; }
.route-legendary .button.primary { color: #291024; background: #ff9ee7; }
.route-immortal .button.primary { color: #2d2009; background: #ffd477; }
.route-legendary .route-contact-panel { background: #351a30; border-color: #a65291; color: #fff2fd; }
.route-immortal .route-contact-panel { background: #352817; border-color: #b8893c; color: #fff5d9; }
.route-legendary .route-contact-panel p, .route-legendary .route-contact-alternatives a,
.route-legendary .route-contact-alternatives span { color: #efcfe8; }
.route-immortal .route-contact-panel p, .route-immortal .route-contact-alternatives a,
.route-immortal .route-contact-alternatives span { color: #f2dcaf; }
.route-legendary .route-contact-alternatives { border-top-color: #a65291; }
.route-immortal .route-contact-alternatives { border-top-color: #b8893c; }
.route-legendary .route-contact-panel .button.secondary { color: #fff2fd; border-color: #a65291; }
.route-immortal .route-contact-panel .button.secondary { color: #fff5d9; border-color: #b8893c; }
.step-breathe { animation: paso-step-breathe 3s ease-in-out infinite; }
#login-form #email:focus { animation: paso-step-breathe 3s ease-in-out infinite; }
@keyframes paso-step-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgb(var(--step-glow, 151 200 73) / 8%); }
  50% { box-shadow: 0 0 0 7px rgb(var(--step-glow, 151 200 73) / 22%), 0 8px 28px rgb(var(--step-glow, 151 200 73) / 10%); }
}
.route-card:focus-within { outline: 2px solid #356044; outline-offset: 4px; }
/* Two drawn silhouettes: faceted pink shards and a golden eclipse.
   Decorative layers only animate opacity; text never moves or gets filtered.
   Availability does not change rarity illumination. */
.route-legendary, .route-immortal { isolation: isolate; overflow: hidden; }
.route-legendary { background: #231521; border-color: #ff69ce; box-shadow: 0 0 24px #ff42ce35, inset 0 1px 0 #ffb9ec55; }
.route-immortal { background: #241e13; border-color: #f2c566; box-shadow: 0 0 32px #ffc24b40, inset 0 1px 0 #ffe7a866; }
.route-legendary::before, .route-immortal::before {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
  inset: auto; box-shadow: none; border-radius: 0;
  animation: paso-engraving 6s ease-in-out infinite;
}
.route-legendary::before {
  width: 180px; height: 260px; right: -24px; top: -28px;
  background: linear-gradient(145deg, #fff0fa 0%, #ff70d5 28%, #cf238c55 65%, transparent 90%);
  clip-path: polygon(50% 0, 63% 28%, 94% 13%, 78% 46%, 100% 57%, 69% 65%, 56% 100%, 42% 67%, 13% 83%, 27% 49%, 0 35%, 36% 30%);
  mask-image: linear-gradient(90deg, transparent, #000 85%);
}
.route-immortal::before {
  width: 320px; height: 320px; right: -105px; top: -105px;
  border-radius: 50%; border: 1px solid #ffe2a5;
  background: radial-gradient(circle, transparent 47%, #b97e2722 48%, #ffd16d66 51%, #fff1bd 52%, #d8993744 53%, transparent 59%);
  box-shadow: 0 0 32px #e9a83b33, inset 0 0 30px #ffd47b33;
}
.route-legendary::after, .route-immortal::after {
  content: ""; position: absolute; pointer-events: none; z-index: -1;
}
.route-legendary::after {
  right: 24px; top: 22px; width: 60px; height: 110px;
  background: #ffb4e6;
  clip-path: polygon(50% 0, 100% 45%, 50% 100%, 0 45%, 50% 0, 50% 4%, 3% 45%, 50% 96%, 97% 45%, 50% 4%);
  opacity: .7;
}
.route-immortal::after {
  right: -30px; top: -30px; width: 170px; height: 170px; border-radius: 50%;
  border: 1px dashed #ffe3a080; box-shadow: 0 0 0 10px #f2c5660d;
}
@keyframes paso-engraving { 0%,100% { opacity: .55; } 50% { opacity: .9; } }
.route-unavailable { filter: none; }
.route-lock { display: inline-flex; vertical-align: middle; align-items: center; }
.route-lock img { width: 36px; height: 36px; object-fit: contain; }
.lock-accessible-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#task-dialog { padding: 0; overflow: hidden; }
.survey-dialog { width: min(620px, calc(100vw - 24px)); max-height: min(88vh, 850px); padding: 0; border-radius: 26px; }
.survey-shell { display: grid; gap: 18px; padding: clamp(18px, 4vw, 32px); }
.survey-shell .dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.survey-shell progress { width: 100%; height: 12px; accent-color: #a7db48; }
.survey-shell form, .survey-options { display: grid; gap: 12px; min-width: 0; }
.survey-options { margin: 0; padding: 0; border: 0; }
.survey-options legend { margin-bottom: 16px; font-size: clamp(20px, 5vw, 28px); font-weight: 750; line-height: 1.2; }
.survey-option { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; }
.survey-option:has(input:checked) { border-color: #75a92e; background: #f0fbd9; }
.survey-option:focus-within { outline: 3px solid #75a92e; outline-offset: 2px; }
.survey-option input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #4b7e19; }
.survey-shell form > .button { width: 100%; }
#task-dialog[open] { display: flex; flex-direction: column; }
.task-dialog-header { flex: 0 0 auto; padding: 16px 24px; background: #fff; border-bottom: 1px solid var(--line); }
#task-dialog .dialog-balance { position: static; margin: 0; padding: 10px 14px; flex: 1; min-width: 0; }
.task-dialog-header { display: flex; align-items: center; gap: 12px; }
.task-dialog-header .dialog-top { margin: 0; flex: 0 0 auto; }
.task-dialog-header .eyebrow { display: none; }
#close-dialog { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.task-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px; }
.task-dialog-content > h2 { margin-top: 0; }
@media (max-width: 480px) {
  .task-dialog-header { padding: 12px; gap: 8px; }
  .task-dialog-content { padding: 20px; }
  #task-dialog .dialog-balance strong { font-size: 24px; }
}

.notification-center { margin-top: 26px; }
.notification-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.notification-row.is-unread { border-color: #a2ca53; box-shadow: inset 4px 0 #cef68c; }
.notification-row strong { min-width: 145px; }
.notification-row span { flex: 1 1 180px; }
.notification-row small { color: #626e61; }
.notification-row button { margin-left: auto; }
#notification-count, #operator-message-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: #cef68c; color: #182019; font-size: 11px; font-weight: 800; }
#notification-count[hidden], #operator-message-count[hidden] { display: none; }
.message-dialog { width: min(620px, calc(100vw - 24px)); max-height: min(85vh, 800px); padding: 22px; border-radius: 24px; }
.message-dialog .dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.message-dialog h2 { margin: 0; }
.message-thread { display: grid; gap: 12px; align-content: start; min-height: 170px; max-height: 45vh; overflow-y: auto; padding: 14px; margin: 16px 0; background: #f4f7ec; border: 1px solid var(--line); border-radius: 18px; }
.message-bubble { max-width: 86%; padding: 12px 15px; border-radius: 16px; background: #fff; overflow-wrap: anywhere; }
.message-bubble.mine { justify-self: end; background: #dbf7a8; }
.message-bubble.operator { justify-self: start; }
.message-bubble p { white-space: pre-wrap; margin: 5px 0; }
.message-bubble small { color: #657060; }
.message-dialog form, #operator-message-form { display: grid; gap: 10px; }
.message-dialog textarea, #operator-message-form textarea { width: 100%; }
@media (max-width: 640px) { .message-dialog { padding: 16px; } .notification-row { align-items: flex-start; } }
@media (max-width: 700px) {
  .route-steps { grid-template-columns: 1fr; }
  .route-card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}
