.identity-fields662{min-width:0;grid-column:1/-1;padding:14px 16px;margin:0 0 16px;border:1px solid #cbd9e8;border-radius:5px;background:#f7f9fc;color:#173c60}.identity-fields662 legend{padding:0 6px;font-size:14px;font-weight:600}.identity-fields662 label{display:grid;gap:8px;margin:0;font-size:14px}.identity-fields662 input,.identity-fields662 select{width:100%;box-sizing:border-box;min-height:44px;margin:0;font-family:inherit;font-size:14px}.identity-parts662{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.identity-parts662[hidden],.identity-review662[hidden],label[hidden]{display:none!important}.identity-review662{font-size:13px;line-height:1.5;margin:12px 0 0}#identity-form662{display:grid;gap:16px}#identity-form662>.primary{justify-self:end}@media(max-width:600px){.identity-parts662{grid-template-columns:1fr}}
.identity-dialog662{width:min(640px,calc(100vw - 40px));max-height:85vh;overflow:auto;border:1px solid #cbd9e8;border-radius:5px;padding:24px;color:#173c60;font-family:inherit;background:#fff}.identity-dialog662::backdrop{background:#0b223b70}.identity-dialog662 h2{font-size:20px;margin:0 0 20px}.identity-dialog662 .identity-close662{margin-top:16px;min-height:44px;padding:10px 16px;background:#f4f7fb;color:#173c60;border:1px solid #bdcfe2;border-radius:5px}.identity-dialog662 .primary{min-height:44px;background:#173c60;color:#fff;border:1px solid #173c60;padding:10px 16px;border-radius:5px}

/* 4.785: shared identity editor in Masters and company panels. */
html body dialog.identity-editor785{position:fixed;inset:0;margin:auto;width:680px;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;padding:0!important;border:1px solid #c7d6e8;border-radius:6px;background:#fff;color:#173c60;font-family:inherit;overflow:hidden!important;box-sizing:border-box}
dialog.identity-editor785::backdrop{background:#0b223b80}
dialog.identity-editor785>#dialog-close,dialog.identity-editor785>.identity-close662,dialog.identity-editor785>form{display:none!important}
html body dialog.identity-editor785>:is(#dialog-body,#identity-body662){display:flex;flex-direction:column;min-height:0;max-height:90dvh;padding:0!important;overflow:hidden!important}
dialog.identity-editor785 .identity-head785{display:flex;align-items:center;gap:12px;flex:none;padding:20px 24px;background:#173c60;color:#fff}
dialog.identity-editor785 .identity-head785>svg{width:22px;height:22px;flex:none}
html body dialog.identity-editor785 .identity-head785 h2{flex:1;font-size:17px!important;font-weight:700;line-height:1.4;margin:0!important;padding:0!important;border:0!important;background:none!important;color:#fff!important}
dialog.identity-editor785 .identity-head785>button{margin:0;padding:0 4px;background:none;color:#fff;border:0;font-size:28px}
html body dialog.identity-editor785 #identity-form662{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0!important;padding:0!important;gap:0!important}
dialog.identity-editor785 .identity-scroll785{padding:24px;min-height:0;overflow-y:auto}
dialog.identity-editor785 .identity-fields662{margin:0 0 16px;padding:0;border:0;background:none}
dialog.identity-editor785 .identity-fields662>legend{display:none}
dialog.identity-editor785 .identity-scroll785 p{margin:16px 0 0;font-size:13px;line-height:1.5}
dialog.identity-editor785 .identity-scroll785 [role=alert]:empty{display:none}
dialog.identity-editor785 .identity-scroll785 [role=alert]{color:#a52c3a}
dialog.identity-editor785 input,dialog.identity-editor785 select{font-family:inherit!important;font-size:14px!important;font-weight:400!important;min-height:44px;box-sizing:border-box}
dialog.identity-editor785 .identity-footer785{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex:none;padding:14px 24px;background:#f0f3f7;border-top:1px solid #d5e1ed}
dialog.identity-editor785 .identity-footer785 button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:auto;margin:0!important;min-height:44px;padding:10px 16px;font:inherit;font-size:14px;font-weight:600;border:1px solid #bdcfe2;border-radius:4px;background:#f4f7fb;color:#173c60}
dialog.identity-editor785 .identity-footer785 button.primary{background:#245d9c;color:#fff;border-color:#245d9c}
dialog.identity-editor785 .identity-footer785 svg{width:18px;height:18px;flex:none}
