.material-page {
  background: #eef4f1;
}

.worksheet {
  background: #fff;
  box-shadow: 0 18px 70px rgba(23, 63, 53, 0.14);
  margin: 32px auto;
  max-width: 980px;
  min-height: calc(100vh - 64px);
  padding: 54px;
}

.worksheet-header {
  border-bottom: 2px solid var(--line);
  margin-bottom: 28px;
  padding-bottom: 24px;
}

.worksheet-header span {
  color: var(--clay);
  font-size: 0.84rem;
  font-weight: 850;
  text-transform: uppercase;
}

.worksheet-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1;
  margin: 14px 0;
}

.worksheet-note,
.phrase-bank {
  background: var(--clay-soft);
  border-left: 4px solid var(--clay);
  color: #694336;
  margin: 24px 0;
  padding: 16px 18px;
}

.worksheet-steps,
.field-worksheet-grid,
.repair-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.worksheet-steps.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.worksheet article,
.reflection-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.worksheet article h2,
.reflection-box h2,
.phrase-bank h2 {
  color: var(--green);
  font-size: 1.18rem;
  margin: 0 0 8px;
}

.worksheet article p {
  font-size: 0.98rem;
  margin: 0 0 12px;
}

.write-lines {
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 31px,
    #d7dfda 32px
  );
  min-height: 128px;
}

.write-lines.large {
  min-height: 180px;
}

.field-worksheet-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.field-worksheet-grid article {
  min-height: 190px;
}

.body-map-layout {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 280px 1fr;
}

.body-map {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 520px;
}

.body-map svg {
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-width: 10;
  width: 170px;
}

.body-prompts {
  display: grid;
  gap: 16px;
}

.sentence-formula {
  background: var(--green);
  border-radius: 8px;
  color: #fff;
  margin: 24px 0;
  padding: 24px;
}

.sentence-formula p {
  color: #fff;
  font-size: 1.25rem;
  margin: 8px 0;
}

.sentence-formula span {
  color: #f2ddd6;
  font-weight: 850;
}

.phrase-bank p {
  color: #694336;
  font-size: 1rem;
  margin: 8px 0;
}

.worksheet-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
  padding-top: 16px;
}

@media print {
  @page {
    margin: 12mm;
    size: A4;
  }

  body {
    background: #fff;
  }

  .worksheet {
    box-shadow: none;
    margin: 0;
    max-width: none;
    min-height: auto;
    padding: 0;
  }
}

@media (max-width: 760px) {
  .worksheet {
    margin: 0;
    padding: 28px 20px;
  }

  .worksheet-steps,
  .worksheet-steps.three,
  .field-worksheet-grid,
  .repair-grid,
  .body-map-layout {
    grid-template-columns: 1fr;
  }
}
