#self-profile-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;border:1px solid #cedbe6;border-radius:18px;background:#fff;color:#193852;box-shadow:0 24px 80px #142b4966;font:15px/1.5 system-ui;overflow:auto}
#self-profile-dialog::backdrop{background:#10274688}
#self-profile-dialog h2{margin:0 0 6px;font-size:24px;line-height:1.3;color:#173451}
#self-profile-dialog .self-profile-intro{margin:0 0 22px;color:#617487}
#self-profile-dialog .self-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#self-profile-dialog label{display:block;min-width:0;margin:0;font-size:14px;font-weight:600}
#self-profile-dialog input{display:block;box-sizing:border-box;width:100%;margin-top:6px;padding:10px 12px;border:1px solid #b5c8d7;border-radius:8px;background:#fff;color:#193852;font:15px/1.5 system-ui}
#self-profile-dialog input[readonly]{background:#f1f5f8;color:#526b80}
#self-profile-dialog .self-profile-note{margin:12px 0;font-size:12px;color:#617487}
#self-profile-status{min-height:22px;margin:14px 0;color:#176d60;font-size:14px}
#self-profile-dialog .self-profile-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:18px}
#self-profile-dialog button{padding:10px 14px;border:1px solid #b9cddd;border-radius:8px;background:#fff;color:#193852;font:600 14px/1.5 system-ui;cursor:pointer}
#self-profile-dialog .self-profile-save{background:#087d85;color:#fff;border-color:#087d85}
#self-profile-dialog :is(input,button):focus-visible{outline:3px solid #49c5bc;outline-offset:2px}
#self-profile-dialog button:disabled{opacity:.5;cursor:default}
#self-profile-dialog [hidden]{display:none!important}
.account .account-self-profile{white-space:nowrap}
@media(max-width:540px){#self-profile-dialog{padding:22px}#self-profile-dialog .self-profile-fields{grid-template-columns:1fr}#self-profile-dialog .self-profile-actions button{flex-grow:1}}
