/* Feeroy account surfaces reuse the approved palette, logos and Nunito. */
.account-control { position: relative; }
.account-toggle { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: 50%; cursor: pointer; }
.account-toggle:hover { background: var(--hover); }
.account-mosaic { display: block; width: 30px; height: 30px; filter: drop-shadow(0 0 6px #eca16c65); }
.account-mosaic img { width: 30px; height: 30px; }
.account-toggle:hover .account-mosaic { filter: drop-shadow(0 0 9px #eca16ca0); }
.account-status { margin: 3px 12px 12px; padding: 7px 10px; border-radius: 8px; font-size: 11px; font-weight: 800; background: #eca16c19; color: var(--ink); }
.account-status::before { content: '○'; margin-inline-end: 6px; }
.account-status.is-verified::before { content: '✓'; }
.account-status.is-verified { background: #51b6961a; }
.footer-contact { color: var(--muted); text-underline-offset: 4px; }
.code-form { display: grid; gap: 14px; }
.code-form input { font-size: 28px; font-weight: 850; text-align: center; letter-spacing: .35em; font-variant-numeric: tabular-nums; padding: 12px 6px 12px 14px; }
.resend-button { margin-top: 12px; width: 100%; }
.resend-button:disabled { cursor: default; }
.resend-countdown { font-variant-numeric: tabular-nums; white-space: nowrap; }
.remember-note { margin-top: 16px !important; }
.contact-address { font-size: clamp(20px,3vw,28px); font-weight: 850; color: var(--ink); overflow-wrap: anywhere; }
.contact-details { padding: 24px 0; margin: 28px 0 20px; border-block: 1px solid var(--line); }
.contact-details .contact-label { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.contact-details .contact-address { margin: 0; user-select: all; }
.contact-note { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0; }
.signed-in-dot { display: none; position: absolute; right: 6px; top: 6px; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.account-toggle[data-signed-in="true"] .signed-in-dot { display: block; }
.account-dropdown { position: absolute; z-index: 50; top: calc(100% + 10px); right: 0; width: 220px; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; box-shadow: 0 12px 40px #0002; }
.account-dropdown a,.account-dropdown button { display: block; width: 100%; border: 0; border-radius: 8px; padding: 12px; background: transparent; text-align: start; color: var(--ink); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.account-dropdown a:hover,.account-dropdown button:hover { background: var(--hover); }
.account-menu-note { margin: 7px 12px; font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.account-menu-name { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 800; }
.email-field { position: relative; }
.email-suggestions { position: absolute; z-index: 5; top: 100%; inset-inline: 0; list-style: none; padding: 5px; margin: 4px 0 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 10px 25px #0002; }
.email-suggestions li { padding: 10px 9px; font-size: 14px; border-radius: 6px; cursor: pointer; overflow-wrap: anywhere; }
.email-suggestions li:hover,.email-suggestions li[aria-selected="true"] { background: var(--hover); }
.form-link { display: inline-block; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.email-verification { margin: 20px 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.email-verification p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.email-verification .button { padding: 10px 15px; font-size: 13px; }
@media (max-width: 380px) { .header .wordmark { font-size: 25px; } .header .brand { gap: 6px; } .header .brand-symbol { width: 33px; height: 33px; } .header .controls { gap: 3px; } .header .language-toggle { min-width: 50px; padding-inline: 8px; } }
[hidden] { display: none !important; }
.home-actions { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 12px; font: inherit; font-size: 15px; font-weight: 800; border: 1px solid transparent; cursor: pointer; line-height: 1.45; text-align: center; transition: transform .18s, background .18s, box-shadow .18s; }
.button-primary { background: var(--accent); color: #172b45; box-shadow: 0 5px 18px #eca16c15; }
.button-primary:hover { background: #f1b486; box-shadow: 0 6px 22px #eca16c30; }
.button-secondary { background: var(--control); color: var(--ink); border-color: var(--line); }
.button-secondary:hover { background: var(--hover); }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .65; cursor: wait; }
.auth-main { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,112px); width: min(100%,1056px); margin-inline: auto; padding: 56px 0 64px; }
.auth-story { align-self: center; padding: 10px 0 28px; }
.auth-story .hero-symbol { width: 224px; height: 224px; margin: 0 0 34px 0; }
.auth-story h2 { font-size: clamp(36px,3.7vw,52px); line-height: 1.13; letter-spacing: -.045em; font-weight: 800; margin: 0 0 20px; max-width: 430px; text-wrap: balance; }
.auth-story .intro { max-width: 350px; font-size: 17px; line-height: 1.7; text-wrap: pretty; }
.auth-story .accent-line { margin: 30px 0 0; }
.auth-panel { width: 100%; max-width: 464px; padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: var(--control); box-shadow: 0 18px 60px #10243b05; }
.auth-panel h1 { font-size: clamp(29px,2.7vw,38px); margin: 0 0 10px; line-height: 1.15; text-wrap: pretty; }
.auth-panel .status { font-size: 10px; letter-spacing: .13em; margin-bottom: 20px; }
.panel-intro { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 0 25px; }
.auth-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 17px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 13px; font-weight: 800; }
.field input { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); color: var(--ink); outline-offset: 2px; font-size: 16px; line-height: 1.5; transition: border-color .18s; }
.field input:hover { border-color: var(--muted); }
.field input:focus { border-color: var(--accent); }
.password-wrap { position: relative; }
.password-wrap input { padding-inline-end: 92px; }
.password-toggle { position: absolute; inset-inline-end: 5px; top: 5px; bottom: 5px; min-width: 60px; padding: 6px 10px; border: 0; border-radius: 7px; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.password-toggle:hover { background: var(--hover); }
.field-hint { color: var(--muted); font-size: 12px; line-height: 1.55; margin: 0; }
.form-link { display: inline-block; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; }
.email-verification { margin: 20px 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; }
.email-verification p { font-size: 13px; color: var(--muted); line-height: 1.6; }
.email-verification .button { padding: 10px 15px; font-size: 13px; }
.form-submit { width: 100%; margin-top: 4px; }
.auth-switch { font-size: 13px; text-align: center; color: var(--muted); margin: 22px 0 0; line-height: 1.7; }
.auth-switch a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; margin-inline-start: 4px; }
.auth-notice { display: flex; gap: 10px; border-top: 1px solid var(--line); margin-top: 22px; padding-top: 17px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.auth-notice svg { flex: 0 0 15px; margin-top: 2px; width: 15px; height: 15px; }
.form-message { margin: 0 0 18px; padding: 12px 14px; font-size: 13px; line-height: 1.55; color: var(--ink); border: 1px solid #eca16c88; background: #eca16c12; border-radius: 10px; overflow-wrap: anywhere; }
.auth-back { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; margin-top: 25px; color: var(--muted); }
.auth-back svg { width: 16px; height: 16px; }
.account-details { margin: 24px 0; display: grid; gap: 16px; }
.account-details > div { display: grid; gap: 5px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.account-details dt { font-size: 12px; color: var(--muted); }
.account-details dd { margin: 0; font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.account-details .state { display: inline-flex; align-items: center; gap: 7px; }
.state::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.future-feature { padding: 18px 0 8px; margin-top: 20px; border-top: 1px solid var(--line); }
.future-feature h2 { font-size: 16px; margin: 9px 0; letter-spacing: -.02em; }
.future-feature p { font-size: 13px; line-height: 1.7; color: var(--muted); margin: 0; }
.future-badge { font-size: 9px; letter-spacing: .12em; font-weight: 850; color: var(--muted); }
@media (max-width: 850px) {
 .auth-main { gap: 36px; }
 .auth-panel { padding: 26px; }
 .auth-story .hero-symbol { width: 190px; height: 190px; }
 .auth-story h2 { font-size: 35px; }
}
@media (max-width: 700px) {
 .auth-main { display: block; max-width: 460px; padding: 28px 0 36px; }
 .auth-story { display: none; }
 .auth-panel { max-width: none; border-radius: 20px; padding: 25px 22px; }
 .auth-panel h1 { font-size: 32px; }
 .auth-panel .status { margin-bottom: 17px; }
 .home-actions { gap: 10px; }
 .home-actions .button { min-width: 115px; }
}
@media (max-width: 359px) { .auth-panel { padding: 23px 17px; } .auth-panel h1 { font-size: 29px; } }
@media (prefers-reduced-motion: no-preference) {
 .auth-panel { animation: account-arrive .5s cubic-bezier(.2,.8,.2,1) both; }
 @keyframes account-arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
