#modal:has(#trainingSchedule){max-width:min(790px,calc(100vw - 20px));max-height:calc(100dvh - 20px)}
#modal:has(#trainingSchedule) .modal-card{padding:0}
.dgr-training-schedule{padding:clamp(16px,3vw,28px);color:#172338}
.dgr-schedule-header{padding-right:38px;margin-bottom:16px}
.dgr-schedule-header h2{font-size:clamp(24px,4vw,32px);line-height:1.12;margin:7px 0}
.dgr-schedule-header p{margin:0;color:#536179}
.dgr-schedule-filters{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) auto;gap:10px;align-items:end}
.dgr-schedule-filters label{display:grid;gap:5px;font-size:13px;font-weight:700;min-width:0}
.dgr-schedule-filters select{font:inherit;background:#fff;color:#172338;width:100%;min-height:44px;padding:8px;border:1px solid #cdd6e3;border-radius:10px;text-overflow:ellipsis}
.dgr-training-schedule #trainingScheduleStatus{margin:12px 0 8px;font-size:14px;color:#536179}
.dgr-schedule-list{max-height:min(53dvh,500px);overflow:auto;overscroll-behavior:contain;border-top:1px solid #e3e8f0}
.dgr-schedule-month h3{margin:0;padding:8px 10px;background:#f3f6fb;text-transform:capitalize;font-size:14px}
.dgr-schedule-month ul{margin:0;padding:0;list-style:none}
.dgr-schedule-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #e3e8f0}
.dgr-schedule-row time{font-size:13px;font-weight:800;color:#08765b;text-transform:capitalize}
.dgr-schedule-row strong{display:block;font-size:14px;line-height:1.35;overflow-wrap:anywhere}
.dgr-schedule-row small{display:block;margin-top:3px;color:#536179}
.dgr-schedule-row .btn{min-height:38px;padding:8px 12px;font-size:13px}
.dgr-schedule-full{font-size:13px;color:#536179;font-weight:700}
.dgr-training-schedule :is(button,select,[tabindex]):focus-visible{outline:2px solid #087e65;outline-offset:2px}
.dgr-schedule-footnote{font-size:12px;color:#536179;margin:10px 0 0}
@media(max-width:580px){
  .dgr-schedule-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .dgr-schedule-filters button{grid-column:1/-1;justify-self:start;min-height:36px;padding:6px 10px}
  .dgr-schedule-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 8px}
  .dgr-schedule-row time{grid-column:1/-1}
}
