.account-page {
  background:
    radial-gradient(700px 360px at 8% 8%, rgba(250, 215, 65, .22), transparent 62%),
    linear-gradient(180deg, #fff 0%, var(--bee-off) 44%, #fff 100%);
}

.account-hero {
  position: relative;
  overflow: hidden;
  background: var(--bee-blue);
}

.account-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 20, 87, .82), rgba(30, 40, 165, .72)),
    radial-gradient(620px 400px at 86% 20%, rgba(250, 215, 65, .27), transparent 64%),
    radial-gradient(520px 360px at 14% 100%, rgba(245, 90, 120, .28), transparent 60%);
}

.account-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 44px;
  align-items: center;
  padding: 70px 0 62px;
}

.account-copy h1 {
  max-width: 820px;
  margin: 18px 0 20px;
  color: #fff;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  font-weight: 900;
}

.account-copy h1 span {
  color: var(--bee-yellow);
}

.hero-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, .82);
  font-size: 19px;
  line-height: 1.65;
  font-weight: 650;
}

.account-actions-row,
.account-status-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.account-actions-row {
  margin-top: 28px;
}

.hero-login {
  max-width: 760px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 28px;
  padding: 24px;
  background: rgba(9, 17, 91, .28);
  box-shadow: 0 22px 54px rgba(5, 10, 64, .24);
  backdrop-filter: blur(14px);
}

.hero-login label > span {
  color: rgba(255, 255, 255, .92);
  font-weight: 800;
}

.hero-login input {
  background: #fff;
  min-height: 54px;
  border-color: rgba(255, 255, 255, .48);
  box-shadow: 0 8px 24px rgba(7, 13, 74, .13);
}

.hero-login .account-actions-row {
  margin-top: 20px;
}

.login-password-actions {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.login-password-actions #signInButton {
  width: min(100%, 400px);
  min-height: 52px;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 12px 30px rgba(5, 10, 64, .24);
  font-size: 15px;
}

.login-password-actions #signInButton:hover {
  box-shadow: 0 15px 34px rgba(5, 10, 64, .3);
}

.direct-password-notice {
  margin: -4px 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(251, 191, 36, .45);
  border-radius: 12px;
  background: rgba(254, 243, 199, .72);
  color: #713f12;
  font-size: .9rem;
  line-height: 1.5;
}

.login-forgot-action.button {
  width: auto;
  min-height: 34px;
  border: 0;
  padding: 5px 10px;
  background: transparent;
  color: rgba(255, 255, 255, .84);
  box-shadow: none;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .34);
  text-underline-offset: 4px;
}

.login-forgot-action.button:hover {
  color: var(--bee-yellow);
  box-shadow: none;
  transform: none;
  text-decoration-color: currentColor;
}

.federated-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bee-muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.federated-separator::before,
.federated-separator::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--bee-line);
}

.hero-login .federated-separator {
  width: min(100%, 400px);
  margin: 15px auto 14px;
  color: rgba(255, 255, 255, .72);
}

.hero-login .federated-separator::before,
.hero-login .federated-separator::after {
  background: rgba(255, 255, 255, .28);
}

.google-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--bee-muted);
  font-size: 13px;
  font-weight: 750;
}
.request-flow-only { display: none; }
.google-request-route { width: min(100%,300px); justify-content: center; }
.google-button[hidden] { display: none !important; }
body[data-access-flow="request"] .login-flow-only { display: none !important; }
body[data-access-flow="request"] .request-flow-only { display: block; }
body[data-access-flow="request"] .account-hero { min-height: 420px; }
body[data-access-flow="request"] .account-hero-grid { align-items: center; }

.hero-login .google-button {
  width: min(100%, 400px);
  min-height: 52px;
  margin: 0 auto;
  justify-content: center;
  color: rgba(255, 255, 255, .86);
}

.login-secondary-actions {
  max-width: 760px;
  justify-content: center;
  margin-top: 16px;
}

.login-secondary-actions .button {
  flex: 1 1 250px;
  max-width: 300px;
  justify-content: center;
}

.account-status-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 32px;
  padding: 26px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  box-shadow: var(--shadow-3);
  backdrop-filter: blur(18px);
}

.account-status-card::after {
  content: "";
  position: absolute;
  right: -84px;
  bottom: -82px;
  width: 220px;
  height: 170px;
  border-radius: 60px;
  background: rgba(250, 215, 65, .23);
  transform: rotate(-14deg);
}

.account-status-card > * {
  position: relative;
  z-index: 1;
}

