.backup-schedule{border:1px solid var(--border);background:linear-gradient(115deg,#a67fff0c,transparent 65%);border-radius:14px;padding:20px;margin-bottom:22px;color:var(--text)}
.backup-schedule-heading{display:flex;align-items:center;gap:12px;margin-bottom:18px}
.backup-schedule-heading>div{flex:1;min-width:0}.backup-schedule h3{font-size:15px;font-weight:650;margin:0 0 4px}.backup-schedule-heading p{font-size:12px;color:var(--muted);line-height:1.5;margin:0}
.backup-schedule-icon{width:38px;height:38px;display:grid;place-items:center;background:#ae7cff16;border:1px solid #ab7df128;border-radius:11px;color:var(--purple);flex-shrink:0}.backup-schedule-icon .icon{width:19px;height:19px}
.backup-schedule-switch{position:relative;width:40px;height:24px;cursor:pointer;flex-shrink:0}.backup-schedule-switch input{position:absolute;opacity:0;width:100%;height:100%;margin:0;cursor:pointer}.backup-schedule-switch span{display:block;width:40px;height:24px;background:#76658455;border:1px solid var(--border);border-radius:20px;pointer-events:none;transition:background .2s}.backup-schedule-switch span:after{content:'';display:block;width:16px;height:16px;background:#ddd2ec;border-radius:50%;margin:3px;transition:transform .2s}.backup-schedule-switch input:checked+span{background:var(--purple);border-color:var(--purple)}.backup-schedule-switch input:checked+span:after{transform:translateX(16px);background:white}.backup-schedule-switch input:focus-visible+span{outline:2px solid var(--purple);outline-offset:4px}.backup-schedule-switch input:disabled+span{opacity:.55}
.backup-schedule-fields{display:grid;grid-template-columns:1fr 120px 1.6fr;gap:12px;align-items:end}.backup-schedule-fields:has([data-schedule-weekday]:not([hidden])){grid-template-columns:1fr 1fr 110px 1.5fr}.backup-schedule-fields label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:var(--muted);min-width:0}.backup-schedule-fields [hidden]{display:none}.backup-schedule input:not([type=checkbox]),.backup-schedule select{width:100%;min-width:0;height:37px;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text);padding:8px 10px;font:inherit;font-size:12px;color-scheme:dark}.backup-schedule input:focus-visible,.backup-schedule select:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.backup-schedule input:disabled,.backup-schedule select:disabled{opacity:.6;cursor:not-allowed}
.backup-schedule-state{display:flex;flex-wrap:wrap;gap:7px 22px;font-size:11px;color:var(--muted);margin-top:15px;line-height:1.7}.backup-schedule[data-enabled=true] [data-schedule-next]{color:var(--mint)}.backup-schedule-feedback{font-size:12px;line-height:1.6;color:#e5aa77;background:#d9934610;border:1px solid #d9934620;border-radius:8px;padding:8px 11px;margin:12px 0 0}.backup-schedule-feedback[hidden]{display:none}.backup-schedule-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;border-top:1px solid var(--border);padding-top:12px;margin-top:15px;font-size:11px;color:var(--muted)}.backup-schedule-footer>div{display:flex;align-items:center;gap:13px}.backup-schedule-footer .button{font-size:12px;padding:8px 12px}
:root[data-theme=light] .backup-schedule input:not([type=checkbox]),:root[data-theme=light] .backup-schedule select{background:var(--light-input);color-scheme:light}:root[data-theme=light] .backup-schedule-feedback{color:#925820;background:#f8efdF;border-color:#ead8bd}
@media(max-width:760px){.backup-schedule{padding:16px}.backup-schedule-fields,.backup-schedule-fields:has([data-schedule-weekday]:not([hidden])){grid-template-columns:1fr 1fr}.backup-schedule-timezone{grid-column:1/-1}.backup-schedule-state{flex-direction:column;gap:3px}.backup-schedule-heading p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.backup-schedule-switch span,.backup-schedule-switch span:after{transition:none}}
