:root { color-scheme: light; font-family: Arial, sans-serif; color: #242424; background: #fff; }
* { box-sizing: border-box; }
body { margin: 0; }
.error-page { min-height: 100svh; display: flex; align-items: center; justify-content: center; }
h1 { margin: 0 20px 0 0; padding-right: 20px; border-right: 1px solid #ddd; font-size: 24px; font-weight: 500; line-height: 48px; }
#trigger { all: unset; display: block; touch-action: manipulation; user-select: none; }
#trigger:focus-visible { outline: 2px solid #777; outline-offset: 4px; }
.error-page p { margin: 0; font-size: 14px; }
dialog { width: min(360px, calc(100% - 40px)); padding: 26px; border: 1px solid #e3e3e3; border-radius: 12px; box-shadow: 0 16px 60px #0002; }
dialog::backdrop { background: #0003; }
.dialog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
h2 { margin: 0; font-size: 18px; font-weight: 600; }
button, input { font: inherit; }
.close { border: 0; background: none; font-size: 26px; color: #777; cursor: pointer; padding: 0 4px; }
label { display: block; margin-bottom: 8px; font-size: 13px; }
input { width: 100%; border: 1px solid #ccc; border-radius: 6px; padding: 11px; font-size: 16px; }
input:focus { outline: 2px solid #555; outline-offset: 2px; }
#status { min-height: 38px; margin: 14px 0; color: #707070; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#status[data-error="true"] { color: #b42318; }
.download { width: 100%; background: #252525; color: white; border: 0; padding: 12px; border-radius: 6px; cursor: pointer; }
.download:disabled { opacity: .5; cursor: wait; }
