.pdf-check { max-width: 64rem; padding-block: 3rem 4rem; }
.pdf-check h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.06; margin: 0 0 1rem; }
.pdf-check h2 { font-size: clamp(1.35rem, 3vw, 1.8rem); line-height: 1.25; margin: 0 0 0.75rem; }
.pdf-check p { max-width: 68ch; }
.pdf-intro { font-size: 1.12rem; }
.pdf-check section { margin-block: 2rem; }
.pdf-tool, .pdf-next { background: #fff; border: 1px solid #ccd6d7; border-radius: 12px; padding: clamp(1rem, 4vw, 2rem); }
.pdf-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pdf-grid label { display: grid; gap: .55rem; font-weight: 700; min-width: 0; }
.pdf-grid input { width: 100%; min-width: 0; font: inherit; font-size: .94rem; }
.pdf-note { font-size: .92rem; }
.pdf-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.pdf-actions button { font: inherit; font-weight: 700; color: #173d47; border: 1px solid #173d47; border-radius: 8px; background: #fff; padding: .7rem 1rem; }
.pdf-actions button:first-child { background: #173d47; color: #fff; }
.pdf-actions button:disabled { opacity: .55; }
.pdf-actions button:focus-visible, .pdf-grid input:focus-visible { outline: 2px solid #22697b; outline-offset: 3px; }
#pdf-result:empty { margin: 0; }
#pdf-result:not(:empty) { max-width: none; border-inline-start: 4px solid #58777c; padding: .7rem .9rem; margin-bottom: 0; background: #eef4f3; overflow-wrap: anywhere; }
#pdf-result[data-kind="match"] { border-color: #218150; }
#pdf-result[data-kind="different"], #pdf-result[data-kind="error"] { border-color: #a75819; background: #fff4e9; }
@media (max-width: 40rem) { .pdf-grid { grid-template-columns: 1fr; } }