/**
 * Appily fortythree — Orchard Member Grove (account)
 * Layout: diagonal hero + passport band | horizontal lane tabs + workspace/rail | guest vault
 */

.page-account-orchard {
  --grove-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --grove-glass: rgba(255, 252, 247, 0.82);
  --grove-glass-border: rgba(255, 255, 255, 0.58);
  background: var(--a43-cream);
}
.page-account-orchard .page-main { padding-top: 0; }

.page-account-orchard .auth-page {
  padding: 0 0 3rem;
  background: transparent;
}

/* Neutralize legacy auth rules from a43-pages.css on this page */
body.page-account-orchard.a43-store:not(.page-home) .page-main {
  background: var(--a43-cream);
}

.page-account-orchard .auth-split-panel {
  opacity: 1;
  transform: none;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.page-account-orchard .auth-split-panel[hidden] {
  display: none !important;
}
.page-account-orchard .auth-split-panel:not(.is-active) {
  display: none;
}
.page-account-orchard .auth-split-panel.is-active {
  display: block;
  animation: a43GrovePanelIn 0.45s var(--grove-ease);
}

/* Vault tabs: reset pages.css auth-split-tab without breaking grove styling */
.page-account-orchard .a43-grove-vault-tab.auth-split-tab {
  flex: unset;
  padding: 0.65rem 1rem;
  background: transparent;
  color: var(--a43-muted);
  z-index: 1;
  position: relative;
}
.page-account-orchard .a43-grove-vault-tab.auth-split-tab:hover {
  color: var(--a43-green-dark);
}
.page-account-orchard .a43-grove-vault-tab.auth-split-tab.is-active,
.page-account-orchard .a43-grove-vault-tab.auth-split-tab.is-active:hover {
  color: #fff;
}

.page-account-orchard .a43-grove-vault-indicator {
  z-index: 0;
}

.page-account-orchard .auth-form {
  display: block;
  gap: 0;
}
.page-account-orchard .auth-form label.a43-grove-field {
  display: block;
  margin-bottom: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}
.page-account-orchard .auth-form input,
.page-account-orchard .auth-form select,
.page-account-orchard .auth-form textarea {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
}
.page-account-orchard .auth-form input:focus,
.page-account-orchard .auth-form select:focus,
.page-account-orchard .auth-form textarea:focus {
  outline: none;
  border-color: var(--a43-mint);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.12);
}

.page-account-orchard .auth-forgot-block {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.page-account-orchard .a43-grove-lane.dash-nav-link {
  text-decoration: none;
  color: inherit;
}
.page-account-orchard .a43-grove-lane.dash-nav-link:hover {
  background: #fff;
  color: inherit;
}
.page-account-orchard .a43-grove-lane.dash-nav-link.is-active,
.page-account-orchard .a43-grove-lane.dash-nav-link.is-active:hover {
  background: linear-gradient(145deg, var(--a43-green-dark), #2f5233);
  color: #fff;
}

.page-account-orchard .a43-grove-loading.notice {
  background: var(--grove-glass);
  border: 1px solid rgba(47, 82, 51, 0.1);
}

.page-account-orchard .dash-panel { display: none; }
.page-account-orchard .dash-panel.is-active {
  display: block;
  animation: a43GrovePanelIn 0.45s var(--grove-ease);
}
@keyframes a43GrovePanelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.a43-grove { padding-bottom: 0; }

/* ── Reveal ── */
.a43-grove-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--grove-ease), transform 0.65s var(--grove-ease);
}
.a43-grove-reveal.is-visible { opacity: 1; transform: none; }

/* ── Hero ── */
.a43-grove-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 5vw, 3.25rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
}
.a43-grove-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(128deg, #142618 0%, #1a3320 42%, var(--a43-green-dark) 70%, #3d6b4f 100%);
  pointer-events: none;
}
.a43-grove-slice {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--a43-cream);
  clip-path: polygon(0 100%, 100% 16%, 100% 100%);
}
.a43-grove-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.38;
  animation: a43GroveBlob 13s ease-in-out infinite alternate;
}
.a43-grove-blob--1 {
  width: 320px;
  height: 320px;
  top: -12%;
  right: 10%;
  background: rgba(212, 160, 23, 0.5);
}
.a43-grove-blob--2 {
  width: 260px;
  height: 260px;
  bottom: 0;
  left: -4%;
  background: rgba(196, 220, 200, 0.35);
  animation-delay: -5s;
}
@keyframes a43GroveBlob {
  to { transform: translate(14px, -12px) scale(1.05); }
}

