:root{font-family:system-ui,sans-serif;color:#34495e;background:#f4f7f9;font-size:16px}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}header{background:#173f69;color:white;padding:16px 28px;display:flex;align-items:center;gap:24px;flex-wrap:wrap}header img{height:55px;width:58px;object-fit:contain}header a{color:white;margin-left:auto}main{max-width:1280px;margin:32px auto;padding:0 22px}section{background:white;border-radius:12px;padding:28px;box-shadow:0 6px 25px #173f6910}h1,h2{color:#173f69}p{line-height:1.6}form{max-width:850px}label{display:block;margin:14px 0}input,select,button,.directory-nav-link{font:inherit;padding:11px;border-radius:5px;border:1px solid #bbc3c9}input:not([type=checkbox]),select{display:block;width:100%;margin-top:6px}button,.directory-nav-link{background:#173f69;color:white;cursor:pointer;font-weight:600}button:disabled{opacity:.5;cursor:default}.check{display:flex;gap:10px;align-items:center}.actions,nav{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}#search{max-width:440px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.scroll{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}td,th{padding:13px;border-bottom:1px solid #dce2e7}td button{margin:3px}.danger{background:#aa2638}#notice{white-space:pre-line;padding:12px;background:#eaf1f8;border-radius:6px}#notice:empty{display:none}dialog{border:0;border-radius:12px;padding:28px;max-width:920px;width:95%;max-height:90vh;overflow:auto}dialog::backdrop{background:#17293aa8}fieldset{border:1px solid #bbc3c9}#plan{white-space:pre-line;margin:20px 0}a{color:#173f69}@media(max-width:650px){.grid{grid-template-columns:1fr}main{padding:0 10px}section{padding:18px}header{padding:14px;gap:12px}header strong{font-size:14px}td,th{padding:9px}}

.dialog-notice{color:#aa2638;background:#fff0f1;padding:12px;border-radius:5px;white-space:pre-line}
.plan-summary{white-space:pre-line;font-weight:600;color:#173f69}#plan:has(.conflict-card){white-space:normal}.conflict-card{border:1px solid #d6dfe7;border-radius:8px;padding:18px;margin:20px 0;background:#f8fafc;overflow-wrap:anywhere}.conflict-card h3{color:#173f69;margin:0}.conflict-card table{min-width:600px;background:white;margin-bottom:14px}.conflict-card td{white-space:pre-wrap}.conflict-card .different{background:#fff2d6;color:#713f12;font-weight:600}#conflict-reference{font-size:.9rem}

/* Aligned employee filter/search/actions in every portal bridge. */
.people-toolbar{align-items:flex-end;gap:12px}.people-toolbar label{margin:0;min-width:180px}.people-toolbar .people-search{flex:1;max-width:480px}.people-toolbar input,.people-toolbar select,.people-toolbar button{height:40px;min-height:40px;box-sizing:border-box;margin-bottom:0}.people-toolbar #search{max-width:none}.people-toolbar button{margin:0}.people-toolbar input,.people-toolbar select{margin-top:6px}@media(max-width:650px){.people-toolbar label,.people-toolbar .people-search{width:100%;max-width:none;flex-basis:100%}}

/* CSV import belongs to the shared employee directory. */
#import-panel .employee-import-box{box-shadow:none;border:1px solid #dce5ed;background:#f7f9fc;padding:22px;margin:20px 0}#import-panel h3{margin-top:0;color:#173f69}.import-actions{display:flex;gap:16px;align-items:flex-end}.import-actions label{flex:1;margin:0;min-width:0}.import-actions button{min-height:44px;white-space:nowrap}#employee-csv-file{background:white;max-width:100%;font:inherit}#employee-import-summary progress{width:100%;height:16px;accent-color:#173f69}.import-totals{display:flex;gap:24px;flex-wrap:wrap;margin:16px 0}.import-log{max-height:420px;overflow:auto;border:1px solid #dce5ed;border-radius:8px;background:white}.import-log th{position:sticky;top:0;background:#edf3f8}.error-message{color:#aa2638}#employee-import-status{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:650px){.import-actions{flex-direction:column;align-items:stretch}#import-panel .employee-import-box{padding:14px}.import-totals{gap:10px}}

.directory-nav-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}#directory>nav>button,#directory>nav>.directory-nav-link{line-height:1.4;min-height:44px}
