#scheduleEntry{margin-bottom:16px;display:flex;justify-content:flex-end}.compact #scheduleEntry{display:none}
#schedulePreview{scroll-margin-top:80px}
#mobileSettings #scheduleMobileEntry{min-height:40px}
#scheduleDialog{width:min(1100px,96vw);height:min(850px,94dvh);max-height:94dvh;padding:24px;overflow:auto}
.schedule-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:-24px;background:var(--panel);padding:12px 0;z-index:1}.schedule-heading h2{margin:0;font-size:22px}
.schedule-tools,.schedule-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.schedule-tabs button[aria-pressed=true]{background:#263d52;border-color:#88b7dc;color:#c5e1ff}
#scheduleDialog p{overflow-wrap:anywhere}#scheduleDialog h3{margin:18px 0 8px}#scheduleDialog button{min-height:38px}
.schedule-item{display:grid;grid-template-columns:90px minmax(0,1fr) 260px auto;align-items:center;gap:14px;border-bottom:1px solid var(--line);padding:14px 0}.schedule-item b{font-size:15px}.schedule-item small{display:block;color:var(--muted);margin-top:4px;overflow-wrap:anywhere}.schedule-item time{font:14px/1.7 var(--mono)}.schedule-item>div{min-width:0;overflow-wrap:anywhere}.schedule-series{font-size:12px;color:#b3d5fa;border-left:3px solid #7bb3eb;padding-left:10px}.schedule-item[data-series=F1] .schedule-series{border-color:var(--red)}
#scheduleImport textarea,#scheduleOutput{display:block;width:100%;min-height:180px;resize:vertical;background:var(--bg);color:var(--text);border:1px solid var(--line);padding:12px;font:13px/1.6 var(--mono);border-radius:6px}#scheduleFile{margin:12px 0}
.schedule-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:16px}.schedule-form label{display:flex;flex-direction:column;gap:7px;min-width:0}.schedule-form input,.schedule-form select{width:100%;min-width:0}.schedule-form .schedule-tools{grid-column:1/-1}.schedule-notice{border:1px solid #705e32;background:#2b261c;color:#eed094;padding:12px;border-radius:6px}.schedule-empty{padding:50px 14px;text-align:center;border:1px dashed var(--line);border-radius:10px}.schedule-type{font-size:12px;color:var(--muted)}
@media(max-width:700px){#scheduleDialog,.compact #scheduleDialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0;padding:16px}.schedule-heading{top:-16px}.schedule-heading h2{font-size:19px}.schedule-item{grid-template-columns:65px minmax(0,1fr) auto;gap:8px}.schedule-item time{grid-column:2/-1;grid-row:2}.schedule-item button{grid-column:3;grid-row:1}.schedule-form{grid-template-columns:1fr}.schedule-tabs{gap:5px}.schedule-tabs button,.schedule-tools button{font-size:13px;padding:8px}.schedule-series{font-size:11px}.schedule-form input[type=datetime-local]{max-width:100%}}

#scheduleDialog label.schedule-notice{display:block;margin:10px 0;overflow-wrap:anywhere}#scheduleDialog input[type=checkbox]{width:auto}