.a43-grove-orbit {
  position: absolute;
  top: 18%;
  right: clamp(4%, 12vw, 14%);
  width: min(140px, 18vw);
  aspect-ratio: 1;
  border: 2px dashed rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  animation: a43GroveOrbit 24s linear infinite;
}
.a43-grove-orbit-dot {
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: var(--a43-gold);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.6);
}
@keyframes a43GroveOrbit { to { transform: rotate(360deg); } }

.a43-grove-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) auto;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: end;
}

.a43-grove-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.75rem;
  margin-bottom: 0.65rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.a43-grove-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ee7b7;
  animation: a43GroveLive 2s ease-out infinite;
}
@keyframes a43GroveLive {
  0% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(110, 231, 183, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 231, 183, 0); }
}

.a43-grove-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a43-gold);
}
.a43-grove-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
}
.a43-grove-hero h1 em {
  font-style: normal;
  color: #c4dcc8;
}
.a43-grove-lede {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 44ch;
}

.a43-grove-passport-preview {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  background: var(--grove-glass);
  border: 1px solid var(--grove-glass-border);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
  color: var(--a43-ink);
  min-width: 220px;
}
.a43-grove-passport-icon { font-size: 1.75rem; line-height: 1; }
.a43-grove-passport-preview strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--a43-green-dark);
}
.a43-grove-passport-preview span {
  font-size: 0.72rem;
  color: var(--a43-muted);
}
.a43-grove-passport-chip {
  margin-left: auto;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(64, 145, 108, 0.12);
  color: var(--a43-green-dark);
}

/* ── Stage ── */
.a43-grove-stage { margin-top: -1.25rem; }

.a43-grove-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
  padding: 1.1rem;
  border-radius: 16px;
  background: var(--grove-glass);
  border: 1px solid rgba(47, 82, 51, 0.1);
  color: var(--a43-muted);
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}
.a43-grove-loading-ring {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(47, 82, 51, 0.15);
  border-top-color: var(--a43-orange);
  border-radius: 50%;
  animation: a43GroveSpin 0.8s linear infinite;
}
@keyframes a43GroveSpin { to { transform: rotate(360deg); } }

/* ── Buttons ── */
.a43-grove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.62rem 1.15rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: filter 0.2s, transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.a43-grove-btn--primary {
  background: linear-gradient(120deg, var(--a43-orange), var(--a43-gold));
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(224, 122, 47, 0.25);
}
.a43-grove-btn--primary:hover { filter: brightness(1.06); transform: translateY(-2px); }
.a43-grove-btn--ghost {
  background: rgba(64, 145, 108, 0.1);
  color: var(--a43-green-dark) !important;
  border: 1px solid rgba(64, 145, 108, 0.2);
}
.a43-grove-btn--ghost:hover { background: rgba(64, 145, 108, 0.16); }
.a43-grove-btn--outline {
  background: transparent;
  color: var(--a43-ink) !important;
  border: 1px solid var(--a43-border);
}
.a43-grove-btn--outline:hover { border-color: var(--a43-orange); color: var(--a43-orange) !important; }
.a43-grove-btn--sm { padding: 0.42rem 0.85rem; font-size: 0.76rem; }

/* ── Logged-in console ── */
.a43-grove-console {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.a43-grove-member-band { margin-bottom: 0.25rem; }
.a43-grove-member-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: linear-gradient(135deg, #fff 0%, rgba(196, 220, 200, 0.25) 100%);
  border: 1px solid rgba(47, 82, 51, 0.12);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(33, 37, 41, 0.06);
}
.a43-grove-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--a43-green-dark), #3d6b4f);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(26, 51, 32, 0.22);
}
.a43-grove-member-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--a43-mint);
  margin-bottom: 0.2rem;
}
.a43-grove-member-copy {
  flex: 1;
  min-width: 0;
}
.a43-grove-member-copy h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--a43-green-dark);
  word-break: break-word;
}
.a43-grove-member-id {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--a43-orange);
  padding: 0.35rem 0.65rem;
  background: rgba(212, 160, 23, 0.12);
  border-radius: 10px;
}

