[hidden] { display: none !important; }
.account-header { max-width: 1240px; margin: auto; padding: 26px 32px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.account-header a, .account-card a { color: #754258; text-underline-offset: 4px; }
.account-layout { max-width: 1110px; margin: 54px auto; padding: 0 28px 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
.account-intro { padding-top: 38px; }
.account-intro h1 { font-family: var(--brand); font-size: clamp(34px, 4vw, 50px); line-height: 1.15; letter-spacing: -1.8px; margin: 20px 0; }
.account-intro p { line-height: 1.8; max-width: 410px; }
.account-steps { padding: 20px 0; list-style: none; counter-reset: step; }
.account-steps li { counter-increment: step; display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.account-steps li::before { content: counter(step); display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); font-family: var(--mono); }
.account-steps li.active::before { background: var(--mint); border-color: #bd667c; }
.account-note { font-size: 13px; color: #735d66; border-top: 1px solid var(--line); padding-top: 20px; }
.account-card { background: var(--surface); padding: 34px; border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 16px 50px #49394108; }
.account-card h2 { font-family: var(--brand); font-size: 29px; letter-spacing: -.8px; margin: 10px 0; }
#pageDescription { color: #735d66; font-size: 14px; line-height: 1.6; }
.account-card label { display: block; font-size: 14px; font-weight: 700; margin: 22px 0 8px; }
.account-card label span { font-size: 11px; font-weight: 400; color: #735d66; margin-left: 5px; }
.account-card input, .account-card select { font: inherit; width: 100%; min-width: 0; height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--text); border-radius: 10px; }
.account-card input:focus-visible, .account-card select:focus-visible, .account-card button:focus-visible, .account-card a:focus-visible { outline: 3px solid #89516d; outline-offset: 3px; }
.account-card small { display: block; font-size: 12px; color: #735d66; line-height: 1.6; margin-top: 7px; }
.secret-field { display: flex; position: relative; }
.secret-field input { padding-right: 68px; }
.secret-field button { position: absolute; right: 4px; top: 4px; min-width: 58px; min-height: 40px; border: none; background: transparent; border-radius: 6px; font-size: 12px; cursor: pointer; }
.account-primary { width: 100%; min-height: 48px; background: #754258; color: white; border: none; border-radius: 10px; margin-top: 26px; font-weight: 700; cursor: pointer; }
.account-primary:hover { background: #5d3043; }
.account-card button:disabled { opacity: .6; cursor: wait; }
.account-switch { text-align: center; font-size: 13px; line-height: 1.6; }
#formNotice:not(:empty) { border-radius: 10px; background: #fce6e8; color: #79273c; padding: 12px; margin: 16px 0; font-size: 13px; line-height: 1.6; }
#formNotice.success:not(:empty) { background: #e6eee1; color: #34502c; }
.config-status { font-size: 12px; padding: 10px 12px; background: #fff0db; border-radius: 8px; line-height: 1.5; }
.privacy-note { font-size: 12px; line-height: 1.7; color: #735d66; margin-top: 22px; }
.account-continue { display: block; text-align: center; padding: 16px 0; font-weight: 600; font-size: 14px; }
.account-delete { display: block; margin: 14px auto 0; background: none; border: none; text-decoration: underline; text-underline-offset: 4px; min-height: 44px; font-size: 12px; cursor: pointer; }
.account-entry { border: 1px solid var(--line-strong); border-radius: 8px; padding: 9px 12px; color: var(--text); text-decoration: none; font-size: 12px; background: var(--surface); }
.account-banner { max-width: 780px; margin: 0 auto 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font-size: 13px; line-height: 1.6; }
.account-banner a { color: #754258; font-weight: 700; }
@media (max-width: 760px) { .account-layout { grid-template-columns: 1fr; gap: 22px; margin: 12px auto; max-width: 530px; padding: 0 18px 30px; } .account-intro { padding: 0; } .account-intro h1 { font-size: 32px; } .account-intro h1 br { display: none; } .account-steps, .account-note { display: none; } .account-card { padding: 24px; } .account-header { padding: 20px; font-size: 12px; } .header-actions { gap: 6px; } .account-entry { padding: 8px; } }
.account-header .brand strong { color: var(--text); }
body:has(.account-banner:not([hidden])) .bottom-space { min-height: 270px; }
.account-entry { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 760px) { .account-entry { max-width: 130px; } }

.api-support { margin: 24px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.api-support h2 { font-size: 16px; margin: 0 0 12px; }
.api-support ul { list-style: none; padding: 0; margin: 0; }
.api-support li { margin: 14px 0; font-size: 13px; line-height: 1.6; }
.api-support code, .api-support span { display: block; overflow-wrap: anywhere; }
.api-support code { font-size: 11px; color: #754258; }
.api-support p { font-size: 12px; margin-bottom: 0; }
#endpointHint { overflow-wrap: anywhere; }
