.account-page { --ink: #2d382a; --muted: #54614d; --dark: #394932; --line: #d6dbce; --paper: #fffef9; margin: 0; background: #f4f3eb; color: var(--ink); font: 400 16px/1.5 "Commissioner", sans-serif; }
.account-page * { box-sizing: border-box; }
.account-page [hidden] { display: none !important; }
.account-nav, .account-layout { width: min(975px, calc(100% - 32px)); margin-inline: auto; }
.account-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; align-items: center; padding-block: 20px; border-bottom: 1px solid var(--line); }
.account-nav a { color: inherit; font-weight: 600; }
.account-nav a:first-child { font: 400 clamp(18px, 4vw, 23px)/1.25 "Literata", Georgia, serif; text-decoration: none; }
.account-nav a:last-child { font-size: 13px; text-underline-offset: 4px; }
.account-layout { display: grid; grid-template-columns: minmax(235px, .8fr) minmax(0, 1fr); margin-block: clamp(20px, 6vw, 70px); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: 0 18px 60px #293d2510; }
.account-cover { display: grid; place-items: center; min-height: 410px; padding: 44px 25px; background: radial-gradient(ellipse at 25% 20%, #dce2ce, transparent 70%), #b7c5ab; }
.account-paper { width: min(240px, 100%); aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: space-between; padding: 24px 10px; outline: 1px solid #89977c; outline-offset: -10px; background: #f9f6ea; box-shadow: 10px 14px 0 #455a3a24, 0 22px 55px #2c3b2040; transform: rotate(-5deg); text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.account-mark { font: 400 70px/1 "Literata", Georgia, serif; }
.account-edition { font: italic 18px/1.1 "Literata", Georgia, serif; letter-spacing: normal; }
.account-card { align-self: center; min-width: 0; padding: clamp(20px, 5vw, 56px); }
.account-kicker { margin: 0; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .16em; }
.account-card h1 { margin: 8px 0; font: 400 clamp(28px, 5vw, 46px)/1.13 "Literata", Georgia, serif; overflow-wrap: anywhere; }
#account-intro { margin: 0 0 18px; color: var(--muted); }
#account-status:empty { display: none; }
#account-status { padding: 10px 12px; border-radius: 9px; background: #edf1e7; font-size: 14px; }
#account-status[data-error] { background: #f6ebe7; color: #772f23; }
.account-modes { display: flex; gap: 4px; margin-bottom: 18px; padding: 4px; border-radius: 12px; background: #eef0e8; }
.account-page button, .account-page input { font: inherit; }
.account-page button { cursor: pointer; }
.account-page button:disabled { cursor: wait; opacity: .65; }
.account-modes button { flex: 1 1 auto; min-height: 44px; padding: 5px 8px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ink); font-size: 13px; font-weight: 600; }
.account-modes button[aria-pressed="true"] { background: var(--paper); border-color: var(--line); }
#account-form { display: grid; gap: 12px; }
#account-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
#account-form label span { display: inline; color: var(--muted); }
#account-form input { width: 100%; min-height: 46px; padding: 9px 12px; border: 1px solid #aab4a0; border-radius: 10px; background: #fff; color: var(--ink); font-size: 16px; }
.account-primary, .account-provider { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 46px; padding: 8px 14px; border: 1px solid transparent; border-radius: 10px; background: var(--dark); color: var(--paper); text-decoration: none; text-align: center; }
.account-primary:hover { background: #293924; }
.account-provider { background: transparent; border-color: #aab4a0; color: var(--ink); }
.account-provider:hover { background: #f1f2eb; }
.account-provider-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(125px, 100%), 1fr)); gap: 8px; }
.account-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; }
.account-divider::before, .account-divider::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.account-text-button { min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: var(--dark); text-decoration: underline; text-underline-offset: 4px; }
.account-email { overflow-wrap: anywhere; }
.account-page :focus-visible { outline: 2px solid #426437; outline-offset: 3px; }
@media (max-width: 680px) { .account-layout { grid-template-columns: 1fr; } .account-cover { display: none; } }
.account-secondary { margin-top: 10px; background: transparent; color: var(--dark); border-color: var(--dark); }
.account-secondary:hover { background: #29392414; }
