.ec-learning { color: inherit; font: inherit; min-width: 0; }
.ec-learning *, .ec-learning-editor *, .ec-learning-release * { box-sizing: border-box; }
.ec-learning label, .ec-learning-editor label, .ec-learning-release label { display: grid; gap: 6px; margin: 12px 0; min-width: 0; font-size: 14px; }
.ec-learning input:not([type=radio]):not([type=checkbox]):not([type=hidden]), .ec-learning select, .ec-learning textarea,
.ec-learning-editor input:not([type=hidden]), .ec-learning-editor select, .ec-learning-editor textarea, .ec-learning-release input:not([type=checkbox]), .ec-learning-release select { width: 100%; max-width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid #aab5ba; border-radius: 4px; background: #fff; color: #17232b; font: inherit; }
.ec-learning textarea, .ec-learning-editor textarea { resize: vertical; }
.ec-learning button, .ec-learning-editor button { min-height: 42px; padding: 9px 15px; margin: 8px 8px 8px 0; border: 1px solid #0b716d; border-radius: 4px; background: #0b716d; color: #fff; font: 600 14px/1.3 Arial, sans-serif; cursor: pointer; }
.ec-learning button:hover, .ec-learning-editor button:hover { background: #085652; }
.ec-learning button:disabled, .ec-learning-editor button:disabled { opacity: .45; cursor: default; }
.ec-learning :focus-visible, .ec-learning-editor :focus-visible { outline: 3px solid #e0a600; outline-offset: 3px; }
.ec-learning-release { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; align-items: start; }
.ec-learning-release .ec-learning-check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.ec-learning-question, .ec-learning-response { min-width: 0; margin: 20px 0; padding: 16px; border: 1px solid #b5bec2; border-radius: 4px; }
.ec-learning-question legend, .ec-learning-response legend { max-width: 100%; padding: 0 6px; font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.ec-learning-question-tools { display: flex; justify-content: flex-end; gap: 4px; }
.ec-learning-question-tools button { width: 40px; min-height: 40px; padding: 4px; font-size: 20px; }
.ec-learning-editor [hidden] { display: none !important; }
.ec-learning-option { display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: center; gap: 10px; margin: 8px 0; }
.ec-learning-editor .ec-learning-option-key { display: flex; align-items: center; gap: 6px; margin: 0; white-space: nowrap; }
.ec-learning-editor .ec-learning-option-key input { width: 20px; height: 20px; accent-color: #0b716d; }
.ec-learning-option button { width: 40px; padding: 4px; margin: 0; font-size: 20px; }
.ec-learning .ec-learning-inherit, .ec-learning-editor .ec-learning-inherit { display: flex; align-items: center; gap: 10px; }
.ec-learning-inherit input[type=checkbox] { width: 20px; height: 20px; flex: 0 0 auto; accent-color: #0b716d; }
.ec-learning-course-status { padding: 16px 0; border-top: 1px solid #bac5ca; border-bottom: 1px solid #bac5ca; }
.ec-learning label.ec-learning-choice { display: flex; align-items: flex-start; gap: 12px; padding: 10px; border: 1px solid #c8d0d3; border-radius: 4px; line-height: 1.5; cursor: pointer; }
.ec-learning-choice input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0; accent-color: #0b716d; }
.ec-learning-choice span { min-width: 0; overflow-wrap: anywhere; }
.ec-learning .ec-learning-phrase { line-height: 2.5; }
.ec-learning .ec-learning-phrase input { display: inline-block; width: 200px !important; max-width: 100%; min-height: 40px; vertical-align: middle; }
.ec-learning-response p, .ec-learning-review p { white-space: pre-wrap; overflow-wrap: anywhere; }
.ec-learning-meta { font-size: 13px; opacity: .85; }
.ec-learning-notice { padding: 12px 14px; border-left: 4px solid #0b716d; background: #e7f6f2; color: #173c35; font-size: 14px; }
.ec-learning-override, .ec-learning-result { margin: 12px 0; padding: 12px 0; border-bottom: 1px solid #bac5ca; }
.ec-learning summary { cursor: pointer; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ec-learning-review { padding: 16px 0; border-bottom: 1px solid #bac5ca; font-size: 14px; }
.ec-learning-table { overflow-x: auto; }
.ec-learning table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.ec-learning th, .ec-learning td { padding: 10px 8px; border-bottom: 1px solid #bac5ca; overflow-wrap: anywhere; }
.ec-learning-pagination { display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; }
.ec-learning-marking-note { padding: 12px; background: #fff5d8; color: #423613; }
.ec-reader.is-dark .ec-learning { color: #f4f6f7; }
.ec-reader.is-dark .ec-learning-notice { color: #e4fbf6; background: #16443d; }
.ec-reader.is-dark .ec-learning-response, .ec-reader.is-dark .ec-learning-choice { border-color: #657779; }
.ec-learning-status { display: block; margin-top: 5px; color: #765711; font: 400 12px/1.4 Arial, sans-serif; white-space: normal; }
.ec-reader.is-dark .ec-learning-status { color: #f5d887; }
@media (max-width: 600px) {
    .ec-learning-release { grid-template-columns: 1fr; gap: 0; }
    .ec-learning input, .ec-learning select, .ec-learning textarea { font-size: 16px; }
    .ec-learning-question, .ec-learning-response { padding: 12px; }
    .ec-learning th, .ec-learning td { padding: 8px 5px; }
}
