body {
  background: white;
  color: #1e293b;
}

.topbar,
.footer,
.no-print,
.flash {
  display: none !important;
}

.site-shell {
  width: 100%;
  padding: 0;
}

.print-only-grid {
  display: block !important;
}

.print-sheet-preview,
.panel-card,
.table-card {
  box-shadow: none !important;
  border: 0 !important;
  background: white !important;
}

.print-head {
  margin-bottom: 12mm;
}

.print-meta-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8mm;
  font-size: 11pt;
}

.print-child-sheet {
  page-break-after: always;
  break-after: page;
  min-height: 260mm;
  padding: 6mm 0 0;
}

.print-child-sheet:last-child {
  page-break-after: auto;
  break-after: auto;
}

.print-day-sheet {
  page-break-after: always;
  break-after: page;
  min-height: 260mm;
  padding: 4mm 0 0;
}

.print-day-sheet:last-child {
  page-break-after: auto;
  break-after: auto;
}

.print-child-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12mm;
  margin-bottom: 7mm;
}

.print-child-head h2 {
  font-size: 24pt;
  margin: 0 0 2mm;
}

.print-child-head p {
  margin: 0;
}

.print-reward-box {
  min-width: 48mm;
  padding: 4mm 5mm;
  border: 1px solid #1e293b;
  border-radius: 5mm;
  text-align: center;
}

.print-reward-box strong,
.extra-stars-box strong,
.notes-box strong {
  display: block;
  margin-bottom: 2mm;
}

.print-day-card {
  border: 1px solid #cbd5e1;
  border-radius: 5mm;
  padding: 4mm;
  margin-bottom: 4mm;
}

.print-day-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3mm;
}

.print-day-head h3 {
  margin: 0;
  font-size: 14pt;
}

.print-task-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8mm;
  padding: 3mm 0;
  border-top: 1px dashed #cbd5e1;
}

.print-task-row:first-of-type {
  border-top: 0;
}

.print-task-main {
  display: flex;
  align-items: center;
  gap: 4mm;
  min-width: 0;
  flex: 1;
}

.print-checkbox {
  width: 6mm;
  height: 6mm;
  border: 1px solid #1e293b;
  border-radius: 1.5mm;
  flex: 0 0 auto;
}

.print-task-title {
  font-size: 12pt;
}

.print-star-slots,
.extra-stars-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2mm;
}

.print-star-slot {
  width: 10mm;
  height: 10mm;
  border: 1px dashed #f59e0b;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f59e0b;
  font-size: 12pt;
  line-height: 1;
}

.print-star-slot.large {
  width: 11mm;
  height: 11mm;
}

.print-sheet-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8mm;
  margin-top: 7mm;
}

.extra-stars-box,
.notes-box {
  border: 1px solid #cbd5e1;
  border-radius: 5mm;
  padding: 4mm;
}

.notes-lines span {
  display: block;
  border-bottom: 1px solid #cbd5e1;
  height: 8mm;
}

@page {
  size: A4 portrait;
  margin: 12mm;
}

.print-stars-sheet {
  page-break-after: auto;
  break-after: auto;
}
.star-sticker-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8mm;
  margin-top: 0;
}
.star-sticker {
  min-height: 32mm;
  border: 1px dashed #f59e0b;
  border-radius: 7mm;
  display: grid;
  place-items: center;
  font-size: 28pt;
  line-height: 1;
}

.star-sticker.is-yellow {
  border-color: #facc15;
  color: #facc15;
}

.star-sticker.is-red {
  border-color: #ef4444;
  color: #ef4444;
}
