/* Approved profile layout. Existing form fields and action handlers are unchanged. */
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile{max-width:760px!important;margin-inline:auto!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form.profile-compact{display:grid;gap:12px!important;margin:0!important;padding:12px 4px!important;min-width:0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-compact-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-compact-heading h2{font-size:18px;margin:0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure{max-width:280px;border:0;padding:0;margin:0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure>summary{font-size:13px;cursor:pointer;padding:6px 0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure .guest-profile-photo{margin-top:6px;gap:8px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure input{max-width:100%;font-size:12px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure img{width:40px;height:40px;flex:none}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px 16px!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-grid,.profile-compact-birth) label{display:grid;gap:4px;font-size:13px!important;min-width:0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-grid,.profile-compact-birth) input{box-sizing:border-box;width:100%;min-width:0;min-height:38px!important;margin:0!important;padding:7px 9px!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-compact-birth{max-width:240px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-save-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .profile-save-row button{width:auto!important;margin:0!important;min-height:38px!important;padding:7px 12px!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-save-row #profile-status{margin:0;font-size:13px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-profile-extra{border-top:1px solid var(--messenger-line,#d2d2d7);border-radius:0;padding:0;margin:0;background:transparent}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-profile-extra>summary{font-size:14px;min-height:36px;box-sizing:border-box;padding:9px 0;cursor:pointer}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-email-history{padding:0 0 8px;background:transparent}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .alternate-email{margin-top:8px;gap:6px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-extra,.profile-clear) button{min-height:36px;padding:6px 10px;margin:0}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .profile-delete-section{margin-top:8px;border-top:1px solid #d9b8b2}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .profile-delete-section>summary{color:#8b3428}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-privacy{padding:0 0 8px}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-privacy>strong{display:none}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form>.profile-clear{justify-self:start;font-size:12px;min-height:36px;padding:6px 10px;margin:0}
@media(max-width:600px){
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-profile-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form.profile-compact{gap:10px!important;padding:8px 4px!important}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form input{font-size:16px!important}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-compact-heading{align-items:start;gap:8px}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure{max-width:50%}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure .guest-profile-photo{display:block}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-photo-disclosure .optional{display:block;font-size:11px}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] .profile-compact-birth{max-width:none}
 html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .alternate-email{display:grid;grid-template-columns:minmax(0,1fr)}
}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-grid,.profile-compact-birth) label{display:block!important;margin:0!important;align-self:end}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-grid,.profile-compact-birth) label>.optional{display:inline!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form :is(.guest-profile-grid,.profile-compact-birth) input{display:block;margin:4px 0 0!important}
html[data-theme] body[data-workspace][data-cabinet=guest][data-guest-panel=profile] #guest-profile-form .guest-profile-extra>summary{margin:0!important}
