:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: #17314c;
    background: #f2f5f9;
    font-size: 16px;
}
* { box-sizing: border-box; }
body { margin: 0; border-top: 6px solid #113b6d; }
.container { max-width: 780px; margin: 0 auto; padding: 48px 24px 24px; }
.eyebrow { font-size: .8rem; font-weight: 750; letter-spacing: .14em; color: #496380; }
h1 { font-size: clamp(1.9rem, 5vw, 2.65rem); margin: 10px 0; letter-spacing: -.04em; line-height: 1.2; }
.heading p { margin: 0 0 28px; color: #52657a; line-height: 1.6; }
.card { background: white; border: 1px solid #dce3ec; border-radius: 16px; padding: 30px; box-shadow: 0 10px 35px #17314c08; }
.step-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
h2 { font-size: 1rem; margin: 0; }
.step-title > span, .step-number { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #eaf0f8; font-weight: 700; font-size: .875rem; flex-shrink: 0; }
.dropzone { position: relative; display: flex; align-items: center; flex-direction: column; gap: 10px; padding: 30px 18px; border: 2px dashed #a8bad0; border-radius: 10px; background: #f8faff; cursor: pointer; text-align: center; overflow-wrap: anywhere; transition: background .15s, border-color .15s; }
.dropzone:hover, .dropzone.dragging, .dropzone:focus-within { background: #edf3fc; border-color: #113b6d; }
.dropzone svg { color: #496b92; margin-bottom: 4px; }
.dropzone > span { font-size: .875rem; color: #53667c; }
.dropzone input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
fieldset { border: 0; padding: 0; margin: 27px 0 24px; min-width: 0; }
legend { font-weight: 700; padding: 0; margin-bottom: 15px; }
.step-number { margin-right: 6px; }
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.format { display: flex; align-items: flex-start; gap: 9px; border: 1px solid #ccd7e4; border-radius: 9px; padding: 16px 12px; cursor: pointer; }
.format:has(input:checked) { border-color: #113b6d; background: #f1f6fd; box-shadow: inset 0 0 0 1px #113b6d; }
.format input { accent-color: #113b6d; margin: 5px 0 0; width: 17px; height: 17px; flex-shrink: 0; }
.format strong { display: block; font-size: 1rem; }
.format small { display: block; font-size: .875rem; color: #52657a; line-height: 1.5; margin-top: 7px; }
em { display: inline-block; font-size: .75rem; font-style: normal; color: #634400; background: #f8e9c4; border-radius: 4px; padding: 3px 5px; margin-top: 3px; }
.primary { display: block; border: none; border-radius: 8px; padding: 16px 22px; font: inherit; font-weight: 650; text-align: center; color: white; background: #113b6d; width: 100%; text-decoration: none; cursor: pointer; }
.primary:hover { background: #0c2d55; }
.primary:disabled { background: #dce4ee; color: #506277; cursor: not-allowed; }
.status { text-align: center; font-size: .875rem; color: #52657a; margin: 15px 0 0; line-height: 1.6; }
.status.error { color: #a22323; }
.result { padding: 20px; margin-top: 20px; background: #f0f8f4; border: 1px solid #b8d7c6; border-radius: 10px; }
.result p { font-size: .9rem; margin: 8px 0 16px; }
.note { font-size: .875rem; line-height: 1.6; color: #52657a; margin: 20px 8px; }
footer { font-size: .875rem; color: #52657a; text-align: center; padding: 12px 0; }
footer span { padding: 0 8px; }
a { color: #113b6d; }
:focus-visible { outline: 3px solid #b67d19; outline-offset: 4px; }
[hidden] { display: none !important; }
.checks { padding: 0; list-style: none; }
.checks li { padding: 14px 0; border-bottom: 1px solid #dce3ec; line-height: 1.6; }
.checks strong { display: block; }
.checks .ok { color: #18603e; }
.checks .fail { color: #a22323; }
@media (max-width: 600px) {
    .container { padding: 28px 16px 20px; }
    .card { padding: 22px 18px; }
    .formats { grid-template-columns: 1fr; }
}
