/* Meal Route V2: Backup & Restore final presentation */
#backupRestoreReport[hidden]{display:none}
#backupRestoreReport{margin-top:16px;padding:19px;border:1px solid #b9dcd6;border-radius:14px;background:#f7fcfa}
.mr-backup-report-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px;font-weight:850;margin-bottom:14px}
.mr-backup-result{font-size:11px;border-radius:99px;padding:6px 10px;background:#fff3da;color:#875d0d}
.mr-backup-result.passed{background:#dff5ed;color:#076954}
.mr-backup-report-grid,.mr-backup-details{display:grid;grid-template-columns:minmax(140px,38%) 1fr;gap:0;margin:0;overflow-wrap:anywhere}
.mr-backup-report-grid dt,.mr-backup-report-grid dd,.mr-backup-details dt,.mr-backup-details dd{padding:9px 10px;margin:0;border-bottom:1px solid #e4edf0;font-size:12px}
.mr-backup-report-grid dt,.mr-backup-details dt{font-weight:750;color:#53677b}
.mr-backup-report-grid dd,.mr-backup-details dd{font-weight:650;white-space:pre-wrap;color:#1b2e45}
.mr-backup-report-note{font-size:12px;line-height:1.6;color:#53677b;margin:14px 0}
#backupProcessStatus{font-size:12px;min-height:22px;padding:3px 0;color:#4a5f76}
#backupProcessStatus[data-state=busy]{color:#086c9b}
#backupProcessStatus[data-state=success]{color:#087a68}
#backupProcessStatus[data-state=error]{color:#ad3025}
.mr-backup-overlay{position:fixed;inset:0;z-index:5000;background:rgba(12,27,46,.69);display:flex;align-items:center;justify-content:center;padding:18px}
.mr-backup-dialog{background:#fff;border-radius:18px;border:1px solid #d9e5ec;box-shadow:0 22px 85px rgba(10,25,50,.3);width:min(100%,690px);max-height:min(92dvh,940px);overflow:auto;padding:24px;color:#182d45}
.mr-backup-dialog-head{display:flex;gap:13px;align-items:center;margin-bottom:12px}
.mr-backup-dialog h2{font-size:21px;line-height:1.3;margin:0;letter-spacing:-.02em}
.mr-backup-dialog-mark{width:38px;height:38px;flex:0 0 38px;border-radius:11px;display:grid;place-items:center;background:#eaf2f7;color:#174b70;font-weight:900;font-size:21px}
.mr-backup-dialog-mark.success{background:#dff6ed;color:#006b56}
.mr-backup-dialog-mark.warning{background:#fff0dd;color:#9b6212}
.mr-backup-dialog-message{font-size:14px;line-height:1.65;margin:0 0 15px;color:#3d536a;white-space:pre-wrap}
.mr-backup-dialog-note{font-size:12px;line-height:1.6;color:#775a24;padding:11px 13px;background:#fffaf0;border:1px solid #f0e3cb;border-radius:9px;white-space:pre-wrap}
.mr-backup-dialog-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:18px}
.mr-backup-button{border:1px solid #0b8075;background:#0b8075;color:#fff;border-radius:9px;padding:10px 13px;min-height:40px;cursor:pointer;font:inherit;font-size:13px;font-weight:750}
.mr-backup-button.secondary{background:#f7f9fb;color:#30495e;border-color:#cbd9e3}
.mr-backup-button.danger{background:#b42318;border-color:#b42318}
.mr-backup-button:disabled{opacity:.45;cursor:not-allowed}
.mr-backup-button:focus-visible,.mr-backup-dialog :focus-visible{outline:3px solid #6ac8b9;outline-offset:3px}
.mr-backup-typed-label{display:block;font-weight:750;font-size:12px;margin-top:14px}
.mr-backup-typed-input{display:block;width:100%;margin-top:8px;border-radius:8px;border:1px solid #aebdca;padding:11px}
.mr-backup-command-guide{padding:14px;border:1px solid #efdfb6;background:#fffaf0;border-radius:10px;margin-top:14px}
.mr-backup-command-guide p{font-size:12px;line-height:1.6;color:#704d14}
.mr-backup-command-details summary{cursor:pointer;font-weight:750;color:#78551b}
.mr-backup-command{display:block;resize:vertical;width:100%;margin:12px 0;font:12px ui-monospace,SFMono-Regular,monospace;line-height:1.5;border:1px solid #d7c8a9;border-radius:9px;padding:11px;background:#fff;color:#23354b}
#backupList .row{flex-wrap:wrap!important;justify-content:flex-start!important;min-width:250px}
#backupList th:last-child{min-width:260px}
@media(max-width:600px){.mr-backup-dialog{padding:17px;max-height:95dvh}.mr-backup-dialog h2{font-size:18px}.mr-backup-details,.mr-backup-report-grid{grid-template-columns:1fr}.mr-backup-details dt,.mr-backup-report-grid dt{padding-bottom:2px;border:0}.mr-backup-details dd,.mr-backup-report-grid dd{padding-top:2px}.mr-backup-dialog-actions{flex-direction:column-reverse}.mr-backup-dialog-actions button{width:100%}}
@media(prefers-reduced-motion:reduce){.mr-backup-overlay *{scroll-behavior:auto;transition:none!important}}
