.personnel-page{color:#183d6b;display:grid;gap:14px;min-width:0}.personnel-context{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.personnel-context b{color:#98a9bf;margin:0 9px}.personnel-context label{display:flex;gap:10px;align-items:center}.personnel-context select{max-width:390px;padding:8px;border:1px solid #cee1f3;border-radius:6px;background:white;color:#183d6b}.personnel-hero{display:flex;gap:18px;align-items:center;background:linear-gradient(110deg,#fff,#eff8ff);border:1px solid #d6e7f7;border-radius:10px;padding:19px 21px}.personnel-hero-icon{flex:none;display:grid;place-items:center;width:68px;height:68px;border-radius:12px;background:#087ff5;color:white;box-shadow:0 6px 14px #117fea26}.personnel-hero-copy{flex:1}.personnel-hero h1{font-size:24px;letter-spacing:-.5px;color:#102b57;line-height:1.3;margin:0 0 7px}.personnel-hero p{margin:0 0 10px;font-size:13px;color:#58718e}.personnel-hero strong{font-size:12px;font-weight:600}.personnel-hero strong span{color:#6884a0}.personnel-photo{width:230px;height:86px;object-fit:cover;border-radius:7px}.personnel-logo{width:70px;height:86px;object-fit:contain}.personnel-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.personnel-kpi{display:flex;gap:13px;align-items:center;color:white;background:var(--personnel-color);border-radius:8px;padding:17px 13px;box-shadow:0 3px 9px #123d6310}.personnel-kpi>span{display:grid;place-items:center;width:49px;height:53px;border-radius:8px;background:#00000012;flex-shrink:0}.personnel-kpi strong{display:block;font-size:27px;line-height:1.1;margin-bottom:6px}.personnel-kpi b{font-size:12px;font-weight:500;line-height:1.35;display:block}.personnel-card{background:white;border:1px solid #dae8f4;border-radius:9px;padding:16px;min-width:0;box-shadow:0 2px 6px #22487104}.personnel-card h2{color:#19365d;font-size:15px;margin:0 0 14px}.personnel-filter-card form{display:grid;grid-template-columns:1fr 1fr 1.2fr .85fr 1.3fr auto auto;gap:12px;align-items:end}.personnel-filter-card label{display:grid;gap:7px;font-size:11px;font-weight:600;min-width:0}.personnel-filter-card select,.personnel-filter-card input{width:100%;min-width:0;background:white;border:1px solid #cee0f2;border-radius:5px;padding:10px 9px;font-size:12px;color:#23486c;height:39px}.personnel-filter-card .btn{height:39px}.personnel-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.personnel-toolbar>div{display:flex;gap:8px;flex-wrap:wrap}.personnel-toolbar .btn{border-color:#d4e5f5;font-size:11px;min-height:37px}.personnel-toolbar .btn.primary{border-color:#087ff5}.personnel-more{position:relative}.personnel-more summary{cursor:pointer;list-style:none}.personnel-more>div{position:absolute;z-index:8;right:0;top:43px;width:235px;padding:10px;background:white;border:1px solid #d8e5f1;border-radius:8px;box-shadow:0 10px 30px #14375020;display:grid;gap:6px}.personnel-list{padding:0;overflow:hidden}.personnel-list-heading{display:flex;justify-content:space-between;align-items:center;padding:15px 17px;border-bottom:1px solid #edf2f8}.personnel-list-heading h2{margin:0}.personnel-list-heading>span{font-size:11px;color:#678099}.personnel-page table{width:100%;font-size:12px}.personnel-page th{font-size:10px;color:#254b77;white-space:normal;background:#edf5fd;border-bottom:1px solid #dae7f5;padding:11px 9px}.personnel-page td{padding:10px 9px;border-bottom:1px solid #eaf0f7;vertical-align:middle}.personnel-page tbody tr:hover{background:#f5faff}.personnel-page td strong{font-size:12px;font-weight:500;display:block;min-width:160px}.personnel-page td small{font-size:10px;display:block;margin-top:4px;color:#6c8197}.personnel-document{font-variant-numeric:tabular-nums;white-space:nowrap}.personnel-row-actions{display:flex;gap:6px}.personnel-icon{display:grid;place-items:center;width:29px;height:28px;color:white;border:0;border-radius:4px;background:#087ff5;cursor:pointer}.personnel-icon.danger{background:#fff1f2;color:#d8465e;border:1px solid #ffcbd3}.personnel-status{display:inline-block;white-space:nowrap;padding:4px 9px;border-radius:4px;font-size:10px;background:#eef2f7;color:#65778a}.ps-ACTIVO{background:#d5f6e9;color:#148457}.ps-LICENCIA{background:#fff0c6;color:#9c6810}.ps-INACTIVO{background:#ffe1e7;color:#b3445a}.personnel-pagination{padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.personnel-pagination nav{display:flex;gap:5px;align-items:center}.personnel-pagination nav>span{padding:0 8px}.personnel-pagination .btn{min-width:29px;padding:7px 9px}.personnel-pagination label{display:flex;gap:8px;align-items:center}.personnel-pagination select{padding:7px;border:1px solid #d3e2f0;border-radius:5px;color:#254b77}.personnel-bottom{display:grid;grid-template-columns:1.15fr 1fr .95fr;gap:12px}.personnel-type-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}.personnel-type-summary>div{text-align:center;border-radius:6px;padding:18px 5px 12px;background:color-mix(in srgb,var(--personnel-color) 13%,white);color:var(--personnel-color);display:grid;justify-items:center;align-content:start;gap:9px}.personnel-type-summary strong{font-size:22px;color:#193b63}.personnel-type-summary span{font-size:10px;line-height:1.4}.personnel-employment{display:flex;align-items:center;justify-content:space-around;gap:15px;min-height:148px}.personnel-donut{width:137px;height:137px;flex:none;border-radius:50%;display:grid;place-items:center}.personnel-donut>div{background:white;border-radius:50%;width:96px;height:96px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:4px}.personnel-donut b{font-size:27px;color:#153b66}.personnel-donut span{font-size:11px}.personnel-employment ul{list-style:none;padding:0;margin:0;display:grid;gap:14px;font-size:11px;flex:1}.personnel-employment li{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.personnel-employment li>i{width:10px;height:10px;border-radius:3px;flex:none}.personnel-employment li>span{flex:1}.personnel-employment small{font-weight:400;color:#6e819c;font-size:10px}.personnel-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:147px}.personnel-quick button{background:var(--personnel-color);border:0;color:white;border-radius:6px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;cursor:pointer;padding:12px 6px;font-size:11px;line-height:1.5}.personnel-footnote{margin:0;font-size:11px;color:#69829b;line-height:1.7}.personnel-form-intro{font-size:12px;color:#647b94;line-height:1.6;margin:0 0 20px}#personnel-form .student-form-section{margin-bottom:18px}#personnel-form .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#personnel-form label:has([name="title"]){grid-column:span 2}.personnel-detail-title{display:flex;align-items:center;gap:17px;margin-bottom:22px}.personnel-detail-title>span{padding:18px;background:#e9f3ff;border-radius:12px;color:#187fe5}.personnel-detail-title h3{font-size:20px;margin:0 0 7px}.personnel-detail-title p{font-size:12px;color:#6b809b}.personnel-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.personnel-detail-grid>div{min-width:0}.personnel-detail-grid dt{font-size:11px;color:#6b809b;margin-bottom:6px}.personnel-detail-grid dd{font-size:13px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.personnel-report-heading{text-align:center;color:#1c446f;margin-bottom:24px}.personnel-report-heading>span{font-size:12px;font-weight:bold;letter-spacing:2px}.personnel-report-heading h2{font-size:22px}.personnel-report-heading p,.personnel-report-note{font-size:12px}#personnel-import-form input[type=file]{max-width:100%;min-width:0;width:100%}#personnel-import-preview{margin-top:20px}#personnel-import-preview td{font-size:12px}.personnel-page button:focus-visible{outline:3px solid #86bafd;outline-offset:3px}
@media(min-width:1500px){.personnel-kpi{padding:20px}.personnel-page th{font-size:11px}.personnel-page td{padding:12px 10px}.personnel-hero h1{font-size:27px}}
@media(max-width:1250px){.personnel-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.personnel-filter-card form{grid-template-columns:repeat(4,minmax(0,1fr))}.personnel-search{grid-column:span 2}.personnel-bottom{grid-template-columns:1fr 1fr}.personnel-bottom>section:last-child{grid-column:1/-1}.personnel-quick{min-height:95px}.personnel-photo{display:none}}
@media(max-width:700px){.personnel-context{display:grid}.personnel-context label{display:grid;gap:5px}.personnel-context select{max-width:100%;width:100%}.personnel-hero{padding:15px;gap:12px}.personnel-hero-icon{width:45px;height:49px}.personnel-hero-icon svg{width:27px}.personnel-hero h1{font-size:19px}.personnel-hero p{font-size:11px}.personnel-logo{display:none}.personnel-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.personnel-kpi{padding:12px 9px;gap:9px}.personnel-kpi>span{width:36px;height:43px}.personnel-kpi svg{width:25px}.personnel-kpi strong{font-size:24px}.personnel-kpi b{font-size:10px}.personnel-filter-card form{grid-template-columns:1fr 1fr}.personnel-filter-card select,.personnel-filter-card input{font-size:16px}.personnel-bottom{grid-template-columns:1fr}.personnel-bottom>section:last-child{grid-column:auto}.personnel-pagination{flex-wrap:wrap}.personnel-pagination nav{order:3;width:100%;justify-content:center}.personnel-list-heading{gap:10px}.personnel-type-summary span{font-size:9px}.personnel-card{padding:13px}.personnel-list{padding:0}.personnel-detail-grid{grid-template-columns:1fr 1fr}.personnel-detail-title h3{font-size:17px}#personnel-form .form-grid{grid-template-columns:1fr}#personnel-form label:has([name="title"]){grid-column:auto}.personnel-toolbar .btn{font-size:10px}.personnel-type-summary{gap:5px}.personnel-context{min-width:0}.personnel-context label{min-width:0}.personnel-report-dialog .dialog-footer{flex-wrap:wrap}}
@media print{body.personnel-print #app,body.personnel-print #toast{display:none!important}body.personnel-print{background:white!important}body.personnel-print #modal{position:static!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;height:auto!important;margin:0!important;padding:0!important;border:0!important;overflow:visible!important;box-shadow:none!important}body.personnel-print #modal::backdrop{display:none}body.personnel-print .dialog-head,body.personnel-print .dialog-footer{display:none!important}body.personnel-print .dialog-body{padding:0!important;overflow:visible!important;max-height:none!important}body.personnel-print .table-scroll{overflow:visible!important}body.personnel-print table{width:100%;font-size:9px;border-collapse:collapse}body.personnel-print th,body.personnel-print td{padding:5px;border:1px solid #bbb;white-space:normal}body.personnel-print tr{break-inside:avoid}body.personnel-print thead{display:table-header-group}body.personnel-print .personnel-report-heading{color:black}.personnel-report{page:personnelReport}@page personnelReport{size:A4 landscape;margin:12mm}}

.sirgila-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}.sirgila-grid .personnel-card{padding:25px}.sirgila-icon{display:inline-flex;padding:14px;background:#e7f2ff;color:#087ff5;border-radius:12px;margin-bottom:18px}.sirgila-grid h2{font-size:18px;margin-bottom:10px}.sirgila-grid p{color:#68809b;font-size:13px;line-height:1.7;min-height:44px}.sirgila-grid .home-link{margin-top:12px}

.personnel-type-summary span{max-width:100%;overflow-wrap:anywhere;hyphens:auto}.personnel-kpi>div{min-width:0}.personnel-kpi b{overflow-wrap:anywhere}
.personnel-teacher-guide{background:#f4f9ff;border:1px solid #d6e7f7;border-radius:8px;padding:13px 16px;grid-column:1/-1;font-size:12px;color:#23486c}.personnel-teacher-guide summary{cursor:pointer;font-weight:600;line-height:1.5}.personnel-teacher-guide dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 0}.personnel-teacher-guide dt{font-weight:600;margin-bottom:5px}.personnel-teacher-guide dd{margin:0;line-height:1.6;color:#58718e}.personnel-teacher-help{grid-column:1/-1;margin:0;padding:12px 15px;background:#eef7ff;border-radius:6px;font-size:12px;line-height:1.6;color:#345a7e}#personnel-form [hidden]{display:none}.cgat-register-teacher-type{display:block;font-size:10px;line-height:1.4;margin-top:4px;font-weight:400}
@media(min-width:1251px){.personnel-filter-card form{grid-template-columns:1fr 1.5fr 1fr 1fr 1fr}.personnel-filter-card .personnel-search{grid-column:span 3}}
@media(max-width:700px){.personnel-teacher-guide dl{grid-template-columns:1fr}}
.personnel-section-filters{padding:18px;margin-bottom:18px}.personnel-section-filters form{display:flex;align-items:end;flex-wrap:wrap;gap:14px}.personnel-section-filters .field{flex:1;min-width:180px;margin:0}.personnel-section-filters .field:first-child{flex:2;min-width:240px}.personnel-section-page .table-card{margin-bottom:18px;overflow:auto}.personnel-section-note{padding:14px 18px;color:#617e9d;font-size:12px;line-height:1.6}.personnel-section-page td.personnel-section-notes{white-space:normal;min-width:180px;max-width:340px;overflow-wrap:anywhere}.nav-personnel>div .nav-item span{white-space:normal;line-height:1.5}

/* Personnel editor: scoped to create/edit; other dialogs keep their own layout. */
html:has(#modal.personnel-form-dialog[open]){overflow:hidden}
#modal.personnel-form-dialog.wide-dialog{width:min(1160px,calc(100vw - 40px));max-height:calc(100dvh - 40px);border-radius:17px}
#modal.personnel-form-dialog>.dialog-head{padding:17px 24px;align-items:center;border-bottom:1px solid #3a78a6;box-shadow:none}
#modal.personnel-form-dialog .pf-heading{display:flex;align-items:center;gap:14px;min-width:0}
#modal.personnel-form-dialog .pf-heading-icon{display:grid;place-items:center;width:48px;height:50px;flex:none;background:#ffffff12;border:1px solid #ffffff29;border-radius:11px;color:#d9edff}
#modal.personnel-form-dialog .pf-eyebrow{display:block;margin-bottom:5px;color:#c5def3;font-size:10px;font-weight:700;letter-spacing:1.3px}
#modal.personnel-form-dialog .dialog-head h2{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:0}
#modal.personnel-form-dialog .pf-heading p{font-size:12px;line-height:1.5;color:#d4e7f7;margin:6px 0 0}
#modal.personnel-form-dialog>.dialog-body{padding:17px 23px 22px;scrollbar-gutter:stable;background:#f3f7fb;scroll-padding-block:18px}
#modal.personnel-form-dialog [hidden]{display:none}
#modal.personnel-form-dialog .pf-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px;font-size:11px;color:#6a7f93;line-height:1.5}
#modal.personnel-form-dialog .pf-intro>span:first-child{display:flex;align-items:center;gap:7px;font-weight:600;color:#486a86}
#modal.personnel-form-dialog .pf-intro b{color:#b92e43}
#modal.personnel-form-dialog .pf-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:17px;align-items:start}
#modal.personnel-form-dialog .pf-section{min-width:0;background:#fff;border:1px solid #d7e3ef;border-radius:11px;padding:18px;box-shadow:0 2px 8px #17395705}
#modal.personnel-form-dialog .pf-section>header{display:flex;align-items:center;gap:10px;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #e8eef5}
#modal.personnel-form-dialog .pf-section-number{display:grid;place-items:center;flex:none;width:33px;height:34px;border-radius:9px;background:#eaf4fd;color:#216ba6;border:1px solid #d6e8f7;font-size:11px;font-weight:750}
#modal.personnel-form-dialog .pf-section h3{margin:0 0 4px;font-size:15px;line-height:1.4;color:#1d405d;letter-spacing:-.15px}
#modal.personnel-form-dialog .pf-section header p{margin:0;font-size:11px;line-height:1.45;color:#718599}
#modal.personnel-form-dialog .pf-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 12px}
#modal.personnel-form-dialog .pf-context{margin-bottom:17px;background:#fdfefe}
#modal.personnel-form-dialog .pf-context .pf-grid{grid-template-columns:minmax(0,2fr) minmax(0,1.3fr) minmax(115px,.55fr)}
#modal.personnel-form-dialog .pf-context>header{border-bottom:0;padding-bottom:0;margin-bottom:14px}
#modal.personnel-form-dialog .pf-context header p{display:none}
#modal.personnel-form-dialog .pf-context h3{margin:0}
#modal.personnel-form-dialog .pf-context .pf-section-number{width:27px;height:28px;border-radius:7px}
#modal.personnel-form-dialog .pf-employment>.pf-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#modal.personnel-form-dialog .pf-full,#modal.personnel-form-dialog .pf-grid>.full,#modal.personnel-form-dialog .personnel-teacher-guide{grid-column:1/-1}
#modal.personnel-form-dialog .pf-subgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding-top:13px;border-top:1px solid #e8eef5}
#modal.personnel-form-dialog .pf-dates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#modal.personnel-form-dialog .field{display:flex;flex-direction:column;min-width:0;margin:0;gap:6px;font-size:12px;line-height:1.4}
#modal.personnel-form-dialog .field>span:first-child{font-size:12px;color:#36556f;font-weight:650}
#modal.personnel-form-dialog .field :is(input:not([type=checkbox]),select,textarea){width:100%;min-width:0;min-height:42px;border:1px solid #c3d5e5;border-radius:7px;background:#fcfdff;color:#244761;padding:10px 11px;font-size:13px;font-weight:400;line-height:1.45;box-shadow:0 1px 2px #18395704}
#modal.personnel-form-dialog .field :is(input:not([type=checkbox]),select){height:42px}
#modal.personnel-form-dialog .field textarea{min-height:92px;resize:vertical}
#modal.personnel-form-dialog .field :is(input,select,textarea):focus{outline:2px solid #287fb7;outline-offset:1px;border-color:#287fb7;background:#fff;box-shadow:0 0 0 4px #287fb717}
#modal.personnel-form-dialog .field :is(input,select):disabled{background:#eff4f8;color:#637c91}
#modal.personnel-form-dialog .personnel-teacher-help{margin:0;padding:9px 11px;border-left:3px solid #72a8d0;border-radius:5px;background:#edf5fc;font-size:11px;line-height:1.55;color:#4e6e8b}
#modal.personnel-form-dialog .personnel-teacher-guide{margin:0;padding:10px 12px;background:#f7fafc;border:1px solid #e0e8f0;font-size:11px;border-radius:7px}
#modal.personnel-form-dialog .personnel-teacher-guide summary{line-height:1.55;color:#3c6587}
#modal.personnel-form-dialog .personnel-teacher-guide dl{grid-template-columns:1fr;gap:12px;margin-top:13px}
#modal.personnel-form-dialog>.dialog-footer{padding:13px 23px;gap:14px;justify-content:space-between;border-top:1px solid #d5e2ee;box-shadow:0 -3px 12px #1d415606}
#modal.personnel-form-dialog .dialog-footer>.pf-footer-note{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.5;color:#6a8094;max-width:55%}
#modal.personnel-form-dialog .pf-footer-note svg{flex:none}
#modal.personnel-form-dialog .dialog-footer>.pf-actions{gap:9px;flex-wrap:nowrap;flex:none;margin-left:auto}
#modal.personnel-form-dialog .pf-actions .btn{min-height:43px;padding:10px 18px;font-size:12px;border-radius:8px}
#modal.personnel-form-dialog .pf-actions .primary{background:linear-gradient(110deg,#1267a6,#1683ca);border-color:#1469a3;box-shadow:0 3px 7px #145c9626}
@media(max-width:900px){
 #modal.personnel-form-dialog .pf-layout{grid-template-columns:1fr}
 #modal.personnel-form-dialog .pf-identity .pf-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 #modal.personnel-form-dialog .pf-identity .field:has([name=document]),#modal.personnel-form-dialog .pf-identity .field:has([name=title]){grid-column:auto}
 #modal.personnel-form-dialog .pf-context .pf-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #modal.personnel-form-dialog .pf-context .field:first-child{grid-column:1/-1}
}
@media(max-width:600px){
 #modal.personnel-form-dialog.wide-dialog{width:calc(100vw - 14px);max-height:calc(100dvh - 14px);border-radius:13px}
 #modal.personnel-form-dialog>.dialog-head{padding:16px;gap:10px}
 #modal.personnel-form-dialog .pf-heading-icon{display:none}
 #modal.personnel-form-dialog .dialog-head h2{font-size:21px}
 #modal.personnel-form-dialog .pf-heading p{font-size:11px;max-width:255px}
 #modal.personnel-form-dialog .pf-eyebrow{font-size:9px}
 #modal.personnel-form-dialog>.dialog-body{padding:15px 12px;scrollbar-gutter:auto}
 #modal.personnel-form-dialog .pf-intro{flex-direction:column;align-items:flex-start;gap:5px;font-size:10px}
 #modal.personnel-form-dialog .pf-section{padding:15px 13px}
 #modal.personnel-form-dialog .pf-context{margin-bottom:14px}
 #modal.personnel-form-dialog .pf-layout{gap:14px}
 #modal.personnel-form-dialog .pf-grid,#modal.personnel-form-dialog .pf-identity .pf-grid,#modal.personnel-form-dialog .pf-context .pf-grid,#modal.personnel-form-dialog .pf-employment>.pf-grid,#modal.personnel-form-dialog .pf-dates{grid-template-columns:1fr;gap:15px}
 #modal.personnel-form-dialog .pf-subgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
 #modal.personnel-form-dialog .pf-subgrid .field:last-child{grid-column:1/-1}
 #modal.personnel-form-dialog .field :is(input:not([type=checkbox]),select,textarea){font-size:16px;min-height:46px}
 #modal.personnel-form-dialog .field :is(input:not([type=checkbox]),select){height:46px}
 #modal.personnel-form-dialog .field textarea{min-height:100px}
 #modal.personnel-form-dialog>.dialog-footer{padding:12px}
 #modal.personnel-form-dialog .dialog-footer>.pf-footer-note{display:none}
 #modal.personnel-form-dialog .dialog-footer>.pf-actions{display:grid;grid-template-columns:auto 1fr;width:100%;gap:8px}
 #modal.personnel-form-dialog .pf-actions .btn{padding:11px 13px}
}

/* Staff profile: identity, employment and provenance remain separate at every width. */
#modal.personnel-detail-dialog.wide-dialog{width:min(1120px,calc(100vw - 32px));border-radius:16px}
#modal.personnel-detail-dialog>.dialog-head{padding:16px 24px;border-bottom:0;background:#153b60;box-shadow:none}
#modal.personnel-detail-dialog>.dialog-head h2{font-size:19px;letter-spacing:-.25px}
#modal.personnel-detail-dialog>.dialog-head>.icon-btn{width:34px;height:34px;min-width:34px;font-size:23px;border-radius:8px}
#modal.personnel-detail-dialog>.dialog-body{padding:22px 24px;background:#f3f6fa;color:#243f57;scrollbar-gutter:auto}
#modal.personnel-detail-dialog>.dialog-footer{justify-content:space-between;padding:14px 24px;gap:16px}
.personnel-detail-dialog .pd-identity{display:flex;align-items:center;gap:18px;padding:0 0 20px;margin-bottom:18px;border-bottom:1px solid #dbe4ee;min-width:0}
.personnel-detail-dialog .pd-avatar{display:grid;place-items:center;flex:none;width:66px;height:66px;border-radius:16px;background:#e0ecf8;border:1px solid #cbddef;color:#215a8c;font-size:23px;font-weight:750;letter-spacing:1px}
.personnel-detail-dialog .pd-identity-copy{flex:1;min-width:0}
.personnel-detail-dialog .pd-eyebrow{display:block;margin-bottom:5px;font-size:10px;line-height:1.4;letter-spacing:1.25px;text-transform:uppercase;color:#5c7187;font-weight:700}
#modal.personnel-detail-dialog .pd-identity h3{font-size:23px;line-height:1.25;letter-spacing:-.5px;margin:0 0 7px;color:#173957;overflow-wrap:anywhere}
.personnel-detail-dialog .pd-identity p{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;line-height:1.5;color:#536d86;overflow-wrap:anywhere}
.personnel-detail-dialog .pd-identity p svg{flex:none}
.personnel-detail-dialog .pd-identity-meta{display:flex;flex-wrap:wrap;gap:8px 20px;margin:10px 0 0;font-size:11px;line-height:1.5}
.personnel-detail-dialog .pd-identity-meta>div{display:flex;gap:7px;min-width:0;flex-wrap:wrap}
.personnel-detail-dialog .pd-identity-meta dt{color:#64788d}
.personnel-detail-dialog .pd-identity-meta dd{margin:0;font-weight:650;color:#244662}
.personnel-detail-dialog .pd-document{font-variant-numeric:tabular-nums;letter-spacing:.5px}
.personnel-detail-dialog .pd-status{display:grid;justify-items:end;gap:8px;flex:none;align-self:flex-start;padding-top:5px}
.personnel-detail-dialog .pd-status>span:first-child{font-size:10px;letter-spacing:.4px;color:#64788d}
.personnel-detail-dialog .personnel-status{display:inline-flex;align-items:center;gap:6px;border-radius:20px;padding:6px 11px;font-size:11px;font-weight:650;line-height:1.4}
.personnel-detail-dialog .personnel-status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.personnel-detail-dialog .pd-content-grid{display:grid;grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:16px;align-items:stretch}
.personnel-detail-dialog .pd-card{min-width:0;background:white;border:1px solid #dce5ee;border-radius:11px;overflow:hidden;box-shadow:0 2px 4px #193b5c03}
.personnel-detail-dialog .pd-card>header{display:flex;align-items:center;gap:9px;padding:13px 17px;border-bottom:1px solid #e7edf4;color:#3778a9;background:#fcfdff}
#modal.personnel-detail-dialog .pd-card>header h3{margin:0;font-size:13px;line-height:1.4;letter-spacing:0;font-weight:700}
.personnel-detail-dialog .pd-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 20px;padding:18px;margin:0}
.personnel-detail-dialog .pd-fields>div{min-width:0}
.personnel-detail-dialog .pd-fields dt,.personnel-detail-dialog .pd-source dt{margin-bottom:5px;font-size:11px;line-height:1.5;color:#64788d}
.personnel-detail-dialog .pd-fields dd{font-size:13px;line-height:1.55;font-weight:550;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.personnel-detail-dialog .pd-fields .pd-field-wide{grid-column:1/-1;border-top:1px solid #e7edf4;padding-top:13px}
.personnel-detail-dialog .pd-fields-single{grid-template-columns:1fr;gap:16px}
.personnel-detail-dialog .pd-empty{color:#748292;font-weight:400;font-style:italic}
.personnel-detail-dialog .pd-side{display:grid;gap:14px;grid-template-rows:auto 1fr;min-width:0}
.personnel-detail-dialog .pd-notes{margin:0;padding:16px 18px;font-size:13px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}
.personnel-detail-dialog .pd-trace{margin-top:16px;border:1px solid #dce5ee;border-radius:9px;background:#fff;overflow:hidden;font-size:12px}
.personnel-detail-dialog .pd-trace>summary{display:flex;align-items:center;gap:10px;cursor:pointer;padding:12px 16px;color:#48657f;list-style:none;font-weight:650;line-height:1.5}
.personnel-detail-dialog .pd-trace>summary::-webkit-details-marker{display:none}
.personnel-detail-dialog .pd-trace>summary>span:first-child{display:flex;align-items:center;gap:8px;flex:1}
.personnel-detail-dialog .pd-trace>summary::after{content:"";width:6px;height:6px;flex:none;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 2px 4px 8px}
.personnel-detail-dialog .pd-trace[open]>summary::after{transform:rotate(225deg);margin-bottom:-2px}
.personnel-detail-dialog .pd-trace>summary:hover{background:#f5f9fd}
.personnel-detail-dialog .pd-trace-count{font-size:10px;font-weight:500;padding:2px 7px;background:#edf3f8;border-radius:4px;color:#64788d;white-space:nowrap}
.personnel-detail-dialog .pd-trace-content{padding:14px 17px;border-top:1px solid #e7edf4}
.personnel-detail-dialog .pd-trace-content>p{margin:0;line-height:1.6}
.personnel-detail-dialog .pd-trace-content>p+p{margin-top:6px}
.personnel-detail-dialog .pd-source{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:18px;margin:0 0 12px}
.personnel-detail-dialog .pd-source dd{margin:0;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap}
.personnel-detail-dialog .pd-attachments{display:grid;gap:6px;padding:0;margin:12px 0 0;list-style:none}
.personnel-detail-dialog .pd-attachments a{display:inline-flex;align-items:center;gap:8px;color:#216ca7;line-height:1.6;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;max-width:100%;padding:4px 0}
.personnel-detail-dialog .pd-attachments a svg{flex:none}
#modal.personnel-detail-dialog .pd-audit{flex:1;flex-wrap:nowrap;justify-content:flex-start;min-width:0;gap:9px;color:#667c90;font-size:11px;line-height:1.5}
.personnel-detail-dialog .pd-audit>svg{flex:none}
.personnel-detail-dialog .pd-audit>div{display:grid;gap:2px;min-width:0;overflow-wrap:anywhere}
.personnel-detail-dialog .pd-audit small{font-size:10px;color:#738598}
#modal.personnel-detail-dialog .pd-footer-actions{flex:none;gap:8px}
@media(max-width:760px){
 #modal.personnel-detail-dialog .pd-content-grid{grid-template-columns:1fr}
 .personnel-detail-dialog .pd-side{grid-template-columns:1fr 1fr;grid-template-rows:auto}
 .personnel-detail-dialog .pd-fields{gap:18px}
 #modal.personnel-detail-dialog .pd-identity h3{font-size:20px}
}
@media(max-width:520px){
 #modal.personnel-detail-dialog.wide-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
 #modal.personnel-detail-dialog>.dialog-head{padding:13px 16px}
 #modal.personnel-detail-dialog>.dialog-head h2{font-size:17px}
 #modal.personnel-detail-dialog>.dialog-body{padding:18px 14px}
 #modal.personnel-detail-dialog>.dialog-footer{padding:12px 14px;gap:12px}
 .personnel-detail-dialog .pd-identity{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:start;padding-bottom:16px;margin-bottom:16px}
 .personnel-detail-dialog .pd-avatar{width:48px;height:48px;font-size:18px;border-radius:12px}
 .personnel-detail-dialog .pd-status{grid-column:2;display:flex;align-items:center;gap:10px;padding:0;justify-self:start}
 #modal.personnel-detail-dialog .pd-identity h3{font-size:19px}
 .personnel-detail-dialog .pd-identity-meta{gap:6px 14px}
 .personnel-detail-dialog .pd-fields{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:17px 14px}
 .personnel-detail-dialog .pd-fields-single,.personnel-detail-dialog .pd-side,.personnel-detail-dialog .pd-source{grid-template-columns:1fr}
 #modal.personnel-detail-dialog .pd-audit{flex-basis:100%}
 #modal.personnel-detail-dialog .pd-footer-actions{margin-left:auto}
 .personnel-detail-dialog .pd-trace>summary{padding:12px}
}
