.profile-dashboard,.profile-edit-screen{max-width:680px;margin:0 auto 34px}
.profile-dashboard [hidden],.profile-edit-screen [hidden]{display:none!important}
.account-profile.profile-hero{position:relative;overflow:hidden;margin:4px 0 24px;padding:22px;border:1px solid #edd8d1;border-radius:24px;background:linear-gradient(125deg,#fff 45%,#fff3ef 100%);box-shadow:0 14px 38px #9d4e2510}
.profile-hero:after{content:"";position:absolute;width:152px;height:152px;right:-73px;top:-75px;border-radius:50%;background:#de291012;pointer-events:none}
.profile-hero-top{display:flex;align-items:center;gap:16px;min-width:0}
.profile-avatar-wrap{flex:none;display:grid;place-items:center;overflow:hidden;width:68px;height:68px;border-radius:22px;background:#f5e1d9;color:#b92b18;border:3px solid #fff;box-shadow:0 4px 18px #a43b2418}
.profile-avatar-wrap img{display:block;width:100%;height:100%;object-fit:cover}
.profile-avatar-wrap span{display:grid;place-items:center;width:100%;height:100%}
.profile-avatar-wrap svg{width:29px;height:29px}
.profile-hero-copy{min-width:0}
.profile-role{display:inline-flex;align-items:center;color:#a13623;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.profile-hero-copy h2{margin:4px 0 3px;color:#1f1e20;font-size:clamp(22px,5vw,30px);line-height:1.13;letter-spacing:-.05em;overflow-wrap:anywhere}
.profile-hero-copy p{margin:0;color:#6a6565;font-size:12px;line-height:1.45}
.profile-edit-link,.profile-signin-link{position:relative;display:flex;align-items:center;justify-content:space-between;width:100%;margin-top:19px;padding:13px 15px;min-height:48px;border:1px solid #e9d0c7;border-radius:13px;background:#fff;color:#982514;text-align:left;text-decoration:none;font:inherit;font-size:13px;font-weight:850}
.profile-edit-link svg,.profile-signin-link svg{width:17px;height:17px}
.profile-hero-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:19px}
.profile-hero-actions .profile-edit-link{min-width:0;margin:0}
.profile-hero-signout{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:10px 12px;border:1px solid #e9d0c7;border-radius:13px;background:#fff8f5;color:#a52d1b;text-decoration:none;font-size:12px;font-weight:800;white-space:nowrap}
.profile-hero-signout svg{width:17px;height:17px}
.profile-menu-section{margin:20px 0 0}
.profile-menu-section h2{margin:0 0 10px 3px;color:#555054;font-size:13px;font-weight:850;letter-spacing:.035em}
.profile-menu-card{overflow:hidden;border:1px solid #eee5e0;border-radius:19px;background:#fff;box-shadow:0 7px 25px #4f382108}
.profile-menu-row{display:grid;grid-template-columns:44px minmax(0,1fr) 19px;align-items:center;gap:12px;width:100%;min-height:70px;padding:10px 15px;border:0;border-bottom:1px solid #f1ebe7;background:#fff;color:#252326;text-align:left;font:inherit;cursor:pointer}
.profile-menu-row:last-child{border-bottom:0}
.profile-menu-row:hover,.profile-menu-row:focus-visible{background:#fff8f5}
.profile-menu-row:focus-visible,.profile-edit-link:focus-visible,.profile-signin-link:focus-visible,.profile-hero-signout:focus-visible{outline:3px solid #de291088;outline-offset:-3px}
.profile-menu-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#fff0e9;color:#c4331e}
.profile-menu-icon svg{width:22px;height:22px}
.profile-menu-icon--heart{background:#fff0ef;color:#cf3e4e}
.profile-menu-icon--review{background:#f3efff;color:#7454b6}
.profile-menu-icon--offline{background:#eaf5ef;color:#347759}
.profile-menu-icon--help{background:#fff0df;color:#ad6921}
.profile-menu-icon--guide{background:#eaf3fb;color:#3c6e95}
.profile-menu-icon--route{background:#eef1fc;color:#5369a5}
.profile-menu-icon--editor{background:#fff2cf;color:#94620a}
.profile-menu-icon--lock,.profile-menu-icon--info{background:#f1f0ef;color:#696263}
.profile-menu-copy{min-width:0}
.profile-menu-copy strong{display:block;color:#262326;font-size:14px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.profile-menu-copy small{display:block;margin-top:3px;color:#797272;font-size:11px;line-height:1.35}
.profile-menu-chevron{display:grid;place-items:center;color:#a9a1a0}
.profile-menu-chevron svg{width:17px;height:17px}
.profile-settings-section .account-profile-links{display:block;gap:0;margin:0}
.profile-settings-section .account-profile-links .profile-menu-row{min-height:64px;padding:10px 15px;border:0;border-bottom:1px solid #f1ebe7;border-radius:0;background:#fff}
.profile-settings-section .account-profile-links .profile-menu-row:hover,.profile-settings-section .account-profile-links .profile-menu-row:focus-visible{background:#fff8f5}
.profile-settings-section .account-profile-links>a{display:flex;align-items:center;min-height:58px;padding:12px 15px;border-top:1px solid #f1ebe7;color:#302c2d;text-decoration:none;font-size:13px;font-weight:750}
.profile-action-status{min-height:0;margin:12px 4px 0;color:#9d301e;font-size:12px;font-weight:750}
.profile-action-status:empty{display:none}
.profile-footnote{margin:16px 4px 0;color:#817b79;font-size:11px;line-height:1.5}
.profile-back{display:inline-flex;margin:4px 0 14px;padding:8px 0;border:0;background:transparent;color:#a72d1b;font:inherit;font-size:13px;font-weight:800}
.account-profile.profile-edit-card{display:flex;flex-direction:column;align-items:stretch;margin:0;padding:25px;border-radius:23px;background:#fff;box-shadow:0 14px 38px #4f38210b}
.profile-avatar-wrap--large{width:94px;height:94px;margin:3px auto 13px;border-radius:30px}
.profile-avatar-wrap--large svg{width:36px;height:36px}
.profile-edit-card h2{margin:0;text-align:center;font-size:23px;letter-spacing:-.04em}
.profile-edit-card #account-status{margin:5px 0 24px;min-height:18px;text-align:center;font-size:12px}
.profile-name-label{margin:0 0 7px;color:#3b3434;font-size:13px;font-weight:800}
.profile-edit-card #account-name{width:100%;min-height:50px;padding:12px 14px;border:1px solid #d8cfcb;border-radius:12px;background:#fff;color:#262326;font:inherit}
.profile-save-button{width:100%;min-height:50px;margin-top:12px}
.profile-photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:24px;padding-top:20px;border-top:1px solid #f0e7e2}
.profile-upload-button,.profile-remove-button{display:grid;place-items:center;position:relative;min-height:48px;padding:8px 12px;border:1px solid #e9d0c7;border-radius:12px;background:#fff8f5;color:#a52d1b;text-align:center;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.profile-upload-button input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.profile-upload-button:focus-within{outline:3px solid #de291088}
.profile-remove-button{background:#fff;color:#655b58;border-color:#eee5e0}
.profile-edit-note{margin:16px 0 0;color:#817b79;font-size:11px;line-height:1.5}
.migration-panel{max-width:680px;margin:0 auto 20px}
@media(max-width:480px){.account-profile.profile-hero{padding:17px}.profile-hero-top{gap:13px}.profile-avatar-wrap{width:60px;height:60px;border-radius:19px}.profile-avatar-wrap--large{width:90px;height:90px;border-radius:28px}.profile-menu-row{min-height:65px;padding:8px 12px;gap:11px;grid-template-columns:42px minmax(0,1fr) 18px}.profile-menu-copy strong{font-size:13px}.profile-menu-copy small{font-size:10px}.account-profile.profile-edit-card{padding:20px}}
@media(max-width:350px){.profile-hero-actions{grid-template-columns:1fr}.profile-hero-signout{justify-content:flex-start}.profile-hero-copy h2{font-size:22px}}
