.custom-dialog{position:fixed;width:min(27rem,calc(100% - 2rem));max-height:90svh;overflow:auto;margin:auto;padding:1.5rem;border:1px solid #252c37;border-radius:2px;background:#090b10;color:#bcc3cc;font-family:Montserrat,sans-serif;box-shadow:0 18px 60px #0009}
.custom-dialog::backdrop{background:#060709c4}
.custom-header{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.custom-header h2{margin:0;font-size:.75rem;font-weight:300;letter-spacing:.2em}
.custom-description{margin:.75rem 0 0;color:#818b98;font-size:.55rem;font-weight:300;letter-spacing:.12em;line-height:1.9}
.custom-controls{display:grid;gap:1.4rem;margin:1.75rem 0}
.custom-control label{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:.55rem;font-size:.55rem;letter-spacing:.12em}
.custom-control output{min-width:4.5rem;text-align:right;color:#a6b1c0;font-variant-numeric:tabular-nums}
.custom-control input[type=range]{display:block;width:100%;height:1rem;margin:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer;accent-color:#8490a0}
.custom-control input[type=range]::-webkit-slider-runnable-track{height:1px;background:#465161}
.custom-control input[type=range]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:9px;height:9px;margin-top:-4px;border:0;border-radius:50%;background:#bcc3cc}
.custom-control input[type=range]::-moz-range-track{height:1px;background:#465161}
.custom-control input[type=range]::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:#bcc3cc}
.custom-dialog input:focus-visible{outline:1px solid #778395;outline-offset:5px}
.custom-remember{display:flex;align-items:center;gap:.6rem;color:#818b98;font-size:.5rem;letter-spacing:.08em;line-height:1.7}
.custom-remember input{margin:0;accent-color:#8490a0}
.custom-dialog button{display:inline-flex;align-items:center;justify-content:center;width:auto;height:2rem;margin:0;padding:.35rem .6rem;border:1px solid #252c37;border-radius:2px;background:transparent;color:#a6b1c0;font-family:inherit;font-size:.5rem;font-weight:300;letter-spacing:.1em}
.custom-dialog button:hover{background:#171e28;color:#bcc3cc}
.custom-dialog button:disabled{opacity:.35;cursor:default}
.custom-dialog #custom-close{width:1.75rem;height:1.75rem;padding:0;border:0;font-size:1.15rem}
.custom-tools{display:flex;flex-wrap:wrap;gap:.45rem;margin:1rem 0}
.custom-dialog #custom-apply{width:100%;height:2.35rem;background:#171e28;border-color:#465161;font-size:.55rem}
.custom-wait{min-height:1.9em;margin:.6rem 0 0;color:#818b98;text-align:center;font-size:.48rem;letter-spacing:.1em;line-height:1.9;font-variant-numeric:tabular-nums}
.custom-status{min-height:3em;margin:.5rem 0 0;color:#a6b1c0;font-size:.5rem;letter-spacing:.04em;line-height:1.7}

.custom-legacy{margin:1rem 0;padding:.75rem;border:1px solid #252c37}
.custom-legacy[hidden]{display:none}
.custom-legacy p{margin:0 0 .6rem;color:#818b98;font-size:.5rem;letter-spacing:.06em;line-height:1.8}
.custom-legacy-actions{display:flex;flex-wrap:wrap;gap:.45rem}
