/* 일계표 [카드 대조] 창 — 버튼·입력칸·표는 일계표 화면의 모양(.btn, .modal-hdr, .ecount-sync-status)을 그대로 쓴다 */
.cc-modal{max-width:980px;width:96%;}
.cc-modal .modal-title i{margin-right:4px;}
.cc-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px;}
.cc-tools .btn{min-height:40px;}
.cc-tools label.btn{cursor:pointer;}
.cc-tools label.btn.cc-busy{opacity:.55;pointer-events:none;}
.cc-select,.cc-input{min-height:40px;padding:8px 10px;border:1px solid #D1D1D6;border-radius:8px;font-size:13px;font-family:inherit;background:#fff;color:#3A3A3C;}
.cc-toggle{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;color:#3A3A3C;cursor:pointer;white-space:nowrap;min-height:40px;}
.cc-toggle input{width:16px;height:16px;}
.cc-pw{margin:8px 0;padding:10px 12px;background:#FFF4E5;border:1px solid #FFD08A;border-radius:8px;}
.cc-pw[hidden]{display:none;}
.cc-pw-msg{font-size:12px;color:#C93400;line-height:1.6;margin-bottom:8px;font-weight:700;}
.cc-pw-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.cc-pw-row .cc-input{flex:1 1 200px;min-width:0;}
.cc-cover{font-size:12px;color:#48484A;line-height:1.6;margin:6px 0 10px;}
.cc-sum{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin-bottom:12px;}
.cc-card{background:#F2F2F7;border:1px solid #E5E5EA;border-radius:8px;padding:8px 10px;}
.cc-card-lbl{font-size:12px;color:#48484A;font-weight:700;}
.cc-card-val{font-size:20px;font-weight:800;color:#1C1C1E;font-variant-numeric:tabular-nums;}
.cc-card-val small{font-size:12px;font-weight:700;margin-left:2px;color:#636366;}
.cc-card.cc-ok .cc-card-val{color:#248A3D;}.cc-card.cc-shift .cc-card-val{color:#C93400;}
.cc-card.cc-bad{background:#FFEBEA;border-color:#FFC4C0;}.cc-card.cc-bad .cc-card-val{color:#D70015;}
.cc-card.cc-mute .cc-card-val{color:#636366;}
.cc-empty{padding:28px 12px;text-align:center;color:#48484A;font-size:13px;line-height:1.8;background:#F2F2F7;border:1px dashed #D1D1D6;border-radius:8px;}
.cc-empty.cc-bad{color:#D70015;}

.cc-table{min-width:560px;table-layout:fixed;font-size:13px;}
.cc-table th:nth-child(1){width:19%}.cc-table th:nth-child(2),.cc-table th:nth-child(3){width:24%}.cc-table th:nth-child(4){width:15%}.cc-table th:nth-child(5){width:18%}
.cc-table td small{color:#636366;font-size:11px;}
.cc-day{cursor:pointer;}
.cc-day td{padding:8px 6px;}
.cc-day:focus-visible td{outline:2px solid #007AFF;outline-offset:-2px;}
.cc-date{font-weight:700;}.cc-date i{color:#636366;margin-right:4px;}
.cc-opened td{background:#E5F1FF!important;}
.cc-diff{color:#D70015;font-weight:800;}.cc-zero{color:#8E8E93;}
.cc-tag{display:inline-block;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:800;}
.cc-tag-ok{background:#E3F6E8;color:#248A3D;}.cc-tag-shift{background:#FFF4E5;color:#C93400;}
.cc-tag-check{background:#FFEBEA;color:#D70015;}.cc-tag-done{background:#E5E5EA;color:#48484A;}.cc-tag-progress{background:#CCE4FF;color:#0040DD;}
.cc-memo-mark{margin-left:4px;color:#636366;}

.cc-table tr.cc-detail td,.cc-table tr.cc-detail:hover td{background:#fff!important;white-space:normal;overflow:visible;padding:10px;border-right:none;}
.cc-cols{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
.cc-col-hd{font-size:12px;font-weight:800;color:#0040DD;margin-bottom:4px;}
.cc-items{list-style:none;margin:0;padding:0;border:1px solid #E5E5EA;border-radius:8px;overflow:hidden;}
.cc-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 8px;padding:6px 8px;border-bottom:1px solid #E5E5EA;font-size:12px;line-height:1.5;border-left:3px solid transparent;}
.cc-item:last-child{border-bottom:none;}
.cc-i-main{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.cc-i-main small{color:#636366;}
.cc-i-main .cc-time{color:#0a6cff;font-variant-numeric:tabular-nums;}.cc-i-main .cc-time-shift{color:#c2410c;font-weight:600;}
.cc-i-amt{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;}
.cc-i-note{grid-column:1 / -1;font-size:12px;color:#636366;white-space:normal;word-break:keep-all;}
.cc-i-ok .cc-i-note{color:#248A3D;}
.cc-i-shift{border-left-color:#FF9500;background:#FFF4E5;}.cc-i-shift .cc-i-note{color:#C93400;font-weight:700;}
.cc-i-warn{border-left-color:#FF9500;background:#FFF4E5;}.cc-i-warn .cc-i-note{color:#C93400;font-weight:700;}
.cc-i-bad{border-left-color:#FF3B30;background:#FFEBEA;}.cc-i-bad .cc-i-note{color:#D70015;font-weight:700;}
.cc-i-mute{color:#8E8E93;}
.cc-note{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:10px;}
.cc-note .cc-input{flex:1 1 240px;min-width:0;}
.cc-help{margin-top:12px;border:1px solid #E5E5EA;border-radius:8px;padding:8px 12px;font-size:12px;color:#48484A;line-height:1.7;}
.cc-help summary{cursor:pointer;font-weight:800;color:#3A3A3C;}
.cc-help ul{margin:6px 0 0;padding-left:18px;}

@media (max-width:640px){
  .cc-sum{grid-template-columns:repeat(2,minmax(0,1fr));}
  .cc-cols{grid-template-columns:1fr;}
  .cc-tools .btn{flex:1 1 100%;}
}
