.profile-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:24px 0}.profile-tools>div{flex:1;min-width:220px}.profile-tools p,.profile-dialog small,.profile-notice{color:#59685f;font-size:13px;line-height:1.7}.profile-dialog{width:min(760px,calc(100vw - 32px));max-height:90dvh;border:1px solid #dde5df;border-radius:24px;padding:0;color:#17241d;box-shadow:0 24px 80px #163c292b}.profile-dialog::backdrop{background:#14261e66}.profile-dialog header{display:flex;justify-content:space-between;align-items:center;padding:24px 28px;border-bottom:1px solid #e6ece8}.profile-dialog h2,.profile-dialog h3,.profile-dialog p{margin:0}.profile-dialog header button{min-width:44px;min-height:44px}.profile-body{padding:24px 28px;display:grid;gap:20px}.profile-notice{background:#f0f6f2;padding:14px 16px;border-radius:12px}.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-grid label{display:grid;gap:8px;font-size:14px;font-weight:600}.profile-dialog input:not([type=checkbox]),.profile-dialog textarea,.profile-dialog select{width:100%;min-height:44px;border:1px solid #dce5df;border-radius:10px;padding:10px 12px;background:#fafcfb;font:inherit;color:inherit;box-sizing:border-box}.profile-dialog input[readonly]{background:#f3f5f4}.profile-dialog .profile-span{grid-column:1/-1}.profile-avatars{display:grid;grid-template-columns:repeat(10,1fr);gap:8px;margin-top:12px}.profile-avatars button{padding:2px;min-height:44px;border:2px solid transparent;border-radius:50%;background:white;aspect-ratio:1}.profile-avatars button[aria-pressed=true]{border-color:#087c40;box-shadow:0 0 0 2px #d8ebdf}.profile-avatars img{display:block;width:100%;border-radius:50%;background:white}.profile-photos{display:grid;grid-template-columns:1fr 1fr;gap:18px}.profile-photo{border:1px solid #dce5df;border-radius:14px;padding:16px;display:grid;gap:10px}.profile-photo img{width:100%;height:160px;object-fit:contain;background:#f6f8f6;border-radius:8px}.profile-photo input[type=file]{font-size:12px}.profile-dialog button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.3;text-align:center;cursor:pointer}.profile-dialog button:disabled{opacity:.5;cursor:not-allowed}.profile-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.7}.profile-consent input{margin-top:5px;accent-color:#087c40}.profile-dialog footer{position:sticky;bottom:0;background:#fff;border-top:1px solid #e6ece8;padding:16px 28px;display:flex;justify-content:flex-end;gap:12px}.profile-error{color:#a83e28;font-size:14px;line-height:1.6}.profile-dialog :focus-visible{outline:3px solid #087c40;outline-offset:3px}.profile-role-summary{display:flex;gap:12px;align-items:center}.profile-role-summary img{width:60px;height:60px;border-radius:50%;background:#fff;border:1px solid #edf0ee}.profile-dialog .profile-readonly{white-space:pre-wrap;overflow-wrap:anywhere;border-bottom:1px solid #e4eae6;padding:8px 0}.profile-status{display:inline-block;padding:5px 9px;border-radius:7px;background:#edf5ef;color:#176d3d;font-size:12px}.profile-status.pending{background:#fff4df;color:#895806}@media(max-width:600px){.profile-body,.profile-dialog header{padding:20px}.profile-grid{grid-template-columns:1fr}.profile-avatars{grid-template-columns:repeat(5,1fr)}.profile-photos{grid-template-columns:1fr}.profile-dialog footer{padding:16px 20px}.profile-dialog{max-height:94dvh}.profile-tools select{max-width:140px}}
