/* [212] 월별대장 화면 전용 밀도 정돈. 원문·수치·계산·인쇄·내보내기 불변. */
@media screen {
  #attScroll .calgrid {
    width:calc(var(--att-day-count, 31) * 64px + 652px);
    min-width:calc(var(--att-day-count, 31) * 64px + 652px);
    table-layout:fixed;
    font-size:12.5px;
    line-height:1.35;
  }
  #attScroll .calgrid th,
  #attScroll .calgrid td {
    box-sizing:border-box;
    width:64px;
    min-width:0;
    padding:6px 4px;
    vertical-align:middle;
  }
  #attScroll .calgrid th.nm,
  #attScroll .calgrid td.nm {
    width:128px;
    min-width:128px;
    max-width:128px;
    padding:8px;
    line-height:1.35;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  #attScroll .calgrid td.nm > b {
    display:block;
    font-size:13px;
    font-weight:650;
    line-height:1.35;
  }
  #attScroll .calgrid td.nm > .pill {
    display:inline-block;
    margin-top:3px;
    vertical-align:middle;
  }
  #attScroll .calgrid td.nm > .muted { margin-top:3px; }
  #attScroll .calgrid thead th:nth-last-child(n+2):nth-last-child(-n+7),
  #attScroll .calgrid tbody td:nth-last-child(n+2):nth-last-child(-n+7) {
    width:58px;
    min-width:58px;
    max-width:58px;
    padding-left:3px;
    padding-right:3px;
    font-size:12px;
  }
  #attScroll .calgrid th.lnote-h,
  #attScroll .calgrid td.lnote {
    width:176px;
    min-width:176px;
    max-width:176px;
    padding-left:9px;
    padding-right:9px;
  }
  #attScroll .calgrid td.lnote {
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    word-break:normal;
    line-height:1.5;
  }
  #attScroll .calgrid td.daycell {
    height:76px;
    padding:7px 3px;
    font-size:12.5px;
    font-weight:550;
    line-height:1.35;
  }
  /* [214] 시간 미산정 일용 근무일은 숫자 대신 확인 문구만 표시. */
  #attScroll .calgrid .day-confirmed {
    display:inline-block;
    font-size:12px;
    font-weight:650;
    line-height:1.35;
    word-break:keep-all;
  }
  #attScroll .calgrid .ampm {
    gap:2px;
    font-size:12px;
    font-weight:550;
    line-height:1.3;
  }
  #attScroll .calgrid .ampm .ck { font-weight:700; }
  #attScroll .calgrid .day-extra {
    flex-direction:row;
    flex-wrap:wrap;
    justify-content:center;
    gap:2px;
    margin-top:4px;
  }
  #attScroll .calgrid .day-extra b {
    box-sizing:border-box;
    min-width:0;
    max-width:100%;
    padding:2px 3px;
    border-radius:4px;
    font-size:10.5px;
    font-weight:550;
    line-height:1.25;
    white-space:normal;
    word-break:keep-all;
    overflow-wrap:anywhere;
  }
  #attScroll .calgrid td.dhol .hname {
    display:block;
    width:100%;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
    word-break:normal;
    font-size:10.5px;
    font-weight:550;
    line-height:1.35;
  }
  #attScroll .calgrid tr.ftot td { padding-top:10px; padding-bottom:10px; }
}
