.schedule-body { background: #fff; }
.status-banner {
  margin: 0 20px 14px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.status-banner.published {
  background: #e8f7ee;
  color: #1e7a3a;
  border: 1px solid #cfe9d8;
}
.status-banner.unpublished {
  background: #fff5e0;
  color: #a05c00;
  border: 1px solid #f0dcb0;
}
.status-banner.empty {
  background: #f4f6f8;
  color: #666;
  text-align: center;
  padding: 28px;
  border: 1px dashed #cfd4da;
  font-size: 14px;
}
.week-status-bar {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 6px;
  margin: 14px 0 4px;
}
.week-status-bar.pub { background: #e8f7ee; color: #1e7a3a; border: 1px solid #cfe9d8; }
.week-status-bar.unpub { background: #fffaf0; color: #a05c00; border: 1px solid #f0dcb0; }
.unpub-placeholder {
  background: #fafafa;
  border: 1px dashed #ddd;
  text-align: center;
  padding: 18px;
  color: #999;
  font-size: 13px;
  margin-bottom: 14px;
}
@media print {
  .week-status-bar { display: none; }
  .unpub-placeholder { display: none; }
}
#schedule-tables { padding: 0 20px 30px; }
.week-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 14px; table-layout: fixed;
}
.week-table th, .week-table td {
  border: 1px solid #d8dbe0; padding: 6px 4px;
  text-align: center; vertical-align: middle;
  font-size: 13px; height: 34px;
}
.week-table th { font-weight: 600; }
.col-no { width: 36px; }
.col-name { width: 80px; }
.dow-mon, .dow-wed, .dow-fri, .dow-sun { background: #fff200; }
.dow-sat { background: #cfe2f3; }
.date-sat { color: #1f4e78; font-weight: 700; }
.date-sun { color: #c00; font-weight: 700; }
.name-cell { text-align: left; padding-left: 10px; font-weight: 500; }
.name-cell.me { background: #fff7e0; font-weight: 700; }
.shift-cell-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  height: 100%; min-height: 28px;
}
.shift-time {
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 12.5px; padding: 4px 2px;
}
.shift-time:first-child { border-right: 1px solid #d8dbe0; }
.shift-time.last { color: #c00; }
.no-day { background: #f7f7f7; }
.print-only { display: none; }

@media print {
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  .no-print { display: none !important; }
  .print-only { display: block; }
  #schedule-tables { padding: 0; }
  .week-table { page-break-inside: avoid; }
  .week-table th, .week-table td {
    font-size: 11px; padding: 3px 2px; height: auto;
  }
  .print-title-only {
    text-align: center; margin: 0 0 14px;
  }
  .print-title-only h1 {
    margin: 8px 0; font-size: 16px; font-weight: 600;
  }
  @page { size: A4 landscape; margin: 10mm; }
}
