.pm-public { margin: 0; background: #f4f6fb; color: #17243d; font-family: ui-sans-serif, system-ui, sans-serif; }
.pm-public-header { max-width: 1200px; margin: auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.pm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.pm-brand strong { display: block; font-size: 16px; }
.pm-brand small { display: block; margin-top: 3px; color: #64748b; }
.pm-header-note { font-size: 13px; color: #64748b; }
.pm-public-main { max-width: 1120px; margin: auto; padding: 12px 24px 48px; }
.pm-intro { padding: 32px 0; max-width: 780px; }
.pm-eyebrow { font-size: 11px; color: #4338ca; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pm-intro h1, .pm-thanks h1 { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 800; letter-spacing: -.035em; margin: 12px 0 16px; }
.pm-intro > p:last-of-type { color: #526078; font-size: 16px; line-height: 1.7; }
.pm-intro-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.pm-intro-tags span { padding: 6px 10px; background: #e8ecf6; border-radius: 8px; font-size: 11px; font-weight: 600; color: #415477; }
.pm-card { padding: clamp(20px, 4vw, 36px); background: #fff; border: 1px solid #e0e6f0; border-radius: 24px; box-shadow: 0 8px 36px #23365108; }
.pm-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 22px; }
.pm-steps button { display: flex; align-items: center; gap: 8px; text-align: left; border-radius: 12px; padding: 12px; font-size: 12px; font-weight: 600; background: #f3f5fa; color: #64748b; cursor: pointer; }
.pm-steps button span, .pm-section-number { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e2e8f0; width: 28px; height: 28px; flex-shrink: 0; }
.pm-steps button[aria-current="step"] { color: #4338ca; background: #eef2ff; }
.pm-steps button[aria-current="step"] span { background: #4f46e5; color: white; }
.pm-step-status, .pm-required-note { font-size: 12px; color: #64748b; margin-bottom: 18px; }
.pm-section + .pm-section { margin-top: 32px; }
.pm-section h2 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 0 0 20px; }
.pm-section-help { font-size: 14px; color: #64748b; margin: -6px 0 24px; line-height: 1.6; }
.pm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.pm-field { min-width: 0; }
.pm-field > label, .pm-choice-group > legend { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; line-height: 1.5; }
.pm-field > label { min-height: 36px; display: flex; align-items: end; }
.pm-input { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #cdd6e3; border-radius: 10px; background: #fbfcfe; color: inherit; font-size: 14px; line-height: 1.5; box-sizing: border-box; }
.pm-input:focus { outline: 2px solid #a5b4fc; outline-offset: 1px; border-color: #6366f1; }
textarea.pm-input { resize: vertical; }
.pm-wide { grid-column: 1 / -1; }
.pm-help { font-size: 12px; color: #64748b; margin-top: 7px; line-height: 1.6; }
.pm-checklist > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pm-checklist label { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid #dbe2ed; background: #fbfcfe; border-radius: 12px; min-height: 64px; height: 100%; cursor: pointer; font-size: 13px; line-height: 1.5; }
.pm-checklist label:has(input:checked) { background: #eef2ff; border-color: #818cf8; }
.pm-checklist input, .pm-consent input { width: 18px; height: 18px; accent-color: #4f46e5; flex-shrink: 0; }
.pm-consent { display: flex !important; align-items: flex-start !important; gap: 12px; font-size: 14px !important; padding: 18px; background: #f4f6fc; border-radius: 12px; line-height: 1.6; }
.pm-consent input { margin-top: 3px; }
.pm-form-actions { border-top: 1px solid #e2e8f0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; padding-top: 24px; }
.pm-form-actions #pm-siguiente, .pm-form-actions #pm-enviar { margin-left: auto; }
.pm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 20px; border-radius: 12px; background: #4f46e5; border: 1px solid transparent; color: white; font-weight: 700; font-size: 13px; cursor: pointer; text-decoration: none; }
.pm-button:hover { background: #4338ca; }
.pm-button:disabled { opacity: .6; cursor: wait; }
.pm-button-secondary { background: #f1f5f9; border-color: #dbe2ed; color: #475569; }
.pm-button-secondary:hover { background: #e2e8f0; }
.pm-errors { padding: 18px; color: #9f1239; background: #fff1f2; border-radius: 12px; font-size: 13px; margin-bottom: 24px; }
.pm-errors h2 { font-weight: 800; margin-bottom: 10px; }
.pm-errors p { margin: 6px 0; }
.pm-errors a { text-decoration: underline; }
.pm-field-error { color: #be123c; margin-top: 8px; font-size: 12px; }
.pm-public-footer { text-align: center; padding: 20px 24px 32px; color: #64748b; font-size: 12px; }
.pm-thanks { max-width: 720px; margin: 50px auto; text-align: center; }
.pm-thanks p:not(.pm-eyebrow) { color: #64748b; font-size: 15px; line-height: 1.8; margin-bottom: 18px; }
.pm-success-mark { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 50%; background: #dcfce7; color: #15803d; font-size: 30px; margin-bottom: 20px; }
.pm-admin { max-width: 1200px; margin: auto; padding: 28px 20px; }
.pm-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.pm-summary > div { border: 1px solid #e2e8f0; border-radius: 16px; padding: 20px; background: white; }
.pm-summary span { display: block; color: #64748b; font-size: 12px; margin-top: 6px; }
.pm-summary strong { font-size: 28px; }
.pm-filter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pm-filter label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.pm-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 16px; }
.pm-table { width: 100%; text-align: left; font-size: 13px; border-collapse: collapse; }
.pm-table th { background: #f8fafc; color: #64748b; text-transform: uppercase; font-size: 11px; }
.pm-table th, .pm-table td { padding: 16px; border-bottom: 1px solid #e2e8f0; }
.pm-table td { vertical-align: top; }
.pm-badge { display: inline-flex; padding: 5px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.pm-risk-ALTO { background: #ffe4e6; color: #9f1239; }
.pm-risk-MEDIO { background: #fef3c7; color: #92400e; }
.pm-risk-BAJO { background: #dcfce7; color: #166534; }
.pm-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pm-detail-grid dt { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.pm-detail-grid dd { font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.pm-pagination { display: flex; justify-content: space-between; gap: 20px; margin-top: 22px; font-size: 13px; }
.pm-history-dialog { width: min(760px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; margin: auto; padding: 24px; background: #fff; color: #17243d; border: 1px solid #e2e8f0; border-radius: 20px; }
.pm-history-dialog::backdrop { background: #0f172a99; }
.pm-history-list { margin-top: 24px; list-style: none; }
.pm-history-list li { margin-top: 16px; padding: 16px; border: 1px solid #e2e8f0; border-left: 4px solid #818cf8; border-radius: 12px; font-size: 13px; }
.pm-history-list time { font-size: 12px; color: #64748b; }
.pm-history-note { margin-top: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.dark .pm-history-dialog { background: #0f172a; color: #e2e8f0; border-color: #334155; }
.dark .pm-history-list li { border-color: #334155; border-left-color: #818cf8; }
.pm-admin [hidden], .pm-public [hidden] { display: none !important; }
.dark .pm-admin .pm-card, .dark .pm-admin .pm-summary > div { background: #0f172a; border-color: #334155; }
.dark .pm-admin .pm-input { background: #1e293b; border-color: #475569; }
.dark .pm-admin .pm-table th { background: #1e293b; }
.dark .pm-admin .pm-table-wrap, .dark .pm-admin .pm-table td, .dark .pm-admin .pm-table th { border-color: #334155; }
@media (max-width: 800px) { .pm-grid, .pm-checklist > div, .pm-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pm-steps button { flex-direction: column; align-items: flex-start; font-size: 11px; } .pm-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .pm-public-header { padding: 18px; } .pm-header-note { display: none; } .pm-public-main { padding: 0 14px 30px; } .pm-intro { padding: 20px 4px; } .pm-grid, .pm-checklist > div, .pm-filter, .pm-detail-grid { grid-template-columns: 1fr; } .pm-field > label { min-height: 0; } .pm-steps button { padding: 8px; font-size: 10px; } .pm-card { border-radius: 18px; } .pm-admin { padding: 20px 12px; } .pm-button { padding: 12px 16px; } }

.pm-satelites-grafico{display:grid;gap:.8rem;margin-top:1.3rem}.pm-satelite-barra{display:grid;grid-template-columns:minmax(120px,200px) minmax(40px,1fr) 3rem;gap:1rem;align-items:center;text-align:left;width:100%;padding:.4rem;border-radius:.5rem}.pm-satelite-barra:hover,.pm-satelite-barra:focus-visible{background:rgba(99,102,241,.1)}.pm-satelite-nombre{font-size:.9rem;overflow-wrap:anywhere}.pm-satelite-pista{background:rgba(99,102,241,.12);height:1.3rem;border-radius:.3rem;overflow:hidden}.pm-satelite-relleno{display:block;height:100%;background:#6366f1;border-radius:.3rem}@media(max-width:600px){.pm-satelite-barra{grid-template-columns:minmax(90px,130px) minmax(30px,1fr) 2rem;gap:.5rem}}
