:root{
  --bg:#f4f8ff;--panel:#fff;--ink:#142b45;--muted:#6e8198;--line:#dfe9f5;
  --blue:#1673ea;--blue-strong:#0e63d2;--blue2:#edf5ff;--green:#16805c;--red:#d84b4b;--orange:#b96a12;
  --shadow:0 10px 32px rgba(43,83,132,.08);--shadow-hover:0 16px 38px rgba(35,86,151,.13)
}
*{box-sizing:border-box}html,body{margin:0;font-family:Arial,"Noto Sans KR",sans-serif;color:var(--ink);background:linear-gradient(180deg,#f8fbff 0%,#f2f7fd 58%,#f6f9fd 100%)}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.btn{border:0;border-radius:11px;padding:10px 14px;background:linear-gradient(135deg,var(--blue),#3b8df6);color:#fff;font-weight:800;cursor:pointer;transition:.18s}.btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(31,103,205,.18)}.btn.secondary{background:#f1f5fa;color:#40556f;border:1px solid #e2eaf3}.btn.secondary:hover{background:#e8f1fc}.btn.green{background:var(--green)}.btn.danger{background:var(--red)}.btn.sm{padding:7px 10px;font-size:12px}.panel{background:rgba(255,255,255,.96);border:1px solid rgba(214,226,241,.96);border-radius:20px;padding:19px;box-shadow:var(--shadow)}.page-head,.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.page-head{margin-bottom:16px}.page-head h1,.page-head h2,.panel-head h3{margin:0}.page-head p,.subtext{color:var(--muted);margin:5px 0 0;font-size:13px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.kpi{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}.kpi small{display:block;color:var(--muted);font-weight:700}.kpi strong{display:block;font-size:26px;margin-top:6px}.table-wrap{overflow:auto}.table-wrap table{width:100%;border-collapse:collapse}.table-wrap th,.table-wrap td{padding:12px 10px;border-bottom:1px solid #e7eef6;text-align:left;font-size:13px;white-space:nowrap}.table-wrap th{color:#55708f;background:#f5f9fe;position:sticky;top:0}.table-wrap tbody tr{transition:.18s}.table-wrap tbody tr:hover{background:#f3f8ff}.status,.compliance{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:11px;font-weight:800}.status.ok,.compliance.ok{background:#e8f8f1;color:#16775b}.status.wait{background:#edf4ff;color:#2466ba}.status.warn,.compliance.warn{background:#fff3e6;color:#b96a12}.status.bad{background:#ffecec;color:#b63d3d}.toolbar,.filter-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(150px,1fr));gap:12px}.filter-grid label,.form label{display:grid;gap:6px;color:#52677f;font-size:12px}.filter-grid input,.filter-grid select,.form input,.form select,.form textarea,.search{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink)}.filter-actions{margin-top:14px;justify-content:flex-end}.result-count{margin-right:auto;color:var(--muted);font-size:13px;font-weight:700}.empty{padding:28px;text-align:center;color:var(--muted)}dialog{border:0;border-radius:18px;padding:0;box-shadow:0 24px 80px rgba(0,0,0,.25);width:min(760px,94vw)}dialog::backdrop{background:rgba(15,23,42,.4)}.modal{padding:22px}.modal h3{margin-top:0}.form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.form .full{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:8px}.notice{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#fbfdff}.muted{color:var(--muted)}.legal-note{margin-top:12px;padding:12px 14px;border-radius:11px;background:#fff8e8;border:1px solid #f0d9aa;color:#7c5b20;font-size:11px;line-height:1.6}.locked-select{pointer-events:none;background:#f4f6f9!important;color:#667085!important}.role-badge{display:inline-flex;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;background:#e9f3ff;color:#1967c8;border:1px solid #d5e8ff}.mono{font-family:ui-monospace,monospace}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;transition:.18s}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-hover);border-color:#c9ddf7}.card h3{margin:10px 0 6px}.card p{margin:0;color:var(--muted);font-size:13px}@media(max-width:980px){.grid{grid-template-columns:1fr}.kpis{grid-template-columns:repeat(2,1fr)}.filter-grid{grid-template-columns:repeat(2,1fr)}.cards{grid-template-columns:repeat(2,1fr)}}@media(max-width:680px){.kpis,.filter-grid,.cards,.form{grid-template-columns:1fr}.form .full{grid-column:auto}.filter-actions{align-items:stretch;flex-direction:column}.result-count{margin:0}.btn{width:100%}.page-head{align-items:flex-start;flex-direction:column}.page-head>.btn{width:auto}}

/* v20 polished modal system */
dialog{width:min(980px,96vw);max-height:92vh;border:1px solid #dfe9f5;border-radius:24px;background:#fff;box-shadow:0 30px 90px rgba(22,55,96,.24);overflow:hidden}
dialog::backdrop{background:rgba(22,36,56,.42);backdrop-filter:blur(3px)}
.modal-polished{padding:0;background:#fff;color:var(--ink)}
.modal-polished .modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:24px 26px 20px;border-bottom:1px solid #e8eef6;background:linear-gradient(180deg,#fff,#fbfdff)}
.modal-title-wrap{display:flex;align-items:flex-start;gap:15px}.modal-icon{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:linear-gradient(145deg,#e8f3ff,#f8fbff);border:1px solid #d8e9fb;font-size:22px;box-shadow:0 8px 18px rgba(31,103,205,.08)}
.modal-polished .modal-head h3{margin:0;color:#10294a;font-size:24px;letter-spacing:-.5px}.modal-polished .modal-head p{margin:6px 0 0;color:#7b8da3;font-size:13px;line-height:1.5}
.modal-close{display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:11px;background:transparent;color:#60738a;font-size:28px;line-height:1;cursor:pointer;transition:.18s}.modal-close:hover{background:#edf4fc;color:#1f67cd;transform:rotate(4deg)}
.modal-polished>.form{padding:24px 26px 0;gap:18px 22px}.modal-polished .form label{gap:8px;color:#1b3150;font-weight:800;font-size:13px}.field-label{display:block}.field-label em{color:#ef4444;font-style:normal}
.field-shell{display:flex;align-items:stretch;min-height:48px;border:1px solid #cfddec;border-radius:13px;background:#fff;overflow:hidden;transition:.18s;box-shadow:0 2px 6px rgba(24,58,98,.02)}.field-shell:focus-within{border-color:#78aff3;box-shadow:0 0 0 3px rgba(33,111,229,.10)}.field-icon{display:grid;place-items:center;width:48px;flex:0 0 48px;background:#f7faff;border-right:1px solid #e4ecf5;color:#58708c;font-size:16px}
.modal-polished .field-shell input,.modal-polished .field-shell select,.modal-polished .field-shell textarea{border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:12px 14px!important;color:#183558!important;font-weight:600}.modal-polished .field-shell select{cursor:pointer}.modal-polished .field-shell textarea{min-height:86px;resize:vertical;line-height:1.5}.textarea-shell{align-items:stretch}
.modal-polished .worker-checklist{border:1px solid #d8e4f1;border-radius:14px;background:#fbfdff;max-height:230px;padding:8px}
.modal-info{margin:2px 26px 0;padding:12px 14px;border:1px solid #dbe9f8;border-radius:12px;background:#f1f7ff;color:#5b78a0;font-size:12px;line-height:1.5}
.modal-actions{margin-top:4px;padding:18px 26px 20px!important;border-top:1px solid #e8eef6;background:#fbfdff;justify-content:flex-end;gap:10px}.modal-actions .btn{min-width:116px;height:46px;border-radius:12px}.modal-actions .modal-save{background:linear-gradient(135deg,#2878ee,#1267dc);box-shadow:0 10px 22px rgba(33,111,229,.19)}.modal-actions .modal-cancel{background:#f3f6fa;color:#4d627a;border:1px solid #dfe7f0}
.modal-compact{max-width:620px}.modal-body-list{padding:20px 26px 26px}.modal-polished .detail-card{border-radius:14px;border:1px solid #dce6f2;background:#fbfdff;padding:14px;margin-bottom:10px}
@media(max-width:680px){dialog{width:96vw;max-height:94vh;border-radius:20px}.modal-polished .modal-head{padding:20px 18px 16px}.modal-polished>.form{padding:18px 18px 0}.modal-info{margin-left:18px;margin-right:18px}.modal-actions{padding:16px 18px 18px!important}.modal-title-wrap{gap:11px}.modal-icon{width:42px;height:42px;flex-basis:42px}.modal-polished .modal-head h3{font-size:20px}.modal-actions .btn{width:auto;flex:1;min-width:0}}

/* v21 modal scrolling fix */
body:has(dialog[open]){overflow:hidden}
dialog[open]{overscroll-behavior:contain}
.modal-polished{max-height:92vh;display:flex;flex-direction:column;overflow:hidden}
.modal-polished>.modal-head{flex:0 0 auto}
.modal-polished>.form{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:0}
.modal-polished>.modal-body-list{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.modal-polished .modal-actions{position:sticky;bottom:0;z-index:8}
.modal-polished>.form::-webkit-scrollbar,.modal-polished>.modal-body-list::-webkit-scrollbar{width:10px}
.modal-polished>.form::-webkit-scrollbar-thumb,.modal-polished>.modal-body-list::-webkit-scrollbar-thumb{background:#b9c9dc;border:3px solid transparent;background-clip:content-box;border-radius:999px}
.modal-polished>.form::-webkit-scrollbar-track,.modal-polished>.modal-body-list::-webkit-scrollbar-track{background:transparent}
@media(max-width:680px){.modal-polished{max-height:94vh}.modal-polished>.form{max-height:calc(94vh - 80px)}}

/* v23 operational UX */
.toast-root{position:fixed;left:50%;top:22%;transform:translateX(-50%);z-index:100000;width:min(620px,calc(100vw - 32px));display:flex;flex-direction:column;align-items:stretch;gap:10px;pointer-events:none}.toast{width:100%;box-sizing:border-box;padding:17px 20px;border-radius:16px;background:rgba(23,54,87,.97);color:#fff;font-size:15px;font-weight:700;line-height:1.55;box-shadow:0 20px 58px rgba(14,34,56,.30);opacity:0;transform:translateY(-14px) scale(.98);transition:opacity .2s ease,transform .2s ease;display:grid;grid-template-columns:38px 1fr;gap:13px;align-items:center;pointer-events:auto;cursor:pointer;backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.14)}.toast.show{opacity:1;transform:translateY(0) scale(1)}.toast-icon{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.18);font-size:23px;font-weight:900;line-height:1}.toast-content{min-width:0;display:flex;flex-direction:column;gap:2px}.toast-title{display:block;font-size:13px;letter-spacing:.01em;opacity:.88}.toast-message{display:block;font-size:16px;font-weight:800;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}.toast.warn{background:rgba(153,101,23,.97)}.toast.bad{background:rgba(177,63,63,.98)}.toast.ok{background:rgba(23,109,86,.97)}.toast.info{background:rgba(23,54,87,.97)}
.import-note{font-size:11px;color:var(--muted);margin-top:7px;line-height:1.55}.file-input-hidden{display:none}.button-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.danger-note{padding:10px 12px;border-radius:10px;background:#fff3f3;border:1px solid #f2cccc;color:#a03c3c;font-size:11px;line-height:1.5}.soft-note{padding:10px 12px;border-radius:10px;background:#f2f7ff;border:1px solid #d7e7fb;color:#55718f;font-size:11px;line-height:1.5}.btn.orange{background:linear-gradient(135deg,#e78a27,#c76e10)}
@media(max-width:680px){.toast-root{left:50%;top:16%;width:calc(100vw - 24px)}.toast{padding:15px 16px;grid-template-columns:34px 1fr;gap:10px}.toast-icon{width:32px;height:32px;font-size:20px}.toast-message{font-size:14px}.button-row{width:100%}.button-row .btn{flex:1}}

/* v29.8 - education linked-training assistant */
.linked-education-box{border:1px solid #cfe0f4;border-radius:16px;background:#f7fbff;padding:15px 16px;display:grid;gap:12px}
.linked-education-box[hidden]{display:none!important}.linked-education-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.linked-education-head b{color:#153657}.linked-education-head p{margin:5px 0 0;color:#617891;font-size:12px;line-height:1.55}.linked-education-dialog{width:min(680px,94vw)}.linked-dialog-card{padding:26px;display:grid;grid-template-columns:52px 1fr;gap:16px}.linked-dialog-icon{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#fff5db;border:1px solid #f3d89b;font-size:24px}.linked-dialog-card h3{margin:0;color:#173657;font-size:22px}.linked-dialog-card p{margin:8px 0 0;color:#60768f;line-height:1.65;font-size:14px}.linked-dialog-note{margin-top:14px;padding:12px 14px;border:1px solid #dce8f4;background:#f8fbff;border-radius:12px;color:#48617d;font-size:12px;line-height:1.6}.linked-dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:20px}@media(max-width:680px){.linked-dialog-card{grid-template-columns:1fr;padding:20px}.linked-dialog-icon{width:46px;height:46px}.linked-dialog-actions{flex-direction:column}.linked-dialog-actions .btn{width:100%}.linked-education-head{flex-direction:column}.linked-education-head .btn{width:auto}}

/* v46.28: banner direct navigation */
.hero-banner-direct-link{display:block;width:100%;height:100%;position:relative;text-decoration:none;color:inherit;cursor:pointer}.hero-banner-direct-link img{display:block;width:100%;height:100%;object-fit:cover}