.status-kicker {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(250, 215, 65, .18);
  color: var(--bee-yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.account-status-card h2 {
  margin: 18px 0 12px;
  font-size: 30px;
  line-height: 1.08;
  font-weight: 900;
}

.account-status-card p {
  color: rgba(255, 255, 255, .78);
  line-height: 1.65;
  font-weight: 650;
}

.account-status-actions {
  margin-top: 22px;
}

.account-shell {
  padding: 56px 0 94px;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  align-items: start;
}

.account-panel,
.info-card {
  border: 1px solid var(--bee-line);
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow-1);
}

.account-panel {
  padding: clamp(22px, 4vw, 38px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 8px 0 10px;
  color: var(--bee-blue);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  font-weight: 900;
}

.section-heading p {
  color: var(--bee-muted);
  line-height: 1.7;
  font-weight: 600;
}

.google-quick-request {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 320px);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
  border: 1px solid rgba(30, 40, 165, .14);
  border-radius: 26px;
  padding: clamp(22px, 4vw, 34px);
  background:
    radial-gradient(circle at 88% 15%, rgba(250, 215, 65, .24), transparent 34%),
    linear-gradient(135deg, rgba(30, 40, 165, .055), rgba(255, 255, 255, .96) 58%);
  box-shadow: 0 20px 48px rgba(23, 31, 105, .09);
}

.google-quick-request[hidden],
.federated-separator[hidden] {
  display: none !important;
}

.google-quick-copy .eyebrow {
  margin: 0 0 8px;
  color: var(--bee-blue);
}

.google-quick-copy h3 {
  margin: 0 0 10px;
  color: var(--bee-blue);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
  font-weight: 900;
}

.google-quick-copy > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--bee-muted);
  line-height: 1.65;
  font-weight: 650;
}

.google-quick-action {
  display: grid;
  justify-items: center;
  gap: 12px;
  border-left: 1px solid rgba(30, 40, 165, .12);
  padding-left: clamp(22px, 3vw, 34px);
}

.google-quick-action small {
  max-width: 300px;
  color: var(--bee-muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  font-weight: 650;
}

.manual-request {
  margin-top: 24px;
  border: 1px solid var(--bee-line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
}

.manual-request summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--bee-blue);
  cursor: pointer;
  list-style: none;
  font-weight: 850;
}

.manual-request summary::-webkit-details-marker {
  display: none;
}

.manual-request summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(30, 40, 165, .08);
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1;
}

.manual-request[open] summary::after {
  content: "−";
}

.manual-request-body {
  border-top: 1px solid var(--bee-line);
  padding: clamp(20px, 4vw, 30px);
  background: rgba(248, 249, 255, .62);
}

.access-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.form-row.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.access-form label {
  display: grid;
  gap: 8px;
}

.access-form label > span,
.form-actions small {
  color: var(--bee-muted);
  font-size: 13px;
  font-weight: 850;
}

.access-form input,
.access-form select,
.access-form textarea {
  width: 100%;
  border: 1px solid var(--bee-line);
  border-radius: 18px;
  padding: 14px 15px;
  background: var(--bee-off);
  color: var(--bee-blue-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
  outline: none;
}

.access-form textarea {
  resize: vertical;
  min-height: 132px;
}

.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  border-color: rgba(30, 40, 165, .44);
  box-shadow: 0 0 0 4px rgba(30, 40, 165, .10);
}

.consent-line {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 11px !important;
  border-radius: 20px;
  padding: 14px;
  background: rgba(250, 215, 65, .14);
}

.consent-line input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--bee-blue);
}

.form-actions {
  margin-top: 6px;
}

.account-info-stack {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
}

.info-card {
  padding: 22px;
}

.info-card .material-symbols-outlined {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(30, 40, 165, .08);
  color: var(--bee-blue);
  font-size: 28px;
}

.info-card h3 {
  margin: 16px 0 8px;
  color: var(--bee-blue);
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
}

.info-card p {
  margin: 0;
  color: var(--bee-muted);
  line-height: 1.65;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.account-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1000;
  width: min(420px, calc(100vw - 32px));
  border: 1px solid var(--bee-line);
  border-radius: 22px;
  padding: 15px 16px;
  background: #fff;
  color: var(--bee-blue-dark);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  font-weight: 750;
  line-height: 1.45;
}

.account-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.account-toast.error {
  border-color: rgba(245, 90, 120, .32);
}

@media (max-width: 980px) {
  .account-hero-grid,
  .account-grid,
  .form-row.two,
  .google-quick-request {
    grid-template-columns: 1fr;
  }

  .google-quick-action {
    justify-items: start;
    border-top: 1px solid rgba(30, 40, 165, .12);
    border-left: 0;
    padding-top: 22px;
    padding-left: 0;
  }

  .google-quick-action small {
    text-align: left;
  }

  .account-info-stack {
    position: static;
  }
}

@media (max-width: 640px) {
  .account-hero-grid {
    padding: 44px 0 42px;
  }

  .account-copy h1 {
    font-size: 38px;
  }

  .hero-login {
    padding: 18px;
    border-radius: 22px;
  }

  .account-actions-row .button,
  .form-actions .button {
    width: 100%;
    justify-content: center;
  }

  .login-forgot-action.button {
    width: auto;
  }

  .login-secondary-actions .button {
    max-width: none;
  }

  .google-quick-action,
  .google-quick-action .google-button {
    width: 100%;
  }
}