/* Horizontal lane tabs */
.a43-grove-lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}
.a43-grove-lane {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(47, 82, 51, 0.1);
  border-radius: 16px;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.28s var(--grove-ease), box-shadow 0.28s, border-color 0.28s, background 0.28s;
  position: relative;
  overflow: hidden;
}
.a43-grove-lane::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--a43-orange), var(--a43-mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--grove-ease);
}
.a43-grove-lane:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(33, 37, 41, 0.08);
}
.a43-grove-lane.is-active {
  background: linear-gradient(145deg, var(--a43-green-dark), #2f5233);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 32px rgba(26, 51, 32, 0.24);
}
.a43-grove-lane.is-active::before { transform: scaleX(1); background: var(--a43-gold); }
.a43-grove-lane-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.a43-grove-lane-body strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.a43-grove-lane-body small {
  display: block;
  font-size: 0.72rem;
  opacity: 0.72;
  margin-top: 0.1rem;
}
.a43-grove-lane:not(.is-active) .a43-grove-lane-body strong { color: var(--a43-ink); }
.a43-grove-lane:not(.is-active) .a43-grove-lane-body small { color: var(--a43-muted); }

/* Workspace */
.a43-grove-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 1rem;
  align-items: start;
}

.a43-grove-main {
  background: #fff;
  border: 1px solid rgba(47, 82, 51, 0.1);
  border-radius: 22px;
  padding: 1.35rem 1.4rem 1.4rem;
  box-shadow: 0 10px 36px rgba(33, 37, 41, 0.05);
  min-height: 360px;
}

.a43-grove-panel-head { margin-bottom: 1.2rem; }
.a43-grove-panel-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.a43-grove-panel-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a43-orange);
}
.a43-grove-panel-head h3 {
  margin: 0 0 0.2rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--a43-green-dark);
}
.a43-grove-panel-head p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--a43-muted);
}

/* Profile grid */
.a43-grove-profile {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}
.a43-grove-profile .profile-item {
  padding: 0.9rem 1rem;
  background: var(--a43-cream);
  border: 1px solid rgba(47, 82, 51, 0.08);
  border-radius: 14px;
  transition: transform 0.25s var(--grove-ease), border-color 0.25s, box-shadow 0.25s;
}
.a43-grove-profile .profile-item:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: 0 8px 20px rgba(33, 37, 41, 0.06);
}
.a43-grove-profile .profile-item .k {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a43-muted);
  margin-bottom: 0.3rem;
}
.a43-grove-profile .profile-item .v {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--a43-ink);
  word-break: break-word;
}
.a43-grove-profile .profile-item .v.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Orders */
.a43-grove-orders .order-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 0.6rem;
  background: var(--a43-cream);
  border: 1px solid rgba(47, 82, 51, 0.08);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.a43-grove-orders .order-row:hover {
  border-color: rgba(212, 160, 23, 0.35);
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(33, 37, 41, 0.06);
}
.a43-grove-orders .order-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}
.a43-grove-orders .order-row .btn,
.a43-grove-orders .order-row .btn-soft {
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--a43-green-dark), #3d6b4f);
  color: #fff !important;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: filter 0.2s;
}
.a43-grove-orders .order-row .btn:hover,
.a43-grove-orders .order-row .btn-soft:hover { filter: brightness(1.08); }

.page-account-orchard .mini-copy {
  font-size: 0.8rem;
  color: var(--a43-muted);
  line-height: 1.45;
}

