.vpd-ns-account-wrap {
  --vpd-line: #dfe9e1;
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
  color: var(--vpd-navy);
}

.vpd-ns-account-wrap h1,
.vpd-ns-account-wrap h2,
.vpd-ns-account-wrap h3 { margin: 0; color: var(--vpd-navy); line-height: 1.12; letter-spacing: -.035em; text-transform: none; }
.vpd-ns-account-wrap h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 900; }
.vpd-ns-account-wrap h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 850; }
.vpd-ns-account-wrap h3 { font-size: 18px; font-weight: 820; }
.vpd-ns-kicker { display: block; margin-bottom: 8px; color: var(--vpd-green); font-size: 11px; font-weight: 900; letter-spacing: .14em; }

.vpd-ns-auth-grid {
  display: grid;
  grid-template-columns: minmax(330px, .88fr) minmax(480px, 1.12fr);
  min-height: 760px;
  overflow: hidden;
  border: 1px solid var(--vpd-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(7, 29, 53, .11);
}
.vpd-ns-auth-story {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 760px;
  padding: clamp(38px, 5vw, 66px);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 31, 45, .08) 12%, rgba(5, 31, 45, .93) 92%),
    radial-gradient(circle at 70% 12%, #86cf68 0, transparent 35%),
    linear-gradient(140deg, #456b43, #0c2e28 72%);
  background-position: center;
  background-size: cover;
  color: #fff;
}
.vpd-ns-auth-story::before { content: ""; position: absolute; inset: 0; opacity: .22; background: linear-gradient(125deg, transparent 45%, rgba(255,255,255,.18)); }
.vpd-ns-auth-story__content { position: relative; z-index: 1; max-width: 440px; }
.vpd-ns-auth-story .vpd-ns-kicker { color: #b9f0aa; }
.vpd-ns-auth-story h2 { max-width: 390px; color: #fff; font-size: clamp(42px, 5vw, 64px); }
.vpd-ns-auth-story p { margin: 17px 0 0; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.65; }
.vpd-ns-auth-story ul { display: grid; gap: 15px; margin: 34px 0 0; padding: 0; list-style: none; }
.vpd-ns-auth-story li { display: flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 750; }
.vpd-ns-auth-story li::before { content: "✓"; display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: #effbe9; color: var(--vpd-green-dark); font-size: 13px; font-weight: 950; }

.vpd-ns-auth-forms { align-self: center; padding: clamp(28px, 5vw, 62px); }
.vpd-ns-panel { padding: clamp(24px, 3vw, 38px); border: 1px solid var(--vpd-line); border-radius: 18px; background: #fff; box-shadow: 0 9px 30px rgba(7, 29, 53, .055); }
.vpd-ns-auth-forms > .vpd-ns-panel { padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.vpd-ns-auth-forms > .vpd-ns-panel + .vpd-ns-panel { margin-top: 34px; padding-top: 34px; border-top: 1px solid var(--vpd-line); }
.vpd-ns-auth-login { padding: 22px !important; border: 1px solid var(--vpd-line) !important; border-radius: 14px !important; background: var(--vpd-soft) !important; }
.vpd-ns-auth-login h2 { font-size: 25px; }
.vpd-ns-auth-register h2 { font-size: clamp(28px, 3vw, 38px); }
.vpd-ns-form-intro { margin: 9px 0 22px; color: var(--vpd-muted); line-height: 1.55; }
.vpd-ns-panel--narrow { max-width: 660px; margin-inline: auto; }

.vpd-ns-form { display: grid; gap: 17px; }
.vpd-ns-form label,
.vpd-ns-form legend { color: #25364a; font-size: 13px; font-weight: 800; }
.vpd-ns-form label > span { color: #c83535; }
.vpd-ns-form :is(input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=time],input[type=url],input[type=file],textarea,select) {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 7px;
  padding: 12px 14px;
  border: 1px solid #cfdbd3;
  border-radius: 9px;
  background: #fff;
  color: var(--vpd-navy);
  font: inherit;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.vpd-ns-form textarea { min-height: 125px; resize: vertical; }
.vpd-ns-form :is(input,textarea,select):hover { border-color: #aebfb2; }
.vpd-ns-form :is(input,textarea,select):focus { outline: 0; border-color: var(--vpd-green); box-shadow: 0 0 0 4px rgba(85,127,40,.13); }
.vpd-ns-form small { display: block; margin-top: 6px; color: var(--vpd-muted); font-size: 11px; font-weight: 550; line-height: 1.45; }
.vpd-ns-form button,
.vpd-ns-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--vpd-green);
  border-radius: 9px;
  background: linear-gradient(135deg, #3daf2d, #23891b);
  box-shadow: 0 8px 20px rgba(85,127,40,.18);
  color: #fff !important;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s, box-shadow .18s;
}
.vpd-ns-form button:hover,
.vpd-ns-link-button:hover { transform: translateY(-1px); box-shadow: 0 11px 25px rgba(85,127,40,.24); }
.vpd-ns-form .vpd-ns-button-secondary,
.vpd-ns-link-button { background: #fff; box-shadow: none; color: var(--vpd-green-dark) !important; }
.vpd-ns-check { display: flex !important; align-items: flex-start; gap: 9px; font-weight: 650 !important; line-height: 1.45; }
.vpd-ns-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--vpd-green); }
.vpd-ns-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.vpd-ns-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.vpd-ns-form fieldset { margin: 0; padding: 17px; border: 1px solid var(--vpd-line); border-radius: 12px; background: #fbfdfb; }
.vpd-ns-choice-grid { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 11px; }
.vpd-ns-choice { padding: 9px 12px; border: 1px solid #e0e9e1; border-radius: 999px; background: #fff; font-size: 12px !important; }
.vpd-ns-choice:has(input:checked) { border-color: var(--vpd-green); background: #eef9eb; color: var(--vpd-green-dark); }

.vpd-ns-recovery { margin-top: 24px; padding-top: 19px; border-top: 1px solid var(--vpd-line); }
.vpd-ns-recovery summary { color: var(--vpd-green-dark); font-size: 13px; font-weight: 850; cursor: pointer; }
.vpd-ns-recovery__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; margin-top: 20px; }
.vpd-ns-notice { margin: 0 0 20px; padding: 15px 18px; border-radius: 12px; font-size: 14px; font-weight: 750; }
.vpd-ns-notice--success { border: 1px solid #b8dcb2; background: #eff9ec; color: #176615; }
.vpd-ns-notice--error { border: 1px solid #efb9b4; background: #fff2f1; color: #8d2424; }

.vpd-ns-email-state { display: grid; justify-items: center; max-width: 620px; margin: 70px auto; padding: clamp(38px, 7vw, 72px); border: 1px solid var(--vpd-line); border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(7,29,53,.1); text-align: center; }
.vpd-ns-email-state__icon { display: grid; width: 92px; height: 92px; margin-bottom: 24px; place-items: center; border-radius: 50%; background: #eaf8e5; color: var(--vpd-green); font-size: 42px; }
.vpd-ns-email-state p { max-width: 470px; color: var(--vpd-muted); line-height: 1.7; }
.vpd-ns-email-state .vpd-ns-link-button { margin: 16px 0; }
.vpd-ns-email-state small { max-width: 420px; color: var(--vpd-muted); line-height: 1.6; }

.vpd-ns-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; padding: 28px 30px; border: 1px solid var(--vpd-line); border-radius: 20px; background: linear-gradient(125deg,#eaf7e7,#fff 62%); }
.vpd-ns-dashboard-head > div { display: flex; align-items: center; gap: 19px; }
.vpd-ns-dashboard-head h1 { margin-bottom: 5px; font-size: clamp(30px,4vw,46px); }
.vpd-ns-dashboard-head p { max-width: 570px; margin: 0; color: var(--vpd-muted); line-height: 1.5; }
.vpd-ns-dashboard-actions { display: flex !important; align-items: center !important; justify-content: flex-end; flex-wrap: wrap; gap: 8px !important; }
.vpd-ns-avatar { display: block; width: 96px; height: 96px; border: 5px solid #fff; border-radius: 50%; object-fit: cover; box-shadow: 0 5px 18px rgba(7,29,53,.2); }
.vpd-ns-avatar--fallback { display: grid; place-items: center; background: linear-gradient(135deg,#557f28,#8bad55); color: #fff; font-size: 38px; font-weight: 950; }
.vpd-ns-dashboard-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 18px; }
.vpd-ns-dashboard-cards article { position: relative; min-height: 105px; padding: 22px; overflow: hidden; border: 1px solid var(--vpd-line); border-radius: 16px; background: #fff; }
.vpd-ns-dashboard-cards article::after { content: ""; position: absolute; right: -18px; bottom: -24px; width: 72px; height: 72px; border-radius: 50%; background: #ecf7e9; }
.vpd-ns-dashboard-cards span,
.vpd-ns-profile-facts span { display: block; color: var(--vpd-muted); font-size: 11px; }
.vpd-ns-dashboard-cards strong,
.vpd-ns-profile-facts strong { display: block; margin-top: 6px; font-size: 16px; }
.vpd-ns-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(270px,.72fr); gap: 18px; }
.vpd-ns-dashboard-side { align-self: start; }
.vpd-ns-dashboard-side p { color: var(--vpd-muted); line-height: 1.65; }
.vpd-ns-dashboard-side hr { margin: 27px 0; border: 0; border-top: 1px solid var(--vpd-line); }

.vpd-ns-public-profile { overflow: hidden; border: 1px solid var(--vpd-line); border-radius: 23px; background: #fff; box-shadow: 0 18px 55px rgba(7,29,53,.095); }
.vpd-ns-profile-cover { display: flex; align-items: flex-end; justify-content: flex-end; min-height: 245px; padding: 28px; background-position: center; background-size: cover; background-color: #315f43; color: #fff; font-weight: 900; }
.vpd-ns-profile-main { padding: 0 clamp(22px,5vw,58px) 50px; }
.vpd-ns-profile-identity { display: flex; align-items: center; gap: 21px; margin-top: -68px; }
.vpd-ns-profile-identity .vpd-ns-avatar { flex: 0 0 144px; width: 144px; height: 144px; border-width: 6px; }
.vpd-ns-profile-identity > div { flex: 1; padding-top: 70px; }
.vpd-ns-profile-identity h1 { margin-bottom: 5px; }
.vpd-ns-profile-identity p { margin: 0; color: var(--vpd-muted); }
.vpd-ns-profile-stats { display: grid; grid-template-columns: repeat(3,1fr); max-width: 610px; margin: 25px 0; overflow: hidden; border: 1px solid var(--vpd-line); border-radius: 13px; }
.vpd-ns-profile-share { display: flex; align-items: end; gap: 10px; max-width: 760px; margin: 24px 0 8px; padding: 14px; border: 1px solid var(--vpd-line); border-radius: 13px; background: var(--vpd-soft); }
.vpd-ns-profile-share label { flex: 1; min-width: 0; color: var(--vpd-muted); font-size: 11px; font-weight: 800; }
.vpd-ns-profile-share input { display: block; width: 100%; min-height: 44px; margin-top: 6px; padding: 10px 12px; border: 1px solid #cfdbd3; border-radius: 8px; background: #fff; color: var(--vpd-navy); font: inherit; }
.vpd-ns-profile-route { min-height: 55vh; }
.vpd-ns-profile-stats > div { padding: 15px 20px; text-align: center; }
.vpd-ns-profile-stats > div + div { border-left: 1px solid var(--vpd-line); }
.vpd-ns-profile-stats strong { display: block; font-size: 22px; }
.vpd-ns-profile-stats span { color: var(--vpd-muted); font-size: 10px; }
.vpd-ns-profile-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 25px 0; }
.vpd-ns-profile-facts > div { padding: 17px; border-radius: 12px; background: var(--vpd-soft); }
.vpd-ns-profile-bio { max-width: 800px; padding: 7px 0 22px; }
.vpd-ns-profile-bio p { color: #435466; line-height: 1.75; }
.vpd-ns-profile-rides { margin-top: 20px; padding-top: 28px; border-top: 1px solid var(--vpd-line); }
.vpd-ns-profile-section-head { margin-bottom: 15px; }
.vpd-ns-profile-ride-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.vpd-ns-profile-ride-card { display: grid; grid-template-columns: 112px 1fr; min-width: 0; overflow: hidden; border: 1px solid var(--vpd-line); border-radius: 13px; background: #fff; }
.vpd-ns-profile-ride-card img,
.vpd-ns-profile-ride-placeholder { width: 112px; height: 110px; object-fit: cover; }
.vpd-ns-profile-ride-placeholder { display: grid; place-items: center; background: #eaf6e7; font-size: 30px; }
.vpd-ns-profile-ride-card > div:last-child { min-width: 0; padding: 14px; }
.vpd-ns-profile-ride-card time { color: var(--vpd-green-dark); font-size: 10px; font-weight: 850; }
.vpd-ns-profile-ride-card h3 { margin: 5px 0; overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.vpd-ns-profile-ride-card h3 a { color: inherit; text-decoration: none; }
.vpd-ns-profile-ride-card p { margin: 0; overflow: hidden; color: var(--vpd-muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 900px) {
  .vpd-ns-auth-grid,
  .vpd-ns-dashboard-grid { grid-template-columns: 1fr; }
  .vpd-ns-auth-story { min-height: 430px; }
  .vpd-ns-dashboard-head { align-items: flex-start; flex-direction: column; }
  .vpd-ns-dashboard-actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .vpd-ns-account-wrap { width: min(100% - 20px,1180px); margin: 16px auto; }
  .vpd-ns-auth-grid { border-radius: 17px; }
  .vpd-ns-auth-story { min-height: 360px; padding: 30px 23px; }
  .vpd-ns-auth-story h2 { font-size: 40px; }
  .vpd-ns-auth-forms { padding: 24px 17px; }
  .vpd-ns-recovery__grid,
  .vpd-ns-form-grid,
  .vpd-ns-dashboard-cards,
  .vpd-ns-profile-facts,
  .vpd-ns-profile-ride-grid { grid-template-columns: 1fr; }
  .vpd-ns-dashboard-head { padding: 23px 19px; }
  .vpd-ns-dashboard-head > div { align-items: flex-start; flex-direction: column; }
  .vpd-ns-dashboard-actions { align-items: stretch !important; flex-direction: column; width: 100%; }
  .vpd-ns-profile-cover { min-height: 165px; }
  .vpd-ns-profile-share { align-items: stretch; flex-direction: column; }
  .vpd-ns-profile-main { padding-inline: 17px; }
  .vpd-ns-profile-identity { align-items: flex-start; flex-wrap: wrap; margin-top: -50px; }
  .vpd-ns-profile-identity .vpd-ns-avatar { flex-basis: 104px; width: 104px; height: 104px; }
  .vpd-ns-profile-identity > div { width: 100%; padding-top: 0; }
  .vpd-ns-profile-identity .vpd-ns-link-button { margin-left: 0; }
  .vpd-ns-profile-stats { grid-template-columns: 1fr; }
  .vpd-ns-profile-stats > div + div { border-top: 1px solid var(--vpd-line); border-left: 0; }
  .vpd-ns-profile-ride-card { grid-template-columns: 92px 1fr; }
  .vpd-ns-profile-ride-card img,
  .vpd-ns-profile-ride-placeholder { width: 92px; height: 100px; }
}
.vpd-ns-account-wrap .vpd-registration-guard-status {
    margin: 0 0 16px;
    padding: 11px 14px;
    border-radius: 10px;
    color: #8b2e2e;
    background: #fff0f0;
    font-size: 14px;
    line-height: 1.45;
}

