.backup-section{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px 28px;padding:24px;margin-top:30px;}
.backup-copy h2{font-size:19px;font-weight:500;margin:0 0 9px;}
.backup-copy p{font-size:14px;line-height:1.85;color:#566d47;margin:0;}
.backup-copy .backup-scope{font-size:13px;margin-top:4px;}
.backup-buttons{display:flex;gap:10px;flex-wrap:wrap;}
.backup-buttons .button,.restore-actions .button{font-size:14px;min-height:44px;white-space:nowrap;}
.backup-status{grid-column:1/-1;margin:0;padding-top:14px;border-top:1px solid var(--line);font-size:14px;line-height:1.8;color:#405f31;overflow-wrap:anywhere;}
.backup-status.backup-error{color:#92552f;}
#restore-dialog p{font-size:14px;color:#536b43;line-height:1.85;}
#restore-dialog .file-drop{min-height:135px;}
#restore-dialog .file-drop strong{font-size:16px;}
#restore-dialog .file-drop span{font-size:13px;color:#536b43;}
#backup-file{font-size:14px;color:#405f31;line-height:2;}
#restore-dialog .restore-file-name{overflow-wrap:anywhere;font-size:13px;}
#restore-preview h3{font-size:17px;font-weight:500;margin:20px 0 12px;}
.restore-summary{margin:0;padding:8px 16px;border:1px solid var(--line);border-radius:8px;background:#f1f4eb;font-size:14px;}
.restore-summary>div{display:flex;justify-content:space-between;gap:16px;padding:9px 0;}
.restore-summary dt{color:#536b43;flex-shrink:0;}
.restore-summary dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
#restore-dialog .restore-warning{padding:12px 14px;border-radius:8px;background:#f9f1e8;color:#82512e;font-weight:500;}
#restore-error{font-size:14px;overflow-wrap:anywhere;}
.restore-actions{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:22px;flex-wrap:wrap;}
.restore-actions>div{display:flex;gap:10px;margin-left:auto;}
.restore-actions button:disabled{opacity:.5;cursor:not-allowed;}
.backup-section button:focus-visible,#restore-dialog button:focus-visible,#backup-file:focus-visible{outline:2px solid var(--green);outline-offset:3px;}
@media(max-width:800px){.backup-section{grid-template-columns:1fr;gap:17px;padding:20px;}.backup-buttons .button{flex:1;}}
@media(max-width:450px){.backup-section{padding:18px;}.backup-copy h2{font-size:18px;}.restore-actions{align-items:stretch;}.restore-actions>button{width:100%;}.restore-actions>div{width:100%;margin:0;}.restore-actions>div>button{flex:1;}.restore-summary>div:first-child{flex-direction:column;gap:7px;}.restore-summary>div:first-child dd{text-align:left;}}
.startup-status{padding:14px 18px;border:1px solid #e9d4bd;border-radius:8px;background:#f9f1e8;color:#82512e;font-size:14px;line-height:1.8;}
