[data-role="narrator"]{--role:#245fbe;--role-bg:#edf3ff}[data-role="lika"],[data-role="artem"]{--role:#398447;--role-bg:#edf2e4}[data-role="male"]{--role:#257442;--role-bg:#edf8ef}[data-role="teacher"]{--role:#9b4c09;--role-bg:#fff2e5}[data-role="video"],[data-role="music"],[data-role="screen"]{--role:#526170;--role-bg:#f1f4f6}
#lessonRoleBadge,.role-legend span{color:var(--role);background:var(--role-bg);border-left:4px solid var(--role);border-radius:6px;padding:5px 9px;font:700 14px/1.4 Nunito,sans-serif}#screen .speech{border-left:5px solid var(--role,#526170)}
#lessonOptionsPanel{position:absolute;z-index:100;inset:12px 12px 12px auto;width:min(700px,calc(100% - 24px));background:#fff;color:#252736;border:1px solid #d4d8e0;border-radius:16px;padding:20px;box-shadow:0 12px 60px #20203055;display:flex;flex-direction:column;gap:10px;text-align:left;box-sizing:border-box}#lessonOptionsPanel[hidden]{display:none}.options-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.options-head h3{margin:0}#lessonOptionsPanel p{margin:3px 0;font-size:14px}.role-legend,.options-tools{display:flex;flex-wrap:wrap;gap:8px}#lessonOptionsRows{overflow:auto;min-height:0;flex:1}.lesson-option-row{border:1px solid #dce0e6;border-left:5px solid var(--role);border-radius:9px;padding:12px;margin-bottom:10px;background:#fff}.option-caption{color:var(--role);display:flex;gap:12px;align-items:center}.quiz-tag{background:#eef0f4;color:#3b4050;border-radius:5px;padding:3px 6px;font-size:12px}.lesson-option-row label{display:inline-flex;gap:6px;margin:9px 20px 0 0;align-items:center;font-size:14px}.lesson-option-row input{width:18px;height:18px;accent-color:var(--role)}.lesson-option-row small{display:block;margin-top:7px;color:#606777}.option-text{color:#454c57}#lessonOptionsButton{white-space:nowrap}@media(max-width:600px){#lessonOptionsPanel{padding:12px}.options-tools button{font-size:12px}.role-legend span{font-size:11px}.lesson-option-row label{margin-right:10px}}
