:root { color-scheme: light; font: 16px/1.5 system-ui, sans-serif; color: #182521; background: #e9eeea; }
* { box-sizing: border-box; }
body { margin: 0; }
nav { margin: 1rem auto; max-width: 48rem; padding: 0 1rem; display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
a, .kicker, .label, .number { color: #315d55; }
nav button { font: inherit; padding: .35rem .7rem; border: 1px solid #315d55; background: #fff; color: #315d55; border-radius: .3rem; cursor: pointer; }
.sheet { isolation: isolate; position: relative; overflow: hidden; max-width: 48rem; padding: clamp(1.25rem, 5vw, 3.25rem); margin: 0 auto 1rem; background: #fff; box-shadow: 0 2px 10px #24362c1c; }
.sheet::before { content: ''; display: block; background: #315d55; width: 2.4rem; height: 3px; margin-bottom: 1rem; }
.watermark { position: absolute; inset: 48% auto auto 50%; width: 120%; text-align: center; transform: translate(-50%, -50%) rotate(-34deg); color: #d3ddd9; font-weight: 850; font-size: clamp(1.3rem, 6vw, 2.7rem); z-index: -1; white-space: nowrap; user-select: none; }
p { margin: 0 0 .85rem; }
h1, h2 { line-height: 1.15; margin: .15rem 0 .65rem; }
h1 { font-size: clamp(1.85rem, 5vw, 2.5rem); }
h2 { font-size: 1.25rem; margin-top: 1.3rem; }
.kicker, .label, .number { font-weight: 750; margin-bottom: .15rem; }
.kicker { font-size: .8rem; letter-spacing: .055em; }
.subtitle { font-size: 1.1rem; }
.answer, .contents { border-bottom: 1px solid #a4b3ae; padding-bottom: .15rem; }
.contents { display: flex; gap: .5rem; justify-content: space-between; }
.checklist::before { content: '□'; margin-right: .5rem; }
.sheet footer { margin-top: 1.2rem; display: flex; justify-content: space-between; gap: .5rem; border-top: 1px solid #a4b3ae; padding-top: .4rem; font-size: .8rem; }
@media print {
  @page { size: A4 portrait; margin: 0; }
  nav { display: none; }
  :root { font-size: 10.5pt; background: white; }
  .sheet { padding: 12mm 17mm 15mm; width: 210mm; height: 297mm; max-width: none; margin: 0; box-shadow: none; break-after: page; }
  .sheet:last-child { break-after: auto; }
  .sheet footer { position: absolute; bottom: 10mm; left: 17mm; right: 17mm; }
  .watermark { font-size: 34pt; }
}

.cover-photo { display: block; width: 100%; height: auto; margin-bottom: 1rem; }
.sheet .watermark { z-index: 1; pointer-events: none; color: #f4f7f58c; -webkit-text-stroke: 1px #244942a6; }
