.account-center{--profile-border:color-mix(in srgb,var(--w-line) 90%,var(--w-card));--profile-accent-soft:color-mix(in srgb,var(--w-accent) 9%,var(--w-card));width:min(1120px,calc(100% - clamp(36px, 6vw, 104px)));margin-inline:auto;padding-block:clamp(30px,4.4vh,49px) 60px;container:profile/inline-size}.account-center .usage-actions,.profile-accent-row,.profile-colors,.profile-identity-meta,.profile-identity-meta>span,.profile-key-label,.profile-person,.profile-section-head,.profile-section-head h2,.profile-stats h2,.profile-stats header,.profile-title-actions,.profile-titlebar{display:flex;align-items:center}.profile-accent-row,.profile-identity-meta,.profile-key-label,.profile-section-head,.profile-stats header,.profile-titlebar{justify-content:space-between;gap:12px}.profile-titlebar{margin-bottom:21px}.profile-titlebar h1{font-size:clamp(25px,2vw,32px);line-height:1.2;letter-spacing:-.04em}.profile-title-actions{gap:12px}.profile-text-action,.profile-title-actions :is(a,button){display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;background:transparent;font-size:13px;font-weight:540;white-space:nowrap}.profile-jump,.profile-plan{min-height:36px;padding:6px 11px;border-radius:9px}.profile-jump{color:var(--w-muted)}.profile-title-actions .profile-plan{border:1px solid color-mix(in srgb,var(--w-accent) 22%,var(--w-line));background:var(--profile-accent-soft);color:var(--w-accent)}.profile-title-actions .profile-plan:hover{background:color-mix(in srgb,var(--w-accent) 15%,var(--w-card))}.profile-jump:hover{color:var(--w-accent);background:var(--w-soft)}.account-center .profile-text-action{padding:4px 0;color:var(--w-accent)}.profile-text-action:hover{text-decoration:underline;text-underline-offset:3px}.account-center .usage-panel,.profile-overview,.profile-panel{min-width:0;border:1px solid var(--profile-border);border-radius:18px;background:var(--w-card);box-shadow:0 8px 24px -16px light-dark(rgb(36 42 96/16%),rgb(0 0 0/48%))}.profile-overview{display:grid;grid-template-columns:minmax(0,.97fr) minmax(0,1.03fr);overflow:clip}.profile-identity,.profile-stats{padding:24px clamp(20px,2.4vw,32px);min-width:0}.profile-identity{display:flex;flex-direction:column;justify-content:center;gap:15px;border-inline-end:1px solid var(--profile-border);background:linear-gradient(120deg,var(--profile-accent-soft),var(--w-card) 86%)}.profile-person{gap:14px}.profile-avatar{display:grid;place-items:center;flex:0 0 auto;width:54px;height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,var(--w-accent),var(--w-accent-2,var(--w-accent)));color:#fff;font-size:24px;font-weight:700;line-height:1;box-shadow:0 10px 22px -12px var(--w-glow,rgb(73 59 214/45%))}.profile-person-text{min-width:0;overflow-wrap:anywhere}.profile-person-text h2{margin:0;font-size:clamp(18px,1.55vw,23px);line-height:1.3;letter-spacing:-.025em}.profile-person-text p{margin-top:3px;font-size:13px;color:var(--w-muted)}.profile-identity-meta{flex-wrap:wrap;gap:3px 14px}.profile-identity-meta>span{gap:6px;color:var(--w-muted);font-size:12px}.profile-identity-meta .profile-text-action{min-height:28px;font-size:12px}.profile-stats{display:flex;flex-direction:column;justify-content:center;gap:15px}.profile-stats h2{gap:7px;font-size:15px;font-weight:650}.profile-stats h2>svg{color:var(--w-muted)}.profile-stats header .profile-text-action{font-size:12px}.profile-stats dl{display:grid;grid-template-columns:.92fr .88fr 1.2fr;margin:0}.profile-stats dl>div{display:flex;flex-direction:column-reverse;justify-content:end;gap:3px;min-width:0}.profile-stats dl>div+div{border-inline-start:1px solid var(--profile-border);padding-inline-start:clamp(10px,1.4vw,22px)}.profile-stats dt{color:var(--w-muted);font-size:12px}.profile-stats dd{margin:0;font-size:clamp(23px,2.1vw,31px);font-weight:650;line-height:1.1;font-feature-settings:"tnum";font-variant-numeric:tabular-nums;overflow-wrap:anywhere;letter-spacing:-.04em}.profile-stats dd small{margin-inline-start:3px;font-size:12px;font-weight:550;letter-spacing:0;color:var(--w-muted)}.profile-settings{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(240px,.9fr);align-items:stretch;gap:16px;margin-block:16px}.account-center .usage-panel,.profile-panel{padding:clamp(18px,2vw,25px)}.account-center .usage-head h2,.profile-section-head h2{display:flex;align-items:center;gap:10px;font-size:17px;font-weight:650;letter-spacing:-.02em;line-height:1.35}.account-center .usage-heading-icon,.profile-icon{display:inline-grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:10px;color:var(--w-accent);background:var(--profile-accent-soft)}.account-center .profile-description,.account-center .usage-intro{margin:9px 0 14px;color:var(--w-muted);font-size:13px;line-height:1.65}.profile-key-count{font-size:12px;color:var(--w-muted);white-space:nowrap;font-feature-settings:"tnum";font-variant-numeric:tabular-nums}.profile-key-count b{color:var(--w-ink);font-weight:650}.profile-providers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.profile-providers button{display:grid;gap:3px;min-width:0;padding:9px 10px;text-align:left;border:1px solid var(--w-line);border-radius:10px;background:var(--w-card);color:var(--w-ink)}.profile-providers button[aria-pressed=true]{border-color:var(--w-accent);background:var(--profile-accent-soft);color:var(--w-accent)}.profile-modes button:hover,.profile-providers button:hover{border-color:var(--w-accent)}.profile-providers strong{font-size:13px;font-weight:630}.profile-providers small{display:flex;align-items:center;gap:5px;color:var(--w-muted);font-size:11px}.profile-providers small i{width:5px;height:5px;border-radius:50%;background:color-mix(in srgb,var(--w-muted) 65%,var(--w-card))}.profile-providers small[data-configured=true]{color:var(--brand-success)}.profile-providers small[data-configured=true] i{background:currentColor}.profile-key-form{margin-top:16px}.profile-key-label{min-height:24px;margin-bottom:4px}.profile-accent-row h3,.profile-edit label,.profile-key-label label,.profile-preferences legend{font-size:13px;line-height:1.4;font-weight:600}.account-center .profile-remove{font-size:12px;color:var(--w-muted)}.account-center .profile-remove:hover{color:light-dark(#a53443,#ffacb9)}.profile-edit>div,.profile-key-entry,.profile-secret{display:flex;align-items:center;gap:8px}.profile-secret{padding:0 10px;flex:1 1;min-width:0;border:1px solid var(--w-line);border-radius:8px;color:var(--w-muted);background:var(--w-bg)}.profile-secret:focus-within{outline:2px solid var(--w-accent);outline-offset:1px}.profile-secret>svg{flex:0 0 auto}.profile-secret input{width:100%;min-width:0;height:37px;padding:0;border:0;outline:none!important;color:var(--w-ink);background:transparent;font-size:13px}.profile-secret input::placeholder{color:var(--w-muted)}.profile-edit .ws-primary,.profile-key-entry .ws-primary{min-height:39px;flex:0 0 auto}.profile-edit{border-top:1px solid var(--profile-border);padding-top:12px}.profile-edit label{display:block;margin-bottom:5px}.profile-edit input{min-width:0;flex:1 1;height:38px;padding:7px 10px;border:1px solid var(--w-line);border-radius:8px;background:var(--w-card);color:var(--w-ink)}.profile-feedback{display:flex;align-items:flex-start;gap:6px;margin:9px 0 0;font-size:12px;overflow-wrap:anywhere}.profile-feedback svg{flex-shrink:0;margin-top:2px}.profile-feedback[data-kind=success]{color:var(--brand-success)}.profile-feedback[data-kind=error]{color:light-dark(#a22b3e,#ffafbb)}.profile-identity .profile-feedback{margin:0}.profile-preferences fieldset{border:0;padding:0;margin:16px 0 15px;min-width:0}.profile-preferences legend{padding:0;margin:0 0 7px}.profile-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.profile-modes button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:48px;padding:5px 2px;border:1px solid var(--w-line);border-radius:8px;background:var(--w-card);color:var(--w-muted);font-size:12px;white-space:nowrap}.profile-modes button[aria-pressed=true]{background:var(--profile-accent-soft);border-color:var(--w-accent);color:var(--w-accent)}.profile-accent-row{padding-top:13px;border-top:1px solid var(--profile-border)}.profile-accent-row p{margin-top:2px;color:var(--w-muted);font-size:12px}.profile-colors{gap:1px;flex-shrink:0}.profile-colors button{width:31px;height:31px;display:grid;place-items:center;padding:2px;border:1px solid transparent;border-radius:50%;background:none}.profile-colors button[aria-pressed=true]{border-color:var(--w-accent)}.profile-swatch{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:white}.profile-colors button:hover .profile-swatch{box-shadow:0 0 0 2px var(--w-line)}.account-center .usage-panel{margin:0}.usage-heading-icon{display:inline-flex;align-items:center}.usage-record-context time,.usage-record-model>small{display:block;color:var(--w-muted);font-size:12px;overflow-wrap:anywhere}.usage-record-context a{display:inline-flex;align-items:center;gap:5px;width:fit-content;max-width:100%;color:var(--w-accent);font-size:13px;overflow-wrap:anywhere}.usage-record-context a>svg{flex-shrink:0}.usage-record-context a:hover{text-decoration:underline}.account-center .usage-heading-icon svg{width:18px;height:18px;color:var(--w-accent)}.account-center .usage-head{align-items:center;flex-wrap:wrap;gap:10px}.account-center .usage-actions{gap:11px}.account-center .usage-actions .ws-link{min-height:32px;white-space:nowrap}.profile-project-filter{display:flex;align-items:center;position:relative;min-width:0}.profile-project-filter select{appearance:none;width:100%;max-width:clamp(115px,20vw,235px);height:32px;min-width:95px;padding:3px 25px 3px 9px;border:1px solid var(--w-line);border-radius:7px;color:var(--w-ink);background:var(--w-card);text-overflow:ellipsis;font-size:12px;cursor:pointer}.profile-project-filter svg{position:absolute;right:8px;pointer-events:none;color:var(--w-muted)}.account-center .usage-empty{margin:12px 0 0;padding:15px;border-radius:8px;background:var(--w-bg);text-align:center;font-size:13px}.account-center .usage-panel>.ws-outlined{margin-top:14px}.account-center .usage-panel :is(.ws-error,[role=status]){margin-inline:0}.account-center :is(#keys,#usage,#profile-access){scroll-margin-top:16px}.account-center :is(#keys,#usage):target{border-color:color-mix(in srgb,var(--w-accent) 40%,var(--w-line))}.profile-guest,.profile-load{display:flex;align-items:center;flex-wrap:wrap;gap:15px}.profile-load>p{display:inline-flex;align-items:center;gap:8px;color:var(--w-muted)}.profile-guest-mark{display:grid;place-items:center;width:54px;height:54px;border-radius:15px;background:var(--profile-accent-soft);color:var(--w-accent)}.profile-guest h2{font-size:18px}.profile-guest p{color:var(--w-muted);margin-top:3px}.profile-guest-actions{display:flex;align-items:center;gap:9px;margin-inline-start:auto}@media (max-width:850px){.account-center{padding-top:10px}.profile-titlebar{min-height:36px;padding-inline-start:38px}.account-center :is(#keys,#usage,#profile-access){scroll-margin-top:49px}}@container profile (max-width: 740px){.profile-settings{grid-template-columns:minmax(0,1fr)}.profile-preferences{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:end;gap:13px 22px}.profile-preferences .profile-section-head{grid-column:1/-1}.profile-preferences fieldset{margin:0}.profile-accent-row{align-self:stretch;border-top:0;border-inline-start:1px solid var(--profile-border);padding:0 0 0 18px}.profile-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.profile-identity,.profile-stats{padding:18px}}@container profile (max-width: 570px){.profile-titlebar{margin-bottom:15px}.profile-title-actions{gap:3px}.profile-jump,.profile-plan{padding-inline:8px}.profile-overview,.profile-preferences{display:block}.profile-identity{border-inline-end:0;border-bottom:1px solid var(--profile-border);gap:10px}.profile-stats{gap:10px}.profile-settings{gap:12px;margin-block:12px}.profile-accent-row{border-inline-start:0;border-top:1px solid var(--profile-border);padding:12px 0 0}.profile-preferences fieldset{margin:14px 0}.profile-modes button{flex-direction:row;min-height:37px}.account-center .usage-list li{display:block}.account-center .usage-record-context{gap:1px;margin-top:4px}.account-center .usage-tokens{display:flex;margin-top:6px;gap:15px}.account-center .usage-tokens b{display:inline}.profile-guest-actions{width:100%}}@container profile (max-width: 430px){.profile-providers{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-providers button{grid-template-columns:1fr auto;align-items:center;gap:3px;padding:9px 7px}.profile-providers small{gap:3px}.account-center .usage-actions{gap:7px}.profile-project-filter select{min-width:85px;max-width:125px}}@container profile (max-width: 315px){.profile-titlebar{gap:3px;padding-inline-start:29px}.profile-titlebar h1{font-size:23px}.profile-jump{padding-inline:3px}.profile-title-actions .profile-jump>svg{display:none}.profile-providers button{grid-template-columns:1fr}}.profile-keys>summary{cursor:pointer;font-weight:600}.profile-keys[open]>summary,.profile-wallet{margin-bottom:18px}.profile-wallet{display:grid;gap:16px}.profile-wallet-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.profile-wallet-head h2{display:inline-flex;align-items:center;gap:7px;margin:0 0 4px;font-size:17px}.profile-wallet-actions{display:flex;align-items:center;gap:8px}.profile-wallet-actions button{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 13px;border-radius:10px;font-size:13px;font-weight:600;cursor:pointer}.profile-wallet-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0}.profile-wallet-metrics>div{padding:12px 14px;border:1px solid var(--w-line);border-radius:12px;background:var(--w-soft);display:grid;gap:6px}.profile-wallet-metrics dt{font-size:12px;color:var(--w-muted)}.profile-wallet-metrics dd{margin:0;display:grid;gap:2px}.profile-wallet-metrics dd strong{font-size:20px;letter-spacing:-.02em}.profile-wallet-metrics dd small{font-size:12px;color:var(--w-muted)}.profile-ledger{border-top:1px solid var(--w-line);padding-top:14px;display:grid;gap:10px}.profile-ledger-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.profile-ledger h3{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:14px}.profile-ledger-toggle{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:8px;border:1px solid var(--w-line);background:var(--w-card);color:var(--w-ink);font-size:12px;font-weight:500;cursor:pointer}.profile-ledger-toggle:hover{border-color:var(--w-accent);color:var(--w-accent)}.profile-ledger-collapsed{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;width:100%;padding:10px 13px;border:1px solid var(--w-line);border-radius:10px;background:var(--w-soft);color:var(--w-muted);font-size:12.5px;text-align:left;cursor:pointer}.profile-ledger-collapsed:hover{border-color:var(--w-accent)}.profile-ledger-collapsed b{color:var(--w-ink);font-weight:600}.profile-ledger-collapsed strong[data-sign=plus]{color:#16854d}.profile-ledger-collapsed strong[data-sign=minus]{color:#c43131}.profile-ledger-cta{display:inline-flex;align-items:center;gap:4px;color:var(--w-accent);font-weight:500;white-space:nowrap}.profile-ledger-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--w-line);border-radius:10px;background:var(--w-card)}.profile-ledger-table{width:100%;border-collapse:collapse;font-size:12.5px;line-height:1.5}.profile-ledger-table th{text-align:left;font-weight:600;font-size:12px;color:var(--w-muted);background:var(--w-soft);white-space:nowrap}.profile-ledger-table td,.profile-ledger-table th{padding:9px 12px;border-bottom:1px solid var(--w-line)}.profile-ledger-table td{vertical-align:middle}.profile-ledger-table tbody tr:last-child td{border-bottom:0}.profile-ledger-table tbody tr:hover{background:color-mix(in srgb,var(--w-soft) 60%,transparent)}.profile-ledger-table td.num,.profile-ledger-table th.num{text-align:right}.profile-ledger-table td.num,.profile-ledger-table th.num,.profile-ledger-time{font-feature-settings:"tnum";font-variant-numeric:tabular-nums;white-space:nowrap}.profile-ledger-time{color:var(--w-muted)}.profile-ledger-kind{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--w-soft);font-size:11px;font-weight:600;color:var(--w-muted);white-space:nowrap}.profile-ledger-remark{color:var(--w-ink);max-width:340px;overflow-wrap:anywhere}.profile-ledger-delta[data-sign=plus]{color:#16854d}.profile-ledger-delta[data-sign=minus]{color:#c43131}.profile-ledger-balance{color:var(--w-muted)}.profile-ledger-footer{display:flex;justify-content:flex-start}.profile-withdraw-calc{display:flex;flex-wrap:wrap;align-items:center;gap:10px 20px;padding:10px 12px;border-radius:9px;border:1px solid var(--w-line);background:var(--w-card);font-size:12.5px;color:var(--w-muted)}.profile-withdraw-calc b,.profile-withdraw-calc strong{color:var(--w-ink);font-feature-settings:"tnum";font-variant-numeric:tabular-nums}@container profile (max-width: 680px){.profile-wallet-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}.profile-ssh-locked{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:12px;border:1px dashed var(--w-line);background:var(--w-soft);color:var(--w-muted);font-size:13px;line-height:1.6}.profile-ssh-locked svg{flex:none;margin-top:2px;color:var(--w-accent)}.profile-ssh-locked p{margin:0}.profile-ssh-form{margin:14px 0;padding:14px;border-radius:12px;border:1px solid var(--w-line);background:var(--w-soft);display:grid;gap:12px}.profile-ssh-grid{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.profile-ssh-auth,.profile-ssh-grid{display:grid;gap:10px}.profile-ssh-form label{display:grid;gap:5px;font-size:12.5px;color:var(--w-muted)}.profile-ssh-form input,.profile-ssh-form select,.profile-ssh-form textarea{width:100%;padding:8px 10px;border-radius:8px;border:1px solid var(--w-line);background:var(--w-card);color:var(--w-ink);font:inherit;font-size:13px}.profile-ssh-actions{display:flex;align-items:center;gap:8px}.profile-ssh-list{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:8px}.profile-ssh-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 12px;border-radius:10px;border:1px solid var(--w-line);background:var(--w-soft)}.profile-ssh-info{display:grid;gap:3px}.profile-ssh-info strong{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;color:var(--w-ink)}.profile-ssh-info small{font-size:12px;color:var(--w-muted)}.profile-ssh-row-btns{display:inline-flex;align-items:center;gap:6px}