/* Isolado do CSS compilado e das animações do site. */
.triagem-entry { color: #eee2cf; text-decoration: underline; text-underline-offset: 5px; font-size: .875rem; padding: 12px 0; }
.triagem-footer-entry { color: #c6b79e; text-decoration: underline; text-underline-offset: 4px; }
body.triagem-open { overflow: hidden; }
#triagem-dialog { box-sizing: border-box; width: min(600px, calc(100% - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 32px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d6c9b4; border-radius: 12px; background: #f9f8f6; color: #1a1918; box-shadow: 0 24px 90px #0006; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; line-height: 1.55; }
#triagem-dialog::backdrop { background: #1a1918bf; backdrop-filter: blur(5px); }
#triagem-dialog [hidden] { display: none !important; }
#triagem-dialog :focus-visible, [data-open-triagem]:focus-visible { outline: 3px solid #806642; outline-offset: 4px; }
.triagem-heading { position: relative; padding-right: 32px; }
.triagem-eyebrow { color: #725b38; font-size: 10px; letter-spacing: .14em; font-weight: 700; margin-bottom: 12px; }
#triagem-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(26px, 5vw, 32px); line-height: 1.2; margin-bottom: 12px; }
#triagem-description { color: #59534b; font-size: 14px; }
#triagem-close { position: absolute; right: -12px; top: -16px; width: 44px; height: 44px; font-size: 30px; line-height: 1; border-radius: 50%; }
#triagem-close:hover { background: #eae4d9; }
.triagem-progress { margin: 24px 0 16px; color: #725b38; border-top: 1px solid #ddd4c4; padding-top: 16px; font-size: 12px; font-weight: 700; }
.triagem-label, #triagem-dialog legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
#triagem-dialog fieldset { min-width: 0; border: 0; padding: 0; margin: 20px 0; }
#triagem-dialog input[type=text], #triagem-dialog select, #triagem-message { display: block; box-sizing: border-box; width: 100%; min-height: 48px; padding: 12px; border: 1px solid #a49b8d; border-radius: 6px; background: #fff; color: #1a1918; font-size: 16px; }
#triagem-dialog input::placeholder { color: #736c62; }
.triagem-options { display: grid; gap: 8px; }
.triagem-options label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 14px; border: 1px solid #c6bdaf; border-radius: 6px; cursor: pointer; background: #fff; font-size: 14px; }
.triagem-options label:hover { border-color: #806642; }
.triagem-options label:has(input:checked) { border-color: #806642; background: #eee7da; box-shadow: inset 0 0 0 1px #806642; }
.triagem-options input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: #725b38; }
.triagem-error { margin-top: 8px; color: #9f2020; font-size: 13px; font-weight: 600; }
#triagem-dialog [aria-invalid=true] { border-color: #9f2020; }
.triagem-hint { color: #59534b; font-size: 12px; margin-top: 12px; }
.triagem-privacy { color: #59534b; font-size: 12px; margin: 24px 0 20px; }
.triagem-privacy a { color: #624c2b; text-decoration: underline; text-underline-offset: 3px; }
.triagem-actions { display: flex; gap: 12px; }
.triagem-primary, .triagem-secondary { min-height: 48px; border-radius: 6px; padding: 12px 18px; font-size: 14px; font-weight: 600; cursor: pointer; }
.triagem-primary { flex: 1; background: #725b38; color: #fff; }
.triagem-primary:hover { background: #554329; }
.triagem-secondary { border: 1px solid #9e907a; background: #fff; color: #403628; }
.triagem-secondary:hover { background: #eee7da; }
#triagem-handoff { margin-top: 24px; }
#triagem-handoff-title { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; margin-bottom: 12px; }
#triagem-handoff p { margin-bottom: 16px; font-size: 14px; }
#triagem-message { resize: vertical; font-size: 14px; margin-bottom: 16px; }
.triagem-text-button { min-height: 44px; text-decoration: underline; text-underline-offset: 4px; color: #624c2b; font-size: 14px; }
@media (max-width: 600px) {
    #triagem-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); padding: 24px 20px; border-radius: 10px; }
    #triagem-form > .triagem-actions { position: sticky; bottom: -24px; padding: 12px 0; background: #f9f8f6; box-shadow: 0 -8px 12px #f9f8f6; }
    .triagem-fallback-actions { flex-direction: column; }
}
