/* Scoped backup presentation; other settings and global shell are unchanged. */
#settings-tabs [data-settings-tab="backup"]{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#settings-tabs [data-settings-tab="backup"] svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8}
#settings-tabs [data-settings-tab="backup"].active{color:#08635e;background:#e8f5f2;border-bottom:2px solid #08635e;border-radius:12px;box-shadow:0 3px 10px #10243a08}
.bk-root{--bk-primary:#08635e;--bk-heading:#102f50;--bk-muted:#60758a;--bk-border:#dce7e8;display:grid;gap:18px;color:#10243a;font:14px/1.5 system-ui,sans-serif;min-width:0;background:#f4f8f7}
.bk-root *{box-sizing:border-box}.bk-root h3,.bk-root h4,.bk-root p{margin:0}.bk-card{padding:24px;border:1px solid var(--bk-border);border-radius:16px;background:white;box-shadow:0 6px 24px #10243a0e;min-width:0}.bk-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:22px}.bk-title{display:flex;align-items:center;gap:18px;min-width:0}.bk-title>div{min-width:0}.bk-root h3{font-size:21px;line-height:1.3;color:var(--bk-heading);font-weight:750}.bk-heading p{margin-top:4px;color:var(--bk-muted);font-size:13px}.bk-icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;flex:0 0 48px;padding:11px;border-radius:14px;background:#ddf5eb;color:var(--bk-primary)}.bk-icon svg{display:block;width:100%;height:100%}.bk-security{display:flex;align-items:center;gap:11px;flex:0 1 360px;padding:12px 16px;border-radius:12px;background:linear-gradient(115deg,#ddf5eb,#e8f5f2);min-width:240px}.bk-security .bk-icon{width:28px;height:28px;flex-basis:28px;padding:0;background:none}.bk-security strong{color:var(--bk-primary);font-size:13px}.bk-security p{font-size:12px;margin-top:2px}.bk-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0;padding:19px 0;border-radius:12px;background:linear-gradient(110deg,#f5f9fa,#f9fbfc);margin-bottom:16px}.bk-fact{display:flex;gap:14px;align-items:flex-start;padding:0 16px;min-width:0}.bk-fact+.bk-fact{border-left:1px solid var(--bk-border)}.bk-fact h4{font-size:13px;line-height:1.35;color:var(--bk-heading);margin-bottom:5px}.bk-fact p{font-size:12px;color:var(--bk-muted);line-height:1.5}.bk-fact .bk-icon{width:44px;height:44px;flex-basis:44px;padding:11px}.bk-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}.bk-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:11px 18px;border:1px solid #95a9ba;border-radius:10px;background:white;color:var(--bk-heading);font:650 14px/1.35 system-ui;cursor:pointer;transition:background 180ms ease,box-shadow 180ms ease}.bk-button .bk-icon{width:21px;height:21px;flex-basis:21px;padding:0;background:none;color:inherit;border-radius:0}.bk-button.bk-primary{background:linear-gradient(135deg,#08635e,#00766b);border-color:#08635e;color:white;box-shadow:0 3px 10px #08635e17}.bk-button:disabled{opacity:.5;cursor:not-allowed}.bk-button:focus-visible,#project-backup-dialog :is(button,input):focus-visible{outline:3px solid #2f9de0;outline-offset:3px}@media(hover:hover){.bk-button:not(:disabled):hover{background:#eaf5ff}.bk-button.bk-primary:not(:disabled):hover{background:#064f4b}}
.bk-notice{display:flex;align-items:flex-start;gap:13px;padding:13px 16px;border:1px solid;border-radius:12px;margin-top:10px;font-size:12px;line-height:1.55}.bk-notice .bk-icon{width:22px;height:22px;flex-basis:22px;padding:0;background:none;margin-top:1px;border-radius:0}.bk-info{background:#eaf5ff;border-color:#abd9fa;color:#102f50}.bk-info .bk-icon{color:#2f9de0}.bk-warning{background:#fff6e3;border-color:#ffda8e;color:#724818}.bk-warning .bk-icon{color:#f59e0b}.bk-history-heading{border-bottom:1px solid #e9eff0;padding-bottom:16px;margin-bottom:0}.bk-empty{display:grid;justify-items:center;text-align:center;gap:6px;padding:22px 10px 12px;color:#60758a}.bk-empty .bk-icon{background:none;color:#94a3b8;width:42px;height:42px;padding:5px;flex-basis:42px}.bk-empty strong{font-size:13px;font-weight:650}.bk-empty p,.bk-history-note{font-size:12px;color:#60758a}.bk-history-note{margin-top:12px!important}.bk-history-list{display:grid}.bk-history-row{display:grid;grid-template-columns:38px minmax(0,1fr) minmax(150px,auto);align-items:center;gap:14px;padding:14px 0;border-bottom:1px solid #e9eff0}.bk-history-row .bk-icon{width:38px;height:38px;flex-basis:38px;padding:9px}.bk-history-row strong{display:block;font-size:12px;overflow-wrap:anywhere}.bk-history-row small,.bk-history-row time{display:block;color:#60758a;font-size:12px}.bk-prepared{display:inline-block;background:#ddf5eb;color:#08635e;padding:3px 8px;border-radius:20px;font-size:11px;margin-top:4px}.bk-state{padding:12px 0;color:#60758a}.bk-error{color:#e54857}.bk-review{margin-top:12px}.bk-dialog{max-width:560px!important;width:calc(100vw - 28px)!important;max-height:90dvh;overflow:auto;border:1px solid #dce7e8;border-radius:16px;color:#10243a}.bk-dialog .modal{padding:24px}.bk-dialog h3{color:#102f50;font-size:21px}.bk-dialog label{display:block;font-weight:650;margin:14px 0 6px}.bk-dialog input{max-width:100%;width:100%;min-height:44px;border:1px solid #cad9df;border-radius:9px;padding:10px;font:16px system-ui}.bk-dialog .bk-dialog-status{min-height:20px;font-size:13px;margin:14px 0;color:#60758a}.bk-dialog .bk-dialog-status[data-state="success"]{color:#08635e}.bk-dialog .bk-dialog-status[data-state="error"]{color:#e54857}.bk-dialog .bk-dialog-status[data-state="busy"]:before{content:"";display:inline-block;width:12px;height:12px;border:2px solid #ddf5eb;border-top-color:#08635e;border-radius:50%;animation:bk-spin .8s linear infinite;margin-right:8px}.bk-dialog .sc-button{margin:8px 8px 0 0;min-height:44px}.bk-dialog details{overflow-wrap:anywhere}.bk-dialog .bk-dialog-status:empty{display:none}@keyframes bk-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.bk-dialog .bk-dialog-status[data-state="busy"]:before{animation:none}.bk-button{transition:none}}
@media(max-width:1200px){.bk-heading{align-items:flex-start;flex-wrap:wrap}.bk-security{flex-basis:auto;min-width:0}.bk-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:20px}.bk-fact:nth-child(3){border-left:0}.bk-fact{padding:0 16px}}
@media(max-width:600px){.bk-card{padding:18px 14px}.bk-heading{gap:16px;margin-bottom:18px}.bk-title{gap:12px;align-items:flex-start}.bk-root h3{font-size:19px}.bk-title .bk-icon{width:44px;height:44px;flex-basis:44px;padding:10px}.bk-heading p{font-size:12px}.bk-security{width:100%;padding:12px}.bk-facts{grid-template-columns:minmax(0,1fr)!important;padding:4px 14px;gap:0}.bk-fact{padding:16px 0}.bk-fact+.bk-fact{border-left:0;border-top:1px solid #dce7e8}.bk-fact h4{font-size:14px}.bk-fact p{font-size:13px}.bk-actions{flex-direction:column;gap:10px}.bk-button{width:100%;font-size:13px;padding:12px;min-height:48px}.bk-notice{padding:12px;gap:10px;font-size:12px}.bk-history-row{grid-template-columns:36px minmax(0,1fr);gap:10px}.bk-history-row>div:last-child{grid-column:2}.bk-dialog .modal{padding:18px 14px}.bk-dialog .sc-button{width:100%;margin:8px 0 0}}

.bk-dialog-status[data-state="success"]:before,.bk-dialog-status[data-state="error"]:before{content:"";display:inline-block;width:20px;height:20px;margin-right:7px;vertical-align:middle;background:center/contain no-repeat}
.bk-dialog-status[data-state="success"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2308635e' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m7 12 3 3 7-7'/%3E%3C/svg%3E")}
.bk-dialog-status[data-state="error"]:before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e54857' stroke-width='1.8'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 8 8 8m0-8-8 8'/%3E%3C/svg%3E")}
