.account-page { display:flex; flex-direction:column; min-height:100vh; background:#f5f4ef; }
.account-page > .info-header { padding-block:15px; border-bottom:1px solid #dedfea; background:#fffdfa; }
.account-page > .account-shell { flex:1; width:min(1100px,calc(100% - 48px)); padding:clamp(21px,4vw,55px) 0 30px; }
.account-portal { display:grid; grid-template-columns:minmax(0,1.62fr) minmax(270px,1fr); border:1px solid #d9dce9; border-radius:19px; box-shadow:0 14px 42px #22295013; overflow:hidden; background:white; }
.account-entry { min-width:0; padding:clamp(19px,4.2vw,45px); }
.account-entry h1,.account-member-head h1 { margin:17px 0 6px; font-size:clamp(2rem,4.3vw,3.5rem); line-height:1.04; letter-spacing:-.07em; overflow-wrap:anywhere; }
.account-entry > p:not(.account-message) { margin-bottom:20px; }
.account-switch { display:inline-grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; border:1px solid #d4d9ec; border-radius:10px; background:#f0f2fa; padding:4px; }
.account-switch button { border:0; border-radius:7px; background:transparent; min-height:38px; padding:6px 12px; color:#343c61; font-weight:800; font-size:.86rem; }
.account-switch button[aria-pressed=true] { background:#fff; color:#2636af; box-shadow:0 1px 5px #17285f29; }
.account-switch button:hover:not([aria-pressed=true]) { background:#e4e9ff; }
.account-entry .account-form { max-width:none; gap:14px; }
.account-field { display:grid; align-content:start; gap:5px; min-width:0; }
.account-entry .account-form label { color:#1d2747; font-size:.9rem; font-weight:800; }
.account-field label small { color:#53607a; font-weight:600; }
.account-entry .account-form input:not([type=checkbox],[type=radio]) { min-height:46px; padding:9px 11px; border-color:#aeb9d9; border-radius:8px; color:#1b2346; }
.account-entry .account-form input[aria-invalid=true] { border-color:#a53024; }
.account-entry .account-form :is(input,button):focus-visible,.account-help summary:focus-visible { outline:2px solid #354be2; outline-offset:3px; }
.account-entry .account-form input:is([type=checkbox],[type=radio]) { inline-size:18px; block-size:18px; flex:none; accent-color:#263cce; margin:0; }
.account-hint { color:#52607f; font-size:.8rem; line-height:1.4; }
.account-secret { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px; position:relative; }
.account-secret button,.account-review button { background:#edf0fc; color:#26379f; border:1px solid #cbd5fc; border-radius:7px; padding:5px 8px; font-size:.72rem; font-weight:800; min-height:40px; }
.account-secret button:hover,.account-review button:hover { background:#e3e9ff; }
.account-primary { justify-self:start; min-width:min(100%,132px); }
#login-form .account-primary { width:100%; justify-content:center; }
.account-help { color:#2739ad; font-weight:750; font-size:.86rem; }
.account-help summary { cursor:pointer; width:fit-content; }
.account-help p { margin:6px 0 2px; font-weight:500; }
.account-help a,.account-terms a { color:#2636aa; text-decoration:underline; text-underline-offset:2px; }
.account-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); list-style:none; padding:0; margin:0 0 17px; gap:6px; }
.account-progress li { display:flex; gap:5px; align-items:center; align-self:stretch; color:#566081; border-bottom:2px solid #d9ddeb; padding-bottom:7px; font-weight:750; font-size:.77rem; line-height:1.2; }
.account-progress li span { display:grid; place-items:center; flex:0 0 22px; height:22px; border-radius:50%; background:#edf0fa; color:#414f79; font-size:.69rem; }
.account-progress li[aria-current=step] { color:#2436b6; border-color:#293fdb; }
.account-progress li[aria-current=step] span { color:white; background:#283ac8; }
.account-step { min-width:0; padding:0; margin:0; border:0; display:grid; gap:12px; }
.account-step h2 { margin:0; color:#202c53; font-size:clamp(1.03rem,2vw,1.25rem); letter-spacing:-.025em; }
.account-types,.account-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.account-entry .account-type { display:flex; align-items:flex-start; gap:8px; padding:13px 10px; border:1px solid #cbd2eb; border-radius:9px; cursor:pointer; }
.account-type:has(:checked) { border-color:#384fce; background:#edf1ff; box-shadow:inset 0 0 0 1px #384fce; }
.account-type:hover { border-color:#6272dd; }
.account-type span { display:grid; gap:4px; }
.account-type small { font-size:.78rem; line-height:1.4; }
.account-review { display:flex; align-items:center; justify-content:space-between; gap:6px 12px; border:1px solid #dce4ec; border-radius:9px; padding:8px 10px; background:#f5f7fb; }
.account-review div { min-width:0; display:grid; gap:2px; }
.account-review span { color:#53607d; font-size:.77rem; }
.account-review strong { overflow-wrap:anywhere; color:#273562; }
.account-review button { flex:none; min-height:35px; }
.account-entry .account-terms { display:flex; align-items:flex-start; gap:8px; font-weight:600; }
.account-terms input { margin-top:.12em!important; }
.account-flow-actions { display:flex; flex-wrap:wrap; gap:7px; }
.account-flow-actions .account-primary { margin-left:auto; }
.account-message[data-tone=error] { color:#922c23; background:#fff1ee; border:1px solid #f5c9c3; border-radius:8px; padding:9px 11px; }
.account-message[data-tone=success] { color:#174a37; background:#ecf6ef; border:1px solid #c3e5d0; border-radius:8px; padding:9px 11px; }
.account-message { margin:12px 0 0; font-size:.86rem; }
.account-message:empty,#account-status:empty { margin:0; min-height:0; }
.account-message a { color:inherit; text-decoration:underline; }
.account-side { display:flex; flex-direction:column; justify-content:center; gap:clamp(14px,3vw,27px); position:relative; isolation:isolate; overflow:hidden; padding:clamp(22px,4vw,43px); background:#1d2eaa; color:white; }
.account-side::before { content:''; position:absolute; z-index:-1; inset:9% -53% auto 28%; aspect-ratio:1; border:1px solid #b7c4ff70; border-radius:30%; transform:rotate(-30deg); box-shadow:0 0 0 24px #aab6ff14,0 0 0 54px #aab6ff12,0 0 0 88px #aab6ff10; }
.account-side h2 { max-width:15ch; font-size:clamp(1.65rem,3.5vw,2.65rem); line-height:1.03; letter-spacing:-.057em; }
.account-side p { color:#edf0ff; font-size:.89rem; line-height:1.45; margin-top:6px; }
.account-benefits { display:grid; gap:8px; list-style:none; padding:0; margin:0; }
.account-benefits li { display:flex; align-items:center; gap:10px; padding:9px; border:1px solid #adbaf489; border-radius:8px; background:#ffffff13; }
.account-benefits li p { margin:1px 0 0; font-size:.77rem; }
.account-icon { display:block; position:relative; width:31px; height:31px; flex:0 0 auto; border-radius:6px; background:#ffd0b7; }
.account-icon-folio::before { content:''; display:block; position:absolute; inset:7px 8px; border-radius:1px 3px 3px 1px; border:2px solid #3f326d; border-left-width:4px; }
.account-icon-qr::before { content:''; position:absolute; width:6px; height:6px; border:1px solid #423376; left:7px; top:7px; box-shadow:10px 0 #423376,0 10px #423376,10px 10px #42337670; }
#account-side-note { border-top:1px solid #aebdf286; padding-top:11px; }
.account-page .account-order { background:#e8eeff; border-radius:12px; padding:10px 15px; gap:8px; }
.account-page .account-order :is(h2,p) { margin:0; }
.account-page .account-order h2 { font-size:1rem; }
.account-page #account-order-price { font-size:1.12rem; color:#253593; }
.account-member-head { background:white; border:1px solid #d9dce9; border-radius:13px; padding:clamp(15px,3vw,33px); display:flex; align-items:center; flex-wrap:wrap; gap:10px; justify-content:space-between; }
.account-member-head h1 { margin:4px 0; }
.account-member-kind { color:#2736b0; font-size:.8rem; font-weight:850; }
#member-contact { overflow-wrap:anywhere; }
.account-page .account-products .account-card { background:#eef0fb; border:1px solid #cdd5ef; }
.account-footer { background:#171e42; color:#eeeffa; padding-block:14px; font-size:.83rem; }
.account-footer .wrap,.account-footer nav { display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px 15px; }
.account-footer a:hover { text-decoration:underline; }
@media(max-width:805px) {
  .account-portal { grid-template-columns:minmax(0,1fr); }
  .account-side { padding:18px 20px; }
  .account-side h2 { max-width:none; }
  .account-benefits { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:520px) {
  .account-page > .account-shell { width:calc(100% - 24px); }
  .account-page .info-nav { gap:7px; }
  .account-pair,.account-types,.account-benefits { grid-template-columns:1fr; }
  .account-progress li { align-items:flex-start; gap:4px; font-size:.7rem; }
  .account-progress li span { flex-basis:17px; height:17px; }
}
