/* The printable paper half: a colouring page of the child's own plant plus a
   card to plant a real seed. Clean black-on-white outline for colouring, warm
   and human copy, prints cleanly from iPad Safari. */

:root {
  --ink: #4A4038;
  --ink-soft: #7A6E60;
  --light: #E7B24C;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  background: #f6f2ea;
  color: var(--ink);
  font-family: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.sheet {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  background: #ffffff;
}
.adult-note {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
  border-left: 3px solid var(--light);
  padding-left: 12px;
  margin: 0 0 18px;
}
.sheet__title {
  text-align: center;
  font-size: 30px;
  margin: 0 0 8px;
}
.plant-print {
  display: flex;
  justify-content: center;
  padding: 8px 0;
}
.plant-print svg {
  width: 58%;
  max-width: 320px;
  height: auto;
}
.colour-hint {
  text-align: center;
  color: var(--ink-soft);
  font-size: 16px;
  margin: 4px 0 22px;
}

.card {
  border: 2px dashed #d9ccb5;
  border-radius: 16px;
  padding: 18px 22px;
}
.card__title {
  margin: 0 0 10px;
  font-size: 22px;
}
.steps {
  margin: 0;
  padding-left: 22px;
  font-size: 18px;
  line-height: 1.8;
}
.date-line {
  margin: 16px 0 0;
  font-size: 17px;
  color: var(--ink-soft);
}
.date-blank {
  display: inline-block;
  width: 180px;
  border-bottom: 1.5px solid #c8bba4;
}

.controls {
  max-width: 720px;
  margin: 16px auto 40px;
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}
.print-btn {
  min-height: 54px;
  padding: 0 28px;
  border: none;
  border-radius: 16px;
  background: var(--light);
  color: #3d2f16;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
.back { color: var(--ink-soft); font-size: 16px; }

/* Gem sorting mat */
.mat-instruction { text-align: center; color: var(--ink-soft); font-size: 16px; margin: 4px 0 6px; }
.gemmat { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 16px; }
.gemmat__cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gemmat__circle { width: 100%; max-width: 120px; aspect-ratio: 1; border-radius: 50%; background: var(--plate); border: 3px solid var(--rim); }
.gemmat__count { font-size: 15px; color: var(--ink-soft); }
.gemmat__label { font-weight: 700; color: var(--ink); }
.gemmat__blank { display: inline-block; width: 40px; border-bottom: 1.5px solid #c8bba4; }
.shapemat__outline { width: 100%; max-width: 120px; aspect-ratio: 1; }
.shapemat__outline svg { width: 100%; height: 100%; }

/* Letter trace-and-draw */
.trace-row { display: flex; align-items: stretch; gap: 20px; border: 2px dashed #d9ccb5; border-radius: 16px; padding: 14px 18px; margin-top: 16px; }
.trace-letter { font-size: 120px; font-weight: 700; color: #e2d6bf; line-height: 1; width: 130px; text-align: center; }
.trace-draw { flex: 1; display: flex; align-items: center; }
.trace-draw__prompt { font-size: 18px; color: var(--ink-soft); }

/* Trace the Lines (pre-writing patterns) */
.trace-line-row { display: flex; align-items: center; gap: 16px; border-bottom: 1.5px dashed #e6dcc7; padding: 12px 0; }
.trace-line-name { width: 90px; flex: none; font-size: 15px; color: var(--ink-soft); }
.trace-line-svg { flex: 1; height: 46px; }

@media print {
  html, body { background: #ffffff; }
  .sheet { padding: 0; }
  .no-print { display: none !important; }
  .adult-note { border-left-color: #999; }
  @page { margin: 14mm; }
}
