.concierge-shell {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto 3rem;
}

.is-hidden {
  display: none !important;
}

.concierge-stage {
  position: relative;
  min-height: calc(100vh - 7rem);
  display: grid;
  place-items: center;
  padding: 1rem 0 2rem;
}

.stage-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.55;
  pointer-events: none;
}

.glow-left {
  width: 18rem;
  height: 18rem;
  left: 1rem;
  top: 3rem;
  background: rgba(32, 118, 103, 0.16);
}

.glow-right {
  width: 22rem;
  height: 22rem;
  right: -1rem;
  bottom: 0;
  background: rgba(204, 157, 90, 0.2);
}

.concierge-card {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.92), rgba(249, 244, 234, 0.92)),
    radial-gradient(circle at top right, rgba(212, 172, 109, 0.08), transparent 36%);
  box-shadow:
    0 28px 60px rgba(18, 32, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  padding: 1.25rem;
  backdrop-filter: blur(10px);
}

.concierge-head {
  display: grid;
  gap: 0.45rem;
}

.concierge-eyebrow {
  color: var(--brand-deep);
}

.concierge-head h1 {
  margin: 0;
  color: #17322f;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.concierge-lead {
  margin: 0;
  color: #5b675e;
  font-size: 1rem;
  max-width: 34rem;
}

.step-track {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.step-pill {
  display: grid;
  gap: 0.2rem;
  text-align: left;
  border: 1px solid rgba(18, 32, 42, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  padding: 0.8rem 0.95rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 140ms ease, background 140ms ease, transform 140ms ease;
}

.step-pill span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step-pill strong {
  color: #19312f;
  font-size: 0.98rem;
}

.step-pill:hover {
  transform: translateY(-1px);
}

.step-pill.is-active {
  border-color: rgba(21, 103, 92, 0.2);
  background: rgba(229, 243, 239, 0.9);
}

.step-pill.is-complete {
  border-color: rgba(21, 103, 92, 0.14);
  background: rgba(240, 248, 245, 0.86);
}

.concierge-form {
  margin-top: 1rem;
}

.concierge-step {
  display: grid;
  gap: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(18, 32, 42, 0.08);
  background: rgba(255, 255, 255, 0.68);
  padding: 1rem;
}

.concierge-step.is-hidden {
  display: none;
}

.step-copy {
  display: grid;
  gap: 0.3rem;
}

.step-count {
  margin: 0;
  color: #7c877f;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 800;
}

.step-copy h2 {
  margin: 0;
  font-size: 1.55rem;
  color: #122a28;
}

.step-copy p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.auth-choice {
  display: grid;
  gap: 0.35rem;
  text-align: left;
  border-radius: 20px;
  border: 1px solid rgba(18, 32, 42, 0.08);
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  padding: 1rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.auth-choice:hover {
  transform: translateY(-1px);
}

.auth-choice.is-active {
  border-color: rgba(13, 127, 114, 0.26);
  box-shadow: inset 0 0 0 1px rgba(13, 127, 114, 0.08);
  background: rgba(243, 250, 248, 0.95);
}

.choice-kicker {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #768178;
  font-weight: 800;
}

.auth-choice strong {
  color: #17322f;
  font-size: 1rem;
}

.auth-choice span:last-child {
  color: var(--muted);
  line-height: 1.5;
}

.session-account-card {
  border-radius: 20px;
  border: 1px solid rgba(13, 127, 114, 0.14);
  background: rgba(237, 247, 243, 0.92);
  padding: 1rem;
}

.session-account-card strong {
  display: block;
  color: #16302d;
  font-size: 1rem;
}

.session-account-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.google-account-panel h3 {
  font-size: 1.05rem;
}

.google-account-panel p {
  line-height: 1.5;
}

.concierge-footer {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  justify-content: space-between;
  padding-top: 0.2rem;
}

.footer-meta {
  margin: 0;
  color: #6e7870;
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.success-panel {
  margin-top: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(13, 127, 114, 0.16);
  background: rgba(238, 247, 243, 0.94);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.success-panel h2 {
  margin: 0;
  font-size: 1.45rem;
  color: #17322f;
}

.success-panel p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.success-eyebrow {
  color: #677268;
}

.concierge-bottom-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: #5b675e;
  font-size: 0.92rem;
}

.concierge-bottom-row a {
  color: #153c38;
  text-decoration: none;
  font-weight: 700;
}

.concierge-bottom-row a:hover {
  text-decoration: underline;
}

.quiet-divider {
  color: rgba(18, 32, 42, 0.28);
}

#openPracticeDashboardBtn,
#openPracticeDashboardLink {
  opacity: 0.68;
}

@media (max-width: 760px) {
  .concierge-card {
    padding: 1rem;
    border-radius: 24px;
  }

  .auth-choice-grid {
    grid-template-columns: 1fr;
  }

  .concierge-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-actions {
    width: 100%;
  }

  .footer-actions .btn,
  .footer-actions a {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .concierge-shell {
    width: min(100%, calc(100% - 1rem));
  }

  .step-track,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    flex-direction: column;
  }

  .footer-actions .btn {
    width: 100%;
  }
}
