/* Account access only. The shared button surface and signed-in account stay in account.css/buttons.css. */
.access-story { display:none; }
body.account-page.index-page:is(:not(.signed-in),.auth-setup) { background:#f8fafd; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .account-shell {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,460px); align-items:start;
  width:min(1100px,calc(100% - 80px)); max-width:none; gap:clamp(40px,6vw,92px);
  margin:64px auto 0; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; overflow:visible;
}
.account-page.index-page:is(:not(.signed-in),.auth-setup) .welcome-panel { display:none; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .access-story { display:block; min-width:0; padding:24px 0; }
.access-kicker { display:flex; align-items:center; gap:9px; margin:0 0 26px; color:#42708f; font-size:10px; font-weight:700; line-height:1.5; letter-spacing:.12em; }
.access-kicker > span { flex:0 0 7px; height:7px; border-radius:50%; background:#ff952d; }
.access-story h1 { margin:0; font-size:clamp(40px,4.5vw,58px); line-height:1.08; font-weight:900; letter-spacing:-.045em; color:#142e48; }
.access-story h1 > span { color:#017ffe; }
.access-lede { margin:24px 0 32px; color:#60788d; font-size:16px; line-height:1.8; }
.access-conversation { position:relative; width:100%; max-width:420px; padding:24px; border:1px solid #dbe7f3; border-radius:22px; background:linear-gradient(145deg,#f0f7ff,#fff 75%); }
.access-conversation-top { display:flex; align-items:center; gap:10px; margin-bottom:22px; color:#5e7891; font-size:8px; font-weight:700; letter-spacing:.075em; }
.access-orbit { display:grid; place-items:center; width:29px; height:29px; color:#1683ea; background:#e0efff; border-radius:10px; flex-shrink:0; }
.access-orbit svg { width:18px; height:18px; }
.access-message { width:fit-content; max-width:88%; margin-bottom:12px; padding:12px 15px; font-size:13px; line-height:1.6; }
.access-message-first,.access-message-last { color:#34516a; background:#fff; border:1px solid #dfe9f3; border-radius:14px 14px 14px 4px; }
.access-message-reply { margin-left:auto; background:#e5f1ff; color:#125eaa; border-radius:14px 14px 4px 14px; }
.access-message-last { max-width:80%; }
.access-conversation-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:24px; color:#7a8ea1; font-size:10px; }
.access-spark { width:22px; height:22px; flex-shrink:0; color:#ef9b4a; }
.access-notes { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-top:26px; }
.access-notes p { display:flex; align-items:center; gap:8px; margin:0; color:#60778d; font-size:11px; }
.access-notes svg { width:16px; height:16px; color:#517c9e; }
.access-age { color:#517c9e; font-size:10px; font-weight:700; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .account-content {
  min-width:0; padding:36px; border:1px solid #dbe6f1; border-radius:24px;
  background:#fff; box-shadow:0 14px 44px -24px #294e7436;
}
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-heading { flex-direction:row; align-items:center; gap:10px; margin-bottom:22px; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-symbol { flex:0 0 30px; width:30px; height:30px; border:0; border-radius:9px; background:#edf6ff; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-symbol svg { width:18px; height:18px; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) #authEyebrow { font-size:8px; letter-spacing:.1em; line-height:1.6; color:#547590; }
.account-page.index-page #login h2 { margin:0 0 10px; font-size:34px; line-height:1.15; letter-spacing:-1.2px; color:#142e48; }
.account-page.index-page #authDescription { margin:0 0 28px; font-size:14px; line-height:1.75; color:#6a7f93; }
.account-page.index-page #login .auth-field { margin-bottom:20px; }
.account-page.index-page #login input:not([type=checkbox]):not([type=date]),
.account-page.index-page.auth-setup #savePassword input {
  border-color:#d6e1ec; border-radius:12px; background:#fafcfe; color:#142e48;
  min-height:52px; font-size:16px;
}
.account-page.index-page #login input:not([type=checkbox]):focus,
.account-page.index-page.auth-setup #savePassword input:focus { background:#fff; border-color:#017ffe; box-shadow:0 0 0 3px #017ffe14; }
.account-page.index-page #login .birthday-placeholder { font-size:14px; color:#6e8398; }
.account-page.index-page #login #birthday { border-color:#d6e1ec; background:#f2f7fd; }
.account-page.index-page #login .check { padding:14px; border:1px solid #e6edf5; border-radius:12px; background:#f8fafd; font-size:11px; line-height:1.7; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps { gap:10px; margin:0 0 26px; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li { flex-direction:row; align-items:center; justify-content:flex-start; gap:6px; padding:0 0 13px; border-bottom:2px solid #e7edf4; text-align:left; font-size:10px; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li::before { content:none; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li span { flex:0 0 20px; width:20px; height:20px; font-size:9px; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li[aria-current] { border-bottom-color:#017ffe; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li.is-complete { border-bottom-color:#a5d9c0; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) .account-footer { margin-top:24px; padding-top:20px; }
.account-page.index-page.auth-setup #account #passwordTitle { font-size:30px; letter-spacing:-.8px; }
.account-page.index-page.auth-setup .setup-intro .eyebrow { color:#547590; }
.account-page.index-page:is(:not(.signed-in),.auth-setup) > .site-footer { margin-top:8px; }
@media(max-width:1000px) and (min-width:761px) {
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-shell { width:calc(100% - 48px); gap:32px; grid-template-columns:minmax(0,1fr) minmax(0,400px); }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-content { padding:28px; }
 .access-story h1 { font-size:42px; }
 .access-conversation { padding:18px; }
 .access-conversation-top { font-size:7px; }
}
@media(max-width:760px) {
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-shell { display:block; width:min(460px,calc(100% - 32px)); margin:28px auto 0; }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .access-story { display:none; }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-content { padding:28px 24px 22px; border-radius:20px; }
 .account-page.index-page #login h2 { font-size:31px; }
 .account-page.index-page #authDescription { margin-bottom:24px; font-size:13px; }
}
@media(max-width:360px) {
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-shell { width:calc(100% - 24px); margin-top:20px; }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .account-content { padding:24px 18px 20px; }
 .account-page.index-page #login h2 { font-size:29px; }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps { gap:7px; }
 .account-page.index-page:is(:not(.signed-in),.auth-setup) .auth-steps li { font-size:9px; gap:5px; }
}
/* Access forms also live inside the chat account drawer. */
.account-page.index-page.account-embedded:is(:not(.signed-in),.auth-setup) .account-shell { display:block; width:100%; margin:0; }
.account-page.index-page.account-embedded .access-story { display:none!important; }
.account-page.index-page.account-embedded:is(:not(.signed-in),.auth-setup) .account-content { border:0; border-radius:0; box-shadow:none; padding:24px max(20px,env(safe-area-inset-right,0px)) 24px max(20px,env(safe-area-inset-left,0px)); }

/* Explicit selects avoid Safari's opaque native date field. */
.account-page.index-page #login .birthday-selects {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,.85fr) minmax(0,1.15fr);
  gap: 8px;
  color-scheme: light;
}
.account-page.index-page #login .birthday-selects select {
  -webkit-appearance: none;
  appearance: none;
  width: 100%; min-width: 0; max-width: 100%;
  height: 52px; margin: 0; padding: 12px 24px 12px 10px;
  border: 1px solid #8ebbec; border-radius: 12px;
  background-color: #eaf3ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%23163a60' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-position: right 8px center; background-size: 12px 12px; background-repeat: no-repeat;
  color: #163a60; -webkit-text-fill-color: #163a60;
  font: inherit; font-size: 16px; font-weight: 500; line-height: 1.3;
  color-scheme: light;
  box-shadow: none;
}
.account-page.index-page #login .birthday-selects select:focus {
  background-color: #edf6ff; border-color: #0874d8; outline: none;
  box-shadow: 0 0 0 3px #0874d826;
}
.account-page.index-page #login .birthday-selects select[aria-invalid="true"] { border-color: #bf352d; }
.account-page.index-page #login .birthday-selects select option { color: #163a60; background: #fff; -webkit-text-fill-color: #163a60; }
.account-page.index-page #login .birthday-error { margin: 8px 0 0; color: #b42318; font-size: 12px; line-height: 1.5; }
@media (max-width: 360px) {
  .account-page.index-page #login .birthday-selects { gap: 5px; }
  .account-page.index-page #login .birthday-selects select { padding-left: 8px; padding-right: 20px; background-position: right 5px center; }
}
