.mh-replacement-dialog{width:min(620px,calc(100% - 28px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--border,#d4deed);border-radius:18px;padding:22px;color:var(--text,#162943);background:var(--surface,#fff);box-shadow:0 24px 70px #071a3e44}
.mh-replacement-dialog::backdrop{background:#08172f99}
.mh-replacement-dialog header{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mh-replacement-dialog h2{font-size:20px;margin:0}
.mh-replacement-dialog [data-close]{border:1px solid var(--border,#d4deed);border-radius:10px;color:inherit;background:transparent;font-size:23px;padding:4px 12px}
.mh-replacement-dialog p{line-height:1.5}
.mh-replacement-dialog label{display:grid;gap:6px;margin:14px 0;font-weight:700;font-size:13px}
.mh-replacement-dialog :is(input,select){width:100%;min-height:44px;box-sizing:border-box;border:1px solid var(--border,#cddbef);border-radius:10px;background:var(--surface,#fff);color:inherit;padding:9px;font:inherit;font-size:16px}
.mh-replacement-dialog button:disabled{opacity:.5;cursor:not-allowed}
.mh-replacement-dialog [data-message]:empty{display:none}
.mh-replacement-dialog [data-message]:not(:empty){background:var(--mh-blue-pale,#e9f1ff);padding:13px;border:1px solid var(--border,#cddbef);border-radius:10px;color:inherit}
.mh-not-in-area{background:#e8edf4!important;color:#67798e!important;text-align:center;font-size:12px}.mh-not-in-area span{cursor:help}
html[data-theme="dark"] .mh-replacement-dialog{background:#263548;color:#edf3fb;border-color:#51637a}
html[data-theme="dark"] .mh-replacement-dialog :is(input,select){background:#1f2d3e;border-color:#51637a}
html[data-theme="dark"] .mh-replacement-dialog [data-message]:not(:empty){background:#344a66;border-color:#5e7898}
html[data-theme="dark"] .mh-not-in-area{background:#2b394a!important;color:#b9c8dc!important}
@media(max-width:600px){.mh-replacement-dialog{padding:17px}}
.mh-transfer-steps{display:flex;gap:10px;list-style:none;margin:0 0 18px;padding:0;font-size:12px;font-weight:800;color:#6a7c96}
.mh-transfer-steps li{flex:1;padding:9px 12px;border-radius:9px;background:#f0f4fa}
.mh-transfer-steps [aria-current="step"]{background:#e6efff;color:#174cb7}
.mh-transfer-summary{padding:15px 17px;border:1px solid #d9e3f0;border-radius:12px;background:#f7f9fd;line-height:1.5;overflow-wrap:anywhere}
.mh-transfer-summary strong{display:block;font-size:15px}.mh-transfer-summary div{margin:5px 0;font-size:14px}.mh-transfer-summary span{font-size:12px;color:#657893}
.mh-review-title{margin:0 0 13px;font-size:18px}
#empModalOverlay .modal:has(#empTransferStep:not([hidden])){width:min(620px,100%)!important}
#empModalOverlay .mh-employee-actions{position:sticky;bottom:-16px;margin-left:-16px;margin-right:-16px;margin-bottom:-16px;padding:12px 16px;background:#fff;border-top:1px solid #e1e8f2;z-index:1}
html[data-theme="dark"] #empModalOverlay .mh-employee-actions{background:#263548;border-color:#4a607a}
.mh-person-review{margin:13px 0 0;border-top:1px solid #d9e3f0;padding-top:8px}
.mh-transfer-summary .mh-person-review div{display:grid;grid-template-columns:62px 1fr;gap:12px;margin:4px 0;font-size:13px;line-height:1.5}
.mh-person-review dt{color:#657893}.mh-person-review dd{margin:0;font-weight:650;overflow-wrap:anywhere}
.mh-transfer-options{border:0;margin:16px 0 0;padding:0;min-width:0}
.mh-transfer-options legend{font-size:19px;font-weight:850;margin-bottom:14px;padding:0}
.mh-transfer-option{display:flex;align-items:flex-start;gap:12px;padding:17px;margin:0 0 10px;border:1px solid #cedbec;border-radius:13px;cursor:pointer;transition:background .15s,border-color .15s}
.mh-transfer-option input{accent-color:#245de1;width:18px;height:18px;flex-shrink:0;margin:2px 0 0}
.mh-transfer-option strong{display:block;font-size:15px;line-height:1.4}.mh-transfer-option small{display:block;margin-top:5px;color:#61758f;font-size:13px;line-height:1.5}
.mh-transfer-option:has(input:checked){background:#edf3ff;border-color:#4679e8;box-shadow:0 0 0 1px #4679e8}
.mh-transfer-option:has(input:focus-visible){outline:3px solid #94b5ff;outline-offset:3px}
.mh-transfer-option:has(input:disabled){cursor:default}.mh-transfer-note{font-size:12px;color:#61758f;line-height:1.6;margin:15px 0 0}
#empModalOverlay [hidden]{display:none!important}
html[data-theme="dark"] .mh-transfer-steps li{background:#1e2d40;color:#b6c6dc}
html[data-theme="dark"] .mh-transfer-steps [aria-current="step"]{background:#344f77;color:#e0ebff}
html[data-theme="dark"] .mh-transfer-summary{background:#203044;border-color:#4a607a}
html[data-theme="dark"] .mh-person-review{border-color:#4a607a}html[data-theme="dark"] .mh-person-review dt{color:#b9c9de}
html[data-theme="dark"] :is(.mh-transfer-summary span,.mh-transfer-option small,.mh-transfer-note){color:#b9c9de}
html[data-theme="dark"] .mh-transfer-option{border-color:#526a86}
html[data-theme="dark"] .mh-transfer-option:has(input:checked){background:#304d76;border-color:#8aafff;box-shadow:0 0 0 1px #8aafff}
@media(max-width:480px){.mh-transfer-option{padding:14px}.mh-transfer-options legend{font-size:18px}.mh-transfer-summary{padding:13px}.mh-transfer-steps{gap:5px;font-size:11px}.mh-transfer-steps li{padding:9px 6px;text-align:center}}
