.chapter-work:is([data-section=worksheets],[data-section=activities]) {
  --berry:#9c1559;--pink:#bf106a;--print-ink:#332723;--pencil:#166392;--edge:#ddd6cc;
  color:var(--print-ink);border:1px solid var(--edge);background:#fff;box-shadow:0 5px 18px #3d33200c;
}
.chapter-work:is([data-section=worksheets],[data-section=activities]) > h2 {font-size:1.3rem;margin:0 0 .75rem;color:#533747}
.exercise-picker {background:#f3efeb;border:1px solid #e5ddd5;padding:.65rem .8rem;align-items:center;gap:.6rem 1rem}
.exercise-picker label {display:flex;align-items:center;gap:.5rem;color:#3d302b;font-size:.92rem}
.exercise-picker select {width:auto;background:white;border:1px solid #b8aaa2;border-radius:.35rem;padding:.3rem .4rem}
.work-mode {display:inline-flex;flex:none;border:1px solid #bcadaf;border-radius:.43rem;overflow:hidden;margin-left:auto}
.work-mode button,.print-button {font:inherit;font-weight:600;font-size:.93rem}
.work-mode button {border:0;border-radius:0;padding:.35rem .72rem;background:#fff;color:#57434d}
.work-mode button[aria-pressed=true],.digital-check .work-check,.interactive-card .studio-actions button:first-child {background:var(--berry);color:#fff;border-color:var(--berry)}
.print-button {border:0;background:transparent;color:#633c50;text-decoration:underline;text-underline-offset:.18em;padding:.35rem .15rem}
.digital-exercise {max-width:none;margin:.9rem 0 0}
.paper-window {min-width:0;max-width:100%;overflow-x:auto}
.book-design .paper-window {border:1px solid var(--edge);border-radius:.45rem;background:white}
.book-design .paper-window .printed-surface {width:100%;max-width:none;margin:0;container-type:inline-size}
.paper-zoom {display:none}
.book-design .printed-choice {margin:0;appearance:none;min-width:0;min-height:0;padding:0;border:0;background:transparent;color:var(--pencil)}
.book-design .printed-choice:before {content:"";position:absolute;inset:-12% -45%}
.book-design .printed-choice:checked::after {content:"✓";color:var(--pencil);font:700 clamp(.8rem,4cqw,2.45rem)/.95 system-ui}
.book-design .printed-response {color:#144e83;border:0;border-radius:0;background:#edf7ff38;box-shadow:inset 0 -1px 0 #399bc075;
  font:600 clamp(.62rem,2.35cqw,1.45rem)/1.1 "Nirmala UI",system-ui,sans-serif}
.book-design :is(.printed-choice,.printed-response)[aria-invalid=true]{outline:2px dashed #a34028;outline-offset:1px}
.book-design .printed-response:focus,.book-design .printed-choice:focus-visible {outline:2px solid #177da9;background:#e9f7ffd9}
.digital-check {justify-content:center;align-items:center;gap:.65rem;margin:.8rem 0 .2rem}
.digital-check button,.interactive-card .studio-actions button {min-height:2.6rem;padding:.45rem 1.2rem;font:650 1rem/1.6 "Nirmala UI",system-ui,sans-serif;border:1px solid var(--berry);border-radius:.45rem}
.digital-check .work-save,.interactive-card .studio-actions button+button {color:var(--berry);background:white}
.learning-layout .practice-work .work-restart {min-height:44px;color:#622844;background:white;border:1px solid #986780;border-radius:.45rem}
.paper-restart {padding:.4rem .75rem;font:inherit}
.digital-check {flex-wrap:wrap}
.digital-check button:disabled,.interactive-card .studio-actions button:disabled {opacity:.52}
.digital-check [role=status],.interactive-card [role=status] {color:#553549;background:#faf0f5;padding:.4rem .7rem;border-radius:.35rem}
.answer-list h3,.interactive-heading h3 {color:var(--pink);line-height:1.55;font-size:clamp(1.15rem,2vw,1.55rem);margin:.5rem 0}
.digital-item,.activity-question {border:0;border-bottom:1px dotted #cebfba;padding:.45rem 0 .85rem;margin:.7rem 0}
.answer-choices label,.activity-choices label {background:white;border:0;border-radius:0;color:#322a25}
.answer-choices label:has(input:checked),.activity-choices label:has(input:checked){background:#f2faff;color:#104e73}
.answer-choices input,.activity-choices input {appearance:none;width:1.25rem;height:1.15rem;display:inline-grid;place-content:center;
  margin:0;border:1.5px solid #3499b8;border-radius:3px;flex:none}
.answer-choices input:checked::after,.activity-choices input:checked::after {content:"✓";color:#11689b;font:700 1.3rem/1 system-ui}
.digital-item input[type=text],.digital-item textarea,.exercise-reference textarea {border:0;border-bottom:1px dotted #8f756e;border-radius:0;background:#fffcf8}
.interactive-card {border:0;border-top:1px solid #e9dfd8;padding:1.1rem .35rem 1.25rem}
.interactive-card:first-child {border-top:0;padding-top:0}
.interactive-heading h3 {display:flex;align-items:baseline;gap:.7rem}
.book-number {background:#ffd246;color:#433129;min-width:1.8em;height:1.65em;display:inline-grid;place-items:center;
  border-radius:1px 1px 1px .8em;outline:1px dashed #bc8b25;outline-offset:3px;font:700 .88em/1.3 system-ui;flex:none}
.interactive-heading p,.activity-question legend {line-height:1.7;margin:.6rem 0}
.activity-choices,.studio-actions,.drawing-lab .studio-columns {display:flex;align-items:center;flex-wrap:wrap;gap:.6rem 1rem}
.activity-choices label {display:inline-flex;align-items:center;gap:.45rem;cursor:pointer;padding:.35rem .5rem;font-size:1.05rem}
.studio-actions {margin:.8rem 0}
.activity-model {float:left;width:min(27%,12rem);margin:.3rem 1.2rem .8rem .2rem}
.interactive-card:has(.activity-model) .drawing-lab{display:flow-root}
.activity-model .printed-surface {margin:0}
.drawing-lab .drawing-surface {display:block;width:min(100%,33rem);height:auto;margin:.7rem 0;border:2px dashed #c76a91;border-radius:1rem;background:white}
.drawing-lab .studio-columns label {display:grid;gap:.2rem;font-weight:600}
.drawing-lab details {margin-top:.5rem}
.interactive-card .studio-actions {clear:both}
.worksheet-printout {display:none}
.leaf-audio .bookmark-toggle {display:grid;place-items:center;flex:0 0 40px;height:40px;padding:0;border:1px solid #8aa495;border-radius:.45rem;background:#fff;color:#194b36}
.leaf-audio .bookmark-toggle[aria-pressed=true] {color:#fff;background:#245a40;border-color:#245a40}
.bookmark-list {display:grid;gap:.15rem;margin:0 .85rem .55rem;padding:.4rem .35rem;font-size:.83rem;font-weight:650;color:#2d4839}
.bookmark-list select {max-width:100%;min-width:0;background:white;font:inherit;color:#304739;padding:.3rem}
.bookmark-list select:disabled {color:#5d635e;opacity:1}
.chapter-work[data-section=tutor] {max-width:52rem;background:#fff}
.lesson-tutor {color:#332723}
.tutor-head {display:flex;align-items:center;gap:1rem;margin-bottom:1.1rem}
.tutor-portrait {flex:none;border-radius:50%;padding:3px;border:2px solid #d29c75}
.tutor-portrait img {display:block;width:clamp(3.7rem,12vw,5.5rem);height:auto;border-radius:50%}
.tutor-portrait.speaking {outline:3px solid #247861;outline-offset:3px}
.tutor-head h3,.tutor-reply h4,.tutor-suggestions h4 {color:#75224c;margin:0}
.tutor-head h3 {font-size:1.55rem}
.tutor-head p {margin:.2rem 0}
.lesson-tutor form {display:grid;gap:.45rem}
.lesson-tutor textarea {box-sizing:border-box;width:100%;font:inherit;line-height:1.6;padding:.65rem;border:1px solid #9f8e94;background:#fff;border-radius:.45rem;color:#32282c}
.lesson-tutor form label {font-weight:650}
.lesson-tutor button {min-height:44px;padding:.4rem .8rem;border-radius:.45rem;font:inherit;font-weight:650;background:white;color:#733354;border:1px solid #aa8398}
.lesson-tutor button.ask-tara,.practice-work .digital-check button.work-check,.practice-work .interactive-card .studio-actions button:first-child {color:white;background:#86164c;border:1px solid #86164c;opacity:1;min-height:44px}
.lesson-tutor button.ask-tara {justify-self:start;padding-inline:1.4rem}
.lesson-tutor button:disabled,.practice-work .digital-check button:disabled,.practice-work .interactive-card .studio-actions button:disabled {color:#55464d;background:#ede7ea;border:1px solid #a99ba2;opacity:1}
.practice-work .digital-check .work-check:disabled,.practice-work .interactive-card .studio-actions button:first-child:disabled,.lesson-tutor .ask-tara:disabled {color:#55464d;background:#ede7ea;border-color:#a99ba2}
.tutor-suggestions,.tutor-reply {margin:1rem 0}
.tutor-suggestions {display:flex;flex-wrap:wrap;align-items:center;gap:.45rem}
.tutor-suggestions h4 {width:100%}
.tutor-suggestions button {text-align:left}
.tutor-reply {padding:1rem;border-left:4px solid #ad426d;background:#fcf5f7;border-radius:.35rem}
.tutor-reply p {margin:.45rem 0;line-height:1.75}
.learner-question {font-weight:600}
.tutor-reply-tools {display:flex;gap:.55rem;flex-wrap:wrap;align-items:center}
.answer-listen small {display:block}
.learning-layout .paid-actions button {color:#fff;background:#24533e;border:1px solid #24533e;min-height:44px;padding:.45rem .9rem}
.learning-layout .paid-actions button:disabled {color:#4c534f;background:#e4ebe6;border-color:#a4b4aa;opacity:1}
.private-quiz .learning-layout {grid-template-columns:minmax(0,1fr)}
.private-quiz #library-rail,.private-quiz #contents-open,.private-quiz .desk-bar #narrator-choice {display:none}
.preview-heading {display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;max-width:62rem;margin:1rem auto;width:calc(100% - 2rem)}
.preview-heading a,[data-learner-preview] {color:var(--pine);text-underline-offset:.18em}
[data-learner-preview^="paper"]:not([hidden]) {display:block;margin-top:.6rem}
.chapter-quiz {max-width:42rem;color:#332723}
.quiz-count,.quiz-nav,.quiz-jumps {display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}
.quiz-count,.quiz-nav {justify-content:space-between}
.quiz-count h3,.quiz-result h3 {margin:.3rem 0;color:#70234a}
.quiz-count span {font-size:.9rem;color:#594c52}
.chapter-quiz button {padding:.45rem .85rem;min-height:44px;font:inherit;font-weight:650;border:1px solid #987b89;border-radius:.45rem;background:#fff;color:#67304a}
.chapter-quiz .quiz-primary,.quiz-jumps button[aria-current=step] {background:#86164c;color:white;border-color:#86164c}
.quiz-jumps {margin:.75rem 0 1.1rem}
.quiz-jumps button {min-width:44px}
.quiz-jumps button[data-answered=true]:not([aria-current]) {background:#edf5ed;border-color:#5c8467;color:#205535}
.practice-work .chapter-quiz button:disabled {background:#eee9ec;color:#65585e;border-color:#b4a6ad;opacity:1}
.chapter-quiz .exercise {padding:.6rem .8rem;margin:0 0 .85rem;min-width:0}
.chapter-quiz .exercise legend {padding:.2rem .25rem;font:650 1.08rem/1.55 "Nirmala UI",sans-serif}
.chapter-quiz .exercise label {display:flex;align-items:center;gap:.65rem;min-height:44px;cursor:pointer}
.chapter-quiz .correct-choice,.quiz-explanation strong {color:#225b3b}
.quiz-explanation {background:#eef5ee;padding:.65rem .8rem}
.quiz-result button {margin:.2rem .5rem .2rem 0}
.quiz-score strong {font:700 1.8rem/1.2 system-ui;color:#70234a}
@media(max-width:740px) {
  .paper-zoom {display:block;margin:.25rem 0 .25rem auto;border:0;background:white;color:#733951;text-underline-offset:.15em;text-decoration:underline;font:inherit;font-size:.9rem}
  .book-design .paper-window.enlarged .printed-surface {width:max(100%,42rem)}
  .exercise-picker select {min-width:0}
  .exercise-picker {gap:.4rem .55rem;padding:.55rem}
  .exercise-picker label {display:grid;gap:.1rem;font-size:.86rem}
  .exercise-picker label:has(select option:nth-child(2)) {min-width:0}
  .exercise-picker select {width:100%;max-width:100%}
  .work-mode {margin-left:0}
  .digital-check button {min-height:2.5rem;padding:.35rem .85rem}
  .book-design .printed-choice:before {inset:-32% -100%}
}
@media print {
  @page vartika-sheet {size:A4 portrait;margin:8mm}
  html:has(.worksheet-printout),body:has(.worksheet-printout){margin:0!important;padding:0!important;background:white!important;display:block!important}
  body:has(.worksheet-printout)>:not(.worksheet-printout){display:none!important}
  .worksheet-printout {display:block;page:vartika-sheet;color:#175b91;print-color-adjust:exact;-webkit-print-color-adjust:exact}
  .printed-original {position:relative;width:100%;container-type:inline-size;break-inside:avoid}
  .printed-original>img {display:block;width:100%;height:auto}
  .print-region,.paper-entry {position:absolute}
  .paper-entry {display:flex;align-items:center;overflow:hidden;white-space:nowrap;font:600 1.9cqw/1.2 "Nirmala UI",sans-serif}
  .paper-entry.tick {justify-content:center;font:700 3.3cqw/1 system-ui}
  .printed-notes {break-before:page;color:#382a24}
  .printed-notes div {break-inside:avoid}
  .printed-notes p {white-space:pre-wrap;overflow-wrap:anywhere}
}
