.backup-dialog{width:min(620px,calc(100vw - 24px));max-height:88vh;overflow:auto;border:1px solid var(--ui-border,#d4e1e5);border-radius:16px;background:#fff;color:var(--ui-text,#193445);padding:24px;box-shadow:0 24px 65px #102f4540;line-height:1.8}
.backup-dialog::backdrop{background:#102c42aa}
.backup-dialog h2{margin:0 0 7px;color:var(--ui-navy,#123b56);font-size:22px}
.backup-dialog h3{margin:0 0 7px;color:var(--ui-navy,#123b56);font-size:17px}
.backup-dialog p{font-size:14px;color:var(--ui-muted,#536c78);margin:0 0 15px}
.backup-storage{background:#e6f4f2;border:1px solid #c8e1de;border-radius:10px;color:#0b555e;padding:11px 13px;font-size:13px;margin-bottom:17px}
.backup-storage.warning{background:#fff3e7;border-color:#eac8a4;color:#854900}
.backup-options,.backup-footer{display:flex;gap:9px;flex-wrap:wrap}
.backup-options button,.backup-footer button,.backup-preview button{min-height:44px;border-radius:9px;padding:10px 14px;font-weight:700}
.backup-options .primary,.backup-preview .primary{border:0;background:var(--ui-teal,#086d76);color:#fff}
.backup-preview{border:1px solid #cbdde1;background:#f8fcfc;border-radius:12px;padding:16px;margin:18px 0}
.backup-preview[hidden]{display:none}
.backup-preview label{display:flex;gap:9px;align-items:flex-start;font-size:14px;font-weight:700;color:#174856;margin:12px 0}
.backup-preview label[hidden]{display:none}
.backup-preview input[type=checkbox]{width:19px;height:19px;flex:none;margin-top:3px}
.backup-status{min-height:22px;color:#125f63!important;font-weight:700}
.backup-status.error{color:#a33137!important}
.backup-footer{justify-content:flex-end;margin-top:15px}
.backup-footer button[hidden]{display:none}
#storageAlert{background:#fff3e7!important;border-color:#eac8a4!important;color:#854900!important;font-weight:700}
#storageAlert[hidden]{display:none!important}
@media(max-width:700px){.backup-dialog{padding:18px}.backup-options button{width:100%}.backup-footer{justify-content:stretch}.backup-footer button{flex:1}}
@media print{.backup-dialog{display:none!important}}
