/* Shared employee record sections inside the profile dialog. */
.qef-embedded,.qah-embedded{min-width:0;color:var(--ink)}
.qef-embedded input:not([type=checkbox]),.qef-embedded select,.qef-embedded textarea,.qah-embedded input:not([type=checkbox]),.qah-embedded select,.qah-embedded textarea{width:100%;min-width:0;background:var(--field);color:var(--ink);border:1px solid var(--line);border-radius:8px;padding:10px 11px;font:inherit;font-size:13px}
.qef-embedded input[type=file]{padding:9px;font-size:12px}
.qef-embedded input:focus,.qef-embedded select:focus,.qef-embedded textarea:focus,.qah-embedded input:focus,.qah-embedded select:focus,.qah-embedded textarea:focus{outline:2px solid var(--steel);outline-offset:2px}
.qef-embedded input.qps-date-text,.qah-embedded input.qps-date-text{padding-right:34px}
.qef-embedded .qps-date-calendar input,.qah-embedded .qps-date-calendar input{padding:0}
.qef-embedded .field,.qah-edit-grid .field{display:flex;flex-direction:column;gap:7px;min-width:0}
.qef-embedded .field>span,.qef-embedded .field>label,.qah-edit-grid .field>span{font-size:12px;font-weight:600;line-height:1.5}
.qef-embedded .field>small{font-size:11px;color:var(--muted);line-height:1.6}
.qef-embedded .button:not(.primary),.qah-embedded .button:not(.primary){background:var(--panel);color:var(--ink);border-color:var(--line)}
.qef-embedded .button:not(.primary):hover,.qah-embedded .button:not(.primary):hover{background:var(--blue-soft);border-color:var(--steel)}
.qef-embedded .button.danger{color:var(--danger)}
.qef-embedded .button:disabled,.qah-embedded .button:disabled{opacity:.55;cursor:default}
.qef-embedded dl dt{font-size:11px;color:var(--muted);margin-bottom:6px}
.qef-embedded dl dd{margin:0;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
.qef-embedded .qef-section-head:first-child{margin-top:0}
.qef-profile-assignment{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:12px;padding:16px;margin:14px 0 22px;border:1px solid var(--line);border-radius:10px;background:var(--soft)}
.qef-profile-assignment>p{grid-column:1/-1;font-size:12px;line-height:1.7;margin:0}
.qef-profile-assignment .field{margin:0;min-width:0}
.qah-embedded .qah-filters{grid-template-columns:minmax(180px,1.4fr) repeat(3,minmax(135px,1fr)) auto}
.qah-edit-form{padding:20px;margin:0 0 20px;border:1px solid var(--steel);border-radius:12px;background:var(--soft)}
.qah-edit-form h3{font-size:17px;margin:0 0 7px}
.qah-edit-form header>p{font-size:12px;line-height:1.7;color:var(--muted);margin:0 0 18px;overflow-wrap:anywhere}
.qah-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:17px}
.qah-edit-grid>p,.qah-edit-form>[role=status]{font-size:12px;line-height:1.7}
.qah-edit-form .actions{flex-wrap:wrap}
@media(max-width:1050px){.qah-embedded .qah-filters{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.qah-embedded .qah-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.qah-edit-grid,.qef-profile-assignment{grid-template-columns:minmax(0,1fr)}.qah-edit-form{padding:14px}.qef-embedded .qef-section-head .button{white-space:normal}}
