/* Account forms keep saved details clear and long histories contained. */
.security-fields {border:0;padding:0;margin:0;min-width:0}
.security-fields[disabled] {opacity:1}
.account-scroll {max-height:440px;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-right:8px}
.account-scroll:focus-visible {outline:2px solid var(--blue,#0674f8);outline-offset:5px;border-radius:8px}
.profile-change-fields {display:grid;grid-template-columns:1fr 1fr;gap:12px 20px;margin-bottom:22px}
.profile-change-row {padding:12px 14px;border:1px solid var(--line,#e5eaf2);border-radius:12px;background:#fbfcfe;min-width:0}
.profile-change-row .checkbox {margin:0}
.profile-change-row .field {margin-top:12px;margin-bottom:0}
.profile-change-row .field[hidden] {display:none}
.profile-change-row input {width:100%;min-width:0}
.profile-change-row input[type=checkbox] {width:auto;flex-shrink:0}
#profile-change-form textarea {min-height:100px;max-height:180px;resize:none}
.request-history-title {margin-top:28px;margin-bottom:16px}
.profile-request {border:1px solid var(--line,#e5eaf2);border-radius:14px;padding:18px;margin-bottom:14px;overflow-wrap:anywhere}
.profile-request:last-child {margin-bottom:0}
.profile-request > p {margin:12px 0}
.profile-request-field {display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid var(--line,#e5eaf2)}
.profile-request-field > div {min-width:0}
.profile-request-field p {margin:4px 0 0}
.profile-request-field .pill {flex-shrink:0}
.profile-preview {align-items:center;gap:20px}
.profile-preview > img {object-fit:cover;flex-shrink:0}
#avatar-preview-note {margin-top:10px;max-width:350px}
#profile-form > .avatar-options {margin:10px 0 24px}
#profile-form input:disabled,#profile-phone-form input:disabled {background:#f5f7fa;color:#596578;opacity:1;-webkit-text-fill-color:#596578}
#profile-form .form-actions {gap:12px;flex-wrap:wrap}
#profile-change-history .transaction-top {gap:12px}
#confirm .notice {margin-top:0}
#verify-root #identity-message:not(:empty) {margin-top:18px}
#verify-root #identity-message > .notice {margin:0}
#verify-root #identity-message > .small {margin:12px 0 0}
@media(max-width:600px){.profile-change-fields{grid-template-columns:1fr}.profile-request{padding:14px}.account-scroll{max-height:420px}.profile-preview{align-items:flex-start}.profile-preview > img{width:64px;height:64px}.profile-request .transaction-top{align-items:flex-start;flex-direction:column}}

@media(max-width:600px){#profile-form .fields-two{grid-template-columns:1fr}}

.profile-change-details>summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:1.02rem}
.profile-change-details>summary::-webkit-details-marker{display:none}
.profile-change-details>summary span{display:grid;gap:3px}.profile-change-details>summary small{font-weight:400;color:var(--muted,#6b7b91)}
.profile-change-details>summary::after{content:"+";font-size:1.45rem;color:var(--blue,#1467d8)}
.profile-change-details[open]>summary::after{content:"−"}.profile-change-body{padding-top:22px}
.security-fields[disabled] input{background:#f4f7fb;color:#64748b;border-color:#d7e0ea}.security-fields[disabled] .btn{opacity:1;background:#e9eef5;color:#6b7788;border-color:#d5deea;box-shadow:none}

.account-retention-note{margin-top:22px;line-height:1.7}
.security-unlock-note{margin:0 0 18px;line-height:1.7}
#remove-auth-start .security-unlock-note{margin:18px 0 0}
.security-fields[disabled] .field,.security-fields[disabled] .field>span,.security-fields[disabled] .password-toggle{opacity:1}
.security-fields[disabled] input{opacity:1;-webkit-text-fill-color:#64748b}
#sale-cancel-form textarea{resize:none}

@media(max-width:600px){#reauth-form .fields-two{grid-template-columns:1fr}}
