.schedule-editor{max-width:920px;margin-top:0;background:#fff;border:1px solid #dfe7f2;border-radius:16px;padding:24px;box-shadow:0 6px 24px rgba(15,39,88,.05)}
.schedule-editor header{padding-bottom:16px;border-bottom:1px solid #e8eef6}
.schedule-editor header h3{margin:0;font-size:20px;color:#0f2b66}
.schedule-editor header p{margin:6px 0 8px;color:#475569;font-size:14px}
.schedule-editor header small,.schedule-editor small,.schedule-preserve{color:#536579;line-height:1.6;font-size:13px}
.schedule-editor .schedule-step{border:0;border-top:1px solid #e8eef6;padding:20px 0 8px;margin:20px 0 0}
.schedule-editor .schedule-step:first-of-type{border-top:0;margin-top:8px;padding-top:12px}
.schedule-step legend{font-size:16px;font-weight:750;padding:0 10px 0 0;color:#12347a}
.schedule-editor label{font-size:14px;font-weight:600;color:#1e293b}
.schedule-editor .weekday-row{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}
.schedule-editor .weekday-row label{display:flex;gap:8px;align-items:center;border:1.5px solid #cbd5e4;border-radius:10px;padding:10px 14px;min-height:44px;cursor:pointer;margin:0;background:#fff;transition:all .15s ease;font-weight:650}
.schedule-editor .weekday-row label:hover{border-color:#2563eb;background:#f8fbff}
.schedule-editor .weekday-row label:has(input:checked){background:#eaf2ff;border-color:#1747a4;color:#12347a;box-shadow:0 2px 6px rgba(23,71,164,.1)}
.schedule-editor input[type=checkbox]{width:18px;height:18px;accent-color:#1747a4;cursor:pointer}
.schedule-editor .portal-time-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:end}
.schedule-editor .schedule-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.schedule-editor input,.schedule-editor select{box-sizing:border-box}
.schedule-editor .portal-time-grid label{display:grid;align-content:start;gap:6px}
.schedule-editor select,.schedule-editor input:not([type=checkbox]){min-height:44px;width:100%;font:inherit;background:#fff;color:#17324d;border:1px solid #b5c2d4;border-radius:10px;padding:10px 12px}
.schedule-step>label{display:grid;gap:6px;max-width:300px}
.schedule-step>label.check{display:flex;max-width:none;align-items:center;gap:10px;margin:14px 0 6px;font-weight:500;cursor:pointer}
.schedule-help{margin-top:10px;font-size:14px}
.schedule-help summary,.schedule-published summary{cursor:pointer;min-height:44px;padding:10px 0;color:#1747a4;font-weight:700;display:flex;align-items:center;gap:8px}
.schedule-help p{max-width:650px;line-height:1.7;color:#475569}
.schedule-editor button[type=submit]{min-height:48px;padding:12px 26px;font-weight:700;border-radius:10px}
.schedule-editor [data-schedule-status]:not(:empty){padding:12px 14px;border-radius:10px;background:#eef4ff;border:1px solid #c7dbff;color:#12347a;line-height:1.5;margin:12px 0;font-size:14px;font-weight:600}
.schedule-editor [data-schedule-status][data-state="success"]:not(:empty){background:#f0fdf4;border-color:#86efac;color:#166534}
.schedule-editor [data-schedule-status][data-state="error"]:not(:empty){background:#fef2f2;border-color:#fca5a5;color:#991b1b}
.schedule-editor [data-schedule-status][data-state="unsaved"]:not(:empty){background:#fffbeb;border-color:#fcd34d;color:#92400e}
.schedule-editor [data-published-calendar]{border-top:1px solid #dfe7f2;margin-top:24px;padding-top:14px}
.published-summary-meta{font-weight:500;font-size:13px;color:#64748b}
.published-mismatch{background:#fff7ed;border:1px solid #fdba74;color:#9a3412;border-radius:10px;padding:12px 14px;margin:8px 0 14px;font-size:14px;line-height:1.5}
.published-mismatch[hidden]{display:none!important}
.published-overview{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:14px 16px;margin:10px 0 14px}
.published-overview h4{margin:0 0 4px;font-size:15px;color:#0f2b66}
.published-meta-line{margin:0;font-size:13px;color:#475569}
.published-weekday-strip{display:flex;flex-wrap:wrap;gap:6px}
.published-weekday-pill{display:inline-flex;align-items:center;padding:5px 10px;border-radius:999px;font-size:12px;font-weight:700;background:#e2e8f0;color:#64748b}
.published-weekday-pill.is-live{background:#dcfce7;color:#166534;border:1px solid #86efac}
.published-date-picker{display:grid;gap:6px;max-width:340px;margin-bottom:14px}
.published-slot-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:8px;margin-top:8px}
.published-slot-chip{display:inline-flex;justify-content:center;align-items:center;padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f2b66;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}
.published-empty{color:#64748b;font-size:14px;padding:10px 0}
.published-footnote{color:#64748b;font-size:12px;margin-top:14px}
.schedule-editor :is(input,select,button,summary):focus-visible{outline:3px solid #2463d5;outline-offset:3px}
@media(max-width:640px){.schedule-editor{padding:16px}.schedule-editor .portal-time-grid{grid-template-columns:1fr}.schedule-editor .schedule-two{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-editor .weekday-row label{padding:9px 11px}.schedule-editor button[type=submit]{width:100%}}

/* Full 7-day responsive grid & quick-select presets */
.schedule-editor .weekday-presets{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 8px}
.schedule-editor .weekday-preset-btn{border:1px solid #cbd5e4;background:#f8fafc;color:#1747a4;font-size:12px;font-weight:700;padding:6px 12px;border-radius:999px;cursor:pointer;transition:all .15s ease}
.schedule-editor .weekday-preset-btn:hover{background:#eaf2ff;border-color:#1747a4}
.schedule-editor .weekday-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin:8px 0 12px}
.schedule-editor .weekday-row label{justify-content:center;padding:10px 6px;min-width:0}
.schedule-editor .weekday-live-summary{margin:0 0 16px;padding:9px 12px;border-radius:9px;background:#f0fdf4;border:1px solid #bbf7d0;color:#166534;font-size:13px;font-weight:650}
.schedule-editor .weekday-live-summary.is-empty{background:#fff7ed;border-color:#fdba74;color:#9a3412}
@media(max-width:760px){.schedule-editor .weekday-row{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:420px){.schedule-editor .weekday-row{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep toast notifications above the floating ? Support pill */
.toast,.live-toast,[role="status"].toast{bottom:86px!important;z-index:90}

.published-date-row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px;margin-bottom:14px}
.published-date-row .published-date-picker{margin-bottom:0;flex:1 1 240px}
.published-block-day{min-height:44px;white-space:nowrap;border-color:#fca5a5!important;color:#b91c1c!important;background:#fff5f5!important}
.published-block-day:hover{background:#fee2e2!important}
