/* 週表の印刷用レイアウト（A3横 / A4横）。操作用のUIは印刷しない。 */
@page { size: A3 landscape; margin: 8mm; }

.appbar, .toolbar, .pool, .toasts, .modal-back, .wg-cell .add, .boot { display: none !important; }

body { background: #fff; font-size: 9pt; }
.view { padding: 0; }
.week-layout { display: block; }

.grid-wrap {
  overflow: visible !important; max-height: none !important;
  border: 0; box-shadow: none; border-radius: 0;
}
/* 用紙の幅に必ず収める（列の最小幅を外して均等割りにする） */
.wgrid {
  min-width: 0 !important;
  width: 100%;
  grid-template-columns: 46px repeat(var(--cols, 7), minmax(0, 1fr)) !important;
}
.wgrid > div { border-color: #94a3b8 !important; }

.print-head {
  display: flex !important; align-items: baseline; gap: 14px;
  margin-bottom: 5mm; padding-bottom: 2mm; border-bottom: 1.5pt solid #0f172a;
}
.print-head h1 { font-size: 14pt; margin: 0; }
.print-head .range { font-size: 11pt; font-weight: 700; }
.print-head .meta { margin-left: auto; font-size: 8pt; color: #475569; }

.wg-head, .wg-day, .wg-corner { position: static !important; background: #e8edf3 !important; }
.wg-day { width: auto !important; }
.wg-cell { min-height: 18mm; background: #fff !important; box-shadow: none !important; }
.wg-cell.off { background: #f1f5f9 !important; }
/* 午前・午後を分ける中央の線 */
.wg-half { min-height: 8mm; padding: 1px 2px; }
.wg-half.pm { border-top: .5pt dashed #64748b !important; }

.card {
  box-shadow: none !important; break-inside: avoid; padding: 1px 3px;
  border-color: #94a3b8 !important;
}
.card .nm { font-size: 8.5pt; }
.card .tm { font-size: 7.5pt; }
.card .chip { border: .5pt solid #64748b; color: #000 !important; background: #fff !important; }
.card.status-cancelled { opacity: 1; }

/* 印刷では日別・一覧系の画面もそのまま出せるようにする */
.daygroup, .panel { break-inside: avoid; box-shadow: none; border-color: #94a3b8; }
table.tbl th { position: static; }
