.schedule-toolbar,.schedule-actions,.schedule-footer{display:flex;flex-wrap:wrap;gap:.65rem;align-items:end}.schedule-layout{display:grid;grid-template-columns:minmax(220px,1fr) minmax(0,3fr);gap:1rem;margin-top:1rem}.schedule-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.schedule-day,.schedule-queue{background:#f1f5f9;border:1px solid #cbd5e1;border-radius:12px;padding:.75rem;min-width:0}.schedule-day h3,.schedule-queue h3{font-weight:700;margin-bottom:.6rem}.schedule-card{background:white;border:1px solid #cbd5e1;border-radius:8px;margin:.7rem 0;padding:.75rem;overflow-wrap:anywhere}.schedule-context{border-left:3px solid #2563eb;padding-left:.6rem;margin-bottom:.5rem}.schedule-context p,.schedule-card p{margin:.35rem 0}.schedule-warning{color:#854d0e;background:#fef9c3;padding:.4rem;border-radius:4px}.schedule-day nav,.schedule-queue nav{display:flex;flex-wrap:wrap;gap:.35rem;font-size:.8rem}.schedule-form-fields{display:grid;gap:.8rem;margin:1rem 0}.schedule-footer{margin-top:1rem;padding:.75rem 0;border-top:1px solid #cbd5e1}.schedule-card button{white-space:normal;text-align:left}.schedule-actions{margin-top:.5rem}@media(max-width:1023px){.schedule-layout{grid-template-columns:1fr}.schedule-days{grid-template-columns:repeat(3,minmax(210px,1fr));overflow-x:auto}.schedule-toolbar label{max-width:100%}}@media(max-width:600px){.schedule-days{grid-template-columns:1fr;overflow:visible}.schedule-footer button{width:100%}}
/* Keep the programmer's day headers visible without an entire page per busy day. */
.schedule-day,.schedule-queue{max-height:65vh;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.schedule-day>h3,.schedule-queue>h3{position:sticky;top:-.75rem;background:#f1f5f9;padding:.55rem 0;z-index:1}.schedule-card{font-size:.875rem}.schedule-toolbar input{max-width:100%}.schedule-toolbar label{min-width:0}@media(max-width:600px){.schedule-day,.schedule-queue{max-height:58vh}.schedule-toolbar{display:grid;grid-template-columns:1fr 1fr}.schedule-toolbar label:nth-child(2){grid-column:1/-1}}
