:root { --ink: #192c35; --muted: #68777e; --line: #e4e8e7; --paper: #fff; }
* { box-sizing: border-box; }
body { margin: 0; background: #f5f6f4; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
.complaint-shell { max-width: 860px; margin: 0 auto; padding: 60px 24px 24px; }
.public-heading { padding: 0 12px 28px; }
.eyebrow { margin: 0 0 12px; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
h1 { margin: 0 0 14px; font-size: clamp(25px, 4vw, 36px); font-weight: 500; line-height: 1.2; letter-spacing: -.04em; }
h1 span { color: var(--muted); font-weight: 400; }
.heading-description { margin: 0; color: var(--muted); font-size: 14px; }
.complaint-paper { overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(28, 44, 40, .035); }
.provider-header { padding: 30px 36px; background: #fcfcfb; border-bottom: 1px solid var(--line); }
.provider-header h2 { margin: 0 0 5px; font-size: 18px; font-weight: 600; overflow-wrap: anywhere; }
.provider-ruc { font-size: 12px; font-weight: 600; margin: 0 0 5px; }
.provider-address { color: var(--muted); font-size: 12px; margin: 0; }
.legal-notice { margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.required-caption { margin: 0; padding: 24px 36px 0; font-size: 11px; color: var(--muted); }
.required-mark { color: #687d76; }
.complaint-section { min-width: 0; margin: 0; padding: 30px 36px; border: 0; border-bottom: 1px solid var(--line); }
.complaint-section legend { float: left; display: flex; align-items: center; width: 100%; gap: 12px; margin: 0 0 8px; padding: 0; font-size: 18px; font-weight: 500; letter-spacing: -.025em; }
.complaint-section legend + * { clear: both; }
.section-number { display: inline-flex; justify-content: center; align-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 10px; letter-spacing: 0; }
.section-description { color: var(--muted); font-size: 12px; margin: 0 0 22px; }
.fields-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.field-wide { grid-column: 1 / -1; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: #51626b; font-size: 12px; font-weight: 500; }
.form-control.form-control-sm { min-height: 36px; padding: 7px 11px; color: var(--ink); background: #fff; border: 1px solid #dce2e0; border-radius: 6px; font-size: 12px; box-shadow: none; }
textarea.form-control.form-control-sm { min-height: 86px; resize: vertical; }
.form-control::placeholder { color: #99a3a6; opacity: 1; }
.form-control:focus { border-color: #758f83; box-shadow: 0 0 0 3px rgba(80, 115, 98, .07); }
.field-help { display: block; margin-top: 6px; font-size: 10px; color: var(--muted); }
.consent-option { display: flex; align-items: flex-start; gap: 10px; color: #53656b; font-size: 12px; cursor: pointer; }
.consent-option input, .claim-option input { margin: 4px 0 0; accent-color: #263f38; flex-shrink: 0; }
.minor-toggle { margin: 0; }
.guardian-fields { padding: 20px 0 0; }
.claim-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 22px; }
.claim-option { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.claim-option:has(input:checked) { border-color: #7c9589; background: #f7faf8; }
.claim-option strong { display: block; font-size: 12px; font-weight: 600; }
.claim-option small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.consent-section { border-bottom: 0; }
.response-notice { padding: 14px 0; margin: 12px 0; color: var(--muted); font-size: 11px; }
.submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.submit-row > span { color: var(--muted); font-size: 11px; }
.btn.btn-sm { border-radius: 6px; padding: 9px 18px; font-size: 12px; box-shadow: none; }
.btn-default { background: #1d333b; color: #fff; border: 1px solid #1d333b; }
.btn-default:hover, .btn-default:focus { color: #fff; background: #29454d; border-color: #29454d; }
.btn-outline-default { background: transparent; color: var(--ink); border: 1px solid #94a29f; }
.btn-outline-default:hover { background: #f1f5f2; color: var(--ink); }
.btn:focus-visible { outline: 2px solid #526f62; outline-offset: 3px; }
.complaint-powered { padding: 24px 0 6px; text-align: center; color: #929c9d; font-size: 10px; letter-spacing: .025em; }
.complaint-powered-cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 7px 14px; border: 1px solid #ead5d2; border-radius: 999px; background: #fff; color: #A33B32; font-size: 11px; font-weight: 600; letter-spacing: .01em; text-decoration: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.complaint-powered-cta:hover, .complaint-powered-cta:focus { background: #A33B32; border-color: #A33B32; color: #fff; text-decoration: none; }
.complaint-powered-cta span { transition: transform .15s ease; }
.complaint-powered-cta:hover span { transform: translateX(2px); }
.form-errors { margin: 24px 36px 0; padding: 14px 18px; background: #fff7f5; border: 1px solid #ebd7d1; border-radius: 8px; color: #8f4335; font-size: 12px; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; }
.field-error { color: #a2483d; font-size: 11px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.receipt-heading { text-align: center; }
.receipt-heading h1 { font-size: 23px; }
.receipt-check { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: #e9f1ec; color: #456958; font-size: 23px; }
.receipt-number { margin: 14px 0; font-size: clamp(18px, 4vw, 28px); font-weight: 600; letter-spacing: -.03em; overflow-wrap: anywhere; }
.receipt-dates { display: flex; gap: 32px; margin: 24px 0 0; font-size: 12px; }
.receipt-dates dt { color: var(--muted); font-weight: 400; }
.receipt-dates dd { margin: 4px 0 0; }
.receipt-content { padding: 28px 36px; font-size: 13px; }
.receipt-details { margin-top: 24px; }
.receipt-details > div { padding: 12px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.receipt-details dt { margin-bottom: 4px; color: var(--muted); font-size: 11px; font-weight: 500; }
.receipt-details dd { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.receipt-content .btn { margin-top: 22px; }
@media (max-width: 575.98px) {
    .complaint-shell { padding: 32px 14px 18px; }
    .provider-header, .complaint-section, .receipt-content { padding: 24px 20px; }
    .required-caption { padding: 20px 20px 0; }
    .form-errors { margin: 20px 20px 0; }
    .fields-grid, .claim-options { grid-template-columns: 1fr; }
    .submit-row { align-items: stretch; flex-direction: column; }
    .submit-row .btn { width: 100%; }
    .receipt-dates { flex-direction: column; gap: 12px; }
}
@media print {
    body { background: #fff; }
    .complaint-shell { max-width: none; padding: 0; }
    .complaint-paper { box-shadow: none; border: 0; }
    .receipt-heading { padding-bottom: 10px; }
    .receipt-check, .receipt-content .btn, .complaint-powered-cta { display: none; }
    .provider-header, .receipt-content { padding: 16px 0; }
}
