*{box-sizing:border-box}
body{margin:0;background:#f3f6fb;color:#14243e;font:15px system-ui,Arial}
[hidden]{display:none!important}
header{background:#0d2345;color:white;padding:17px 30px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;line-height:1.2}
.brand img{width:72px;height:auto;border-radius:6px;background:white}
.brand small{display:block;color:#a9c8f0;font-size:12px;font-weight:400;margin-top:4px}
main{display:flex;min-height:calc(100vh - 80px)}
aside{width:220px;background:#102b51;padding:25px 13px;flex-shrink:0}
.nav{display:block;width:100%;text-align:left;background:transparent;color:#c8d8ef;margin-bottom:9px}
.nav.active,.nav:hover{background:#285587;color:white}
section{padding:30px;flex:1;min-width:0;max-width:1400px}
.top,.actions,.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}
.top{justify-content:space-between;margin-bottom:20px}
.filters select{max-width:250px}
h1{margin:0;font-size:27px}h2{margin:0 0 17px;font-size:19px}
.muted{color:#526782;font-size:13px}
.panel,article{background:white;border:1px solid #e2e9f3;border-radius:14px;padding:23px;margin-bottom:20px;box-shadow:0 3px 12px #102b5108}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.cards span{display:block;color:#526782}.cards strong{display:block;font-size:27px;margin-top:10px;color:#123c77}
button,.button{display:inline-block;border:0;border-radius:8px;padding:11px 16px;background:#1769be;color:white;cursor:pointer;font:600 14px system-ui;text-decoration:none}
button:disabled{opacity:.55;cursor:wait}
.ghost{background:#27446c;white-space:nowrap}.secondary{background:#e6f0fc;color:#18528e}
input,select{padding:10px;border:1px solid #ccd8e6;border-radius:8px;background:white;min-width:0;width:100%;font:inherit}
form{display:grid;gap:14px}label{display:grid;gap:7px;font-size:13px;font-weight:600}
.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.scroll{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:11px;border-bottom:1px solid #e7edf5;white-space:nowrap}
th{background:#f8fafd;color:#526782}td button{padding:7px 10px;margin-right:6px}
#employeeTable{margin-top:14px}#message:empty{display:none}#message{font-weight:600;color:#155b9d}#message.error{color:#9e2c2c}
@media(max-width:750px){main{display:block}aside{width:100%;display:flex;overflow:auto;padding:8px}.nav{white-space:nowrap;width:auto;margin:0}section{padding:16px}.grid,.cards{grid-template-columns:1fr}.cards{gap:0}header{padding:12px}.brand{font-size:16px}.brand img{width:50px}.panel{padding:16px}}
.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.module-card{min-height:116px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px;text-align:left;background:white;color:#14243e;border:1px solid #dce6f3;border-radius:14px;box-shadow:0 3px 12px #102b5108}
.module-card:hover{background:#f2f7ff;border-color:#89aad4}
.module-card:focus-visible{outline:3px solid #1769be;outline-offset:2px}
.module-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:9px;background:#e6f0fc;color:#18528e;font-size:22px;line-height:1}
.module-card small{color:#526782;font-weight:400}
dialog{width:min(440px,calc(100% - 32px));padding:24px;border:1px solid #dce6f3;border-radius:14px;color:#14243e}
dialog::backdrop{background:#0d234588}
@media(max-width:1000px){.module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hr-label{margin-bottom:12px}.hr-employee{max-width:360px}.hr-checklist{margin:14px 0}.hr-checklist ul{columns:2;padding-left:22px}.hr-checklist li{break-inside:avoid;padding:4px 0}.hr-checklist button{padding:4px 8px;margin-left:4px}.hr-list{margin-top:12px}.hr-editor textarea{padding:10px;border:1px solid #ccd8e6;border-radius:8px;font:inherit;width:100%}.hr-status:empty{display:none}@media(max-width:600px){.hr-checklist ul{columns:1}}