/* ═══════════════════════════════════════════════════════════
   고객사 앱 v2 — 모바일 중심 UI (2026-10-29 전면 개편)
   - 조회 시점 날짜바 / 임직원 현황 / 급여통계 / 햄버거 슬라이드 / 4탭
   ═══════════════════════════════════════════════════════════ */

/* ── 조회 시점 날짜바 (상단 헤더 아래) ── */
.header-date-row{
  display:flex;align-items:center;gap:8px;
  margin-top:10px;padding:7px 4px 6px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
}
.header-date-row.hidden{display:none}
.hd-btn{
  width:36px;height:36px;flex-shrink:0;
  background:rgba(255,255,255,.12);border:none;border-radius:10px;
  color:#fff;font-size:15px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.hd-btn:active{background:rgba(255,255,255,.28)}
.hd-label-wrap{
  flex:1;display:flex;align-items:center;justify-content:center;gap:7px;
  background:none;border:none;cursor:pointer;font-family:inherit;
  padding:2px 6px;min-width:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.hd-cal{color:rgba(255,255,255,.8);font-size:14px;flex-shrink:0}
.hd-label{color:#fff;font-size:14px;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
.hd-today-btn{
  height:32px;flex-shrink:0;padding:0 10px;
  background:rgba(99,102,241,.9);border:none;border-radius:10px;
  color:#fff;font-size:11.5px;font-weight:700;cursor:pointer;font-family:inherit;
  transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.hd-today-btn:active{background:#4f46e5}
.hd-date-input{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0;padding:0;pointer-events:none}

/* ── 임금통계: 본문 상단 월 선택기 ── */
.ps-month-row{
  display:flex;align-items:center;gap:8px;
  background:#fff;border-radius:14px;padding:7px 8px;
  box-shadow:0 1px 8px rgba(0,0,0,.06);margin-bottom:12px;
}
.ps-month-btn{
  width:36px;height:36px;flex-shrink:0;
  background:#f9fafb;border:1px solid #e5e7eb;border-radius:10px;
  color:#374151;font-size:15px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ps-month-btn:active{background:#eef2ff}
.ps-month-label-wrap{
  flex:1;display:flex;align-items:center;justify-content:center;gap:7px;
  background:none;border:none;cursor:pointer;font-family:inherit;
  padding:4px 6px;min-width:0;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ps-month-cal{color:#6b7280;font-size:14px;flex-shrink:0}
.ps-month-label{color:#1a1a2e;font-size:17px;font-weight:800;letter-spacing:-.2px;white-space:nowrap}
.ps-month-today{
  height:32px;flex-shrink:0;padding:0 10px;
  background:#4f46e5;border:none;border-radius:10px;
  color:#fff;font-size:13px;font-weight:700;cursor:pointer;font-family:inherit;
  transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ps-month-today:active{background:#4f46e5}
.ps-month-input{position:absolute;right:0;bottom:0;width:1px;height:1px;opacity:0;border:0;padding:0;pointer-events:none}

/* ── 임금통계 카드 ── */
.ps-card-group{display:flow-root;margin-bottom:14px}
.ps-card-head{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 8px;
  padding:0 6px 8px;margin-top:10px;
}
/* 첫 섹션은 탭 메뉴 여백을 그대로 사용 */
.ps-card-group:first-child .ps-card-head{margin-top:0}
/* 아코디언 묶음: 그룹 안 마지막 카드는 그룹 여백을 사용 */
.ps-card-group > .ps-acc:last-of-type{margin-bottom:0}
.ps-card-title{
  display:inline-flex;align-items:center;gap:6px;min-width:0;
  font-size:16px;font-weight:800;color:#1a1a2e;letter-spacing:-.3px;white-space:nowrap;
}
.ps-card-title i{font-size:16px;color:#4f46e5}
.ps-card-meta{margin-left:auto;font-size:12px;font-weight:400;color:#9ca3af;white-space:nowrap}
/* 카드 내부 헤더(지급총액·공제총액·실지급액) — 아이콘 없이 라벨 + 금액 */
.pb-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.pb-head-label{font-size:24px;font-weight:800;color:#4b5563;letter-spacing:-.3px}
.pb-head-amount{font-size:24px;font-weight:800;color:#3730a3;font-variant-numeric:tabular-nums;white-space:nowrap}
.pb-head-amount--ded{color:#b91c1c}
.pb-head-amount--net{color:#0f172a}
.pb-head + .pay-breakdown{margin-top:10px;padding-top:6px}
/* 지급 항목 / 공제 항목 구분선 (총액 헤더 제거 후) */
.pb-divider{height:1px;background:rgba(15,23,42,.09);margin:8px 0}.pb-head + .pb-calc{margin-top:10px;padding-top:8px;border-top:1px solid rgba(15,23,42,.08)}
/* 실지급액 카드: 지급총액 − 공제총액 계산 표시 */
.pb-calc{display:flex;align-items:baseline;justify-content:space-between;gap:10px;font-size:15px;color:#4b5563}
.pb-calc:empty{display:none}
.pb-calc-label{flex-shrink:0}
.pb-calc-val{font-size:16px;color:#374151;font-variant-numeric:tabular-nums;white-space:nowrap}
/* 바깥 헤더로 옮긴 카드: 카드 안쪽 여백/구분선 보정 */
.ps-card-group > .v2-section,
.ps-card-group > .v2-chart-card,
.ps-card-group > .v2-sum-card{margin-bottom:0}
.ps-card-plain .pay-breakdown{margin-top:0;border-top:none;padding-top:0}
@media (max-width:380px){
  .ps-card-title{font-size:15px;gap:4px}
  .ps-card-title i{display:none}
}

/* ── 페이지 공통 ── */
.v2-page{padding:14px 12px 24px}
.v2-section{background:#fff;border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.06);padding:14px 14px 12px;margin-bottom:12px}
.v2-section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}
.v2-section-title{font-size:18px;font-weight:800;color:#1a1a2e;letter-spacing:-.3px}
.v2-section-title i{margin-right:6px}
.v2-asof{font-size:14px;color:#6b7280;font-weight:600}
.v2-asof strong{color:#4f46e5}
.v2-hint{font-size:15px;color:#6b7280;margin:0 0 8px;line-height:1.6}
.v2-hint i{margin-right:4px}
.v2-footnote{font-size:14px;color:#6b7280;line-height:1.7;padding:4px 6px 20px;text-align:center}

/* ── 임직원 현황: 고용형태 칩 ── */
.emp-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.emp-cat-chip{
  display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:18px 10px 15px;border-radius:16px;cursor:pointer;
  background:#fff;border:1px solid #eef1f5;font-family:inherit;
  box-shadow:0 2px 10px rgba(17,24,39,.05);
  transition:transform .12s,border-color .12s,box-shadow .12s,background .12s;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.emp-cat-chip:active{transform:scale(.97)}
.emp-cat-chip.on{border-color:#4f46e5;box-shadow:0 6px 18px rgba(99,102,241,.18);background:linear-gradient(180deg,#f5f6ff,#eef0ff)}
.emp-cat-chip:disabled{opacity:.42;cursor:default;pointer-events:none}
.emp-cat-icon{
  width:42px;height:42px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:17px;line-height:1;
}
.emp-cat-name{font-size:16px;font-weight:700;color:#374151;display:flex;align-items:center;justify-content:center;gap:3px;text-align:center;line-height:1.25}
.emp-cat-chip.on .emp-cat-name{color:#3730a3}
.emp-cat-name small{font-size:13px;color:#6b7280;font-weight:600}
.emp-cat-count{font-size:14px;font-weight:700;color:#6b7280}
.emp-cat-chip.on .emp-cat-count{color:#4f46e5}

/* ── 임직원 현황: 검색 ── */
.emp-search-wrap{
  display:flex;align-items:center;gap:8px;
  background:#fff;border-radius:12px;box-shadow:0 1px 8px rgba(0,0,0,.06);
  padding:0 12px;margin-bottom:12px;border:1.5px solid transparent;
}
.emp-search-wrap:focus-within{border-color:#9080e4}
.emp-search-wrap > i{color:#6b7280;font-size:14px;flex-shrink:0}
.emp-search-wrap input{
  flex:1;border:none;background:none;padding:12px 0;font-size:16px;
  color:#1a1a2e;font-family:inherit;outline:none;min-width:0;
}
.emp-search-wrap input::placeholder{color:#b0b7c3}
.emp-search-wrap button{
  background:none;border:none;color:#6b7280;cursor:pointer;font-size:13px;
  padding:6px;flex-shrink:0;-webkit-tap-highlight-color:transparent;
}

/* ── 임직원 현황: 근로자 목록 ── */
.emp-list{display:grid;grid-template-columns:1fr;gap:10px}
.emp-row{
  display:flex;align-items:center;gap:12px;
  background:#fff;border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.06);
  padding:14px 16px;cursor:pointer;border:1.5px solid transparent;
  transition:border-color .12s,transform .12s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.emp-row:active{transform:scale(.985);border-color:#c7d2fe}
.emp-row-avatar{
  width:44px;height:44px;border-radius:50%;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:16px;font-weight:800;
}
.emp-row-info{flex:1;min-width:0}
.emp-row-name{font-size:16px;font-weight:800;color:#1a1a2e;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.emp-row-meta{font-size:14px;color:#6b7280;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.emp-row-badge{
  font-size:14px;font-weight:700;padding:3px 10px;border-radius:20px;flex-shrink:0;
}
.emp-row-arrow{color:#d1d5db;font-size:12px;flex-shrink:0}
.emp-empty{
  text-align:center;padding:44px 20px;color:#6b7280;background:#fff;
  border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.06);
}
.emp-empty i{font-size:34px;display:block;margin-bottom:10px;color:#d1d5db}
.emp-empty div{font-size:16px;font-weight:700;color:#6b7280}
.emp-empty p{font-size:14px;margin-top:4px}

/* ── 임직원 현황: 퇴직자 화면 섹션 ── */
.emp-retired-section-title{
  display:flex;align-items:center;gap:6px;
  font-size:16px;font-weight:800;color:#374151;
  margin:16px 2px 8px;padding-left:2px;
}
.emp-retired-section-title .count{font-size:14px;font-weight:700;color:#6b7280;margin-left:2px}

/* ── 급여통계: 빠른 이동 ── */
.v2-quick-row{display:flex;gap:8px;margin-bottom:12px;align-items:center}
.v2-quick-btn{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 13px;border-radius:12px;border:none;cursor:pointer;
  background:#eef2ff;color:#3730a3;font-size:16px;font-weight:700;font-family:inherit;
  box-shadow:0 1px 6px rgba(0,0,0,.05);
  transition:transform .12s,background .12s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.v2-quick-btn:active{transform:scale(.96);background:#e0e7ff}
.v2-quick-btn:disabled{background:#f3f4f6;color:#d1d5db;cursor:not-allowed;box-shadow:none}
.v2-quick-btn i{font-size:15px}

/* ── 급여통계: 요약 카드 ── */
.v2-sum-grid{display:grid;grid-template-columns:1fr;gap:10px;margin-bottom:12px}
.v2-sum-card{
  border:none;border-radius:14px;padding:14px 14px 12px;cursor:pointer;
  text-align:left;font-family:inherit;box-shadow:0 3px 12px rgba(0,0,0,.09);
  transition:transform .12s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.v2-sum-card:active{transform:scale(.97)}
.v2-sum-prev{background:#fff;border:1px solid #e8ecf2;box-shadow:0 2px 10px rgba(17,24,39,.06)}
.v2-sum-next{background:linear-gradient(135deg,#ecfdf5,#d1fae5)}
.v2-sum-label{font-size:16px;font-weight:700;color:#4b5563;display:flex;align-items:center;gap:5px;white-space:nowrap;letter-spacing:-.2px}
.v2-sum-label i{font-size:16px;color:#4f46e5}
.v2-sum-next .v2-sum-label i{color:#059669}
.v2-sum-row{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 5px}
.v2-sum-row > .v2-sum-sub{margin-left:auto;white-space:nowrap}
/* 좁은 화면: 카드 헤더(제목 + 기준일·인원)가 한 줄에 들어가도록 아이콘 숨김 */
@media (max-width: 380px){
  .v2-sum-label i{display:none}
}
.v2-sum-row--stack{display:block}
.v2-sum-row--stack .v2-sum-val{display:block;margin-left:0;margin-top:3px;text-align:right;font-size:24px}
.v2-sum-period{font-size:14px;color:#6b7280;line-height:1.5;word-break:keep-all}
.v2-sum-val{font-size:22px;font-weight:900;color:#1f2937;letter-spacing:-.5px;word-break:break-all;text-align:right;margin-left:auto}
.v2-sum-prev .v2-sum-val{color:#3730a3}
.v2-sum-next .v2-sum-val{color:#065f46}
.v2-sum-sub{font-size:14px;color:#6b7280;margin-top:6px;line-height:1.5;text-align:right}

/* ── 임금통계: 3항목 요약 카드 (지급총액·공제총액·실지급액) ── */
.ps-sumbar{cursor:default;padding:4px 16px;margin-bottom:14px}
.ps-sumbar:active{transform:none}
.ps-sumbar-row{padding:13px 0;border-top:1px solid #f1f5f9}
.ps-sumbar-row:first-child{border-top:none}
.ps-sumbar-row .v2-sum-label{font-size:16px;color:#4b5563}
.ps-sumbar-row .v2-sum-val{font-size:20px;color:#1f2937}
.ps-sumbar-row--ded .v2-sum-val{color:#b91c1c}
.ps-sumbar-row--gross .v2-sum-val{color:#3730a3}
.ps-sumbar-row--net .v2-sum-label{color:#111827}
.ps-sumbar-row--net .v2-sum-val{color:#4338ca}
@media (max-width:420px){
  .ps-sumbar{padding:2px 14px}
  .ps-sumbar-row{padding:12px 0}
  .ps-sumbar-row .v2-sum-val{font-size:19px}
}

/* ── 직전월 임금내역 상세 ── */
.pay-breakdown{margin-top:14px;border-top:1px solid rgba(15,23,42,.08);padding-top:4px}.pb-group-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin:14px 0 4px;font-size:16px;font-weight:800;color:#1f2937;
}
.pb-group-head:first-child{margin-top:0}
.pb-group-head.pb-ded{color:#b91c1c}
.pb-item{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  padding:5px 0 5px 12px;font-size:16px;color:#6b7280;
}
.pb-item .pb-amt,.pb-group-head .pb-amt{
  text-align:right;font-variant-numeric:tabular-nums;flex-shrink:0;
}
.pb-item .pb-amt{font-size:16px;font-weight:400;color:#374151}
.pb-total{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin-top:14px;padding-top:12px;border-top:1px dashed rgba(15,23,42,.16);
  font-size:16px;font-weight:800;color:#0f172a;
}
.pb-total .pb-amt{font-size:20px;font-weight:900;color:#3730a3;text-align:right;font-variant-numeric:tabular-nums}
.pb-empty{font-size:15px;color:#6b7280;text-align:center;padding:14px 0}

/* ── 지급 세부항목 아코디언 (약정임금·추가근로수당·비정기지급수당) ── */
.ps-acc{
  background:#fff;border:1px solid #e8ecf2;border-radius:14px;margin-bottom:12px;
  box-shadow:0 2px 10px rgba(17,24,39,.06);overflow:hidden;
}
.ps-acc-head{
  display:flex;align-items:center;gap:10px;width:100%;
  padding:16px 14px;border:none;background:none;font-family:inherit;
  text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ps-acc-name{flex:1 1 auto;min-width:0;font-size:14px;font-weight:800;color:#374151;letter-spacing:-.2px}
.ps-acc-amt{flex:0 0 auto;font-size:14px;font-weight:900;color:#3730a3;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.ps-acc-chev{flex:0 0 auto;font-size:14px;color:#9ca3af;transition:transform .18s}
.ps-acc.open .ps-acc-chev{transform:rotate(180deg)}
.ps-acc-body{display:none;padding:4px 14px 14px;border-top:1px solid #f1f5f9}
.ps-acc.open .ps-acc-body{display:block}
.ps-acc-pie{margin:14px auto 6px}
/* 금액 0원 — 비활성 카드 */
.ps-acc.disabled{background:#f8fafc;border-color:#eef1f5;box-shadow:none}
.ps-acc.disabled .ps-acc-head{cursor:default}
.ps-acc.disabled .ps-acc-name{color:#9ca3af}
.ps-acc.disabled .ps-acc-amt{color:#b0b7c3;font-weight:800}
.ps-acc.disabled .ps-acc-chev{color:#d8dde5}
.ps-acc.disabled .ps-acc-body{display:none}
@media (max-width:420px){
  .ps-acc-head{padding:15px 12px}
  .ps-acc-body{padding:2px 12px 12px}
}

/* ── 아코디언 세부항목 표 ── */
.ps-paymix-table{margin-top:4px}
/* ── 공제 세부내역: 아코디언 묶음 ── */
.ps-card-group.ps-ded-group > .v2-sum-card,
.ps-card-group.ps-ded-group > .ps-acc{margin-bottom:12px}
.ps-card-group.ps-ded-group > *:last-child{margin-bottom:0}
/* 공제 아코디언 합계는 공제 색상으로 통일 */
.ps-ded-group .ps-acc-amt{color:#b91c1c}
/* 공제 아코디언 본문 — 항목 목록 (헤더 구분선과 겹치지 않게) */
.ps-ded-group .ps-acc-body .pay-breakdown{margin-top:0;border-top:none;padding-top:0}
/* 지급세부내역(아코디언 표)과 동일한 타이포로 통일 */
.ps-ded-group .ps-acc-body .pb-item{
  padding:10px 0;font-size:16px;font-weight:400;color:#374151;
  border-top:1px solid #f1f5f9;
}
.ps-ded-group .ps-acc-body .pb-item:first-child{border-top:none}
.ps-ded-group .ps-acc-body .pb-item .pb-amt{font-size:16px;font-weight:700;color:#111827}
@media (max-width:400px){
  .ps-ded-group .ps-acc-body .pb-item{font-size:13px}
  .ps-ded-group .ps-acc-body .pb-item .pb-amt{font-size:14px}
}
.ps-paymix-row{
  display:grid;grid-template-columns:minmax(0,1fr) 56px 98px;column-gap:10px;align-items:baseline;
}
.ps-paymix-row{padding:10px 0;border-top:1px solid #f1f5f9}
.ps-paymix-name{
  display:flex;align-items:center;gap:7px;min-width:0;
  font-size:16px;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.ps-paymix-dot{flex:0 0 9px;height:9px;border-radius:50%;display:inline-block}
.ps-paymix-pct{font-size:16px;font-weight:700;color:#374151;text-align:right;font-variant-numeric:tabular-nums}
.ps-paymix-meta{font-size:16px;font-weight:700;color:#374151;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.ps-paymix-amt{font-size:16px;font-weight:700;color:#111827;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
/* 항목명이 길어도 잘리지 않도록 2줄 허용 (좁은 카드 대응) */
.ps-acc-body .ps-paymix-row{align-items:center;column-gap:8px}
.ps-acc-body .ps-paymix-name{
  align-items:flex-start;white-space:normal;overflow:visible;text-overflow:clip;
  word-break:keep-all;overflow-wrap:anywhere;line-height:1.3;
}
.ps-acc-body .ps-paymix-dot{margin-top:5px}
@media (max-width:400px){
  .ps-acc-body .ps-paymix-row{grid-template-columns:minmax(0,1fr) 48px 98px;column-gap:5px}
  .ps-acc-body .ps-paymix-name,
  .ps-acc-body .ps-paymix-pct{font-size:13px}
  .ps-acc-body .ps-paymix-amt{font-size:14px}
}
@media (max-width:340px){
  .ps-acc-body .ps-paymix-row{grid-template-columns:minmax(0,1fr) 42px 88px;column-gap:4px}
  .ps-acc-body .ps-paymix-pct{font-size:12px}
  .ps-acc-body .ps-paymix-amt{font-size:13px}
}
/* 근태 차감 표 — 시간/건수 열 */
#ps-ded-att-table .ps-paymix-row{grid-template-columns:minmax(0,1fr) 66px 98px;column-gap:8px}
#ps-ded-att-table .ps-paymix-row:first-child{border-top:none}
@media (max-width:400px){
  #ps-ded-att-table .ps-paymix-row{grid-template-columns:minmax(0,1fr) 56px 92px;column-gap:5px}
  #ps-ded-att-table .ps-paymix-meta{font-size:13px}
}
@media (max-width:340px){
  #ps-ded-att-table .ps-paymix-row{grid-template-columns:minmax(0,1fr) 52px 86px;column-gap:4px}
  #ps-ded-att-table .ps-paymix-meta{font-size:12px}
}

/* ── 일자별 급여 내역 ── */
.ps-daily-head,.ps-daily-row{
  display:grid;grid-template-columns:94px minmax(0,1fr) auto;gap:8px;align-items:baseline;
}
.ps-daily-head{
  padding-bottom:7px;font-size:16px;font-weight:700;color:#6b7280;
}
.ps-daily-head span:last-child{text-align:right}
.ps-daily-row{padding:10px 0;border-top:1px solid #f1f5f9}
.ps-daily-date{font-size:16px;font-weight:700;color:#374151;font-variant-numeric:tabular-nums;white-space:nowrap}
.ps-daily-who{font-size:16px;color:#4b5563;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ps-daily-amt{font-size:16px;font-weight:700;color:#111827;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}

/* ── 12개월 추이: 항목 탭 + 월별 금액 표 ── */
.ps-trend-tabs{display:flex;gap:5px;margin:0 0 14px}
.ps-trend-tab{
  appearance:none;-webkit-appearance:none;flex:1 1 0;min-width:0;
  min-height:40px;padding:5px 3px;border:1.5px solid #e2e8f0;border-radius:10px;
  font-size:15px;font-weight:700;line-height:1.15;cursor:pointer;text-align:center;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  transition:background .15s,color .15s,border-color .15s;
}
.ps-trend-tab.active{box-shadow:0 2px 8px rgba(15,23,42,.14)}
/* 상단 4탭(.v2-ps-tab)과 동일한 폰트·높이 스케일 유지 */
@media (max-width:420px){
  .ps-trend-tab{min-height:34px;padding:4px 3px;font-size:13px;letter-spacing:-.3px}
}
@media (max-width:340px){
  .ps-trend-tab{min-height:32px;padding:4px 3px;font-size:12px;letter-spacing:-.4px}
}
.ps-trend-table{margin-top:16px}
.ps-trend-trow{
  display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;align-items:baseline;
}
.ps-trend-trow{padding:10px 0;border-top:1px solid #f1f5f9}
.ps-trend-month{font-size:16px;font-weight:700;color:#374151;font-variant-numeric:tabular-nums}
.ps-trend-amt{font-size:16px;font-weight:700;color:#111827;text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}

/* ── 임금통계: 월 선택기 + 4탭 상단 고정 (탭 아래 본문만 스크롤) ── */
.v2-ps-topbar{
  position:sticky;top:56px;z-index:60;display:flow-root;
  margin:-10px -12px 0;padding:10px 12px 0;
  background:#f0f2f5;
}
.v2-ps-topbar.is-stuck{box-shadow:0 8px 14px -8px rgba(15,23,42,.28)}

/* ── 임금통계: 상단 4탭 (모바일에서도 1행 유지) ── */
.v2-ps-tabs{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;
  background:#fff;border-radius:14px;padding:4px;
  box-shadow:0 1px 8px rgba(0,0,0,.06);margin-bottom:12px;
}
.v2-ps-tab{
  display:flex;align-items:center;justify-content:center;
  min-height:40px;padding:5px 2px;border:none;border-radius:10px;
  background:none;font-family:inherit;font-size:15px;font-weight:700;line-height:1.25;
  color:#6b7280;word-break:keep-all;overflow-wrap:anywhere;text-align:center;cursor:pointer;
  transition:background .15s,color .15s;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
/* 좁은 화면: 4탭을 한 행에 유지하면서 2줄로 꺾이지 않도록 폰트·간격 축소 */
@media (max-width: 420px){
  .v2-ps-tabs{gap:3px;padding:3px}
  .v2-ps-tab{min-height:34px;padding:4px 0;font-size:13px;letter-spacing:-.3px}
}
@media (max-width: 340px){
  .v2-ps-tabs{gap:2px;padding:3px}
  .v2-ps-tab{min-height:32px;font-size:12px;letter-spacing:-.4px}
}
.v2-ps-tab.active{background:linear-gradient(135deg,#4f46e5,#6366f1);color:#fff;box-shadow:0 2px 8px rgba(79,70,229,.28)}
.v2-ps-tabs .v2-ps-tab.active{color:#fff}
.v2-ps-panel{display:none}
.v2-ps-panel.active{display:block}

/* ── 급여명세서 탭: 월 이동 ── */
.v2-ps-monthnav{
  display:flex;align-items:center;gap:8px;justify-content:center;
  background:#fff;border-radius:12px;padding:8px 10px;margin-bottom:10px;
  box-shadow:0 1px 8px rgba(0,0,0,.06);
}
.v2-ps-monthbtn{
  width:34px;height:34px;border-radius:9px;border:1px solid #e5e7eb;background:#f9fafb;
  color:#4b5563;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;
  -webkit-tap-highlight-color:transparent;
}
.v2-ps-monthlabel{font-size:16px;font-weight:800;color:#1a1a2e;min-width:112px;text-align:center}
.v2-ps-monthtoday{
  margin-left:auto;border:1px solid #ddd6fe;background:#f5f3ff;color:#4f46e5;
  border-radius:9px;padding:7px 12px;font-family:inherit;font-size:14px;font-weight:700;cursor:pointer;
}

/* ── 임금대장 탭 ── */
.ps-ledger-card{
  background:#fff;border-radius:0;padding:0;overflow:hidden;
  box-shadow:0 2px 10px rgba(17,24,39,.06);
}
.ps-top-notice{
  font-size:13px;font-weight:400;color:#6b7280;line-height:1.65;text-align:left;
  padding:10px 12px;margin:0 0 12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px;
}
.ps-ledger-frame{
  display:block;width:100%;height:76vh;
  border:0;border-radius:0;background:#fff;
}
/* ── 급여통계: 고용형태별 (파이) ── */
.v2-type-pie{display:block}
.v2-pie-canvas{position:relative;width:100%;max-width:220px;height:200px;margin:6px auto 2px}
.v2-pie-legend{margin-top:6px}
.v2-pie-row{
  display:flex;align-items:center;gap:8px;padding:9px 0;
  border-top:1px solid #f1f5f9;
}
.v2-pie-row:first-child{border-top:none}
.v2-pie-dot{width:10px;height:10px;border-radius:3px;flex-shrink:0}
.v2-pie-name{flex:1;min-width:0;font-size:16px;font-weight:700;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v2-pie-name em{font-style:normal;font-size:14px;font-weight:600;color:#6b7280;margin-left:4px}
.v2-pie-pct{font-size:16px;font-weight:700;color:#4b5563;min-width:48px;text-align:right;font-variant-numeric:tabular-nums}
.v2-pie-amt{font-size:17px;font-weight:800;color:#1f2937;min-width:104px;text-align:right;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.v2-pie-row.is-zero .v2-pie-name{color:#6b7280;font-weight:600}
.v2-pie-row.is-zero .v2-pie-amt{color:#6b7280;font-weight:700}
.v2-pie-row.is-zero .v2-pie-pct{color:#cbd5e1}
.v2-pie-row.is-zero .v2-pie-dot{opacity:.35}

/* ── 급여통계: 차트 카드 ── */
.v2-chart-card{background:#fff;border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.06);padding:14px;margin-bottom:12px}
.v2-chart-card .toggle-row{margin-bottom:8px}

/* ── 근로자 액션 시트 ── */
.ea-head{
  border-radius:16px 16px 0 0;margin:-1px -1px 0;padding:18px 18px 16px;
  display:flex;align-items:center;gap:12px;
}
.ea-avatar{
  width:46px;height:46px;border-radius:50%;flex-shrink:0;
  background:rgba(255,255,255,.2);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:800;
}
.ea-name{color:#fff;font-size:18px;font-weight:800}
.ea-meta{color:rgba(255,255,255,.8);font-size:14px;margin-top:3px;line-height:1.5}
.ea-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 16px 6px}
.ea-btn{
  display:flex;flex-direction:column;align-items:flex-start;gap:5px;
  background:#f8fafc;border:1.5px solid #eef1f5;border-radius:12px;
  padding:12px 13px;cursor:pointer;font-family:inherit;text-align:left;
  transition:border-color .12s,transform .12s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.ea-btn:active{transform:scale(.97);border-color:#c7d2fe}
.ea-btn i{font-size:18px;color:#4f46e5}
.ea-btn span{font-size:16px;font-weight:800;color:#1f2937}
.ea-btn small{font-size:15px;color:#6b7280;line-height:1.4}
.ea-btn-wide{grid-column:1 / -1}
.ea-foot{padding:8px 16px 18px}
.ea-foot button{
  width:100%;background:#f3f4f6;border:none;border-radius:12px;padding:13px;
  font-size:16px;font-weight:700;color:#6b7280;cursor:pointer;font-family:inherit;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}

/* ── 일용직 4대보험 신고 (빈 상태) ── */
.di-empty{
  background:#fff;border-radius:14px;box-shadow:0 1px 8px rgba(0,0,0,.06);
  text-align:center;padding:40px 22px;
}
.di-empty i{font-size:38px;color:#cbd5e1;display:block;margin-bottom:12px}
.di-empty .di-title{font-size:18px;font-weight:800;color:#1a1a2e;margin-bottom:5px}
.di-empty .di-sub{font-size:14px;color:#6b7280;line-height:1.7}
.di-worker{
  margin-top:14px;padding:11px 14px;background:#f0f9ff;border:1px solid #bae6fd;
  border-radius:10px;font-size:14px;color:#075985;font-weight:700;
  display:flex;align-items:center;gap:7px;justify-content:center;
}

/* ── 약관·개인정보처리방침 ── */
.v2-legal{padding:4px 14px 90px}

/* 법률 문서 공통 (앱 내 페이지 · 로그인 오버레이) */
.legal-doc .legal-card{
  background:#fff;border-radius:16px;border:1px solid #edf0f4;
  box-shadow:0 2px 12px rgba(17,24,39,.05);
  padding:26px 22px 30px;
}
.legal-doc .legal-title{
  font-size:21px;font-weight:800;color:#0f172a;line-height:1.35;letter-spacing:-.4px;
}
.legal-doc .legal-date{
  font-size:14px;color:#94a3b8;line-height:1.75;margin-top:8px;word-break:keep-all;
}
.legal-doc .legal-date + .legal-date{margin-top:4px}

/* 조항(제N조) — 상위 레벨 */
.legal-doc h3{
  font-size:18px;font-weight:800;color:#0f172a;line-height:1.5;letter-spacing:-.2px;
  margin:34px 0 12px;padding-top:22px;border-top:1px solid #eef1f5;
  word-break:keep-all;
}
.legal-doc h3:first-of-type{margin-top:26px;padding-top:0;border-top:none}

/* 본문 */
.legal-doc p{
  font-size:16px;color:#475569;line-height:1.9;margin:0 0 10px;word-break:keep-all;
}
.legal-doc p:last-child{margin-bottom:0}

/* 1단계 들여쓰기 — ①②③ 항 */
.legal-doc p.legal-lv1{padding-left:14px}
/* 2단계 들여쓰기 — a. b. 등 세부 항목 */
.legal-doc p.legal-lv2{
  padding-left:32px;font-size:16px;color:#5b6675;line-height:1.85;margin-bottom:8px;
}

/* 2단계 들여쓰기 — 각 호 번호 목록 */
.legal-doc ol{list-style:none;counter-reset:legal-ol;margin:2px 0 14px;padding:0}
.legal-doc ol > li{
  counter-increment:legal-ol;position:relative;
  padding-left:32px;font-size:16px;color:#5b6675;line-height:1.85;margin:0 0 8px;
  word-break:keep-all;
}
.legal-doc ol > li::before{
  content:counter(legal-ol) ".";
  position:absolute;left:16px;top:0;
  font-weight:700;color:#94a3b8;font-variant-numeric:tabular-nums;
}

/* 불릿 목록 */
.legal-doc ul{list-style:none;margin:2px 0 14px;padding:0}
.legal-doc ul > li{
  position:relative;padding-left:32px;
  font-size:16px;color:#5b6675;line-height:1.85;margin:0 0 8px;word-break:keep-all;
}
.legal-doc ul > li::before{
  content:"";position:absolute;left:20px;top:.75em;
  width:5px;height:5px;border-radius:50%;background:#cbd5e1;
}

/* 표 — 테두리 표시 */
.legal-doc table{
  width:100%;border-collapse:collapse;
  font-size:14px;margin:6px 0 18px;
  border:1px solid #cfd6df;
}
.legal-doc thead th{
  background:#f4f6f9;color:#1e293b;
  font-weight:800;font-size:14px;
  border:1px solid #cfd6df;padding:10px 11px;
  text-align:left;line-height:1.55;word-break:keep-all;
}
.legal-doc tbody td{
  border:1px solid #dde3ea;padding:10px 11px;
  text-align:left;vertical-align:top;
  line-height:1.75;color:#475569;word-break:keep-all;
}
.legal-doc tbody tr:nth-child(even) td{background:#fafbfc}

/* ── 햄버거 슬라이드 메뉴 (오른쪽에서 슬라이드) ── */
.hmenu-backdrop{background:rgba(10,15,35,.45);opacity:0;pointer-events:none;transition:opacity .2s}
.hmenu-backdrop.open{display:block;opacity:1;pointer-events:auto}
.hmenu-panel{
  position:fixed;top:0;right:0;bottom:0;left:auto;
  width:min(300px,84vw);height:100%;border-radius:0;
  background:#fff;z-index:500;overflow-y:auto;
  transform:translateX(105%);opacity:1;pointer-events:auto;
  transition:transform .28s cubic-bezier(.32,.72,.32,1);
  box-shadow:-14px 0 44px rgba(0,0,0,.28);
  display:flex;flex-direction:column;
}
.hmenu-panel.open{transform:translateX(0)}
.hmenu-head{
  background:linear-gradient(135deg,#1a1a2e 0%,#0f3460 100%);
  padding:18px 16px 14px;display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding-top:calc(18px + env(safe-area-inset-top));
}
.hmenu-company{border-bottom:none;padding:0;min-width:0}
.hmenu-company-name{color:#fff;font-size:14px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hmenu-company-sub{color:rgba(255,255,255,.75);font-size:13px;margin-top:2px}
.hmenu-close{
  background:rgba(255,255,255,.15);border:none;color:#fff;width:30px;height:30px;
  border-radius:9px;cursor:pointer;font-size:15px;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.hmenu-section-title{
  padding:14px 18px 5px;font-size:13px;font-weight:800;color:#6b7280;letter-spacing:.6px;
}
.hmenu-panel .hmenu-item{padding:12.5px 18px}

/* ── 하단 4탭 ── */
.bottom-nav .nav-item{font-size:13px;font-weight:700}

/* ── 데스크톱(넓은 화면) 대응 ── */
@media (min-width: 700px){
  .v2-page, #page-employees, #page-paystats{max-width:640px;margin:0 auto}
  .v2-page{padding-left:0;padding-right:0}
}

/* ── 근태 기록 전체화면 달력 ── */
.att-cal-overlay{
  position:fixed;inset:0;background:#f4f6f9;z-index:600;
  display:none;flex-direction:column;overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.att-cal-overlay.open{display:flex}
.att-cal-head{
  position:sticky;top:0;z-index:5;
  display:flex;align-items:center;gap:8px;
  background:linear-gradient(135deg,#0ea5e9,#0284c7);
  color:#fff;padding:12px 14px;padding-top:calc(12px + env(safe-area-inset-top));
  box-shadow:0 4px 16px rgba(2,132,199,.25);
}
.att-cal-head-btn{
  background:rgba(255,255,255,.16);border:none;color:#fff;width:38px;height:38px;
  border-radius:10px;font-size:15px;cursor:pointer;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;font-family:inherit;
}
.att-cal-title{flex:1;font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.att-cal-save{
  background:#fff;border:none;color:#0284c7;font-weight:800;font-size:14px;
  padding:9px 16px;border-radius:10px;cursor:pointer;flex-shrink:0;font-family:inherit;
}
.att-cal-save:disabled{opacity:.55}
.att-cal-nav{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px 8px;
}
.att-cal-nav-btn{
  background:#fff;border:1px solid #e5e7eb;color:#374151;width:38px;height:38px;
  border-radius:10px;font-size:15px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;font-family:inherit;
}
.att-cal-nav-btn:disabled{opacity:.35;cursor:default}
.att-cal-month{font-size:16px;font-weight:800;color:#1a1a2e}
.att-cal-week{
  display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:0 12px 6px;
}
.att-cal-week span{text-align:center;font-size:13px;font-weight:700;color:#6b7280;padding:4px 0}
.att-cal-grid{
  display:grid;grid-template-columns:repeat(7,1fr);gap:4px;padding:0 12px 12px;
}
.att-cal-cell{
  min-height:52px;border-radius:10px;
  background:#fff;border:1px solid #eef1f5;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-start;
  padding:6px 2px;font-family:inherit;
  transition:border-color .12s,background .12s;
}
.att-cal-cell.empty{background:transparent;border:none;cursor:default}
.att-cal-cell.today{border-color:#0ea5e9}
.att-cal-cell.selected{border-color:#0284c7;background:#e0f2fe}
.att-cal-daynum{font-size:14px;font-weight:700;color:#1a1a2e}
.att-cal-cell.selected .att-cal-daynum{color:#0369a1}
.att-cal-dots{display:flex;gap:2px;margin-top:4px;flex-wrap:wrap;justify-content:center}
.att-cal-dot{width:6px;height:6px;border-radius:50%}
.att-cal-day-panel{
  margin:0 12px calc(20px + env(safe-area-inset-bottom));
  background:#fff;border-radius:16px;box-shadow:0 2px 12px rgba(17,24,39,.06);
  padding:14px;
}

/* ── 약관 · 개인정보처리방침 레이어 팝업 ── */
.legal-overlay{
  position:fixed;inset:0;z-index:650;
  display:none;align-items:center;justify-content:center;
  background:rgba(15,23,42,.58);
  -webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);
  padding:calc(20px + env(safe-area-inset-top)) 14px calc(20px + env(safe-area-inset-bottom));
}
.legal-overlay.open{display:flex;animation:legalOverlayIn .18s ease}
@keyframes legalOverlayIn{from{opacity:0}to{opacity:1}}

.legal-overlay-panel{
  background:#fff;border-radius:18px;width:100%;max-width:720px;max-height:100%;
  display:flex;flex-direction:column;overflow:hidden;
  box-shadow:0 24px 60px rgba(2,6,23,.38);
  animation:legalPanelIn .22s cubic-bezier(.32,.72,0,1);
}
@keyframes legalPanelIn{
  from{transform:translateY(16px) scale(.985);opacity:0}
  to{transform:none;opacity:1}
}

.legal-overlay-head{
  display:flex;align-items:center;gap:10px;flex-shrink:0;
  background:linear-gradient(135deg,#334155,#475569);
  color:#fff;padding:14px 16px;
}
.legal-overlay-title{
  flex:1;min-width:0;font-size:15px;font-weight:800;letter-spacing:-.2px;
  display:flex;align-items:center;gap:7px;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.legal-overlay-close{
  display:inline-flex;align-items:center;gap:6px;flex-shrink:0;
  background:rgba(255,255,255,.16);border:none;color:#fff;
  padding:9px 14px;border-radius:10px;font-size:14px;font-weight:700;
  cursor:pointer;font-family:inherit;
  transition:background .15s;-webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.legal-overlay-close:active{background:rgba(255,255,255,.3)}

.legal-overlay-body{
  overflow-y:auto;-webkit-overflow-scrolling:touch;
  padding:18px 14px calc(22px + env(safe-area-inset-bottom));
  background:#f4f6f9;
}

/* ══════════ 전 페이지 공통 카드 스킨 ══════════
   임금통계에서 정리한 카드 규칙을 전체 고객사 앱에 동일하게 적용
   ─ 카드: 흰 배경 · radius 14px · 옅은 그림자
   ─ 카드 제목 15px/800 #1a1a2e · 카드 헤더(항목명) 14px/800 #374151
   ─ 행 레이블 13px/400 #374151 · 행 값 14px/700 #111827 · 구분선 #f1f5f9 */
.card,.chart-card,.stat-card,.v2-section,.info-card,.ps-emp-card,.legal-doc .legal-card{
  background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(17,24,39,.06);
}
.card,.chart-card,.stat-card,.v2-section,.info-card,.ps-emp-card{margin-bottom:12px}
.card-body,.v2-section,.chart-card{padding:14px}
.sec-title,.chart-title,.v2-section-title,.info-card-title,.ps-list-title{
  font-size:15px;font-weight:800;color:#1a1a2e;letter-spacing:-.2px;
}
.info-card-title{margin-bottom:10px;display:flex;align-items:center;gap:6px}
.sec-header{margin-bottom:12px}
.chart-sub{font-size:12.5px;color:#9ca3af;margin-bottom:8px}

/* 카드 내부 항목 행 */
.info-row{padding:10px 0;border-bottom:1px solid #f1f5f9;font-size:13px;color:#374151;gap:8px}
.info-row:last-child{border-bottom:none}
.info-row .il{font-size:13px;font-weight:400;color:#374151}
.info-row .iv{font-size:14px;font-weight:700;color:#111827;text-align:right}

/* 요약 지표 타일 */
.stat-card .sc-label{font-size:12px;font-weight:600;color:#6b7280;margin-bottom:5px}
.stat-card .sc-val{font-size:19px;font-weight:900;color:#1f2937}
.stat-card .sc-sub{font-size:11.5px;font-weight:400;color:#9ca3af}
.pay-box-item .pb-label{font-size:11.5px;font-weight:600;color:#6b7280}
.pay-box-item .pb-val{font-size:15px;font-weight:800}
.pay-box-item .pb-sub{font-size:11px;color:#9ca3af}

/* 임직원 목록 카드 */
.emp-row-name{font-size:15px}
.emp-row-meta{font-size:12.5px;color:#9ca3af}
.emp-cat-name{font-size:14px}
.emp-cat-count{font-size:13px;color:#9ca3af}

/* 급여명세서 목록 카드 */
.ps-list-title{font-size:15px}
.ps-list-count{font-size:12.5px;color:#9ca3af}
.ps-emp-name{font-size:15px;font-weight:800}
.ps-emp-meta{font-size:12.5px;color:#9ca3af}
.ps-emp-net{font-size:15px}
.ps-emp-gross{font-size:12px}
.ps-emp-row{font-size:13px;padding:9px 0;border-bottom:1px solid #f1f5f9}
.ps-emp-row .pr-label{font-size:13px;font-weight:400;color:#374151}
.ps-emp-row .pr-val{font-size:14px;font-weight:700;color:#111827}

/* 비율·명세서 상세 모달 */
.pr-item-name{font-size:13px;font-weight:400;color:#374151}
.pr-item-pct{font-size:13px;font-weight:700;color:#111827}
.pr-item-amt{font-size:12px;color:#9ca3af}
.ps-section-title{font-size:13px;font-weight:700;color:#374151}
.ps-row{font-size:13px;padding:10px 0;border-bottom:1px solid #f1f5f9}

/* 임금통계 표 3종 — 아코디언 세부항목과 동일 타이포 */
.v2-pie-name{font-size:13px;font-weight:400;color:#374151}
.v2-pie-name em{font-size:12px;font-weight:600;color:#9ca3af}
.v2-pie-pct{font-size:13px;font-weight:700;color:#374151}
.v2-pie-amt{font-size:14px;font-weight:700;color:#111827;min-width:0}
.ps-daily-head{font-size:12px;font-weight:600;color:#9ca3af;padding-bottom:6px}
.ps-daily-date{font-size:13px;font-weight:400;color:#374151}
.ps-daily-who{font-size:13px;color:#374151}
.ps-daily-amt{font-size:14px;font-weight:700;color:#111827}
.ps-trend-month{font-size:13px;font-weight:400;color:#374151}
.ps-trend-amt{font-size:14px;font-weight:700;color:#111827}
/* 카드 스킨 — 근로계약 카드 · 상세 모달 */
.emp-contract-card{background:#fff;border-radius:14px;box-shadow:0 2px 10px rgba(17,24,39,.06)}
.ecc-name{font-size:15px;font-weight:800;color:#1a1a2e}
.ecc-meta{font-size:12.5px;color:#9ca3af}
.cat-hero{border-radius:14px}
.cat-hero-name{font-size:16px;font-weight:800}
.cm-section-title{font-size:13px;font-weight:700;color:#374151;letter-spacing:0;text-transform:none}
.cm-row{padding:11px 18px;border-bottom:1px solid #f1f5f9}
.cm-label{font-size:13px;font-weight:400;color:#374151}
.cm-value{font-size:14px;font-weight:700;color:#111827}

/* 카드 스킨 — 안내/빈 상태 문구 */
.no-data{font-size:13px;color:#9ca3af}
.pb-empty,.emp-empty,.contracts-empty{font-size:13px;color:#9ca3af}
/* 카드 스킨 — 지급예정 세부내역 등 공통 항목 행 (.pb-item) */
.pb-item{padding:10px 0;font-size:13px;font-weight:400;color:#374151;border-top:1px solid #f1f5f9}
.pb-item .pb-amt{font-size:14px;font-weight:700;color:#111827}
.pay-breakdown > .pb-item:first-child{border-top:none}
.pb-group-head{font-size:14px;font-weight:800;color:#374151}
.pb-total{font-size:14px;font-weight:800;color:#1a1a2e}
.pb-total .pb-amt{font-size:18px;font-weight:900;color:#3730a3}
.pb-empty{font-size:13px;color:#9ca3af}
.v2-sum-period{font-size:12px;color:#9ca3af;line-height:1.5}
/* 카드 스킨 — 대시보드 카테고리 타일 */
.cat-card .cc-label{font-size:11px;font-weight:600;color:#6b7280}
.cat-card .cc-val{font-size:15px;font-weight:800}
/* 좁은 화면(≤360)에서 임직원 목록 카드가 가로로 넘치지 않도록 */
.emp-list > .emp-row{min-width:0}