/* Right rail */
.a43-grove-rail {
  position: sticky;
  top: 5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.a43-grove-rail-card {
  padding: 1.1rem 1rem;
  background: var(--grove-glass);
  border: 1px solid var(--grove-glass-border);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(33, 37, 41, 0.05);
}
.a43-grove-rail-label {
  display: block;
  margin-bottom: 0.65rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a43-muted);
}
.a43-grove-rail-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.a43-grove-rail-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  margin: 0 -0.55rem;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--a43-ink);
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.a43-grove-rail-links a span { font-size: 1rem; line-height: 1; }
.a43-grove-rail-links a:hover {
  background: rgba(212, 160, 23, 0.1);
  color: var(--a43-orange);
  transform: translateX(4px);
}
.a43-grove-rail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.a43-grove-rail-actions .a43-grove-btn { width: 100%; }

/* Forms */
.a43-grove-form { max-width: 440px; }
.a43-grove-field {
  display: block;
  margin-bottom: 0.8rem;
}
.a43-grove-field span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--a43-muted);
}
.a43-grove-field input {
  width: 100%;
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--a43-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.a43-grove-field input:focus {
  border-color: var(--a43-mint);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.12);
}

/* Notices */
.page-account-orchard .a43-grove-main .notice,
.page-account-orchard #profileVerifyNotice .notice {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.page-account-orchard .notice.success {
  border: 1px solid rgba(64, 145, 108, 0.3);
  background: rgba(64, 145, 108, 0.08);
  color: var(--a43-green-dark);
}
.page-account-orchard .notice.warning {
  border: 1px solid rgba(244, 161, 39, 0.35);
  background: rgba(244, 161, 39, 0.1);
  color: #7a5c00;
}

/* ── Guest layout ── */
.a43-grove-guest {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 992px) {
  .a43-grove-guest:not(.a43-grove-guest--solo) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: 1.75rem;
    align-items: start;
  }
  .a43-grove-benefits,
  .a43-grove-vault {
    align-self: start;
  }
  .a43-grove-benefits {
    padding-top: 0.5rem;
  }
  .a43-grove-benefits-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    overflow: visible;
  }
  .a43-grove-benefit {
    flex: unset;
    width: auto;
    min-height: 0;
    padding: 0.85rem 1rem;
  }
}
.a43-grove-guest--solo {
  align-items: center;
}
.a43-grove-guest--solo .a43-grove-vault {
  width: 100%;
  max-width: 520px;
}

.a43-grove-benefits {
  padding: 1.25rem 0 0.5rem;
}
.a43-grove-benefits-label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a43-muted);
}
.a43-grove-benefits-track {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 0.35rem;
}
.a43-grove-benefits-track::-webkit-scrollbar { display: none; }

.a43-grove-benefit {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: start;
  padding: 1rem 1.1rem;
  background: linear-gradient(145deg, var(--a43-green-dark), #2f5233);
  border-radius: 16px;
  color: #fff;
  animation: a43GroveBenefitIn 0.5s var(--grove-ease) both;
  animation-delay: calc(var(--benefit-i, 0) * 0.08s);
}
@keyframes a43GroveBenefitIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
.a43-grove-benefit-num {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--a43-gold);
}
.a43-grove-benefit p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}
.a43-grove-benefits-foot {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.85rem;
}
.a43-grove-benefits-foot a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--a43-orange);
  text-decoration: none !important;
}
.a43-grove-benefits-foot a:hover { text-decoration: underline !important; }

/* Auth vault */
.a43-grove-vault {
  background: #fff;
  border: 1px solid rgba(47, 82, 51, 0.1);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(33, 37, 41, 0.08);
}
.a43-grove-vault-head {
  padding: 1.35rem 1.4rem 0.5rem;
  background: linear-gradient(135deg, rgba(47, 82, 51, 0.06) 0%, transparent 100%);
}
.a43-grove-vault-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--a43-green-dark);
  background: rgba(64, 145, 108, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}
.a43-grove-vault-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--a43-green-dark);
}
.a43-grove-vault-head p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--a43-muted);
}

