.course-language-switch{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px auto;padding:14px 18px;border:1px solid #d6e0ec;border-radius:14px;background:#fff;color:#253449;max-width:1200px;font-size:13px;font-weight:600;line-height:1.6}
.course-language-switch>div{display:inline-flex;gap:4px;padding:4px;background:#f0f4f8;border-radius:10px}
.course-language-switch button{padding:7px 16px;min-height:40px;border:0;border-radius:7px;background:transparent;color:#526277;font-weight:700;cursor:pointer}
.course-language-switch button[aria-pressed=true]{background:#2d69a5;color:#fff}
.course-language-switch button:focus-visible{outline:3px solid #2d69a5;outline-offset:3px}
.course-language-switch small{flex-basis:100%;font-weight:400;color:#5f6f82;font-size:11px}
.bilingual-authoring-note{padding:16px 18px;background:#edf4fc;border:1px solid #ccddf2;border-radius:12px;color:#25486e;margin:0 0 24px;font-size:13px;line-height:1.7}
.avenue-form [data-field$="_ne"]{padding-inline-start:16px;border-inline-start:3px solid #bfd3ec}
.avenue-form [data-field$="_ne"] :is(input,textarea){font-size:16px;line-height:1.8}
.quiz-language-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.quiz-language-pair>*{min-width:0}
.dark .course-language-switch{background:#162236;border-color:#34465e;color:#e4edf7}
.dark .course-language-switch>div{background:#243349}.dark .course-language-switch button{color:#c9d9ec}.dark .course-language-switch button[aria-pressed=true]{color:white}.dark .course-language-switch small{color:#b8c6da}
@media(max-width:640px){.course-language-switch{margin:12px 16px;padding:12px}.quiz-language-pair{grid-template-columns:minmax(0,1fr)}}

.inline-quiz fieldset{min-width:0;width:100%}
.course-authoring-header>div{min-width:0}
.lesson-authoring-toolbar{gap:12px;flex-wrap:wrap}
.lesson-authoring-toolbar>div:first-child{min-width:0;flex:1 1 180px}
.lesson-authoring-toolbar>div:last-child{flex-shrink:0}
@media(max-width:640px){.course-authoring-header{flex-direction:column;align-items:stretch;gap:16px}.course-authoring-header>div:last-child{flex-wrap:wrap;gap:10px}.course-authoring{padding-inline:16px}.course-authoring .inline-quiz{padding:12px}}
/* Video block: one panel per language with its YouTube URL, file and subtitles. */
.video-language-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.video-language-panels[hidden],.avenue-form [data-for-block-type][hidden]{display:none}
.video-language-panel{min-width:0;margin:0;padding:18px;border:1px solid #d5e1ef;border-radius:12px;background:#f8fbff;display:grid;gap:14px}
.video-language-panel legend{padding:0 6px;font-size:14px;font-weight:700;color:#1f3f63}
.video-language-panel label{display:block;margin-bottom:4px;font-size:13px;font-weight:700;color:#334155}
.avenue-form .video-language-panel [data-field$="_ne"]{padding-inline-start:0;border-inline-start:0}
.dark .video-language-panel{background:#162236;border-color:#34465e}.dark .video-language-panel :is(legend,label){color:#e4edf7}
@media(max-width:640px){.video-language-panels{grid-template-columns:minmax(0,1fr)}}
