:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #eef4f0; color: #18352b; font-family: Arial, sans-serif; }
.sheet { width: 210mm; min-height: 297mm; margin: 18px auto; padding: 13mm; background: #fff; box-shadow: 0 8px 30px #153d2d22; }
.sheet-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; padding-bottom: 8px; border-bottom: 3px solid #2d7a57; }
.eyebrow { margin: 0 0 4px; color: #2d7a57; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 5px; font-size: 25px; }
.sheet-header p { margin-top: 4px; }
.sheet-header label { white-space: nowrap; font-weight: 700; }
.name-line { display: inline-block; width: 42mm; margin-left: 6px; border-bottom: 1px solid #18352b; }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; padding-top: 8mm; }
.task { break-inside: avoid; min-height: 101mm; padding: 5mm; border: 1.5px solid #8cb7a4; border-radius: 8px; background: #fbfdfc; }
.task h2 { margin: 0 0 3px; color: #225f45; font-size: 17px; }
.task-intro { margin: 0 0 8px; font-size: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; }
th, td { padding: 6px 5px; border: 1px solid #b9cec4; text-align: left; }
th { background: #e5f2eb; }
td:first-child { text-transform: capitalize; }
.write-cell { min-width: 24mm; }
.total-line { margin-top: 12px; font-size: 13px; }
.total-line span { display: inline-block; width: 32mm; border-bottom: 1px solid #18352b; }
.answer { display: none; margin-top: 9px; padding: 7px; border-radius: 5px; background: #e5f2eb; font-size: 11px; line-height: 1.4; }
.show-answers .answer { display: block; }
.toolbar { position: sticky; bottom: 16px; display: flex; justify-content: center; gap: 10px; margin: 18px; }
.toolbar button { padding: 10px 16px; border: 0; border-radius: 7px; background: #276c4d; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
@media print {
  @page { size: A4; margin: 0; }
  body { background: #fff; }
  .sheet { margin: 0; box-shadow: none; }
  .no-print { display: none !important; }
}