.a43-grove-vault-tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 1rem 1.4rem 0;
  padding: 0.25rem;
  background: var(--a43-cream);
  border-radius: 999px;
  border: 1px solid rgba(47, 82, 51, 0.08);
}
.a43-grove-vault-tab {
  padding: 0.65rem 1rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--a43-muted);
  cursor: pointer;
  border-radius: 999px;
  z-index: 1;
  transition: color 0.2s;
}
.a43-grove-vault-tab.is-active { color: #fff; }
.a43-grove-vault-indicator {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  background: linear-gradient(120deg, var(--a43-green-dark), #3d6b4f);
  border-radius: 999px;
  transition: transform 0.35s var(--grove-ease);
  box-shadow: 0 4px 14px rgba(26, 51, 32, 0.22);
}
.a43-grove-vault[data-active="register"] .a43-grove-vault-indicator {
  transform: translateX(100%);
}

.a43-grove-vault-body { padding: 1.25rem 1.4rem 1.4rem; }
.a43-grove-vault-panel h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--a43-ink);
}
.a43-grove-vault-panel .lead {
  margin: 0 0 1.1rem;
  font-size: 0.86rem;
  color: var(--a43-muted);
  line-height: 1.55;
}

.a43-grove-dev-login {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--a43-green-dark);
  background: rgba(64, 145, 108, 0.1);
  border: 1px dashed rgba(64, 145, 108, 0.28);
}
.a43-grove-dev-login strong {
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
}

.a43-grove-forgot {
  margin-top: 1.25rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(47, 82, 51, 0.15);
}
.a43-grove-forgot summary {
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--a43-orange);
  padding: 0.5rem 0;
  list-style: none;
}
.a43-grove-forgot summary::-webkit-details-marker { display: none; }
.a43-grove-forgot[open] summary { margin-bottom: 0.75rem; }
.a43-grove-forgot .form-subhead,
.a43-grove-reset .form-subhead {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--a43-ink);
}
.a43-grove-reset { margin-top: 1rem; }

/* Toast */
.page-account-orchard .toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  max-width: min(380px, calc(100vw - 2rem));
  padding: 0.85rem 1.15rem;
  background: #fff;
  border: 1px solid rgba(47, 82, 51, 0.12);
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(33, 37, 41, 0.15);
  font-size: 0.88rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 9999;
}
.page-account-orchard .toast.visible,
.page-account-orchard .toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.page-account-orchard .toast.success { border-left: 4px solid var(--a43-mint); }
.page-account-orchard .toast.error { border-left: 4px solid var(--a43-berry); }
.page-account-orchard .toast.warning { border-left: 4px solid var(--a43-gold); }

.page-account-orchard .auth-inline-status {
  margin: 0.35rem 0 0;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.86rem;
  line-height: 1.45;
  display: none;
}
.page-account-orchard .auth-inline-status.visible { display: block; }
.page-account-orchard .auth-inline-status.success {
  background: rgba(82, 183, 136, 0.12);
  color: #1b4332;
  border: 1px solid rgba(82, 183, 136, 0.35);
}
.page-account-orchard .auth-inline-status.error {
  background: rgba(220, 53, 69, 0.08);
  color: #842029;
  border: 1px solid rgba(220, 53, 69, 0.25);
}
.page-account-orchard .auth-inline-status.warning {
  background: rgba(255, 193, 7, 0.12);
  color: #664d03;
  border: 1px solid rgba(255, 193, 7, 0.35);
}

#accountLoggedIn:not([style*="display: none"]) .a43-grove-reveal,
#accountLoggedOut:not([style*="display: none"]) .a43-grove-reveal,
#accountLoggedIn:not([style*="display: none"]) .a43-acct-reveal,
#accountLoggedOut:not([style*="display: none"]) .a43-acct-reveal {
  opacity: 1;
  transform: none;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .a43-grove-hero-grid { grid-template-columns: 1fr; }
  .a43-grove-passport-preview { justify-self: start; }
  .a43-grove-workspace { grid-template-columns: 1fr; }
  .a43-grove-rail { position: static; }
  .a43-grove-lanes { grid-template-columns: 1fr; }
  .a43-grove-profile { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .a43-grove-main { padding: 1.1rem; }
  .a43-grove-vault-body { padding: 1.1rem; }
  .a43-grove-vault-tabs { margin-left: 1.1rem; margin-right: 1.1rem; }
  .a43-grove-member-id { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .a43-grove-reveal, .a43-grove-benefit, .page-account-orchard .dash-panel.is-active {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .a43-grove-blob, .a43-grove-orbit, .a43-grove-live-dot, .a43-grove-loading-ring { animation: none !important; }
}
