/* Relatorios online R11 — somente UI, fonte Montserrat institucional. */
.tt-rel-dialog { width:min(620px,94vw); max-height:calc(100dvh - 32px); padding:0; border:1px solid #b3d1ec; border-top:4px solid #005e9d; border-radius:16px; box-shadow:0 20px 64px #08345c55; color:#08345c; font-family:Montserrat,sans-serif; }
.tt-rel-dialog::backdrop { background:rgba(3,27,48,.58); }
.tt-rel-modal { display:grid; gap:16px; padding:clamp(16px,4vw,26px); background:#fff; }
.tt-rel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.tt-rel-header h2 { margin:0; color:#08345c; font-size:clamp(17px,3.4vw,21px); }
.tt-rel-close { border:0; background:transparent; font-size:29px; line-height:1; cursor:pointer; color:#08345c; }
.tt-rel-resumo,.tt-rel-footnote { margin:0; color:#536c80; line-height:1.55; font-size:12px; }
.tt-rel-aviso { min-height:32px; margin:0; padding:11px 13px; background:#f1f7fb; border-left:3px solid #005e9d; border-radius:4px; overflow-wrap:anywhere; font-size:12px; line-height:1.6; }
.tt-rel-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tt-rel-primary { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:18px 9px; min-height:125px; border-radius:12px; border:1px solid #b3d1ec; background:#fff; color:#08345c; font:inherit; cursor:pointer; transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; }
.tt-rel-primary:hover:not(:disabled),.tt-rel-primary:focus-visible { transform:translateY(-2px); border-color:#005e9d; box-shadow:0 8px 20px #08345c17; }
.tt-rel-primary:disabled,.tt-rel-choice:disabled { opacity:.56; cursor:wait; }
.tt-rel-glyph { font-size:30px; font-weight:700; line-height:1; }
.tt-rel-pdf { color:#a11217; font-size:24px; font-weight:800; letter-spacing:-.5px; }
.tt-rel-primary strong { font-size:14px; }
.tt-rel-primary small { font-size:11px; color:#536c80; }
.tt-rel-edit-carousel[hidden],#tt-rel-result[hidden] { display:none!important; }
.tt-rel-edit-carousel { display:grid; gap:10px; animation:tt-reveal .18s ease-out; }
.tt-rel-edit-title { margin:0; font-size:12px; font-weight:700; }
.tt-rel-edit-track { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.tt-rel-choice { display:flex; align-items:center; flex-direction:column; justify-content:center; gap:9px; padding:12px 7px; min-height:116px; border:1px solid #b3d1ec; background:#f8fbfd; border-radius:12px; color:#08345c; cursor:pointer; font:inherit; transition:transform .18s ease,background .18s ease; }
.tt-rel-choice:hover:not(:disabled),.tt-rel-choice:focus-visible { background:#e9f4ff; transform:translateY(-2px); }
.tt-rel-choice img { width:42px; height:50px; max-width:65%; object-fit:contain; }
.tt-rel-choice span { font-size:12px; font-weight:700; }
.tt-rel-result { padding:12px; border:1px solid #b3eacb; background:#f0fcf5; border-radius:9px; }
.tt-rel-result a { color:#00663b; font-size:13px; font-weight:700; overflow-wrap:anywhere; }
.tt-rel-footnote strong { color:#08345c; }
@keyframes tt-reveal { from {opacity:0;transform:translateY(-5px)} to {opacity:1;transform:translateY(0)} }
@media (max-width:410px) { .tt-rel-edit-track {gap:5px;} .tt-rel-choice {min-height:103px;padding:10px 4px;} .tt-rel-choice img {width:34px;height:40px;} .tt-rel-choice span {font-size:10px;} }
@media (prefers-reduced-motion:reduce) { .tt-rel-primary,.tt-rel-choice,.tt-rel-edit-carousel { animation:none!important; transition:none!important; } }
