    /* 고객사 선택 칩 — .co-chip 공통 클래스로 통합 (al-company-chip 등 제거) */
    /* 연차 약정 카드 */
    .al-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:20px;}
    .al-stat-card{background:#fff;border-radius:12px;padding:16px 20px;box-shadow:0 1px 4px rgba(0,0,0,.06);border:1px solid #f1f5f9;position:relative;overflow:hidden;}
    .al-stat-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px;border-radius:12px 0 0 12px;}
    .al-stat-card.green::before{background:#10b981;}
    .al-stat-card.blue::before{background:#6366f1;}
    .al-stat-card.amber::before{background:#f59e0b;}
    .al-stat-card.red::before{background:#ef4444;}
    .al-stat-label{font-size:11.5px;color:#6b7280;font-weight:600;margin-bottom:6px;}
    .al-stat-val{font-size:24px;font-weight:800;color:#111827;line-height:1;}
    .al-stat-sub{font-size:11px;color:#9ca3af;margin-top:5px;}
    /* 연차 테이블 */
    .al-table{width:100%;border-collapse:collapse;font-size:12.5px;}
    .al-table thead tr{background:#f8fafc;}
    .al-table th{padding:10px 13px;text-align:left;font-weight:700;color:#374151;border-bottom:2px solid #e5e7eb;white-space:nowrap;font-size:12px;}
    .al-table th.right{text-align:right;}
    .al-table td{padding:10px 13px;border-bottom:1px solid #f3f4f6;vertical-align:middle;}
    .al-table td.right{text-align:right;}
    .al-table tbody tr:nth-child(even) td{background:#f8fafc;}
    .al-table tbody tr:hover td{background:#eef2ff;}
    .al-table .num{font-variant-numeric:tabular-nums;}
    /* 급여입력 지급대상자 목록 스트라이프/hover */
    #pi-target-list-section table tbody tr:nth-child(even) td{background:#f8fafc;}
    #pi-target-list-section table tbody tr:hover td{background:#eef2ff;}

    /* 잔여 연차 강조 */
    .al-remain-ok{color:#059669;font-weight:700;}
    .al-remain-warn{color:#d97706;font-weight:700;}
    .al-remain-danger{color:#dc2626;font-weight:700;}
    /* 배지 */
    .al-badge-basis{display:inline-flex;align-items:center;padding:2px 9px;border-radius:20px;font-size:10.5px;font-weight:700;background:#ede9fe;color:#6d28d9;}
    /* 연차 관리자 편집 모달 */
    #al-ledger-modal .modal{max-width:960px;width:96vw;max-height:94vh;display:flex;flex-direction:column;overflow:hidden;}
    #al-ledger-modal .modal-body{overflow-y:auto;flex:1;padding:0;}
    /* 모달 헤더 인디고 색상 */
    .ledger-nav-header{
      display:flex;align-items:center;justify-content:center;gap:20px;
      background:linear-gradient(90deg,#0f4c81,#1e3a5f);
      padding:10px 20px;position:relative;flex-shrink:0;
    }
    .ledger-nav-year{
      font-size:17px;font-weight:800;color:#fff;letter-spacing:.5px;
      min-width:140px;text-align:center;
    }
    .ledger-nav-btn{
      background:rgba(255,255,255,.15);border:1.5px solid rgba(255,255,255,.3);
      color:#fff;border-radius:8px;width:34px;height:34px;
      display:inline-flex;align-items:center;justify-content:center;
      cursor:pointer;font-size:16px;font-weight:700;
      transition:background .15s;user-select:none;
    }
    .ledger-nav-btn:hover{background:rgba(255,255,255,.28);}
    .ledger-nav-close{
      position:absolute;right:16px;top:50%;transform:translateY(-50%);
      background:none;border:1px solid #cccccc;color:rgba(255,255,255,.75);
      font-size:20px;cursor:pointer;line-height:1;padding:4px;
      transition:color .15s;
    }
    .ledger-nav-close:hover{color:#fff;}
    /* 관리대장 바디 탭 컨테이너 */
    .ledger-body-inner{padding:16px 20px;display:flex;flex-direction:column;gap:12px;}
    /* 정보 항목 공통 */
    .ledger-info-row{
      display:grid;gap:0;
      border:1px solid #cbd5e1;border-radius:6px;overflow:hidden;
      font-size:12.5px;
    }
    .ledger-info-row.cols-1{grid-template-columns:1fr;}
    .ledger-info-row.cols-2{grid-template-columns:repeat(2,1fr);}
    .ledger-info-row.cols-3{grid-template-columns:repeat(3,1fr);}
    .ledger-info-row.cols-4{grid-template-columns:repeat(4,1fr);}
    .ledger-info-cell{
      display:flex;align-items:center;gap:6px;padding:8px 14px;
      border-right:1px solid #e2e8f0;
    }
    .ledger-info-cell:last-child{border-right:none;}
    .ledger-info-label{
      font-weight:700;color:#475569;white-space:nowrap;
      font-size:11.5px;min-width:62px;
    }
    .ledger-info-val{color:#111827;font-weight:600;font-size:12.5px;}
    .ledger-info-val.accent{color:#0d9488;font-size:13px;font-weight:800;}
    .ledger-info-val.muted{color:#6b7280;font-size:12px;font-weight:500;}
    /* 개별 테이블 */
    .ledger-table-wrap{overflow-x:auto;border:1px solid #cbd5e1;border-radius:6px;}
    .ledger-tbl{width:100%;border-collapse:collapse;font-size:12px;min-width:700px;}
    .ledger-tbl thead tr{background:#0a3055;}
    .ledger-tbl th{
      color:#fff;padding:8px 6px;
      border-right:1px solid rgba(255,255,255,.15);text-align:center;
      font-weight:700;font-size:11.5px;white-space:nowrap;
    }
    .ledger-tbl th:last-child{border-right:none;}
    .ledger-tbl td{
      padding:0;border:1px solid #e2e8f0;vertical-align:middle;
      font-size:12px;height:36px;
    }
    .ledger-tbl td.month-label{
      background:#f8fafc;font-weight:700;color:#374151;
      text-align:center;white-space:nowrap;padding:6px 10px;
      border-left:none;min-width:46px;
    }
    .ledger-tbl td.days-cell{
      background:#fff;text-align:center;min-width:90px;
    }
    .ledger-tbl td.note-cell{background:#fafafa;min-width:110px;}
    .ledger-tbl td.sum-label{
      background:#e8f0fe;font-weight:700;color:#1e3a8a;
      text-align:right;padding:8px 14px;font-size:12.5px;
    }
    .ledger-tbl td.sum-val{
      background:#e8f0fe;font-weight:800;color:#0d9488;
      text-align:center;font-size:13px;padding:8px;
    }
    /* 날짜 스타일 입력 */
    .ledger-tbl td input[type="text"]{
      width:100%;height:100%;border:1px solid #d1d5db;outline:none;background:#fff;
      font-size:12px;font-family:inherit;color:#000;
      padding:6px 8px;box-sizing:border-box;
    }
    .ledger-tbl td input[type="text"]:focus:not([readonly]):not(:disabled){border-color:#6366f1;outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.25)}
    /* 필수 입력 안내 리스트 */
    .ledger-days-sel{
      width:100%;height:100%;border:1px solid #d1d5db;outline:none;background:#fff;
      font-size:12px;font-family:inherit;color:#000;font-weight:600;
      text-align:center;cursor:pointer;padding:4px 2px;
      -webkit-appearance:none;appearance:none;
      background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
      background-repeat:no-repeat;background-position:right 5px center;
      padding-right:18px;
    }
    .ledger-days-sel:focus:not(:disabled){border-color:#6366f1;outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.25)}
    .ledger-days-sel.has-value{color:#0d9488;font-weight:700;}
    /* 집계 섹션 */
    .ledger-agg-grid{
      display:grid;grid-template-columns:repeat(5,1fr);gap:0;
      border:1.5px solid #cbd5e1;border-radius:8px;overflow:hidden;
    }
    .ledger-agg-cell{
      display:flex;flex-direction:column;align-items:center;justify-content:center;
      padding:10px 8px;border-right:1px solid #e2e8f0;gap:3px;
    }
    .ledger-agg-cell:last-child{border-right:none;}
    .ledger-agg-label{font-size:11px;color:#6b7280;font-weight:600;text-align:center;white-space:nowrap;}
    .ledger-agg-val{font-size:16px;font-weight:800;color:#0f766e;}
    .ledger-agg-val.blue{color:#1d4ed8;}
    .ledger-agg-val.amber{color:#b45309;}
    .ledger-agg-val.red{color:#dc2626;}
    .ledger-agg-val.purple{color:#7c3aed;}
    /* 통상임금 / 수당 부분 */
    .ledger-wage-row{
      display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
    }
    .ledger-wage-card{
      display:flex;align-items:center;gap:10px;
      padding:10px 16px;border:1.5px solid #e2e8f0;border-radius:8px;
      background:#f8fafc;
    }
    .ledger-wage-card .lwc-icon{
      width:34px;height:34px;border-radius:8px;
      display:flex;align-items:center;justify-content:center;
      font-size:15px;flex-shrink:0;
    }
    .ledger-wage-card .lwc-icon.teal{background:#ccfbf1;color:#0f766e;}
    .ledger-wage-card .lwc-icon.violet{background:#ede9fe;color:#7c3aed;}
    .ledger-wage-card .lwc-label{font-size:11.5px;color:#6b7280;font-weight:600;}
    .ledger-wage-card .lwc-val{font-size:15px;font-weight:800;color:#111827;margin-top:1px;}
    .ledger-wage-card .lwc-sub{font-size:10.5px;color:#9ca3af;margin-top:1px;}

    /* 필터 바 */
    .al-filter-bar{display:flex;align-items:center;gap:10px;padding:12px 0 12px;flex-wrap:wrap;}
    /* 모달 */
    #al-promo-modal .modal-box{max-width:520px;}
    .al-promo-preview{background:#f8faff;border:1.5px solid #c7d2fe;border-radius:10px;padding:16px;font-size:12.5px;color:#374151;line-height:1.85;white-space:pre-wrap;max-height:260px;overflow-y:auto;}
    /* 발송 이력 상태 배지 */
    .al-badge-sent{display:inline-flex;align-items:center;padding:2px 8px;border-radius:20px;font-size:11px;font-weight:700;background:#dcfce7;color:#166534;}
    /* 상태 */

    /* 반응??*/
    @media(max-width:700px){.co-chip{font-size:11.5px;padding:6px 11px;}}
    .filter-bar{display:flex;align-items:center;gap:10px;padding:14px 22px;border-bottom:1px solid #f0f2f5;flex-wrap:wrap}
    select.filter-select{border:1px solid #d1d5db;border-radius:8px;padding:7px 12px;font-size:13px;color:#000;background:#fff;cursor:pointer;outline:none;font-family:inherit}
    .modal-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:200;display:flex;align-items:center;justify-content:center;padding:20px;opacity:0;pointer-events:none;transition:opacity .2s}
    /* 급여명세서 모달 전용 */
    #payslip-modal{background:rgba(0,0,0,.7);z-index:300;overflow-y:auto;}
    .ps-info-cell{padding:8px 14px;font-size:12px;background:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
    .ps-info-cell.label{background:#eff6ff;font-weight:700;color:#1e40af;font-size:11.5px;white-space:nowrap;}
    .ps-info-cell.value{color:#1e293b;}
    #ps-pay-items tr.ps-item-row:nth-child(even) td{background:#f0f6ff;}
    #ps-pay-items tr.ps-item-row:nth-child(odd) td{background:#f8fafc;}
    #ps-ded-items tr.ps-item-row:nth-child(even) td{background:#fff5f5;}
    #ps-ded-items tr.ps-item-row:nth-child(odd) td{background:#fafafa;}
    #ps-pay-items td,#ps-ded-items td{padding:6px 12px;border-bottom:1px solid #e2e8f0;font-size:12px;}
    #ps-pay-items td:last-child,#ps-ded-items td:last-child{text-align:right;font-weight:600;}
    .ps-group-row td{background:#e0e7ff!important;color:#3730a3;font-size:10.5px;font-weight:700;padding:4px 12px!important;letter-spacing:1px;border-bottom:1px solid #c7d2fe!important;text-align:left!important;}
    .ps-ded-group-row td{background:#fce7f3!important;color:#831843;font-size:10.5px;font-weight:700;padding:4px 12px!important;letter-spacing:1px;border-bottom:1px solid #fbcfe8!important;text-align:left!important;}
    .ps-zero td{color:#cbd5e1!important;}
    .ps-zero td:last-child{color:#cbd5e1!important;font-weight:400!important;}
    .pay-tbody-row{cursor:pointer;transition:background .15s;}
    .pay-tbody-row:hover td{background:#f0fdf4!important;}
    .pay-tbody-row:hover td:first-child{border-left:3px solid #10b981;}
    .modal-overlay.open{opacity:1;pointer-events:all}
    .modal{background:#fff;border-radius:16px;width:100%;max-width:680px;max-height:90vh;overflow-y:auto;transform:translateY(20px);transition:transform .2s;box-shadow:0 20px 60px rgba(0,0,0,.2)}
    .modal-overlay.open .modal{transform:translateY(0)}
    .modal-header{padding:20px 26px 16px;border-bottom:1px solid #f0f2f5;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;background:#fff;z-index:1}
    .modal-title{font-size:15px;font-weight:700}
    .modal-close{width:30px;height:30px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:none;border:1px solid #cccccc;font-size:16px;color:#aaa;cursor:pointer;padding:0;flex-shrink:0;}
    .modal-close:hover{background:#f0f2f5;color:#555}
    .modal-body{padding:22px 26px}
    .modal-footer{padding:14px 26px 20px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #f0f2f5}
    .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;align-items:start}
    .form-grid.cols3{grid-template-columns:1fr 1fr 1fr}
    .form-group{display:flex;flex-direction:column;gap:0;margin-top:10px}
    .form-group.full{grid-column:1/-1}
    .form-group label{font-size:11.5px;font-weight:600;color:#555;min-height:18px;line-height:1.4}
    .form-group label .lbl-desc{font-size:11px;font-weight:400;color:#6b7280;}
    .form-group .lbl-desc{font-size:11px;font-weight:400;color:#6b7280;}
    .form-group label .lbl-req{color:#c00;font-weight:900;font-size:13px;margin-left:1px;}
    .form-group .fld-unit{font-size:12px;color:#6b7280;}
    .form-group .fld-hint{font-size:11px;color:#9ca3af;}

    .form-group input,.form-group textarea{border:1px solid #d1d5db;border-radius:8px;padding:7px 12px;font-size:13px;color:#000;outline:none;transition:border-color .2s;font-family:inherit;background:#fff;}
    input:not([type="search"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(:disabled):not([readonly]),select:not(:disabled),textarea:not(:disabled):not([readonly]){background:#fff;color:#000;}
    .form-group input[readonly]:not(.input-slim),.form-group input:disabled:not(.input-slim),.form-group textarea[readonly],.form-group textarea:disabled,.form-group select:disabled:not(.input-slim){background:#f1f5f9;border:1px solid #e8eaed;border-radius:7px;height:36px;box-sizing:border-box;padding:6px 12px;font-size:13px;color:#555;font-weight:400;resize:none;cursor:default;-webkit-text-fill-color:#555}
    .form-group textarea[readonly],.form-group textarea:disabled{height:auto;min-height:36px;line-height:1.6;}
    /* date input readonly/disabled 통일 */
    .form-group input[type="date"][readonly],.form-group input[type="date"]:disabled{background:#f1f5f9!important;border:1px solid #e8eaed!important;color:#555!important;-webkit-text-fill-color:#555!important;}
    .form-group input[type="date"][readonly]::-webkit-datetime-edit,
    .form-group input[type="date"]:disabled::-webkit-datetime-edit{background:transparent!important;color:#555!important;}
    #ct-fixed-ot-hours, #ct-fixed-night-hours, #ct-fixed-hol-hours { width:72px; }
    .form-group select:not(.input-slim){border:1px solid #d1d5db;border-radius:7px;height:36px;box-sizing:border-box;padding:4px 28px 4px 12px;font-size:13px;color:#000;font-weight:400;outline:none;transition:border-color .2s;font-family:inherit;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") no-repeat right 8px center;background-size:14px;appearance:none;-webkit-appearance:none;-moz-appearance:none;}
    .form-group input:focus:not([readonly]):not(:disabled),.form-group select:focus:not(:disabled),.form-group textarea:focus:not([readonly]):not(:disabled){border-color:#6366f1;outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.25)}
    .form-group input:not([readonly]):not(:disabled)::placeholder,.form-group textarea:not([readonly]):not(:disabled)::placeholder{color:#b0b7c3!important;opacity:1!important;-webkit-text-fill-color:#b0b7c3!important;}
    .form-group input[readonly]::placeholder,.form-group input:disabled::placeholder,.form-group textarea[readonly]::placeholder,.form-group textarea:disabled::placeholder{color:transparent!important;opacity:0!important;-webkit-text-fill-color:transparent!important;}
    .form-computed{background:#f1f5f9;border:1px solid #e8eaed;border-radius:7px;padding:6px 12px;font-size:13px;color:#555;font-weight:400;height:36px;box-sizing:border-box;display:flex;align-items:center;-webkit-text-fill-color:#555}
    .form-computed.accent{color:#0369a1;font-weight:400;}
    .minwage-warning-box{border-radius:8px;padding:10px 14px;font-size:11.5px;line-height:1.75;background:#fef2f2;border:1.5px solid #fca5a5;color:#991b1b;}
    .annual-guide-box{font-size:11.5px;color:#6b7280;line-height:1.7;}
    .form-section-title{font-size:12px;font-weight:700;color:#e94560;padding:10px 0 3px;border-bottom:1px dashed #ffd0d8;margin-bottom:14px;grid-column:1/-1;display:flex;align-items:center;gap:6px;}
    .form-section-title.no-border{margin-bottom:4px;padding-bottom:0;border-bottom:none;}

    .form-hint{font-size:10.5px;color:#aaa}
    /* 고객사 모달: 좌우 레이블 정렬 — 라벨 폭 고정, input/select 폭 고정 */
    #company-modal .form-group{justify-content:space-between}
    .form-computed{background:#f1f5f9;border:1px solid #e8eaed;border-radius:7px;padding:6px 12px;font-size:13px;color:#555;font-weight:400;height:36px;box-sizing:border-box;display:flex;align-items:center;-webkit-text-fill-color:#555}
    .pagination{display:flex;align-items:center;justify-content:space-between;padding:12px 22px}
    .page-info{font-size:12px;color:#888}
    .page-btns{display:flex;gap:4px}
    .page-btn{width:28px;height:28px;border-radius:6px;border:1px solid #e0e0e0;background:#fff;font-size:11.5px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#555}
    .page-btn:hover{background:#f0f2f5}
    .page-btn.active{background:#6366f1;color:#fff;border-color:#6366f1}
    .page-btn:disabled{background:#cccccc;color:#f2f2f2;border:1px solid #cccccc;cursor:default;opacity:1;}
    .page-ellipsis{color:#9ca3af;font-size:12px;padding:0 2px;}
    .toast{position:fixed;bottom:22px;right:22px;z-index:9999;background:#1a1a2e;color:#fff;padding:11px 18px;border-radius:10px;font-size:13px;box-shadow:0 4px 20px rgba(0,0,0,.3);transform:translateY(100px);opacity:0;transition:all .3s}
    @keyframes pulse{0%,100%{opacity:1}50%{opacity:.7}}
    .toast.show{transform:translateY(0);opacity:1}
    .toast.success{border-left:4px solid #10b981}
    .toast.error{border-left:4px solid #ef4444}
    .amount{font-weight:600;color:#1a1a2e}
    .amount-red{font-weight:600;color:#e94560}
    .amount-green{font-weight:600;color:#10b981}
    .amount-blue{font-weight:600;color:#3b82f6}
    .company-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px;padding:22px}
    .company-card{border:1px solid #e8eaed;border-radius:12px;padding:18px;cursor:pointer;transition:all .2s;position:relative}
    .company-card:hover{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.25);}
    .company-card h3{font-size:14px;font-weight:700;margin-bottom:5px}
    .company-card p{font-size:11.5px;color:#888;line-height:1.9}
    .company-card .code-badge{position:absolute;top:14px;right:14px;background:#f0f2f5;padding:3px 9px;border-radius:20px;font-size:10.5px;color:#555;font-weight:600}
    /* 고객사 푸터 버튼 */
    .company-filter-btn{background:#f8f9fb;color:#6b7280;border:1px solid #e5e7eb;padding:6px 12px;font-size:11.5px;transition:all .2s}
    .company-filter-btn:hover{background:#6366f1;color:#fff;border-color:#6366f1;}
    .company-filter-btn span{font-size:10.5px;opacity:.8}
    /* 대시보드 고객사 테이블 */
    .dash-co-table{width:100%;border-collapse:collapse;}
    .dash-co-table thead tr{background:#f1f5f9;border-bottom:2px solid #e2e8f0;}
    .dash-co-table thead th{font-size:12px;font-weight:700;color:#475569;padding:12px 14px;white-space:nowrap;}
    .dash-co-table thead th:last-child{text-align:right;}
    .dash-co-table tbody tr{border-bottom:1px solid #f5f6f8;transition:background .12s;}
    .dash-co-table tbody tr:nth-child(even){background:#f8fafc;}
    .dash-co-table tbody tr:last-child{border-bottom:none;}
    .dash-co-table tbody tr:hover{background:#eef2ff;}
    .dash-co-table tbody td{padding:11px 14px;vertical-align:middle;font-size:13px;}
    .dash-co-table tbody td:last-child{text-align:right;}
    .dash-co-name{font-weight:700;color:#1e293b;}
    .dash-co-payday{font-size:12px;color:#6b7280;white-space:nowrap;}
    .dash-co-pending{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:20px;font-size:11px;font-weight:500;background:#fff7ed;color:#e94560;white-space:nowrap;}
    .dash-co-done{display:inline-flex;align-items:center;gap:4px;padding:3px 9px;border-radius:20px;font-size:11px;font-weight:500;background:#dcfce7;color:#10b981;white-space:nowrap;}
    .dash-co-btn{display:inline-flex;align-items:center;justify-content:center;gap:5px;padding:5px 13px;border-radius:7px;border-style:solid;border-width:1px;color:#fff;font-size:12px;font-weight:600;cursor:pointer;font-family:inherit;transition:background .15s;white-space:nowrap;width:100%;box-sizing:border-box; user-select:none;}
    /* 수당 설정기간 */
    .std-tab-bar{display:flex;gap:4px;margin-bottom:0;}
    .std-tab-panel{background:#f5f3ff;padding:20px;border-radius:0 0 12px 12px;box-shadow:none;border:1px solid #6366f1;}
    /* 퇴직관리 테이블 */
    .retirement-table{width:100%;border-collapse:collapse;font-size:13px;}
    .retirement-table th{text-align:left;padding:11px 10px;background:#f8fafc;color:#64748b;font-weight:600;font-size:11.5px;border-bottom:1px solid #e2e8f0;}
    .retirement-table td{padding:11px 10px;border-bottom:1px solid #f1f5f9;color:#374151;background:#fff;}
    .retirement-table tr:nth-child(even) td{background:#f8fafc;}
    .retirement-table tr:hover td{background:#eef2ff;}
    .retirement-table tr:last-child td{border-bottom:none;}
    /* 퇴직관리 버튼 */
    .btn-retire{padding:5px 12px;font-size:11px;border-radius:6px;border:1px solid;cursor:pointer;font-weight:600;font-family:inherit;display:inline-flex;align-items:center;gap:4px;transition:all .15s;}
    .btn-retire-done{background:#dcfce7;color:#166534;border-color:#bbf7d0;cursor:default;}
    .btn-retire-pending{background:#fef3c7;color:#92400e;border-color:#fde68a;}
    .btn-retire-pending:hover{background:#fde68a;}
    .btn-retire-undo{background:#f1f5f9;color:#64748b;border-color:#e2e8f0;padding:5px 7px;margin-left:4px;}
    .btn-retire-undo:hover{background:#e2e8f0;}
    .btn-retire-preview{background:#eef2ff;color:#4f46e5;border-color:#c7d2fe;padding:5px 9px;}
    .btn-retire-preview:hover{background:#e0e7ff;}
    /* 퇴직관리 셀 스타일 */

    .retirement-td-action{white-space:nowrap;}
    .retirement-table td.retirement-td-amount{color:#2563eb;font-weight:700;}
    .retirement-table td.retirement-td-unavailable{color:#dc2626;font-weight:700;font-size:11.5px;white-space:nowrap;}
    .retirement-table td.retirement-td-click{cursor:pointer;}
    .retirement-table td.retirement-td-click:hover{text-decoration:underline;}
    /* 퇴직급여 산출 내역 팝업 */
    .sev-calc-info{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px;}
    .sev-calc-info-row{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:6px 12px;font-size:12px;display:flex;gap:6px;align-items:center;}
    .sev-calc-info-row .l{color:#6b7280;font-weight:600;}
    .sev-calc-info-row .v{color:#111827;font-weight:700;}
    .sev-calc-formula{background:#eff6ff;border:1.5px solid #bfdbfe;border-radius:10px;padding:12px 14px;font-size:12px;color:#1e3a8a;line-height:1.9;margin-bottom:14px;}
    .sev-calc-table{width:100%;border-collapse:collapse;font-size:12px;}
    .sev-calc-table th{background:#f1f5f9;color:#475569;font-size:11px;font-weight:700;padding:8px 10px;border:1px solid #e5e7eb;text-align:left;}
    .sev-calc-table th:last-child{text-align:right;}
    .sev-calc-table td{padding:7px 10px;border:1px solid #e5e7eb;color:#374151;}
    .sev-calc-table td.sev-r{text-align:right;font-weight:600;white-space:nowrap;}
    .sev-calc-table tr.month td{background:#fbfdff;color:#6b7280;font-size:11.5px;padding-left:24px;}
    .sev-calc-table tr.sum td{background:#f5f3ff;font-weight:700;}
    .sev-calc-table tr.sum2 td{background:#eef2ff;font-weight:700;color:#3730a3;}
    .sev-calc-table tr.total td{background:#eff6ff;font-weight:800;color:#1d4ed8;font-size:13px;}
    .sev-calc-table .sev-sub{display:block;font-size:10.5px;color:#9ca3af;font-weight:400;margin-top:2px;}
    .retirement-badge-pending{font-size:10px;background:#fef3c7;color:#92400e;padding:1px 5px;border-radius:8px;}
    .std-table{width:100%;border-collapse:collapse;font-size:13px;}
    .std-table th{background:#f8f9fb;font-size:11.5px;font-weight:700;color:#374151;padding:10px 14px;border:1px solid #e5e7eb;white-space:nowrap;text-align:center;}
    .std-table td{padding:9px 14px;border:1px solid #e5e7eb;text-align:center;vertical-align:middle;color:#374151;}
    .std-table tbody tr:hover td{background:#fafbff;}
    .std-table td.std-year{font-weight:700;color:#1a1a2e;background:#f8f9fb;}
    .std-table td.std-rate{font-weight:700;color:#e94560;font-size:14px;}
    .std-table td.std-cap{color:#6366f1;font-weight:600;}
    .std-table td.std-period{font-size:11px;color:#6b7280;}
    .std-current-row td{background:linear-gradient(90deg,#fef2f4,#fff7f8)!important;border-left:3px solid #e94560;}
    .std-add-card{background:linear-gradient(135deg,#f8f9fb,#fff);border:1.5px dashed #d1d5db;border-radius:12px;padding:20px 24px;margin-top:20px;}
    /* 과세 기준 표 */
    .tax-bracket-table{width:100%;border-collapse:collapse;font-size:12.5px;}
    .tax-bracket-table th{background:#f1f5f9;font-size:11.5px;font-weight:700;color:#374151;padding:9px 12px;border:1px solid #e2e8f0;white-space:nowrap;text-align:center;}
    .tax-bracket-table td{padding:7px 12px;border:1px solid #e2e8f0;text-align:right;vertical-align:middle;color:#374151;}
    .tax-bracket-table td.tax-range{text-align:center;font-size:11.5px;color:#475569;white-space:nowrap;}
    .tax-bracket-table td.tax-income-tax{font-weight:700;color:#1d4ed8;}
    .tax-bracket-table td.tax-local-tax{font-weight:600;color:#065f46;}
    .tax-bracket-table td.tax-rate-cell{font-size:11px;}
    .tax-bracket-table tbody tr:hover td{background:#f0f9ff!important;}
    .tax-bracket-table tfoot td{padding:8px 14px;border:1px solid #e2e8f0;}
    .std-add-card h4{font-size:13px;font-weight:700;color:#374151;margin:0 0 14px;display:flex;align-items:center;gap:7px;}
    /* 빈 테이블 표준 — 모든 td color 규칙보다 뒤에 위치하여 우선 적용 */
    td.cen-empty{text-align:center;padding:48px 20px;color:#9ca3af;font-size:13px;}
    td.cen-empty i{font-size:30px;display:block;margin-bottom:10px;color:#9ca3af;}
    /* 비테이블 빈 상태 (div/span) */
    .empty-state{text-align:center;color:#9ca3af;font-size:13px;}
    .empty-state i{font-size:30px;display:block;margin-bottom:10px;color:#9ca3af;}
    .empty-state p{font-size:13px;margin:4px 0 0;}
    .pss-empty{text-align:center;color:#9ca3af;font-size:13px;}
    .std-add-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin-bottom:14px;}
    .std-add-grid .form-group{margin:0;}
    .std-add-grid label{font-size:11.5px;font-weight:600;color:#6b7280;margin-bottom:4px;display:block;}
    .std-add-grid input,.std-add-grid select{width:100%;height:36px;padding:6px 12px;border:1px solid #d1d5db;border-radius:7px;font-size:13px;font-family:inherit;outline:none;transition:border .15s;box-sizing:border-box;background:#fff;color:#000;}
    .std-add-grid input:focus,.std-add-grid select:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.25)}
    .std-update-btn{
      display:inline-flex;align-items:center;gap:6px;
      padding:8px 20px;
      background:#dc2626;color:#fff;
      border:1px solid #b91c1c;border-radius:8px;font-size:13px;font-weight:700;
      cursor:pointer;font-family:inherit;
      transition:background .18s;
      position:relative;overflow:hidden;
    }
    .std-update-btn:hover:not(:disabled){
      background:#b91c1c;
    }
    .std-update-btn:active:not(:disabled){}
    .std-update-btn:disabled,.std-update-btn[disabled]{background:#cccccc;color:#f2f2f2;border:1px solid #cccccc;cursor:not-allowed;pointer-events:none;box-shadow:none;opacity:1;}
    /* 최저임금표 현재 연도 행 강조 */
    .std-update-btn-green{background:#059669;border-color:#047857;}
    .std-update-btn-green:hover:not(:disabled){background:#047857;}
    .std-update-btn-green:active:not(:disabled){background:#065f46;}
    /* 최저임금 테이블 */
    .mw-table{width:100%;border-collapse:collapse;font-size:13px;}
    .mw-table th{background:#f8f9fb;font-size:11.5px;font-weight:700;color:#374151;padding:10px 14px;border:1px solid #e5e7eb;text-align:center;}
    .mw-table td{padding:10px 14px;border:1px solid #e5e7eb;text-align:center;color:#374151;}
    .mw-table tbody tr:hover td{background:#fafbff;}
    .mw-table td.mw-year{font-weight:700;color:#1a1a2e;background:#f8f9fb;}
    .mw-table td.mw-hourly{font-weight:700;color:#e94560;font-size:14px;}
    .mw-table td.mw-monthly{font-weight:700;color:#6366f1;}
    .mw-current-row td{background:linear-gradient(90deg,#f0fdf4,#f8fffc)!important;border-left:3px solid #10b981;}
    /* 산정기준 대시보드 배너 */
    .std-banner{display:flex;align-items:flex-start;gap:12px;padding:13px 16px;border-radius:10px;margin-bottom:12px;border:1.5px solid;box-shadow:0 2px 10px rgba(0,0,0,.07);}
    .std-banner.pension{background:#eff6ff;border-color:#bfdbfe;}
    .std-banner.health{background:#fef2f4;border-color:#fca5a5;}
    .std-banner.minwage{background:#f0fdf4;border-color:#86efac;}
    .std-banner-icon{font-size:18px;flex-shrink:0;margin-top:1px;}
    .std-banner-body{flex:1;}
    .std-banner-title{font-size:13px;font-weight:700;margin-bottom:3px;}
    .std-banner-desc{font-size:12px;color:#6b7280;line-height:1.5;}
    .std-banner-btn{
      flex-shrink:0;padding:6px 14px;border-radius:7px;
      font-size:12px;font-weight:700;border:1px solid #cccccc;cursor:pointer;font-family:inherit;
      transition:background .18s;
    }
    .std-banner-btn:hover:not(:disabled){}
    .std-banner-btn:active:not(:disabled){}
    .std-banner-btn:disabled,.std-banner-btn[disabled]{background:#cccccc;color:#f2f2f2;border:1px solid #cccccc;cursor:not-allowed;pointer-events:none;opacity:1;}
    .std-banner.pension .std-banner-btn{
      background:#3b82f6;color:#fff;
      box-shadow:0 1px 3px rgba(59,130,246,.25);
    }
    .std-banner.pension .std-banner-btn:hover:not(:disabled){
      background:#2563eb;box-shadow:0 3px 10px rgba(59,130,246,.32);
    }
    .std-banner.health .std-banner-btn{
      background:#dc2626;color:#fff;
      box-shadow:0 1px 3px rgba(220,38,38,.25);
    }
    .std-banner.health .std-banner-btn:hover:not(:disabled){
      background:#b91c1c;box-shadow:0 3px 10px rgba(220,38,38,.32);
    }
    .std-banner.minwage .std-banner-btn{
      background:#10b981;color:#fff;
      box-shadow:0 1px 3px rgba(16,185,129,.25);
    }
    .std-banner.minwage .std-banner-btn:hover:not(:disabled){
      background:#059669;box-shadow:0 3px 10px rgba(16,185,129,.32);
    }
    /* 임금대장 메뉴 N 뱃지 */
    .wl-menu-badge{animation:wl-badge-pulse 1.8s ease-in-out infinite;}
    @keyframes wl-badge-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.75;transform:scale(1.12)}}

    /* 좌측 메뉴 알림 배지 (.count-badge + menu-todo-badge) */
    .menu-todo-badge{ margin-left:auto; }
    .menu-item{display:flex;align-items:center;gap:10px;}
    .menu-item .menu-todo-badge{margin-left:auto;}

    /* 임금대장 카드 레이아웃 */
    .wl-wrap{border-radius:0 0 12px 12px;}

    /* 개별 직원 카드 스타일 */
    .wl-card{
      border:1px solid #cbd5e1;border-radius:6px;
      margin-bottom:8px;
    /* overflow:hidden 제거 — 하단 그림자 잘림 방지 */
      page-break-inside:avoid;break-inside:avoid;
    }
    /* border-radius와 overflow:hidden 관계 재정의 */
    .wl-card-head{
      border-radius:6px 6px 0 0;
    }
    /* No — 하단 좌우 모서리 둥글게 */
    .wl-head-no{
      border-top-left-radius:6px;
    }
    /* 테이블 헬퍼: overflow:hidden으로 카드 하단 모서리 둥글게 처리 */
    .wl-tbl-wrap{
      overflow:hidden;
      border-radius:0 0 5px 5px;
    }
    /* 카드 헤더: 직원정보 + 요약 (flexbox) */
    /* flex-wrap:wrap 으로 변수 계약서 금액 여러 개일 때 줄바꿈으로 겹침 방지 */
    .wl-card-head{
      display:flex;flex-wrap:wrap;align-items:stretch;
      background:#1e293b;border-bottom:2px solid #334155;
      min-height:44px;
    }
    .wl-head-no{
      background:#0f172a;color:#94a3b8;font-size:14px;font-weight:800;
      display:flex;align-items:center;justify-content:center;
      width:46px;min-width:46px;flex-shrink:0;
      border-right:1px solid #334155;
    }
    .wl-head-cell{
      padding:4px 8px;border-right:1px solid #334155;
      display:flex;flex-direction:column;justify-content:center;
      flex:1;min-width:0;
    }
    .wl-head-cell.wide{flex:1;min-width:60px;}
    .wl-head-cell.narrow{flex:0.8;min-width:70px;flex-shrink:0;}
    .wl-head-cell .lbl{
      font-size:8px;color:#94a3b8;font-weight:500;
      margin-bottom:2px;letter-spacing:.3px;white-space:nowrap;
    }
    .wl-head-cell .val{
      font-size:12px;color:#f1f5f9;font-weight:700;
      white-space:nowrap;overflow:visible;
    }
    .wl-head-cell .val.sm{font-size:10px;font-weight:500;}
    .wl-head-cell.c-gross{background:#1e3a5f;}
    .wl-head-cell.c-gross .val{color:#93c5fd;}
    .wl-head-cell.c-ded{background:#3b0f0f;}
    .wl-head-cell.c-ded .val{color:#fca5a5;}
    .wl-head-cell.c-net{background:#052e16;}
    .wl-head-cell.c-net .val{color:#86efac;}
    .wl-head-cell:last-child{border-right:none;}
    /* 급여지급일·비고 탭에 대해 폭 고정, 넘치면 보이도록 min-width 지정 */
    .wl-head-cell.fixed{flex-grow:0;flex-shrink:0;min-width:max-content;}

    /* 개별 상세 테이블 레이아웃 */
    /* 10열 [구분] [분류th·금액td]×4 [여백] */
    /* table-layout:auto — 열 길이에 맞게 브라우저가 자동 조정 (좌우 잘림 없음) */
    .wl-tbl{
      width:100%;border-collapse:collapse;
      table-layout:auto;font-size:11px;
    }
    /* 구분 열 고정, 여백도 고정, 나머지는 브라우저 자동 */
    .wl-tbl col.c-sec{width:46px;}
    .wl-tbl col.c-lbl{} /* auto */
    .wl-tbl col.c-val{min-width:80px;}
    /* c-pad 제거 — 마지막 금액 td 우측 패딩으로 대체 */
    .wl-tbl col.c-pad{display:none;}
    .wl-tbl th,.wl-tbl td{
      padding:3px 6px;border:1px solid #e5e7eb;
      vertical-align:middle;
      white-space:nowrap; /* 문자·숫자 한 줄에 금액 유지(잘림 없음) */
    }
    /* 분류 그룹 th */
    .wl-tbl th{
      background:#f8fafc;font-size:9.5px;font-weight:600;
      color:#64748b;text-align:center;
    }
    /* 금액 td */
    .wl-tbl td{text-align:right;color:#1e293b;font-weight:500;}
    /* 구분 테이블 행 */
    .wl-tbl td.wl-sec{
      text-align:center;font-size:9px;font-weight:700;
      letter-spacing:.3px;white-space:nowrap;padding:3px 4px;
    }
    .wl-tbl td.wl-sec-pay{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe;}
    .wl-tbl td.wl-sec-ded{background:#fee2e2;color:#b91c1c;border-color:#fecaca;}
    /* 지급행 td 배경 */
    .wl-pay-row td:not(.wl-sec){background:#f8fbff;}
    /* 공제??td 배경 */
    .wl-ded-row td:not(.wl-sec){background:#fff9f9;}
    /* 빈칸 */
    .wl-tbl td.wl-empty,.wl-tbl th.wl-empty{
      background:#f9fafb !important;border-color:#e5e7eb;
    }


    /* 요약 카드 스타일 */
    .wl-sum-card{
      border:2px solid #1e293b;border-radius:6px;
      margin-top:10px;
    }
    .wl-sum-card .wl-card-head{border-radius:4px 4px 0 0;}
    .wl-sum-card .wl-card-head{background:#0f172a;border-bottom-color:#1e293b;}
    .wl-sum-card .wl-head-no{background:#020617;}
    .wl-sum-card .wl-tbl{border-color:#e2e8f0;}
    .wl-sum-card .wl-tbl th{background:#f1f5f9;color:#475569;border-color:#e2e8f0;}
    .wl-sum-card .wl-tbl td{background:#fff;color:#1e293b;border-color:#e2e8f0;}
    .wl-sum-card .wl-tbl td.wl-sec-pay{background:#dbeafe;color:#1d4ed8;border-color:#bfdbfe;}
    .wl-sum-card .wl-tbl td.wl-sec-ded{background:#fee2e2;color:#b91c1c;border-color:#fecaca;}
    .wl-sum-card .wl-pay-row td:not(.wl-sec){background:#f0f7ff;}
    .wl-sum-card .wl-ded-row td:not(.wl-sec){background:#fff9f9;}
    .wl-sum-card .wl-tbl td.wl-empty{background:#f8fafc !important;}

    /* 요약 버튼 스타일 */


    @keyframes spin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

    /* 임금대장 지급조건 차단 UI */
    .wl-block-wrap{
      display:flex;flex-direction:column;gap:14px;
    }
    .wl-block-header{
      display:flex;align-items:flex-start;gap:14px;
      background:linear-gradient(135deg,#fef3c7,#fffbeb);
      border:1.5px solid #fbbf24;border-radius:12px;
      padding:18px 22px;
    }
    .wl-block-header-icon{
      width:44px;height:44px;border-radius:10px;
      background:#fef3c7;border:1.5px solid #fbbf24;
      display:flex;align-items:center;justify-content:center;
      font-size:20px;flex-shrink:0;
    }
    .wl-block-header-body{flex:1;min-width:0;}
    .wl-block-header-title{
      font-size:15px;font-weight:800;color:#92400e;margin-bottom:4px;
    }
    .wl-block-header-sub{
      font-size:12.5px;color:#b45309;line-height:1.6;
    }
    /* 사유 카드 */
    .wl-block-card{
      border-radius:10px;border:1.5px solid #e5e7eb;
      background:#fff;overflow:hidden;
    }
    .wl-block-card-head{
      display:flex;align-items:center;gap:10px;
      padding:12px 18px;
      border-bottom:1px solid #f1f5f9;
    }
    .wl-block-card-icon{
      width:32px;height:32px;border-radius:8px;
      display:flex;align-items:center;justify-content:center;
      font-size:14px;flex-shrink:0;
    }
    .wl-block-card-icon.draft  {background:#fef3c7;color:#b45309;}
    .wl-block-card-icon.docs   {background:#fde8d8;color:#c2410c;}
    .wl-block-card-icon.pay    {background:#dbeafe;color:#1d4ed8;}
    .wl-block-card-title{
      font-size:13.5px;font-weight:700;color:#1e293b;flex:1;
    }
    .wl-block-card-badge{
      font-size:11px;font-weight:700;padding:3px 10px;border-radius:20px;
    }
    .wl-block-card-badge.draft{background:#fef3c7;color:#92400e;}
    .wl-block-card-badge.docs {background:#fde8d8;color:#c2410c;}
    .wl-block-card-badge.pay  {background:#dbeafe;color:#1d4ed8;}
    .wl-block-item-list{padding:10px 0 4px;}
    .wl-block-item{
      display:flex;align-items:center;justify-content:space-between;
      padding:8px 18px;border-bottom:1px dashed #f1f5f9;gap:10px;
    }
    .wl-block-item:last-child{border-bottom:none;}
    .wl-block-item:nth-child(even){background:#f8fafc;}
    .wl-block-item:hover{background:#eef2ff;}
    .wl-block-item-left{display:flex;align-items:center;gap:8px;min-width:0;}
    .wl-block-item-avatar{
      width:28px;height:28px;border-radius:50%;
      background:linear-gradient(135deg,#e0e7ff,#ede9fe);
      display:flex;align-items:center;justify-content:center;
      font-size:11px;font-weight:700;color:#4f46e5;flex-shrink:0;
    }
    .wl-block-item-name{font-size:13px;font-weight:600;color:#1e293b;}
    .wl-block-item-sub{font-size:11.5px;color:#64748b;margin-top:1px;}
    .wl-block-item-link{
      display:inline-flex;align-items:center;gap:5px;
      padding:5px 12px;border-radius:7px;
      font-size:12px;font-weight:600;cursor:pointer;
      border:1px solid #cccccc;white-space:nowrap;flex-shrink:0;
      transition:all .15s;text-decoration:none;
    }
    .wl-block-item-link.draft{background:#fef3c7;color:#92400e;}
    .wl-block-item-link.draft:hover{background:#fde68a;}
    .wl-block-item-link.docs {background:#fde8d8;color:#c2410c;}
    .wl-block-item-link.docs:hover {background:#fed7aa;}
    .wl-block-item-link.pay  {background:#dc2626;color:#fff;border:1px solid #b91c1c;}
    .wl-block-item-link.pay:hover  {background:#b91c1c;}
    .wl-block-item-link.pay-draft{background:#10b981;color:#fff;border:1px solid #059669;}
    .wl-block-item-link.pay-draft:hover{background:#059669;}
    .wl-block-item-draft-badge{
      display:inline-flex;align-items:center;gap:3px;
      font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:12px;
      background:#dcfce7;color:#15803d;border:1px solid #86efac;
      margin-left:4px;vertical-align:middle;
    }
    /* 임시저장 확인 모달 */
    .wl-resume-modal-overlay{
      position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:9100;
      display:flex;align-items:center;justify-content:center;
    }
    .wl-resume-modal{
      background:#fff;border-radius:16px;width:min(460px,92vw);
      box-shadow:0 8px 40px rgba(0,0,0,.18);overflow:hidden;
    }
    .wl-resume-modal-header{
      padding:20px 22px 16px;border-bottom:1px solid #f1f5f9;
      display:flex;align-items:center;gap:10px;
    }
    .wl-resume-modal-icon{
      width:38px;height:38px;border-radius:10px;flex-shrink:0;
      background:linear-gradient(135deg,#d1fae5,#a7f3d0);
      display:flex;align-items:center;justify-content:center;
      font-size:18px;color:#059669;
    }
    .wl-resume-modal-title{font-size:15px;font-weight:800;color:#1e293b;flex:1;}
    .wl-resume-modal-close{
      width:30px;height:30px;border-radius:8px;background:#f1f5f9;
      border:1px solid #cccccc;cursor:pointer;display:flex;align-items:center;justify-content:center;
      color:#6b7280;font-size:14px;
    }
    .wl-resume-modal-body{padding:20px 22px;}
    .wl-resume-modal-body p{font-size:13.5px;color:#374151;line-height:1.7;margin:0 0 14px;}
    .wl-resume-modal-info{
      background:#f0fdf4;border:1px solid #86efac;border-radius:10px;
      padding:12px 16px;font-size:12.5px;color:#166534;line-height:1.6;
    }
    .wl-resume-modal-info strong{font-weight:700;}
    .wl-resume-modal-footer{
      padding:14px 22px;border-top:1px solid #f1f5f9;
      display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;
    }
    .wl-resume-btn-fresh{
      padding:9px 18px;border-radius:8px;border:1.5px solid #e2e8f0;
      background:#f8fafc;font-size:13px;font-weight:600;color:#374151;cursor:pointer;
      transition:all .15s;
    }
    .wl-resume-btn-fresh:hover{background:#f1f5f9;border-color:#cbd5e1;}
    .wl-resume-btn-resume{
      padding:9px 20px;border-radius:8px;border:1px solid #cccccc;
      background:#15803d;
      color:#fff;font-size:13px;font-weight:700;cursor:pointer;transition:opacity .15s;
    }
    .wl-resume-btn-resume:hover{opacity:.88;}

    /* 임금대장 6단계 헤더 테이블 */
    .wl-ledger-wrap{
      overflow-x:auto;
      padding:0 4px 16px;
    }
    .wl-ledger-tbl{
      width:100%;
      border-collapse:collapse;
      font-size:11px;
      min-width:900px;
      table-layout:fixed;
    }

    /* 단계 헤더(TH) 공통 스타일 */
    .wl-ledger-tbl thead tr th{
      border:1px solid #94a3b8;
      text-align:center;
      vertical-align:middle;
      white-space:nowrap;
      padding:4px 5px;
      font-weight:700;
      font-size:10.5px;
    }

    /* 1단계 그룹 헤더 */
    .wl-th-group th{
      background:#1e293b;
      color:#f1f5f9;
      font-size:11px;
      padding:6px 5px;
      border-color:#334155;
    }
    .wl-th-personal{ background:#1e3a5f !important; color:#93c5fd !important; }
    .wl-th-pay     { background:#14532d !important; color:#86efac !important; }
    .wl-th-ded     { background:#3b0f0f !important; color:#fca5a5 !important; }
    .wl-th-sign    { background:#1e293b !important; color:#cbd5e1 !important; border-color:#334155 !important; }

    /* 2~6 일반 th */
    .wl-th-row th.wl-th-cell{
      background:#f1f5f9;
      color:#374151;
      font-size:10px;
      padding:4px 4px;
      white-space:normal;
      word-break:keep-all;
      line-height:1.3;
    }
    /* 병합된 직원정보 th (부서·직급/입사일·사원명) */
    .wl-th-cell.wl-th-merged{
      background:#e8f0fe;
      color:#1e3a8a;
    }
    /* 지급 공통 th/td (산정 기간·급여분·고용보험 공제 클래스) */
    .wl-th-na{
      background:#e2e8f0 !important;
    }
    .wl-td-na{
      background:#e2e8f0 !important;
    }
    /* 지급합계 th (연두색, 왼쪽 2px) */
    .wl-th-gross{
      background:#dcfce7 !important;
      color:#14532d !important;
      font-weight:800 !important;
      border:2px solid #15803d !important;
    }
    /* 공제합계 th (연빨강, 왼쪽 2px) */
    .wl-th-ded-sum{
      background:#fee2e2 !important;
      color:#b91c1c !important;
      font-weight:800 !important;
      border:2px solid #b91c1c !important;
    }
    /* 차인지급액 th (파란색, 왼쪽 2px) */
    .wl-th-net{
      background:#dbeafe !important;
      color:#1e40af !important;
      font-weight:800 !important;
      border:2px solid #1d4ed8 !important;
    }

    /* 표 데이터 행(tbody) 스타일 */
    .wl-ledger-tbl tbody td{
      border:1px solid #cbd5e1;
      vertical-align:middle;
      padding:3px 5px;
      font-size:11px;
      color:#1e293b;
      height:26px;        /* 모든 셀 높이 통일 */
    }
    .wl-ledger-tbl tbody tr:hover td{ filter:brightness(.94); }
    .wl-ledger-tbl tbody tr.wl-data-row:nth-child(even) td:not([class*="wl-td-"]){ background:#f8fafc; }
    /* 숫자 좌측 정렬 */
    .wl-td-num{
      text-align:right;
      white-space:nowrap;
      background:#f8fbff;
    }
    .wl-td-num strong{
      color:#1d4ed8;
    }
    /* 지급합계 td (연두색 배경 + 짙은 초록 텍스트, 왼쪽 2px) */
    .wl-td-gross{
      text-align:right;
      white-space:nowrap;
      background:#dcfce7 !important;
      color:#14532d !important;
      font-weight:700;
      border:2px solid #15803d !important;
    }
    .wl-td-gross strong{ color:#14532d !important; }
    /* 공제합계 td (연빨강 배경 + 진빨강 텍스트, 왼쪽 2px) */
    .wl-td-ded-sum{
      text-align:right;
      white-space:nowrap;
      background:#fee2e2 !important;
      color:#b91c1c !important;
      font-weight:700;
      border:2px solid #b91c1c !important;
    }
    .wl-td-ded-sum strong{ color:#b91c1c !important; }
    /* 차인지급액 td (파란색 배경 + 인디고 텍스트, 왼쪽 2px) */
    .wl-td-net{
      text-align:right;
      white-space:nowrap;
      background:#dbeafe !important;
      color:#1e40af !important;
      font-weight:700;
      border:2px solid #1d4ed8 !important;
    }
    .wl-td-net strong{ color:#1e40af !important; }
    /* 사원번호·성명·직원정보 중앙 */
    .wl-td-center{
      text-align:center;
      background:#f8fafc;
    }
    .wl-td-empno{
      font-size:10px;
      color:#475569;
      background:#f1f5f9;
    }
    .wl-td-name{
      font-weight:700;
      font-size:12px;
      color:#0f172a;
      background:#f0f4ff;
    }
    .wl-td-dept{
      font-size:10.5px;
      color:#374151;
      background:#f8f9fb;
    }
    /* 근로자 정보 */
    .wl-td-sign{
      background:#fff;
      min-width:50px;
      vertical-align:middle;
      text-align:center;
      border-bottom:2px solid #475569 !important;
    }

    /* 표 데이터 행 교차 배경 (직원 구분) */
    /* 직원 단위 = 5행 묶음: 첫 번째 행에 왼쪽 강조선 */
    .wl-data-row:first-child td,
    .wl-ledger-tbl tbody tr.wl-data-row-top td{
      border-top:2px solid #94a3b8;
    }
    /* 테이블 마지막 행 왼쪽 테두리 2px */
    .wl-ledger-tbl tbody tr:last-child td{
      border-bottom:2px solid #475569 !important;
    }

    /* 요약 부분 하단선 */
    .wl-sum-row td{
      background:#f0f7ff !important;
      border-top:2px solid #1e293b !important;
    }
    .wl-sum-row .wl-td-name{
      background:#1e293b !important;
      color:#f1f5f9 !important;
    }
    .wl-sum-row .wl-td-num strong{
      color:#b45309;
    }

    /* 소계 여백 */
    .wl-ledger-tbl col.wl-col-empno  { width:80px;  }
    .wl-ledger-tbl col.wl-col-name   { width:72px;  }
    .wl-ledger-tbl col.wl-col-pay    { width:72px;  }
    .wl-ledger-tbl col.wl-col-ded    { width:82px;  }
    .wl-ledger-tbl col.wl-col-sign   { width:52px;  }

    /* 표 구분 테두리 C2|C3(성명|기본급), C8|C9(지급합계·차인금액) */
       :first-of-type 사용 시 무의미 tag 기준으로 thead 내 tr(wl-th-group)이 제외당함
       wl-th-row 전체가 :not(:first-of-type) 으로 분류되는 오류 발생
       → wl-th-row-ind(개별, 독립) / wl-th-row-mrg(2~6, 병합) 클래스로 명확 구분 */

    /* thead 1행(그룹헤더): 직원정보·기본급여·금액 좌측 */
    .wl-ledger-tbl thead tr.wl-th-group th.wl-th-personal{
      border-right:2px solid #475569 !important;
    }
    .wl-ledger-tbl thead tr.wl-th-group th.wl-th-pay{
      border-right:2px solid #475569 !important;
    }

    /* thead 2행 (wl-th-row-ind, 독립 th 13개):
       nth-child(2)=성명 좌측, nth-child(8)=지급합계 좌측 */
    .wl-ledger-tbl thead tr.wl-th-row-ind th:nth-child(2){
      border-right:2px solid #475569 !important;
    }
    .wl-ledger-tbl thead tr.wl-th-row-ind th:nth-child(8){
      border-right:2px solid #475569 !important;
    }

    /* thead 2~6 (wl-th-row-mrg, colspan=2 병합 th 12개):
       nth-child(1)=병합기 좌측, .wl-th-gross/.wl-th-pay-last=지급합계 좌측 */
    .wl-ledger-tbl thead tr.wl-th-row-mrg th:nth-child(1){
      border-right:2px solid #475569 !important;
    }
    .wl-ledger-tbl thead th.wl-th-gross,
    .wl-ledger-tbl thead th.wl-th-pay-last{
      border-right:2px solid #475569 !important;
    }

    /* tbody 1행: 성명 좌측(.wl-td-name), 지급합계 좌측(.wl-td-gross) */
    .wl-ledger-tbl tbody td.wl-td-name{
      border-right:2px solid #475569 !important;
    }
    .wl-ledger-tbl tbody td.wl-td-gross{
      border-right:2px solid #475569 !important;
    }

    /* tbody 2~5: 병합기 좌측(td[colspan="2"]),
       지급합계 우측(.wl-td-pay-last) */
    .wl-ledger-tbl tbody td[colspan="2"]{
      border-right:2px solid #475569 !important;
    }
    .wl-ledger-tbl tbody td.wl-td-pay-last{
      border-right:2px solid #475569 !important;
    }

    /* 각 행 개별 금액들 좌측 구분 테두리 2px 적용 */
    .wl-ledger-tbl thead th.wl-th-sign{
      border-left:2px solid #334155 !important;
    }
    .wl-ledger-tbl tbody td.wl-td-sign{
      border-left:2px solid #475569 !important;
    }

    /* 임금대장 급여 입력 : 지급대상자 목록 / 기간 선택 UI */
#pi-load-target-btn:hover{}
#pi-prev-download-btn:hover{}
#pi-bulk-upload-btn:hover{}
#pi-target-list-body tr:last-child{
  border-bottom: none;
}
#pi-form-emp-header{
  transition: all .2s;
}

    /* 각 직원별 임금대장 출력 모달 드롭다운 */
.pi-upload-dz{
  border: 2px dashed #fcd34d;
  border-radius: 14px;
  background: #fffbeb;
  padding: 36px 24px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
}
.pi-upload-dz:hover,
.pi-upload-dz-over{
  border-color: #f59e0b !important;
  background: #fef3c7 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(245,158,11,.18);
}
.pi-upload-dz-icon{
  font-size: 40px;
  color: #f59e0b;
  margin-bottom: 12px;
}
.pi-upload-dz-text{
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 4px;
}
.pi-upload-dz-hint{
  font-size: 12px;
  color: #b45309;
}
.pi-upload-dz-label{
  margin-top: 10px;
  font-size: 12.5px;
  color: #d97706;
  font-weight: 600;
  word-break: break-all;
}

.dash-co-btn:focus-visible { outline:2.5px solid currentColor; outline-offset:2px; }
/* 공제 모드 배지 */
.pi-ded-badge-rate{font-size:11px;color:#9ca3af;font-weight:400}
.pi-ded-badge-fixed{font-size:10px;padding:2px 8px;border-radius:10px;margin-left:6px;background:#f59e0b;color:#fff}
/* 공제내역 모드 뱃지 제거됨 — 클래스는 하위호환용 유지 */
/* payroll input textarea (비고와 동일 스타일) */
.pi-textarea{width:100%;border:1px solid #e0e0e0;border-radius:6px;padding:6px 9px;font-size:13px;font-family:inherit;resize:vertical;color:#1a1a2e;box-sizing:border-box;line-height:1.55;margin-bottom:4px}
.pi-textarea:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 2px rgba(99,102,241,.25)}
/* 총계 요약 박스 */
.pi-summary-box{margin-top:18px;padding:14px;background:#fff3f5;border-radius:10px;border:1px solid #ffd0d8}
.pi-summary-row{display:flex;justify-content:space-between;font-size:12.5px;padding:4px 0}
.pi-summary-total{display:flex;justify-content:space-between;font-size:15px;font-weight:800;padding-top:10px;border-top:2px solid #e94560;margin-top:6px}