#dso-wallpaper{position:fixed;inset:0;z-index:-2;pointer-events:none;background-repeat:no-repeat;background-color:#e5e9eb;filter:blur(var(--wallpaper-blur,0px));visibility:hidden}
body.dso-has-background{isolation:isolate;background:transparent!important}
body.dso-has-background #dso-wallpaper{visibility:visible}
body.dso-has-background::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:rgba(255,255,255,var(--wallpaper-veil,.82))}
body.body--dark.dso-has-background::before{background:rgba(16,20,23,var(--wallpaper-veil,.82))}
.dso-background-dialog{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:440px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:20px;border:1px solid #d7dfe2;border-radius:8px;color:#253239;background:#fff;box-shadow:0 12px 45px #0003;font:14px/1.5 system-ui,sans-serif;letter-spacing:0}
.dso-background-dialog::backdrop{background:#17252c66}
.dso-background-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.dso-background-dialog h2{font-size:18px;font-weight:650;line-height:1.4;margin:0}
.dso-background-dialog button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:6px 10px;background:#edf5f5;color:#126e72;border:1px solid transparent;border-radius:4px;font:inherit;cursor:pointer;flex-shrink:0}
.dso-background-dialog button:hover{background:#deeeee}
.dso-background-dialog button:disabled{opacity:.45;cursor:default}
.dso-background-dialog .material-icons{font-size:20px}
.dso-background-dialog .bg-icon{width:36px;height:36px;padding:0;background:transparent;color:inherit}
.dso-background-dialog :focus-visible{outline:2px solid #15858b;outline-offset:2px}
.dso-background-dialog .bg-preview{height:140px;background:#edf0f1 center/cover no-repeat;border:1px solid #dce3e5;border-radius:4px;display:flex;align-items:flex-end;padding:8px;margin-bottom:12px}
.dso-background-dialog .bg-preview span{padding:2px 6px;background:#fffE;color:#3e515a;font-size:12px;border-radius:3px}
.dso-background-dialog .bg-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.dso-background-dialog .bg-switch{display:flex;align-items:center;gap:6px;margin-left:auto;font-size:12px;white-space:nowrap}
.dso-background-dialog .bg-controls{display:grid;gap:12px;margin:20px 0}
.dso-background-dialog .bg-controls label{display:grid;grid-template-columns:72px minmax(0,1fr) 42px;align-items:center;gap:10px;font-size:13px}
.dso-background-dialog input[type=range]{width:100%;min-width:0;accent-color:#137e82}
.dso-background-dialog input[type=checkbox]{accent-color:#137e82}
.dso-background-dialog output{font-size:12px;text-align:right;color:#61757e;font-variant-numeric:tabular-nums}
.dso-background-dialog select,.dso-background-dialog input[type=password]{min-width:0;width:100%;border:1px solid #cbd5d9;border-radius:4px;padding:8px;background:#fff;color:#253239;font:inherit;box-sizing:border-box}
.dso-background-dialog details{border-top:1px solid #e2e7e9;padding-top:14px}
.dso-background-dialog summary{cursor:pointer;color:#61757e;font-size:13px}
.dso-background-dialog details p{font-size:12px;color:#61757e;margin:10px 0}
.dso-background-dialog details .bg-actions{margin-top:10px}
.dso-background-dialog .bg-danger{color:#b5323e;background:transparent}
.dso-background-dialog [data-status]{font-size:12px;color:#537168;min-height:18px;margin:12px 0 0;overflow-wrap:anywhere}
.dso-background-dialog [data-status].is-error{color:#b5323e}
@media(max-width:420px){.dso-background-dialog{padding:16px}.dso-background-dialog .bg-switch{margin-left:0}.dso-background-dialog .bg-preview{height:116px}}
body.body--dark .dso-background-dialog{background:#222a2e;color:#e3e9eb;border-color:#435158}
body.body--dark .dso-background-dialog select,body.body--dark .dso-background-dialog input[type=password]{background:#303a40;color:#e3e9eb;border-color:#53636c}
body.body--dark .dso-background-dialog summary,body.body--dark .dso-background-dialog output,body.body--dark .dso-background-dialog details p{color:#b4c4cb}
