:root { --account-accent:#49d6b2; --account-panel:#102524; --account-line:#24413e; --account-text:#eaf8f4; --account-muted:#9bbab2; }
.account-shell,.portal-shell{width:min(1080px,calc(100% - 32px));margin:0 auto;padding:64px 0 96px;color:var(--account-text)}
.account-shell{display:grid;place-items:center;min-height:65vh}.account-card{width:min(100%,480px);padding:32px;border:1px solid var(--account-line);border-radius:20px;background:var(--account-panel);box-shadow:0 24px 70px rgba(0,0,0,.2)}
.account-card h1,.portal-heading h1{margin:0 0 10px;font-size:clamp(1.8rem,4vw,2.6rem)}.account-card p,.data-list p,.device-grid p{color:var(--account-muted)}
.account-card form{display:grid;gap:10px;margin-top:24px}.account-card label{font-weight:700}.account-card input{width:100%;padding:12px 14px;border:1px solid var(--account-line);border-radius:10px;background:#091918;color:var(--account-text)}
.account-card button,.secondary-button,.danger-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 18px;border:0;border-radius:10px;font-weight:800;text-decoration:none;cursor:pointer}.account-card button{margin-top:8px;background:var(--account-accent);color:#05201a}.secondary-button{border:1px solid var(--account-line);color:var(--account-text)}.danger-button{margin-top:18px;background:#7f3038;color:#fff}
.text-link{display:inline-block;margin-top:18px;color:var(--account-accent)}.primary-link{display:inline-flex;justify-content:center;align-items:center;min-height:44px;margin-top:18px;padding:10px 18px;border-radius:10px;background:var(--account-accent);color:#05201a;font-weight:800;text-decoration:none}.form-message{min-height:24px;margin:12px 0;color:#f2c779}.checkout-account-status,.account-email{margin-top:18px;color:var(--account-muted)}.checkout-account-status{min-height:24px}
.portal-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}.eyebrow{margin:0 0 8px;color:var(--account-accent);font-weight:800;text-transform:uppercase;letter-spacing:.08em}.portal-nav{display:flex;gap:8px;overflow:auto;margin:28px 0;padding-bottom:4px}.portal-nav a{padding:10px 14px;border-radius:9px;color:var(--account-muted);text-decoration:none;white-space:nowrap}.portal-nav a[aria-current=page]{background:var(--account-panel);color:var(--account-text)}
.portal-actions{display:flex;align-items:center;gap:10px}.portal-actions form{margin:0}.portal-actions button{background:transparent}
.summary-grid,.device-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.summary-grid article,.device-grid article,.data-list article{padding:22px;border:1px solid var(--account-line);border-radius:16px;background:var(--account-panel)}.summary-grid h2,.device-grid h2,.data-list h2{margin:0 0 10px;font-size:1rem}.summary-grid strong{font-size:1.55rem}
.data-list{display:grid;gap:12px}.data-list article{display:flex;justify-content:space-between;gap:24px}.data-meta{display:grid;justify-items:end;gap:4px;color:var(--account-muted)}.empty-state{color:var(--account-muted)}
.pager{display:flex;justify-content:center;align-items:center;gap:16px;margin-top:24px}.pager a{color:var(--account-accent)}
.account-shell :focus-visible,.portal-shell :focus-visible{outline:3px solid #f2c94c;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media (max-width:680px){.account-shell,.portal-shell{padding-top:36px}.account-card{padding:24px}.portal-heading,.data-list article{align-items:stretch;flex-direction:column}.summary-grid,.device-grid{grid-template-columns:1fr}.data-meta{justify-items:start}}
