.account-profile { max-width: 550px; margin: 6px auto 14px; border: 1px solid #c5792e; border-radius: 13px; background: #ffda91; color: #663406; overflow: hidden; box-shadow: 0 3px 8px #92430e23; }
.account-profile * { box-sizing: border-box; }
.account-profile [hidden] { display: none !important; }
.account-profile .profile-header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; padding: 13px 15px; background: linear-gradient(125deg,#b75211,#d76d17); color: #fff7dd; }
.profile-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; border: 1px solid #ffe1a285; background: #ffe1a226; font-size: 17px; }
.profile-heading { flex: 1 1 145px; min-width: 0; }
.profile-heading small { display: block; letter-spacing: 1.2px; font-size: 9px; font-weight: 700; color: #ffdf9d; }
.profile-heading strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.profile-badge { padding: 4px 8px; border: 1px solid #ffe1a28a; background: #ffe4ab; color: #793907; border-radius: 20px; font-size: 10px; font-weight: bold; }
.profile-badge.pending { background: #ffe3a32b; color: #fff5db; }
.profile-body { padding: 12px; }
.profile-data { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 9px; margin: 0; }
.profile-data > div { padding: 9px 11px; min-width: 0; border: 1px solid #dba451; border-radius: 8px; background: #ffe9b6; }
.profile-data dt { font-size: 10px; font-weight: bold; color: #965717; }
.profile-data dd { margin: 3px 0 0; font-weight: 700; font-size: 13px; overflow-wrap: anywhere; }
.profile-data .profile-balance { background: #ffefc7; }
.profile-balance dd { color: #934006; font-size: 15px; font-variant-numeric: tabular-nums; }
.profile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 11px; }
.profile-actions form { margin: 0 0 0 auto; }
.account-profile .profile-button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; padding: 6px 10px; border: 1px solid #b9671d; border-radius: 7px; background: #ffe5aa; color: #713505; font: bold 11px/1.3 Arial,sans-serif; text-decoration: none; cursor: pointer; }
.account-profile .profile-primary { background: linear-gradient(#ed8a2d,#c76412); color: #fff9e9; }
.account-profile .profile-logout { background: #f8d495; border-color: #cb9452; }
.account-profile .profile-button:hover { filter: brightness(.95); }
.account-profile .profile-button:focus-visible { outline: 2px solid #8e4206; outline-offset: 2px; }
.profile-activate { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 8px 10px; border: 1px solid #d49a49; border-radius: 8px; background: #ffdf9e; }
.profile-activate p { margin: 0; }
.account-profile #change-password-panel { margin: 12px 0 0; padding: 12px; border-color: #d49a49; background: #ffebbb; }
@media(max-width:360px) { .profile-data { grid-template-columns: minmax(0,1fr); } }
