.account-main{max-width:1030px;padding-top:40px;color:var(--theme-text,#172b4d)}
.account-main .card{background:var(--theme-surface,#fff);border:1px solid var(--theme-border,#cbd5e1);border-radius:12px;box-shadow:none}
.account-main button{border-radius:8px}
.account-main :is(button,a,summary):focus-visible{outline:2px solid var(--theme-focus,#2563eb);outline-offset:3px}
.account-intro{margin-bottom:30px}
.account-intro h1{font-size:32px;margin:10px 0}
.account-intro p{font-size:13px}
.account-workspace{display:grid;grid-template-columns:160px minmax(0,1fr);gap:30px;align-items:start}
.account-tabs{display:flex;flex-direction:column;gap:7px}
.account-tabs a{padding:13px 17px;text-decoration:none;font-size:13px;border-radius:10px;color:var(--theme-muted,#52637a);font-weight:600}
.account-tabs a[aria-current=page]{background:var(--theme-surface-alt,#eef3f9);color:var(--theme-accent,#2563eb)}
.account-panel{padding:30px}
.account-panel h2,.reset-card h2{font-size:21px;margin:0 0 22px;letter-spacing:-.5px}
.account-panel p,.account-main [role=status]{font-size:12px;line-height:1.7;overflow-wrap:anywhere}
.account-main [role=status].error{color:var(--theme-error,#b42318)}
#accountPageStatus:empty,#profileNameStatus:empty,#profileStatus:empty{display:none}
.account-empty{padding:45px;text-align:center}
.account-empty h2{font-size:20px}
.account-empty .primary{width:auto;margin-top:15px;padding:13px 25px}
.profile-avatar-row{display:flex;gap:20px;align-items:center;margin:5px 0 27px}
.profile-avatar{width:80px;height:80px;flex:0 0 80px;border-radius:50%;overflow:hidden;display:grid;place-items:center;background:var(--theme-surface-alt,#eef3f9);color:var(--theme-accent,#2563eb);font-size:30px;font-weight:700}
.profile-avatar-row>div{min-width:0;overflow-wrap:anywhere}
.profile-avatar img{width:100%;height:100%;object-fit:cover}
.profile-upload{cursor:pointer;font-size:12px;font-weight:600;color:var(--theme-accent,#2563eb);display:inline-block;border:1px solid var(--theme-border,#cbd5e1);padding:9px 14px;border-radius:8px}
.profile-avatar-row .small{font-size:10px;margin:8px 0 0}
.account-file{max-width:240px;display:block;font-size:10px;margin-top:8px;color:var(--theme-muted,#52637a)}
#profileForm>label,.reset-card label{display:grid;gap:8px;font-size:12px;font-weight:600;color:var(--theme-text,#172b4d)}
.profile-name-row{display:flex;gap:9px}
.profile-name-row input{min-width:0;flex:1;padding:12px;border:1px solid var(--theme-border,#cbd5e1);background:var(--theme-input,#fff);color:var(--theme-text,#172b4d);border-radius:9px;font-size:13px}
.profile-name-row button{font-size:11px;background:var(--theme-surface-alt,#eef3f9);color:var(--theme-accent,#2563eb);white-space:nowrap}
.profile-email{margin:25px 0;display:grid;gap:8px;font-size:12px}
.profile-email>span{color:var(--theme-muted,#52637a)}
.profile-email strong{font-weight:500;color:var(--theme-text,#172b4d)}
.profile-email small{font-size:10px;color:var(--theme-muted,#52637a)}
#saveProfile{width:auto;padding:13px 20px;font-size:12px}
.account-panel-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}
.account-panel-head h2{margin:0}
.account-panel-head a{font-size:11px;text-decoration:none;color:var(--theme-accent,#2563eb)}
.account-panel .panel-hint{font-size:11px;margin-top:-6px;color:var(--theme-muted,#52637a)}
.purchase-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:22px}
.purchase-item{border:1px solid var(--theme-border,#cbd5e1);border-radius:12px;overflow:hidden}
.purchase-preview{height:180px;display:grid;place-items:center;background:var(--theme-surface-alt,#eef3f9);font-size:12px;color:var(--theme-muted,#52637a)}
.purchase-preview img{width:100%;height:100%;max-height:180px;object-fit:contain;image-rendering:pixelated}
.purchase-info{padding:15px}
.purchase-info h3{font-size:13px;margin:6px 0;font-weight:600;overflow-wrap:anywhere}
.purchase-info p{font-size:10px;margin:5px 0 12px}
.purchase-info>small{font-size:9px;color:var(--theme-accent,#2563eb)}
.purchase-download{display:block;text-align:center;background:var(--theme-surface-alt,#eef3f9);border-radius:8px;padding:9px;font-size:11px;text-decoration:none;color:var(--theme-accent,#2563eb)}
.account-inquiry-list{margin-top:22px}
.account-inquiry-item{border-top:1px solid var(--theme-border,#cbd5e1);padding:16px 0}
.account-inquiry-item summary{display:flex;justify-content:space-between;gap:12px;list-style:none;font-size:12px;line-height:1.7}
.account-inquiry-item summary>span:first-child{overflow-wrap:anywhere}
.inquiry-badge{font-size:10px;color:var(--theme-accent,#2563eb);white-space:nowrap;background:var(--theme-surface-alt,#eef3f9);padding:3px 8px;border-radius:5px;align-self:start}
.account-inquiry-body{white-space:pre-wrap;font-size:12px;line-height:1.8;color:var(--theme-text,#172b4d);overflow-wrap:anywhere;margin:13px 0}
.account-inquiry-meta{font-size:10px;color:var(--theme-muted,#52637a);margin:10px 0}
.account-inquiry-resolution{padding:12px;background:var(--theme-surface-alt,#eef3f9);border-radius:8px;font-size:12px;white-space:pre-wrap;line-height:1.7;color:var(--theme-text,#172b4d)}
.reset-card{max-width:470px;margin:auto;padding:30px}
.reset-card form{display:grid;gap:15px}
.reset-card input{width:100%;padding:12px;border:1px solid var(--theme-border,#cbd5e1);border-radius:9px;background:var(--theme-input,#fff);color:var(--theme-text,#172b4d)}
.account-main input:focus-visible{outline:2px solid var(--theme-focus,#2563eb);outline-offset:2px}
@media(max-width:720px){.account-main{padding-top:28px}
.account-workspace{grid-template-columns:1fr;gap:17px}
.account-tabs{flex-direction:row;flex-wrap:wrap;gap:5px}
.account-tabs a{padding:11px 16px;font-size:12px}
.account-panel{padding:23px}
.account-intro h1{font-size:28px}
}
@media(max-width:420px){.account-main{padding-left:16px;padding-right:16px}
.purchase-list{grid-template-columns:1fr}
.profile-name-row button{padding:8px}
.profile-avatar-row{gap:14px}
.profile-avatar{width:65px;height:65px;flex:0 0 65px}
.account-file{max-width:190px}
.account-panel-head{align-items:flex-start}
.account-panel-head a{font-size:10px}
.account-panel h2{font-size:19px}
}

.account-file{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.profile-avatar-row>div:focus-within .profile-upload{outline:2px solid var(--theme-focus,#2563eb);outline-offset:3px}


#deleteAccountPanel{margin-top:32px;padding-top:22px;border-top:1px solid var(--theme-border,#cbd5e1)}
#deleteAccountPanel>summary{cursor:pointer;font-size:13px;color:var(--theme-error,#b42318)}
#deleteAccountForm{display:grid;gap:14px;margin-top:18px}
#deletePasswordRow{display:grid;gap:8px;font-size:12px}
#deletePassword{max-width:100%;padding:12px;border:1px solid var(--theme-border,#cbd5e1);background:var(--theme-input,#fff);color:var(--theme-text,#172b4d);border-radius:9px}
#deleteAccountForm>label:last-of-type{font-size:12px;line-height:1.7}
#submitAccountDelete{justify-self:start;color:var(--theme-error,#b42318);border:1px solid currentColor;background:var(--theme-surface,#fff)}
#deleteGoogleButton{margin-top:12px}

