:root { font-family: system-ui, sans-serif; color: #24282d; background: #f7f8fa; letter-spacing: 0; }
* { box-sizing: border-box; }
body { margin: 0; }
header { display: flex; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid #dce1e6; background: white; font-weight: 650; }
header #status { margin-left: auto; color: #166c65; font-size: 14px; }
main { max-width: 660px; margin: 0 auto; padding: 32px 20px; }
h1 { font-size: 28px; line-height: 1.25; overflow-wrap: anywhere; }
h2 { font-size: 20px; }
p { line-height: 1.5; color: #59626d; overflow-wrap: anywhere; }
label { display: block; font-weight: 550; }
input[type=text], input:not([type]) { margin: 8px 0 16px; width: 100%; height: 46px; border: 1px solid #8994a0; border-radius: 4px; padding: 10px; font: inherit; }
button { border: 1px solid #b7243b; color: white; background: #b7243b; border-radius: 4px; padding: 12px 18px; font: inherit; font-weight: 600; min-height: 46px; cursor: pointer; }
button:disabled { opacity: .5; cursor: default; }
button:focus-visible, input:focus-visible { outline: 3px solid #168b81; outline-offset: 3px; }
#close { background: transparent; color: #b7243b; }
fieldset { border: 0; padding: 0; margin: 28px 0 20px; }
legend { padding: 0 0 12px; font-weight: 600; }
.option { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 0; border-bottom: 1px solid #dce1e6; overflow-wrap: anywhere; }
.option input { flex: 0 0 20px; height: 20px; accent-color: #b7243b; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
#results { margin-top: 40px; border-top: 1px solid #dce1e6; padding-top: 20px; }
.result { padding: 12px 0; }
.result-label { display: flex; justify-content: space-between; gap: 12px; overflow-wrap: anywhere; }
progress { width: 100%; height: 14px; accent-color: #168b81; margin-top: 10px; }
footer { max-width: 660px; margin: 20px auto; padding: 20px; color: #8994a0; font-size: 13px; }
[hidden] { display: none !important; }
