/* Estilo de las páginas de ayuda y legales de Mostrador (sin dependencias externas). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: #f8fafc; color: #1e293b; line-height: 1.6; -webkit-tap-highlight-color: transparent; }
.cabecera { background: #047857; color: #fff; padding: max(14px, env(safe-area-inset-top)) 16px 14px; }
.cabecera .dentro { max-width: 720px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cabecera .marca { font-size: 12px; font-weight: 600; opacity: .85; }
.cabecera h1 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.25; }
.cabecera a { color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; background: rgba(255,255,255,.15); border-radius: 10px; padding: 8px 12px; white-space: nowrap; }
main { max-width: 720px; margin: 0 auto; padding: 16px 16px 40px; }
.tarjeta { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.tarjeta > :first-child { margin-top: 0; }
.tarjeta > :last-child { margin-bottom: 0; }
h2 { font-size: 18px; font-weight: 800; margin: 22px 0 8px; line-height: 1.3; }
h3 { font-size: 15px; font-weight: 800; margin: 16px 0 6px; }
p, li { font-size: 15px; }
ul, ol { padding-left: 20px; }
li { margin-bottom: 4px; }
a { color: #047857; }
.chico { font-size: 13px; color: #64748b; }
.aviso { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.aviso-verde { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
label.etiqueta { display: block; font-size: 13px; font-weight: 700; color: #334155; margin: 12px 0 4px; }
.opcional { font-weight: 400; color: #94a3b8; }
.campo { width: 100%; border: 1px solid #cbd5e1; border-radius: 12px; padding: 11px 13px; font-size: 16px; background: #fff; color: inherit; font-family: inherit; }
.campo:focus { outline: 2px solid #10b981; border-color: transparent; }
textarea.campo { min-height: 110px; resize: vertical; }
.btn { display: inline-block; border: 0; border-radius: 14px; padding: 13px 16px; font-weight: 800; font-size: 15px; cursor: pointer; text-align: center; text-decoration: none; font-family: inherit; }
.btn-verde { background: #059669; color: #fff; }
.btn-verde:disabled { background: #94a3b8; cursor: default; }
.btn-claro { background: #ecfdf5; color: #047857; }
.btn-negro { background: #0f172a; color: #fff; }
.ancho { width: 100%; display: block; }
.fila { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.error { color: #b91c1c; font-size: 14px; font-weight: 700; margin-top: 10px; }
.codigo { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 30px; font-weight: 800; letter-spacing: 2px; text-align: center; background: #f1f5f9; border-radius: 12px; padding: 12px; margin: 8px 0; user-select: all; }
.pestanas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pestanas a, .pestanas button { border: 1px solid #cbd5e1; background: #fff; color: #334155; border-radius: 999px; padding: 8px 12px; font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; font-family: inherit; }
.pestanas [aria-current="true"], .pestanas [aria-pressed="true"] { background: #047857; color: #fff; border-color: #047857; }
details { border-bottom: 1px solid #e2e8f0; padding: 4px 0; }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 700; font-size: 15px; padding: 10px 0; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 800; color: #047857; font-size: 18px; line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 12px; }
.indice { columns: 2; column-gap: 20px; font-size: 14px; }
.indice li { break-inside: avoid; }
.estado-solicitud { border-radius: 12px; padding: 12px; background: #f1f5f9; margin-top: 10px; font-size: 14px; }
.pie { margin-top: 26px; padding-top: 18px; border-top: 1px solid #e2e8f0; }
.oculto { display: none !important; }
@media (max-width: 480px) { .indice { columns: 1; } .fila { grid-template-columns: 1fr; } }
@media print { .cabecera a, .pie, form, .no-imprimir { display: none !important; } body { background: #fff; } .tarjeta { border: 0; padding: 0; } }
