.elc-exercise-group{border:2px solid #b9dfe5;border-radius:16px;padding:16px;margin:18px 0;background:#f6fbfc;min-width:0}
.elc-exercise-group h4{margin:0 0 12px;color:#186476}
.elc-book-word-bank{padding:10px 14px;margin:10px 0 14px;border-radius:10px;background:#e6f2f4;font-weight:600;overflow-wrap:anywhere}
.elc-book-cloze{line-height:2.8;white-space:normal;overflow-wrap:anywhere}
.elc-structured-field{font:inherit;border:2px solid #acbec8;border-radius:7px;padding:7px;background:white;max-width:100%;box-sizing:border-box}
.elc-book-cloze .elc-structured-field{display:inline-block;width:180px;margin:3px 5px;vertical-align:baseline}
.elc-table-scroll{overflow-x:auto;max-width:100%;margin:12px 0;border-radius:10px;border:1px solid #c8d8de}
.elc-book-table{border-collapse:collapse;min-width:360px;width:100%;margin:0!important}
.elc-book-table caption{text-align:left;font-weight:600;padding:10px;background:#edf6f7}
.elc-book-table th,.elc-book-table td{padding:10px;border:1px solid #c8d8de;vertical-align:top}
.elc-book-table th{background:#edf6f7;text-align:left}
.elc-book-table td{min-width:150px}.elc-book-table .elc-structured-field{width:100%;min-width:120px}
.elc-response-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:12px}
.elc-save-response{font:inherit;cursor:pointer;border:1px solid #8ab9c3;background:#ecf7f8;border-radius:8px;padding:6px 10px}
.elc-response-status,.elc-writing-count{font-size:.9em;color:#526876;display:block}
.elc-book-model{margin-top:12px;padding:10px;background:#eef6eb;border-radius:8px}
.elc-book-model[hidden]{display:none}.elc-book-model summary{cursor:pointer;font-weight:600}
.elc-teacher-feedback{padding:12px;border-left:4px solid #54a37b;background:#eef8f1;white-space:normal}
.elc-field-correct{border-color:#339865!important;background:#f0fbf5!important}
.elc-field-wrong{border-color:#d76d65!important;background:#fff5f4!important}
.elc-book-rubric{padding-left:22px}.elc-book-instructions_vi{color:#36667b}
@media(max-width:600px){.elc-exercise-group{padding:10px}.elc-book-cloze .elc-structured-field{width:145px}.elc-book-table th,.elc-book-table td{padding:7px}}
/* Keep large puzzle tracks inside their own scrolling area on narrow screens. */
.elc-crossword,.elc-word-search{min-width:0;max-width:100%}
.elc-word-search{grid-template-columns:minmax(0,1fr)}
.elc-crossword-grid,.elc-word-search-grid{min-width:0;box-sizing:border-box}
.elc-crossword-clues{min-width:0;overflow-wrap:anywhere}
@media(max-width:700px){.elc-crossword{grid-template-columns:minmax(0,1fr)}}
