/* Documentos imprimibles independientes (sin cabecera ni pie del sitio): formulario modelo de desistimiento.
   Pantalla: hoja centrada con barra de herramientas. Impresión: solo la hoja, en blanco y negro. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.doc {
    margin: 0;
    padding: 1rem;
    background: #f1f5f9;
    color: #0f172a;
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}
.doc__sheet {
    max-width: 44rem;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}
@media (min-width: 768px) { .doc__sheet { padding: 2.5rem 3rem 3rem; } }
.doc__tools { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.doc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    border: 1px solid #1e40af;
    border-radius: 0.5rem;
    background: #1e40af;
    color: #ffffff;
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.doc__btn--ghost { background: transparent; color: #1e40af; }
.doc__title { margin: 0 0 0.5rem; font-size: 1.5rem; line-height: 1.25; }
.doc__note { margin: 0 0 1rem; font-size: 0.875rem; color: #475569; }
.doc__to { margin: 0 0 1.25rem; }
.doc p { margin: 0 0 0.25rem; }
.doc__line { height: 2rem; margin: 0 0 1rem; border-bottom: 1px solid #0f172a; }
.doc__line--tall { height: 4rem; }

@media print {
    body.doc { padding: 0; background: #ffffff; color: #000000; font-size: 11pt; }
    .doc__sheet { max-width: none; padding: 0; border: 0; border-radius: 0; }
    .doc__tools { display: none; }
    .doc__note { color: #000000; }
    @page { margin: 18mm; }
}
