/* Personal center: one selected view, outline icons and flat rows. */
.account-page { width:min(1280px,calc(100% - 64px)); padding:38px 0 64px; }
.account-workspace { display:grid; grid-template-columns:190px minmax(0,1fr); gap:42px; align-items:start; min-height:620px; }
.account-sidebar { position:sticky; top:112px; padding:4px 0; background:transparent; border:0; border-radius:0; }
.account-sidebar-label { margin:0 0 22px 12px; font-size:11px; color:#8a939e; }
.account-icon { width:20px; height:20px; flex:none; display:inline-block; vertical-align:middle; }
.account-sidebar nav { display:grid; gap:4px; padding:0; }
.account-sidebar nav a,.account-sidebar-extras a,.account-signout { display:flex; align-items:center; gap:11px; padding:11px 12px; font-size:13px; color:#707b89; border:0; border-radius:4px; }
.account-sidebar nav a:hover,.account-sidebar-extras a:hover { color:#285cff; background:#edf1f9; }
.account-sidebar nav a.is-active { color:#285cff; background:#eaf0ff; font-weight:600; }
.account-sidebar nav .account-icon { width:18px; height:18px; }
.account-sidebar-extras { border-top:1px solid #e1e5eb; margin-top:20px; padding-top:15px; }
.account-signout { margin-top:18px; width:100%; text-align:left; color:#89919b; cursor:pointer; background:transparent; }
.account-main-column { min-width:0; border-left:1px solid #e0e5ed; padding-left:38px; }
.account-identity-row { display:flex; align-items:center; flex-wrap:wrap; gap:16px; padding:0 0 26px; border-bottom:1px solid #e0e5ed; }
.account-identity { display:flex; align-items:center; gap:14px; min-width:0; }
.account-user-image { display:block; object-fit:cover; width:48px; height:48px; border-radius:8px; background:#fff; flex:none; }
.account-user-image.is-default { object-fit:cover; border-radius:0; }
.account-identity>span { min-width:0; }
.account-identity strong { display:block; font-size:18px; font-weight:600; color:#273644; overflow-wrap:anywhere; }
.account-identity small { display:block; font-size:11px; color:#8a949f; margin-top:4px; overflow-wrap:anywhere; }
.account-identity-row>.account-status { margin-left:auto; }
.account-header-download { display:inline-flex; align-items:center; gap:6px; font-size:12px; }
.account-header-download .account-icon { width:16px; height:16px; }
.account-content { padding-top:32px; min-height:460px; }
.account-section { padding:0; background:transparent; border:0; border-radius:0; margin:0; scroll-margin-top:118px; }
.account-section-heading { display:flex; justify-content:space-between; align-items:center; gap:20px; margin-bottom:24px; }
.account-section-heading h2 { display:flex; align-items:center; gap:10px; margin:0; font-size:22px; color:#243343; font-weight:600; }
.account-section-heading h2 .account-icon { color:#5679b0; }
.account-section-heading p { margin:9px 0 0; color:#7c8794; font-size:12px; line-height:1.85; }
.account-page .text-link { display:inline-flex; align-items:center; gap:6px; color:#285cff; font-size:12px; white-space:nowrap; }
.account-page .text-link .account-icon { width:16px; height:16px; }
.account-page .button { gap:8px; }
.account-page .button.slim { font-size:12px; padding:8px 14px; min-height:36px; }
.account-page .button .account-icon { width:16px; height:16px; }
/* 余额占比没有周期额度含义；一条共享余额带配合累计消耗，保持平面分区。 */
.header-credit-link { display:inline-flex; align-items:center; gap:7px; color:#728095; white-space:nowrap; font-size:11px; padding:6px 14px 6px 0; border-right:1px solid #e0e5ed; }
.header-credit-link .account-icon { width:16px; height:16px; }
.header-credit-link strong { font-size:13px; color:#334b70; font-weight:600; font-variant-numeric:tabular-nums; }
.header-credit-link:hover strong { color:#285cff; }
.account-credit-summary { padding:8px 0 27px; border-bottom:1px solid #e0e5ed; font-variant-numeric:tabular-nums; }
.credit-summary-top { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.credit-summary-actions { display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.credit-buckets { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin:0 0 24px; }
.credit-buckets>div { min-width:0; padding:18px 20px; border:1px solid #e1e7ef; border-radius:12px; background:#f3f5f9; }
.credit-buckets>.credit-bucket-permanent { background:#eef3ff; border-color:#dce5fb; }
.credit-buckets>div>span { color:#6e7d95; font-size:12px; }
.credit-buckets strong { display:block; margin:9px 0 6px; color:#334e78; font-size:28px; line-height:1.3; font-weight:600; }
.credit-buckets small { margin-left:6px; font-size:11px; color:#8290a5; font-weight:400; }
.credit-buckets p { margin:0; color:#7e8da3; font-size:11px; line-height:1.7; }
@media(max-width:520px) { .credit-buckets { grid-template-columns:1fr; gap:12px; } .credit-summary-actions { align-items:flex-end; flex-direction:column; gap:10px; } }
.credit-summary-balance>span { display:flex; align-items:center; gap:8px; color:#7d8793; font-size:12px; }
.credit-summary-balance .account-icon { width:18px; height:18px; color:#6580a4; }
.credit-summary-balance>strong { display:block; margin:12px 0 28px; color:#273f64; font-size:48px; line-height:1.1; font-weight:600; letter-spacing:-1.6px; }
.credit-summary-balance small { margin-left:10px; color:#8793a2; font-size:13px; font-weight:400; letter-spacing:0; }
.credit-meter-label { display:flex; justify-content:space-between; gap:16px; color:#929caa; font-size:11px; margin-bottom:10px; }
.credit-meter-label strong { color:#4c658a; font-weight:500; }
.credit-meter { height:7px; width:100%; background:#e7ebf2; border-radius:4px; overflow:hidden; }
.credit-meter>span { display:block; height:100%; background:#6388c2; border-radius:inherit; transition:width 180ms ease-out; }
.credit-summary-stats { display:flex; align-items:center; gap:38px; margin-top:23px; }
.credit-summary-stats>div { display:grid; gap:8px; }
.credit-summary-stats>div>span { color:#8c96a4; font-size:11px; }
.credit-summary-stats strong { color:#51627a; font-size:19px; font-weight:500; }
.credit-summary-stats small { margin-left:6px; font-size:11px; color:#95a0ad; font-weight:400; }
.credit-availability { margin-left:auto; color:#728d7d; font-size:11px; }
.credit-availability::before { content:''; display:inline-block; width:5px; height:5px; margin:0 7px 1px 0; border-radius:50%; background:currentColor; }
.credit-availability.is-empty { color:#a27c5d; }
.usage-history { padding-top:30px; }
.usage-history-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; margin-bottom:20px; }
.usage-history-heading h3 { margin:0; color:#46576d; font-weight:600; font-size:14px; }
.usage-filters { display:flex; gap:20px; overflow-x:auto; border-bottom:1px solid #e0e5ed; }
.usage-filters button { padding:0 0 12px; color:#8a95a5; font-size:12px; white-space:nowrap; border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; cursor:pointer; }
.usage-filters button:hover { color:#405f8c; }
.usage-filters button.is-active { color:#395f99; border-bottom-color:#6388c2; font-weight:500; }
.usage-record { display:flex; align-items:flex-start; gap:14px; padding:19px 0; border-bottom:1px solid #e9edf2; }
.usage-record-icon { color:#879ab4; padding-top:2px; }
.usage-record-icon .account-icon { width:18px; height:18px; }
.usage-record-main { flex:1; min-width:0; }
.usage-record-main>strong { display:block; color:#475a73; font-size:13px; font-weight:500; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.usage-record-main>span { display:flex; flex-wrap:wrap; gap:8px; font-size:10px; color:#939ead; margin-top:6px; }
.usage-record-main i { font-style:normal; color:#c4ccd6; }
.usage-record-amount { flex:none; text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.usage-record-amount>strong { color:#4a5f7a; font-size:15px; font-weight:500; }
.usage-record-amount>strong.is-credit { color:#5b8b73; }
.usage-record-amount small { color:#95a0ad; font-size:10px; margin-left:5px; font-weight:400; }
.usage-record-amount>span { display:block; font-size:10px; color:#939ead; margin-top:6px; }
.usage-record-detail { margin-top:8px; color:#7f8b9d; font-size:10px; }
.usage-record-detail summary { cursor:pointer; width:fit-content; }
.usage-record-detail p { color:#78899e; line-height:1.8; margin:8px 0 0; overflow-wrap:anywhere; }
.usage-empty { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:12px; padding:42px 0; margin:0; color:#8d99a8; font-size:12px; }
.usage-empty p { margin:0; }
.usage-empty[role=alert] { color:#9d6756; }
.usage-pagination { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; padding-top:20px; color:#96a0ad; font-size:11px; }
.usage-pagination>div { display:flex; align-items:center; gap:12px; }
.usage-pagination button:disabled { opacity:.45; cursor:default; }
@media(prefers-reduced-motion:reduce) { .credit-meter>span { transition:none; } }
.account-overview-products { padding-top:26px; }
.account-overview-products h3 { font-size:14px; color:#506071; font-weight:600; margin:0 0 5px; }
.account-row-list article { display:flex; align-items:center; gap:16px; padding:19px 0; border-bottom:1px solid #e6eaf0; background:transparent; border-radius:0; }
.account-row-list article:last-child { border-bottom:0; }
.account-row-list article>div { flex:1; min-width:0; }
.account-row-list strong { display:block; font-size:13px; color:#37495d; font-weight:500; overflow-wrap:anywhere; }
.account-row-list small { display:block; color:#88939f; font-size:11px; margin-top:6px; }
.account-row-icon { display:grid; place-items:center; width:36px; height:36px; color:#6a84aa; flex:none; background:transparent; }
.account-row-icon img { display:block; width:36px; height:36px; object-fit:cover; }
.account-row-icon .account-icon { width:25px; height:25px; }
.account-status { display:inline-flex; align-items:center; font-size:10px; padding:3px 8px; color:#87909c; background:#eef0f4; border-radius:4px; white-space:nowrap; }
.account-status.is-valid { background:#ecf4ef; color:#49816a; }
.account-status.is-valid::before { content:''; width:5px; height:5px; background:#589675; border-radius:50%; margin-right:5px; }
.account-overview-links { display:flex; flex-wrap:wrap; border-top:1px solid #e2e6ec; margin-top:25px; gap:0 30px; padding-top:16px; }
.account-overview-links>a { display:flex; align-items:center; gap:8px; font-size:12px; color:#66778a; padding:10px 0; }
.account-overview-links>a>strong { font-size:11px; font-weight:400; color:#939ca8; }
.account-overview-links .account-icon { width:17px; height:17px; }
.account-overview-links .account-icon:last-child { width:13px; height:13px; }
.account-page .ai-plans { margin-top:28px; padding-top:0; background:transparent; border:0; border-radius:0; }
.account-page .ai-plan { background:transparent; border-radius:0; }
.account-page .ai-plan-credits strong { color:#465c78; }
.account-muted { font-size:11px; color:#8792a0; line-height:1.8; }
.account-redemption-body { max-width:650px; padding-top:8px; }
.account-redemption-body form>label { display:block; font-size:12px; color:#637489; margin-bottom:10px; }
.account-page .redemption-input { display:flex; gap:10px; }
.account-page .redemption-input input { min-width:0; flex:1; }
.account-page .redemption-input .button { flex:none; }
.account-redemption-hint { color:#8591a0; font-size:11px; line-height:1.9; margin:13px 0; }
.account-inline-links { display:flex; flex-wrap:wrap; gap:26px; margin-top:38px; padding-top:22px; border-top:1px solid #e2e7ee; }
.account-inline-links a { display:flex; align-items:center; gap:8px; color:#637994; font-size:12px; }
.account-inline-links .account-icon { width:17px; height:17px; }
.account-redeemed { display:flex; align-items:flex-start; gap:12px; padding:18px 0; }
.account-redeemed>.account-icon { color:#56916b; }
.account-redeemed strong { font-size:14px; color:#49667c; }
.account-redeemed p { color:#8391a0; font-size:12px; line-height:1.9; }
.account-empty { display:flex; align-items:center; flex-wrap:wrap; gap:14px; padding:25px 0; border:0; background:transparent; border-radius:0; }
.account-empty>.account-icon { color:#8196b0; width:26px; height:26px; }
.account-empty p { flex:1; color:#8794a4; font-size:12px; line-height:1.9; margin:0; }
.account-credit-add { color:#397e65; font-size:12px; }
.account-load-error { color:#a05c49; background:transparent; padding:14px 0; }
.account-secret { display:block; padding:12px; margin:14px 0; color:#4c6885; background:#edf1f7; box-shadow:none; overflow-wrap:anywhere; }
/* Editable profile: ordinary form rows, one save action. */
#account-profile-form { max-width:720px; }
.account-profile-field { display:grid; grid-template-columns:110px minmax(0,1fr); gap:20px; padding:22px 0; border-bottom:1px solid #e3e8ef; align-items:start; }
.account-profile-field>label { font-size:12px; color:#6d7d91; padding-top:10px; }
.account-profile-field p { font-size:11px; color:#8a95a3; line-height:1.85; margin:8px 0 0; }
.account-profile-field input[type=text],.account-profile-field input:not([type]) { width:100%; max-width:360px; }
.account-avatar-editor { display:flex; align-items:center; gap:20px; }
.account-avatar-editor .account-user-image { width:72px; height:72px; }
.account-avatar-editor>div { flex:1; min-width:0; }
.account-avatar-editor>div>.button { display:inline-flex; cursor:pointer; margin-right:16px; }
.account-avatar-editor input[type=file] { position:absolute; width:1px; height:1px; min-height:0; padding:0; border:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.account-readonly-value { padding-top:10px; font-size:13px; color:#50647c; }
.account-readonly-value strong { font-weight:500; }
.account-profile-save { display:flex; align-items:center; flex-wrap:wrap; gap:18px; margin:24px 0 0 130px; }
.account-profile-save p { color:#5b826f; font-size:12px; }
@media(max-width:1080px) {
  .account-sidebar { top:148px; }
  .account-workspace { grid-template-columns:170px minmax(0,1fr); gap:26px; }
  .account-main-column { padding-left:26px; }
  .account-section { scroll-margin-top:150px; }
  .header-credit-link>span { display:none; }
}
@media(max-width:760px) {
  .account-page { width:calc(100% - 32px); padding:24px 0 45px; }
  .account-workspace { grid-template-columns:minmax(0,1fr); gap:24px; min-height:0; }
  .account-sidebar { position:static; padding:0; }
  .account-sidebar-label { display:none; }
  .account-sidebar nav { display:flex; overflow-x:auto; gap:5px; padding-bottom:8px; border-bottom:1px solid #e1e6ef; }
  .account-sidebar nav a { flex:none; white-space:nowrap; padding:9px 11px; }
  .account-sidebar-extras { display:none; }
  .account-signout { display:flex; width:auto; margin:8px 0 0 auto; padding:5px 2px; font-size:11px; }
  .account-main-column { padding:0; border:0; }
  .account-identity-row { gap:10px; padding-bottom:22px; }
  .account-identity { flex:1; }
  .account-header-download { margin-left:auto; }
  .account-content { padding-top:26px; }
  .account-section-heading { flex-wrap:wrap; gap:14px; }
  .account-section-heading h2 { font-size:20px; }
  .credit-summary-balance>strong { font-size:40px; }
  .credit-summary-stats { gap:28px; }
  .account-overview-links { gap:0 20px; }
  .account-profile-field { grid-template-columns:minmax(0,1fr); gap:12px; }
  .account-profile-field>label { padding:0; }
  .account-profile-save { margin-left:0; }
  .account-avatar-editor { align-items:flex-start; gap:15px; }
}
@media(max-width:480px) {
  .account-identity-row>.account-status { margin-left:0; }
  .account-identity { width:100%; flex:none; }
  .credit-summary-top { align-items:flex-start; gap:10px; }
  .credit-summary-top>.button { margin-top:0; padding:7px 10px; }
  .credit-summary-balance>strong { font-size:34px; letter-spacing:-1px; }
  .credit-summary-stats { flex-wrap:wrap; gap:16px 26px; }
  .credit-availability { width:100%; margin-left:0; }
  .credit-meter-label { gap:10px; font-size:10px; }
  .usage-filters { gap:19px; }
  .usage-record { gap:10px; }
  .usage-record-amount>strong { font-size:13px; }
  .account-row-list article { gap:10px; flex-wrap:wrap; }
  .account-row-list article>div { min-width:130px; }
  .account-row-list article>.text-link { margin-left:46px; }
  .account-row-list article>.account-status { margin-left:auto; }
  .account-overview-links { flex-direction:column; gap:0; }
  .account-overview-links>a { border-bottom:1px solid #e6eaf0; padding-block:14px; }
  .account-overview-links>a>.account-icon:last-child { margin-left:auto; }
  .account-empty { align-items:flex-start; }
  .account-empty p { min-width:230px; }
  .account-empty .text-link { margin-left:40px; }
  .account-page .redemption-input { flex-wrap:wrap; }
  .account-page .redemption-input input { flex-basis:100%; }
  .account-avatar-editor { flex-wrap:wrap; }
}
