.account-page{min-height:100svh;display:flex;flex-direction:column}
.account-main{width:min(440px,calc(100% - 40px));margin:60px auto 80px;flex:1;min-width:0}
.account-main h1{font-size:38px;line-height:1.2;letter-spacing:0;margin:14px 0 20px}
.account-main h2{font-size:24px;letter-spacing:0}
#auth-status{min-height:42px;color:#b5c5ce;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
#auth-status[data-error="true"]{color:#ff929c}
.account-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid #36444b;margin:22px 0 28px}
.account-tabs button{border:0;border-bottom:2px solid transparent;background:transparent;color:#a7b5bd;padding:15px;cursor:pointer;font-weight:700}
.account-tabs button[aria-selected="true"]{border-bottom-color:var(--cyan);color:var(--cyan)}
.account-main fieldset{margin:0;padding:0;border:0;min-width:0}
.account-main label{display:block;font-size:14px;margin-bottom:9px;color:#e4edf2}
.account-main input{box-sizing:border-box;width:100%;min-width:0;height:48px;border:1px solid #4b5b65;border-radius:4px;padding:0 13px;background:#10181e;color:white;font:inherit;margin:0 0 22px}
.account-main input:focus{outline:2px solid var(--cyan);outline-offset:2px}
.account-main .button{justify-content:center;letter-spacing:0}
#email-submit{width:100%;margin-top:3px}
.account-text-button{background:transparent;border:0;color:var(--cyan);padding:14px 0;cursor:pointer;font-size:14px}
.account-divider{display:flex;align-items:center;gap:14px;margin:14px 0 22px;color:#a7b5bd;font-size:12px}
.account-divider:before,.account-divider:after{content:"";height:1px;background:#36444b;flex:1}
.account-providers{display:grid;grid-template-columns:1fr;gap:10px}
.account-providers [data-provider=google]{display:flex;align-items:center;justify-content:center;gap:10px;background:#131314;color:#e3e3e3;border:1px solid #8e918f;padding:12px}
.account-providers img{width:20px;height:20px;object-fit:contain;background:transparent;flex:none}
.account-providers button{min-height:46px;border:1px solid #465862;border-radius:4px;background:#111b22;color:#edf5fa;cursor:pointer;font-size:14px;font-weight:600;padding:10px 4px}
.account-providers button:hover:not(:disabled){border-color:var(--cyan)}
.account-main button:disabled,.account-main fieldset:disabled{opacity:.5;cursor:not-allowed}
.account-actions{display:flex;flex-direction:column;gap:12px;margin-top:28px}
#account-email{overflow-wrap:anywhere;color:#c8d8e1}#email-status{line-height:1.6;color:#b5c5ce}
.account-page [hidden],.login-dialog [hidden]{display:none!important}
.login-dialog{box-sizing:border-box;width:min(480px,calc(100% - 24px));max-height:calc(100svh - 24px);padding:32px;border:1px solid #36444b;border-radius:8px;background:#151a1e;color:#edf5fa;overflow:auto}
.login-dialog::backdrop{background:rgb(0 0 0 / 70%);backdrop-filter:blur(5px)}
.login-dialog .account-main{width:100%;margin:0}
.login-dialog .account-main h1{font-size:28px;padding-right:24px}
.login-close{position:absolute;right:12px;top:12px;width:36px;height:36px;border:0;background:transparent;color:#edf5fa;font-size:28px;cursor:pointer}
.login-dialog .account-providers{grid-template-columns:1fr}
.login-dialog .account-tabs{margin:12px 0 20px}
.login-dialog #auth-status:empty{min-height:0;margin:0}
.login-dialog .account-main input{margin-bottom:16px}
html.login-open{overflow:hidden}
.account-menu{position:absolute;right:24px;top:70px;z-index:100;background:#151a1e;border:1px solid #36444b;border-radius:6px;padding:8px;min-width:170px}
.account-menu[hidden],.dashboard [hidden]{display:none!important}
.account-menu a,.account-menu button{display:block;padding:12px;width:100%;text-align:left;background:none;border:0;color:#edf5fa;font:inherit}
.account-menu a:hover,.account-menu button:hover{background:#253139}
.dashboard{max-width:1200px;margin:52px auto;padding:24px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:48px}
.dashboard h1{font-size:24px;letter-spacing:0}.dashboard h2{font-size:28px;letter-spacing:0}.dashboard h3{font-size:19px;letter-spacing:0}
.dashboard aside nav{display:flex;flex-direction:column;gap:6px;margin:28px 0}
.dashboard nav a{padding:12px;border-left:2px solid transparent}.dashboard nav a[aria-current]{border-color:var(--cyan);color:var(--cyan);background:#14242b}
.dashboard-content,.dashboard aside{min-width:0}.dashboard p{line-height:1.6;overflow-wrap:anywhere}.dashboard a{color:var(--cyan)}
.dashboard .button{flex:none;min-height:48px;height:auto;padding:14px 18px;justify-content:center;white-space:normal}
body:has(.dashboard)>.site-header{position:relative}
.account-record{padding:24px 0;border-bottom:1px solid #36444b}.account-record code{display:block;overflow-wrap:anywhere;margin:16px 0}
.settings-form{margin:32px 0;width:min(440px,100%)}.danger-section{margin-top:48px;padding-top:24px;border-top:1px solid #82424a}
#dashboard-notice{min-height:24px;color:#a9cbd9}#dashboard-notice[data-error=true]{color:#ff929c}
.account-main button,.account-menu a,.dashboard nav a{transition:background-color .18s,color .18s,border-color .18s}
.login-dialog[open]{animation:account-enter .18s ease-out}@keyframes account-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.dashboard button:focus-visible,.account-menu a:focus-visible,.dashboard a:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
@media(max-width:700px){.dashboard{grid-template-columns:1fr;margin:24px auto;gap:20px;padding:20px}.dashboard aside nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:16px 0}.dashboard nav a{white-space:normal}.account-menu{right:12px}}
@media(prefers-reduced-motion:reduce){.login-dialog[open]{animation:none}.account-main button,.account-menu a,.dashboard nav a{transition:none}}
@media(max-width:580px){.account-main{margin-block:36px 56px}.account-main h1{font-size:32px}.account-providers{gap:8px}}

/* Purchase review: dark native country picker and explicit, aligned choices. */
.checkout-review{width:min(500px,calc(100% - 28px));max-height:calc(100svh - 28px);padding:24px;border:1px solid #30434e;border-radius:18px;background:#10191f;box-shadow:0 28px 90px #0009;color-scheme:dark}
.checkout-review .checkout-form{display:flex;flex-direction:column;gap:12px}
.checkout-review .checkout-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.checkout-review .checkout-eyebrow{margin:0 0 8px;color:var(--cyan);font-size:11px;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}
.checkout-review #checkout-review-title{margin:0;font-size:25px;line-height:1.25;font-weight:750}
.checkout-review .checkout-close{display:grid;place-items:center;flex:none;width:32px;height:32px;margin:-4px -5px 0 0;padding:0;border:1px solid transparent;border-radius:8px;background:transparent;color:#a9bcc8;font-size:25px;line-height:1;cursor:pointer}
.checkout-review .checkout-close:hover{background:#1d2c36;border-color:#354b59;color:#fff}
.checkout-review .checkout-plan{padding:14px 16px;border:1px solid #284652;border-radius:12px;background:linear-gradient(120deg,#11313c70,#14232c)}
.checkout-review .checkout-plan p{margin:0 0 8px;color:#edf5fa;font-size:15px;font-weight:650;line-height:1.55}
.checkout-review .checkout-plan>span{color:#9db2be;font-size:12px;line-height:1.5}
.checkout-review .checkout-note{margin:-8px 0 0;color:#a6bbc7;font-size:13px;line-height:1.6}
.checkout-review .checkout-field-label{display:block;margin:0 0 9px;color:#dbe8f0;font-size:13px;font-weight:650}
.checkout-review .checkout-select-wrap{position:relative}
.checkout-review select{appearance:none;display:block;width:100%;height:50px;margin:0;padding:0 44px 0 14px;border:1px solid #405563;border-radius:10px;background:#0c151b;color:#edf5fa;font:inherit;font-size:14px;cursor:pointer;color-scheme:dark}
.checkout-review select:has(option[value=""]:checked){color:#9db2be}
.checkout-review select:hover{border-color:#6d8b9c}
.checkout-review select:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.checkout-review select option{background:#101b23;color:#edf5fa}
.checkout-review .checkout-select-wrap>svg{position:absolute;right:14px;top:15px;width:20px;height:20px;pointer-events:none;fill:none;stroke:#9fbdce;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.checkout-review .checkout-field-hint{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;margin:0}
.checkout-review .checkout-consents{display:flex;flex-direction:column;gap:14px;padding-top:2px}
.checkout-review .checkout-consent{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:12px;margin:0;color:#dce8ef;font-size:14px;line-height:1.65;cursor:pointer}
.checkout-review .checkout-consent input[type="checkbox"]{appearance:none;display:grid;place-items:center;box-sizing:border-box;flex:none;width:20px;height:20px;min-height:20px;margin:2px 0 0;padding:0;border:1px solid #647c8b;border-radius:5px;background:#0b141a;cursor:pointer}
.checkout-review .checkout-consent input[type="checkbox"]:hover{border-color:#a6c2d1}
.checkout-review .checkout-consent input[type="checkbox"]:checked{background:var(--cyan);border-color:var(--cyan)}
.checkout-review .checkout-consent input[type="checkbox"]:checked:after{content:"";width:5px;height:9px;border:solid #03131a;border-width:0 2px 2px 0;transform:translateY(-1px) rotate(45deg)}
.checkout-review .checkout-consent input[type="checkbox"]:focus-visible{outline:2px solid var(--cyan);outline-offset:3px}
.checkout-review .checkout-consent a{color:#69d7f7;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.checkout-review .checkout-consent a:hover{color:#b5edff}
.checkout-review .checkout-consent-detail{display:block;margin-top:4px;color:#a6bbc7;font-size:13px;line-height:1.6}
.checkout-review .checkout-rights{margin:-6px 0 0;padding-left:32px;color:#91a9b7;font-size:12px;line-height:1.6}
.checkout-review .checkout-actions{display:grid;grid-template-columns:minmax(0,1fr) 104px;gap:12px;padding-top:2px}
.checkout-review .checkout-actions .button{min-width:0;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:50px;min-height:50px;margin:0;padding:0 14px;border-radius:10px;font-size:14px;line-height:1.3;font-weight:750;letter-spacing:0;transform:none}
.checkout-review .checkout-actions svg{flex:none;width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.checkout-review .checkout-actions .button-quiet{background:#121f28;border-color:#3b5261;color:#dce8ef}
.checkout-review .checkout-actions .button-quiet:hover{background:#1a2d39;border-color:#7895a7}
@media(max-width:420px){.checkout-review{padding:22px 18px;border-radius:14px}.checkout-review #checkout-review-title{font-size:23px}.checkout-review .checkout-actions{grid-template-columns:1fr}.checkout-review .checkout-form{gap:14px}}
