/*! Etcher (etcher.cc). Copyright (c) 2026 Etcher. All rights reserved. Copying or reusing this code without permission is not allowed. */
.app-dialog::backdrop{overflow:hidden;overscroll-behavior:contain;background:#1e1e1e6b;animation:infer-overlay-in .16s ease both}.app-dialog{width:min(440px,calc(100% - 40px));max-width:none;max-height:calc(100dvh - 40px);padding:28px;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;color:var(--menu-text, #252525);text-align:left;background:var(--menu-bg, #fffdf7);border:2px solid var(--divider-color, #b9b5ab);border-radius:0;box-shadow:none;animation:infer-modal-in .18s ease-out both}.app-dialog:focus{outline:none}.app-dialog-title{margin:0;font-size:clamp(1.2rem,4vw,1.45rem);line-height:1.2;overflow-wrap:anywhere}.app-dialog-message{margin:10px 0 0;color:var(--secondary-text, #67645e);font-size:.92rem;line-height:1.5}.app-dialog-field{display:block;margin-top:18px;color:var(--secondary-text, #67645e);font-size:.76rem;font-weight:700}.app-dialog-input{display:block;width:100%;min-height:46px;margin-top:6px;padding:10px 12px;box-sizing:border-box;color:var(--menu-text, #252525);background:var(--surface-1, #fff);border:1px solid var(--divider-color, #b9b5ab);border-radius:0;box-shadow:none;font:inherit;font-size:1rem}.app-dialog-input[aria-invalid=true]{border-color:var(--color-destructive, #f44336)}.app-dialog-error{min-height:1.4em;margin:6px 0 0;color:var(--color-destructive, #c62828);font-size:.82rem;font-weight:700;line-height:1.4}.app-dialog-error:empty{min-height:0}.app-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:24px}.app-dialog-button{display:inline-flex;flex:0 1 auto;justify-content:center;align-items:center;min-width:112px;min-height:48px;padding:11px 18px;border-radius:0!important;box-shadow:none!important;font:inherit;font-size:.92rem;font-weight:800;cursor:pointer}.app-dialog-primary{color:var(--button-text, #fff);background:var(--button-bg, #3d7563);border:1px solid var(--button-bg, #3d7563)}.app-dialog-secondary{color:var(--menu-text, #252525);background:transparent;border:1px solid var(--divider-color, #b9b5ab)}.app-dialog-primary:hover{filter:brightness(.92)}.app-dialog-secondary:hover{background:var(--surface-2, #efede6)}.app-dialog-button:focus-visible,.app-dialog-input:focus-visible{outline:3px solid var(--button-focus-ring, #1b2836);outline-offset:3px}@media(max-width:480px){.app-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);margin:auto auto 8px;padding:24px 18px 18px}.app-dialog-button{flex:1 1 0;min-width:0}}@media(prefers-reduced-motion:reduce){:root:not([data-motion-override]) .app-dialog::backdrop,:root:not([data-motion-override]) .app-dialog{animation:none}}
