/* Local PF/PJ editor. No Funnel or list layout overrides. */
.registry-dialog{width:min(1060px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:min(850px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #c5d5e6;border-radius:8px;box-sizing:border-box;color:#102d50;background:#fff;box-shadow:0 20px 80px #102d5033;font:13px 'Segoe UI',Arial,sans-serif}
.registry-dialog::backdrop{background:#102d5066}.registry-dialog form{height:100%;display:flex;flex-direction:column;min-height:0;margin:0;position:relative}.registry-head{display:flex;justify-content:space-between;align-items:start;gap:14px;padding:18px 22px;border-bottom:1px solid #dce5ef;flex:none}.registry-head small{font-size:9px;letter-spacing:.7px;color:#60748a}.registry-head h2{font-size:22px;margin:5px 0 4px;font-weight:650;overflow-wrap:anywhere}.registry-head p{font-size:11px;color:#60748a;margin:0}.registry-head>button{font-size:23px;width:34px;flex:none;padding:0}
.registry-dialog button{font:12px 'Segoe UI',Arial,sans-serif;color:#102d50;background:#fff;border:1px solid #c5d5e6;border-radius:5px;min-height:34px;padding:7px 11px;cursor:pointer;box-sizing:border-box}.registry-dialog button:hover{background:#edf3f9;border-color:#9fb8d1}.registry-dialog button:focus-visible,.registry-dialog input:focus-visible,.registry-dialog select:focus-visible,.registry-dialog textarea:focus-visible{outline:3px solid #0078d459;outline-offset:1px}.registry-dialog .registry-primary{background:#0078d4;color:white;border-color:#0078d4;font-weight:600}.registry-tabs{display:flex;gap:4px;flex:none;overflow-x:auto;padding:9px 18px;background:#f7f9fc;border-bottom:1px solid #dce5ef}.registry-tabs button{white-space:nowrap;border-color:transparent;background:transparent;font-size:12px}.registry-tabs button[aria-selected=true]{background:#fff;border-color:#b9d1e6;color:#005a9e;font-weight:600;box-shadow:inset 0 -2px #0078d4}
.registry-body{padding:18px 22px;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}.registry-body h3{font-size:13px;margin:0 0 12px}.registry-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;margin-bottom:18px}.registry-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#526b85;font-size:11px}.registry-field b{color:#b42318}.registry-field input,.registry-field select,.registry-field textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #c5d5e6;border-radius:4px;background:#fff;color:#102d50;font:12px 'Segoe UI',Arial,sans-serif;min-height:36px;padding:8px 10px}.registry-field textarea{resize:vertical}.registry-field:has(textarea){grid-column:1/-1}.registry-field input[readonly],.registry-field select:disabled,.registry-field textarea[readonly]{background:#f7f9fc;color:#294a6a;opacity:1}.registry-field [aria-invalid=true]{border-color:#b42318}.registry-checkbox{display:flex;align-items:center;gap:8px;font-size:11px;color:#526b85;align-self:center;min-height:34px}.registry-checkbox input{width:16px;height:16px;flex:none}.registry-section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.registry-section-head h3{margin:0}.registry-repeat{margin:20px 0}.registry-repeat fieldset{border:1px solid #d8e3ef;border-radius:5px;padding:14px;margin:0 0 12px;background:#fbfcfe;min-width:0}.registry-repeat legend{color:#526b85;font-size:11px;padding:0 6px}.registry-repeat .registry-grid{margin-bottom:10px}.registry-repeat [data-registry-action=remove]{font-size:11px;color:#a23024;min-height:28px;padding:4px 9px;background:#fff}
.registry-help{font-size:11px;color:#60748a;line-height:1.6;background:#f5f8fc;border:1px solid #e1e8f1;border-radius:4px;padding:10px 12px;margin:0 0 16px}.registry-errors,.registry-warning{padding:12px 14px;border:1px solid #e5b8ad;border-radius:5px;background:#fff5f2;color:#9a2c1f;font-size:12px;margin:0 0 16px}.registry-errors ul{padding-left:18px;margin:8px 0 0}.registry-warning{background:#f0f7fd;border-color:#bad5eb;color:#24557d}.registry-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #dce5ef;padding:12px 22px;background:#f7f9fc;flex:none}.registry-footer>span{font-size:10px;color:#60748a}.registry-footer>div{display:flex;gap:8px;flex-wrap:wrap}.registry-link-list,.registry-history{list-style:none;padding:0;margin:0 0 20px}.registry-link-list li,.registry-history li{padding:12px;border:1px solid #dce5ef;border-left:3px solid #aacde8;border-radius:4px;margin-bottom:8px;font-size:12px}.registry-link-list span,.registry-history small{display:block;font-size:11px;color:#60748a;margin-top:5px}.registry-history p{font-size:11px;color:#526b85;overflow-wrap:anywhere}.registry-discard{position:absolute;inset:auto 12px 12px;background:#fff9ed;border:1px solid #ddbe79;padding:16px;border-radius:5px;box-shadow:0 4px 20px #102d5030;display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap;font-size:12px}
@media(max-width:800px){.registry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.registry-footer{align-items:start;flex-direction:column}.registry-dialog{height:calc(100dvh - 24px);max-height:calc(100dvh - 24px)}}
@media(max-width:500px){.registry-dialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px)}.registry-head{padding:14px}.registry-head h2{font-size:19px}.registry-tabs{padding:7px 10px}.registry-body{padding:14px}.registry-grid{grid-template-columns:minmax(0,1fr);gap:12px}.registry-footer{padding:10px 14px}.registry-footer>div{width:100%;justify-content:flex-end}.registry-footer [data-registry-action=example]{margin-right:auto;font-size:10px}.registry-repeat fieldset{padding:12px}.registry-tabs button{font-size:11px;padding:7px 9px}}
.crm-people-pilot .people-table td[data-label="Empresa vinculada"]{white-space:normal;max-width:240px;min-width:140px;line-height:1.5}

.registry-member{border:1px solid #d8e3ef;border-radius:5px;margin-bottom:10px;background:#fbfcfe}.registry-member summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;cursor:pointer;font-size:12px;list-style:none}.registry-member summary::before{content:'›';color:#0078d4;font-size:18px}.registry-member[open] summary::before{content:'⌄'}.registry-member summary strong{margin-right:auto;font-size:12px}.registry-member summary span{color:#60748a;white-space:nowrap;font-size:11px}.registry-member fieldset{border:0;border-top:1px solid #e1e8f1;margin:0;border-radius:0;background:white}.registry-member legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:clip}.registry-member summary:focus-visible{outline:3px solid #0078d459;outline-offset:-2px}.people-commandbar button:disabled{opacity:.6;cursor:not-allowed}

/* 5.3.1: compact shared editor; footer remains in the non-scrolling flex row. */
.registry-head{padding:12px 18px;align-items:center;min-height:60px;box-sizing:border-box}.registry-head h2{margin:0;font-size:21px}.registry-title-line{display:flex;align-items:center;gap:12px;min-width:0}.registry-kind{font-size:10px;background:#e8f3fc;color:#005a9e;padding:4px 7px;border-radius:4px;flex:none}.registry-tabs{padding:6px 14px}.registry-body{padding:14px 18px}.registry-grid{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px 14px}.registry-field{grid-column:span 4}.registry-checkbox{grid-column:span 4}.registry-field[data-field-path="crm53.kind"],.registry-field[data-field-path="doc"],.registry-field[data-field-path="crm53.status"],.registry-field[data-field-path="type"]{grid-column:span 3}.registry-field[data-field-path="name"],.registry-field[data-field-path="owner"]{grid-column:span 6}.registry-field[data-field-path$=".name"],.registry-field[data-field-path$=".street"],.registry-field[data-field-path$=".mother"],.registry-field[data-field-path$=".father"]{grid-column:span 6}.registry-field[data-field-path$=".percent"],.registry-field[data-field-path$=".digit"],.registry-field[data-field-path$=".state"],.registry-field[data-field-path$=".number"]{grid-column:span 2}.registry-field[data-field-path$=".doc"],.registry-field[data-field-path$=".birthDate"],.registry-field[data-field-path$=".zip"],.registry-field[data-field-path$=".agency"]{grid-column:span 3}.registry-field:has(textarea){grid-column:1/-1}.registry-footer{padding:10px 18px}.registry-save-notice{display:block;color:#24557d;font-size:10px;max-width:350px}.registry-member summary{padding:10px 12px}.member-identity{min-width:0;flex:1}.member-identity strong{display:block}.member-identity small{display:block;color:#60748a;font-size:10px;margin-top:5px}.member-summary-right{display:flex;align-items:center;gap:12px;flex:none}.member-summary-right b{font-size:12px;color:#102d50}.member-status{background:#eef3f8;padding:4px 7px;border-radius:4px}.registry-sharebar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;background:#eef6fd;border-bottom:1px solid #c5d9ec;flex:none;font-size:11px;color:#526b85}.registry-sharebar strong{font-size:12px;color:#102d50}.registry-sharebar strong span{margin-left:8px;font-size:16px;color:#005a9e}.registry-sharebar.over{background:#fff2ee;border-color:#e6b9ac;color:#a33122}.registry-sharebar.over strong span{color:#b42318}.societary-history{margin:14px 0;color:#526b85;font-size:11px}.societary-history summary{cursor:pointer;padding:10px 0}.registry-link-list li button{margin:9px 0 0}.company-link-count{display:inline-block!important;font-size:10px!important;color:#005a9e!important;white-space:nowrap;margin-left:7px;padding:2px 5px;background:#e8f3fc;border-radius:4px}.crm-people-pilot .people-table td[data-label="Empresa vinculada"]{white-space:nowrap;max-width:240px;min-width:140px}.crm-people-pilot .people-table td[data-label="Empresa vinculada"]>span{display:inline-block;max-width:190px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
@media(max-width:800px){.registry-field,.registry-checkbox{grid-column:span 6!important}.registry-field:has(textarea){grid-column:1/-1!important}.registry-sharebar{align-items:flex-start;flex-wrap:wrap;gap:5px}.member-summary-right{gap:6px;flex-direction:column;align-items:end}}
@media(max-width:500px){.registry-head{padding:11px 14px;min-height:58px}.registry-head h2{font-size:18px}.registry-title-line{gap:8px}.registry-grid{grid-template-columns:minmax(0,1fr)}.registry-field,.registry-checkbox{grid-column:1/-1!important}.registry-sharebar{padding:8px 14px}.registry-sharebar strong span{font-size:15px}.registry-member summary{gap:8px}.member-identity small{line-height:1.5;overflow-wrap:anywhere}.member-summary-right{max-width:76px}.registry-member summary strong{font-size:11px}}

/* Availability is indicated without adding rows or changing summary dimensions. */
.registry-member.is-filled{border-color:#bbd0e3}.registry-member.is-filled>summary{background:#f1f6fc;box-shadow:inset 3px 0 #286bb2}.registry-member.is-filled .member-status{background:#e1edf8;color:#24557d}
.registry-member.is-available{border-style:dashed;border-color:#b8c6d4}.registry-member.is-available>summary{background:#fafbfd}.registry-member.is-available .member-identity strong{color:#52667d}.registry-member.is-available .member-status{background:#eef1f5;color:#52667d}
