:root { color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: #eef4f7; color: #173247; font-family: Arial, sans-serif; }
.sheet { width: 210mm; min-height: 297mm; margin: 18px auto; padding: 11mm 13mm; background: #fff; box-shadow: 0 8px 30px #17324722; }
.sheet-header { display: flex; justify-content: space-between; gap: 20px; align-items: end; padding-bottom: 7px; border-bottom: 3px solid #287487; }
.eyebrow { margin: 0 0 4px; color: #287487; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0 0 4px; font-size: 24px; }
.sheet-header p { margin-top: 3px; }
.sheet-header label { white-space: nowrap; font-weight: 700; }
.name-line { display: inline-block; width: 38mm; margin-left: 6px; border-bottom: 1px solid #173247; }
.task-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5mm 7mm; padding-top: 6mm; }
.task { position: relative; break-inside: avoid; min-height: 105mm; padding: 4mm; border: 1.5px solid #91b5bd; border-radius: 8px; background: #fbfdfd; }
.task-heading { display: flex; flex-wrap: wrap; gap: 3px 8px; min-height: 12mm; font-size: 12px; line-height: 1.25; }
.task-heading strong { color: #236779; }
.coordinate-board { width: 100%; max-width: 79mm; margin: 0 auto; }
.coordinate-system { display: block; width: 100%; height: auto; }
.grid-lines line { stroke: #d4e0e4; stroke-width: 1; }
.axes line { stroke: #173247; stroke-width: 2; }
.axes polygon { fill: #173247; }
.axis-labels text { fill: #334e61; font-size: 10px; }
.axis-labels .axis-name { fill: #102a3c; font-size: 15px; font-weight: 700; font-style: italic; }
.answer-points circle { fill: #c72c41; }
.answer-points text { fill: #a51f34; font-size: 13px; font-weight: 700; }
.show-answers .answer-points { display: inline !important; }
.answer { display: none; margin-top: 2px; color: #a51f34; font-size: 11px; }
.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: #287487; 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; }
}
