.backup-ui { margin: 0 0 28px; padding: 25px; color: var(--ink, #102a43); border: 1px solid var(--line, #d4e0e8); border-radius: 18px; background: #fff; }
.backup-ui [hidden] { display: none !important; }
.backup-ui h3 { margin: 4px 0 8px; font-size: 1.4rem; }
.backup-ui h4 { margin: 0 0 14px; font-size: 1.04rem; }
.backup-ui p, .backup-ui li { line-height: 1.55; }
.backup-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.backup-heading > div { min-width: 0; }
.backup-heading .eyebrow { margin: 0; }
.backup-muted { margin: 0; color: var(--muted, #526a7a); font-size: .9rem; }
.backup-badge, .backup-job-status { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 6px 10px; border-radius: 7px; background: #edf2f5; color: #425b6d; font-size: .79rem; font-weight: 700; line-height: 1.3; }
.backup-badge { flex: 0 0 auto; margin-top: 4px; }
.backup-ui .is-success { background: #e6f4ed; color: #176441; }
.backup-ui .is-warning { background: #fff1d9; color: #80530e; }
.backup-ui .is-error { background: #fcecef; color: #a12e3d; }
.backup-ui .is-pending { background: #e8f2fb; color: #145d8a; }
.backup-feedback { margin: 0 0 20px; padding: 13px 15px; color: #175e47; background: #eaf6ef; border-radius: 9px; font-size: .92rem; overflow-wrap: anywhere; }
.backup-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 27px; }
.backup-metric { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border: 1px solid #dfe8ee; border-radius: 11px; background: #f8fafc; }
.backup-metric > span { color: #526a7a; font-size: .8rem; }
.backup-metric strong { font-size: .99rem; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.backup-metric small { color: #526a7a; font-size: .77rem; line-height: 1.5; }
.backup-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 34px; }
.backup-settings, .backup-side { min-width: 0; }
.backup-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.backup-switch { display: grid; grid-template-columns: minmax(0, 1fr) 40px; position: relative; gap: 18px; align-items: center; margin-bottom: 22px; padding: 14px 16px; border: 1px solid #cfe0eb; border-radius: 10px; background: #f3f9fc; cursor: pointer; }
.backup-switch > span:first-child { display: grid; gap: 6px; }
.backup-switch strong { font-size: .91rem; }
.backup-switch small { color: #526a7a; font-size: .78rem; font-weight: 400; line-height: 1.5; }
.backup-switch input { position: absolute; right: 16px; width: 40px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.backup-switch-track { display: block; width: 40px; height: 24px; border-radius: 14px; background: #899eab; pointer-events: none; transition: background .16s; }
.backup-switch-track::after { display: block; content: ""; width: 18px; height: 18px; margin: 3px; background: #fff; border-radius: 50%; transition: transform .16s; }
.backup-switch input:checked + .backup-switch-track { background: #0870a6; }
.backup-switch input:checked + .backup-switch-track::after { transform: translateX(16px); }
.backup-switch input:focus-visible + .backup-switch-track { outline: 3px solid #0b74ae; outline-offset: 4px; }
.backup-fields:disabled .backup-switch { cursor: default; }
.backup-fields:disabled input, .backup-fields:disabled select { cursor: wait; }
.backup-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0 0 18px; }
.backup-field label { font-size: .86rem; font-weight: 650; }
.backup-field input, .backup-field select { box-sizing: border-box; width: 100%; min-width: 0; height: 43px; padding: 9px 11px; border: 1px solid #c5d6e2; border-radius: 8px; background: #fff; color: #102a43; font: inherit; font-size: .92rem; }
.backup-field input:focus-visible, .backup-field select:focus-visible { outline: 2px solid #0b74ae; outline-offset: 2px; }
.backup-field small { color: #526a7a; font-size: .77rem; line-height: 1.5; }
.backup-schedule { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0 14px; }
.backup-weekday { grid-column: 1 / -1; }
.backup-preview { min-height: 48px; padding: 11px 13px; border: 1px solid #d6e5ef; border-radius: 9px; background: #f2f8fc; color: #194e6e; font-size: .86rem; line-height: 1.5; }
.backup-timezone { margin: 9px 0 20px; font-size: .75rem; color: #526a7a; }
.backup-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.backup-ui button, .backup-ui a.ghost-button { min-height: 40px; line-height: 1.4; font-size: .83rem; }
.backup-ui button:disabled { cursor: default; opacity: .5; }
.backup-ui button:focus-visible, .backup-ui a:focus-visible, .backup-table-scroll:focus-visible { outline: 2px solid #0b74ae; outline-offset: 3px; }
.backup-unsaved { font-size: .75rem; color: #80530e; }
.backup-included { position: relative; padding: 19px 18px 16px; border-radius: 12px; background: #f6f9fb; }
.backup-included h4 { margin-right: 40px; margin-bottom: 10px; }
.backup-included p { color: #526a7a; font-size: .83rem; }
.backup-included ul { margin: 14px 0 18px; padding-left: 19px; color: #284a60; font-size: .8rem; }
.backup-included li { margin: 6px 0; padding-left: 2px; }
.backup-icon { position: absolute; top: 17px; right: 16px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #e6f1f7; color: #26719b; }
.backup-icon svg { width: 24px; height: 24px; }
.backup-included .backup-key-note { margin-bottom: 0; padding-top: 13px; border-top: 1px solid #dce6ed; font-size: .76rem; }
.backup-configuration { margin-top: 23px; }
.backup-checks { display: grid; gap: 10px; margin: 0 0 15px; padding: 0; list-style: none; }
.backup-checks li { display: flex; align-items: center; gap: 9px; font-size: .8rem; }
.backup-checks strong { margin-left: auto; color: #526a7a; font-size: .74rem; font-weight: 500; text-align: right; }
.backup-check-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #d8982b; }
.backup-check-dot.is-ready { background: #268157; }
.backup-issues { margin: 12px 0 10px; padding: 12px 14px 12px 29px; background: #fff6e5; color: #80530e; border-radius: 9px; font-size: .79rem; }
.backup-issues li + li { margin-top: 5px; }
.backup-configuration > .backup-muted { font-size: .77rem; }
.backup-config-detail { margin: 9px 0 0; color: #526a7a; font-size: .75rem; overflow-wrap: anywhere; }
.backup-config-detail code { display: inline; color: #284a60; font-size: .74rem; }
.backup-manual { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; padding: 21px 0; border-top: 1px solid #dde7ee; border-bottom: 1px solid #dde7ee; }
.backup-manual > div:first-child { flex: 1 1 245px; min-width: 0; }
.backup-manual h4 { margin-bottom: 7px; }
.backup-manual .backup-muted { font-size: .8rem; }
.backup-manual-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.backup-download { text-decoration: none; }
.backup-history { margin-top: 25px; }
.backup-history-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.backup-history-heading h4 { margin-bottom: 6px; }
.backup-history-heading .backup-muted { font-size: .79rem; }
.backup-history-heading button { flex: 0 0 auto; }
.backup-empty { margin: 0; padding: 24px 18px; color: #526a7a; border: 1px dashed #cfdde7; border-radius: 10px; background: #fbfcfd; font-size: .85rem; }
.backup-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid #dfe7ed; border-radius: 10px; }
.backup-table { width: 100%; min-width: 660px; border-collapse: collapse; text-align: left; font-size: .81rem; }
.backup-table th { padding: 11px 13px; background: #f4f8fa; color: #526a7a; font-size: .73rem; font-weight: 600; }
.backup-table td { max-width: 300px; padding: 14px 13px; border-top: 1px solid #e5edf2; vertical-align: top; line-height: 1.5; overflow-wrap: anywhere; }
.backup-table td > strong { font-weight: 600; font-size: .81rem; }
.backup-table td > small { display: block; margin-top: 5px; color: #526a7a; font-size: .72rem; }
.backup-table td > a { display: block; width: fit-content; margin-top: 7px; color: #086da5; font-size: .76rem; }
.backup-table td > .backup-job-error { color: #a12e3d; }
.backup-recipient { overflow-wrap: anywhere; }
.backup-history-note { margin: 10px 0 0; color: #526a7a; font-size: .72rem; }
@media (max-width: 1080px) { .backup-layout { gap: 24px; } .backup-manual-actions { width: 100%; } }
@media (max-width: 800px) { .backup-layout { grid-template-columns: minmax(0, 1fr); } .backup-metrics { grid-template-columns: minmax(0, 1fr); gap: 9px; } .backup-metric { gap: 5px; padding: 13px 15px; } .backup-side { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; } .backup-configuration { margin-top: 0; } }
@media (max-width: 560px) { .backup-ui { padding: 17px 14px; } .backup-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 18px; } .backup-heading h3 { font-size: 1.3rem; } .backup-heading .backup-muted { font-size: .83rem; } .backup-badge { margin-top: 0; } .backup-side { display: block; } .backup-configuration { margin-top: 23px; } .backup-schedule { gap: 0 10px; } .backup-manual-actions { display: grid; grid-template-columns: minmax(0, 1fr); } .backup-manual-actions > * { width: 100%; justify-content: center; text-align: center; } .backup-history-heading { flex-wrap: wrap; gap: 12px; } .backup-form-actions { align-items: stretch; } .backup-form-actions button { flex: 1 1 160px; } .backup-switch { padding: 12px; gap: 12px; } .backup-switch input { right: 12px; } }
@media (prefers-reduced-motion: reduce) { .backup-switch-track, .backup-switch-track::after { transition: none; } }
