/* A quiet storybook palette; generous targets remain available for answers. */
.wa-intro { display:flex; align-items:center; gap:14px; padding:10px 12px; margin:0 0 12px; background:#fffdf5; border:1.5px solid #dddcc6; border-radius:18px; color:#314b3e; break-inside:avoid; }
.wa-scene { flex:0 0 160px; }
.wa-scene svg { display:block; width:100%; height:auto; }
.wa-guide { flex:1; min-width:0; }
.wa-kicker { font-size:12px; font-weight:800; letter-spacing:.08em; color:#665529; }
.wa-invitation { font-size:17px; font-weight:850; line-height:1.5; margin:2px 0 7px; }
.wa-trail { display:flex; list-style:none; padding:0; margin:0; gap:12px; }
.wa-trail li { display:flex; align-items:center; gap:6px; flex:1; font-size:14px; font-weight:800; line-height:1.3; }
.wa-stop { width:27px; height:27px; border:1.5px dashed #8d9678; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; flex-shrink:0; background:white; }
.wa-trail small { display:block; font-size:10px; color:#59664d; font-weight:500; margin-top:3px; }
.wa-done .wa-stop { background:#406b55; border-style:solid; border-color:#406b55; color:white; }
.wa-permission { font-size:12px; line-height:1.5; color:#59664d; margin:7px 0 0; }
.wa-tool { width:38px; height:38px; flex-shrink:0; }
.worksheet-page .task-header { gap:8px; }
.worksheet-page .circle-icon { display:flex; align-items:center; justify-content:center; width:54px; height:54px; margin:0 auto 8px; border-radius:50% 45% 48% 42%; background:#fff3d8; border:1px solid #ead9b4; font-size:29px; }
.worksheet-page .circle-item:nth-child(2n) .circle-icon { background:#e8f1e7; border-color:#cadcc7; }
.worksheet-page .circle-item { border-style:solid; border-color:#d5dcd3; padding:12px 8px; }
.worksheet-page .circle-item.circled { border-color:#a34c36; background:#fff7eb; box-shadow:0 0 0 2px #e6c5b8; }
.worksheet-page .circle-item.circled::after { background:#91442f; }
.worksheet-page .choice-icon { display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:36px; background:#fff4dc; border-radius:10px; }
.worksheet-page [data-sheet-control]:focus-visible { outline:3px solid #315e71; outline-offset:3px; }
@media screen {
  .worksheet-page[id^="lesson-"]:has(.wa-intro) { height:auto; min-height:280mm; max-height:none; overflow:visible; gap:8px; }
}
@media screen and (max-width:600px) {
  .worksheet-page { padding:18px 12px; }
  .screen-toolbar .student-quick-pick { flex-wrap:wrap; max-width:100%; box-sizing:border-box; }
  .screen-toolbar .toolbar-right { max-width:100%; }
  .worksheet-page .sheet-main-title { font-size:24px; }
  .worksheet-page .sheet-footer, .worksheet-page .sheet-transfer { grid-template-columns:1fr !important; }
  .worksheet-page .choice-card { gap:8px; padding:8px; }
  .wa-intro { flex-direction:column; gap:6px; padding:10px; }
  .wa-scene { flex-basis:auto; width:150px; }
  .wa-guide { width:100%; }
  .wa-invitation { font-size:15px; }
  .wa-trail { flex-wrap:nowrap; gap:6px; }
  .wa-trail li { min-width:0; font-size:12px; }
  .wa-trail small { font-size:10px; }
  .wa-permission { font-size:12px; }
  .worksheet-page .circle-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .worksheet-page .student-info-bar { flex-wrap:wrap; gap:8px; }
  .worksheet-page .sheet-target-badge { border-radius:12px; max-width:100%; box-sizing:border-box; }
}
@media print {
  #worksheetContainer { width:calc(194mm / var(--wa-print-scale,1)); max-width:none; min-height:calc(280mm / var(--wa-print-scale,1)); height:auto; max-height:none; padding:4mm 5mm; zoom:var(--wa-print-scale,1); }
  #worksheetContainer .sheet-main-title { font-size:20px; }
  #worksheetContainer .school-tag, #worksheetContainer .unit-badge, #worksheetContainer .student-info-bar { font-size:11px; }
  #worksheetContainer .sheet-target-badge { font-size:12px; }
  #worksheetContainer .task-title { font-size:14px; }
  #worksheetContainer .task-prompt { font-size:12px; line-height:1.35; }
  #worksheetContainer .circle-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; }
  #worksheetContainer .circle-label { font-size:13px; }
  #worksheetContainer .circle-desc { font-size:11px; line-height:1.25; }
  #worksheetContainer .choice-text, #worksheetContainer .checklist-text { font-size:13px; line-height:1.35; }
  #worksheetContainer .choice-list, #worksheetContainer .checklist-rows { gap:4px; }
  #worksheetContainer .sheet-transfer { margin-top:6px !important; gap:6px !important; }
  #worksheetContainer .sheet-transfer > div { padding:6px 8px !important; }
  #worksheetContainer .sheet-transfer > div > div { font-size:11px !important; line-height:1.35 !important; }
  #worksheetContainer .self-stars-title { font-size:11px; }
  .wa-intro { gap:8px; padding:5px 8px; margin-bottom:5px; border-radius:10px; flex-shrink:0; }
  .wa-scene { flex-basis:108px; }
  .wa-kicker { font-size:9px; }
  .wa-invitation { font-size:12px; margin:1px 0 4px; }
  .wa-trail { gap:8px; }
  .wa-trail li { font-size:10px; }
  .wa-trail small { font-size:8px; margin-top:1px; }
  .wa-stop { width:20px; height:20px; }
  .wa-permission { font-size:9px; margin:4px 0 0; }
  .wa-tool { width:25px; height:25px; }
  .worksheet-page .circle-icon { width:36px; height:36px; font-size:23px; margin-bottom:3px; }
  .worksheet-page .circle-item { padding:5px 4px; }
  .worksheet-page .choice-icon { min-width:24px; min-height:24px; font-size:18px; }
  .worksheet-page .task-card { padding:3mm 4mm; }
}
@media (prefers-reduced-motion:reduce) {
  .worksheet-page [data-sheet-control] { transition:none; transform:none; }
}
