/* Supplements the existing digiCOACH theme. */
.training-return{text-align:center;padding:0 1.5em;font-size:.9em;color:white}
.calibration-steps{padding-left:1.6em}.calibration-steps>li{padding-left:.6em;margin:0 0 2em}.calibration-steps h4{margin-bottom:.4em}.calibration-steps li::marker{color:#4a3d59;font-weight:bold;font-size:1.3em}
.lesson-card{border:2px solid #e4e4e4;border-top:5px solid #ff6600;border-radius:5px;padding:2em;margin:2em 0}.lesson-label{color:#4a3d59;font-size:.8em;font-weight:bold;letter-spacing:.08em;text-transform:uppercase;margin-bottom:1em}.session-note{background:#fafafa;border-left:4px solid #4a3d59;padding:1em 1.3em;margin-bottom:1.5em}.lesson-actions{flex-wrap:wrap;gap:.8em}.lesson-actions li{padding:0!important}.lesson-actions .button{white-space:normal;height:auto;line-height:1.5;padding:1em 1.3em}
details{border-top:1px solid #e4e4e4;padding:1em 0}summary{cursor:pointer;font-weight:bold;color:#4a3d59}details ul{margin-top:1em}summary:focus-visible,a:focus-visible,button:focus-visible{outline:3px solid #ff6600;outline-offset:4px}
.lesson-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1em}.lesson-slot{padding:1em;border:1px dashed #ccc;border-radius:4px}.lesson-slot span{display:block;font-size:.85em}
#video-dialog{border:0;border-radius:6px;padding:1.25em;width:min(1000px,94vw);max-height:92vh;overflow:auto;color:#555;background:white}#video-dialog::backdrop{background:rgba(20,15,25,.85)}.video-dialog-header{display:flex;justify-content:space-between;align-items:center;gap:1em;margin-bottom:1em}.video-dialog-header h4{margin:0}#close-video{height:auto;line-height:1.5;padding:.6em 1em}.video-frame{aspect-ratio:16/9;background:#111}.video-frame iframe{width:100%;height:100%;border:0}#video-dialog p{font-size:.85em;margin:1em 0 0}body.video-open{overflow:hidden}
@media(max-width:736px){.lesson-card{padding:1.2em}.lesson-slots{grid-template-columns:1fr}.lesson-actions{display:flex;flex-direction:column;align-items:stretch}.lesson-actions .button{width:100%}}

/* Keep the third-party video notice readable as fine print. */
#videos .video-notice{font-size:12px;line-height:1.6;margin-bottom:2em}#videos .video-notice p,#videos .video-notice a{font-size:inherit}#videos .video-notice h4{font-size:13px;margin-bottom:.5em}
