*{box-sizing:border-box}body{color:#1f2937;background:#f3f5f8;margin:0;font-family:Arial,Helvetica,sans-serif}.app{min-height:100vh;display:flex}.sidebar{color:#fff;background:#071d36;width:285px;padding:28px 22px}.logoBox{border-bottom:1px solid #ffffff26;margin-bottom:24px;padding-bottom:24px}.logoTGS{color:#d6aa45;letter-spacing:3px;font-size:46px;font-weight:900}.logoSub{letter-spacing:2px;color:#fff;font-size:14px}nav a{color:#dbeafe;cursor:pointer;border-radius:12px;align-items:center;gap:12px;margin-bottom:6px;padding:14px 12px;display:flex}nav a.active,nav a:hover{color:#fff;background:#d6aa452e}.juvenalLogo{background:#ffffff14;border-radius:16px;margin-top:40px;padding:16px}.jg{color:#071d36;background:#d6aa45;border-radius:50%;justify-content:center;align-items:center;width:44px;height:44px;margin-bottom:10px;font-weight:900;display:flex}.juvenalLogo span{font-weight:700;display:block}.juvenalLogo small{color:#cbd5e1}.main{flex:1}.topbar{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:88px;padding:0 34px;display:flex}.brand{align-items:center;gap:14px;display:flex}.jgTop{color:#d6aa45;background:#071d36;border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;font-weight:900;display:flex}.brand h1{margin:0;font-size:22px}.brand p,.profile p{color:#64748b;margin:0;font-size:13px}.profile{align-items:center;gap:14px;display:flex}.avatar{color:#071d36;background:#d6aa45;border-radius:50%;justify-content:center;align-items:center;width:46px;height:46px;font-weight:900;display:flex}.content{padding:32px}.titleRow{justify-content:space-between;align-items:center;margin-bottom:24px;display:flex}.titleRow h2{color:#071d36;margin:0;font-size:32px}.titleRow p{color:#64748b;margin-top:8px}.goldBtn{color:#071d36;cursor:pointer;background:#d6aa45;border:none;border-radius:14px;align-items:center;gap:10px;padding:14px 20px;font-weight:800;display:flex}.cards{grid-template-columns:repeat(6,1fr);gap:18px;display:grid}.card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px;box-shadow:0 8px 24px #0f172a0d}.icon{color:#d6aa45}.card h3{color:#071d36;margin:14px 0 4px;font-size:25px}.card p{color:#64748b;margin:0}.card small{margin-top:12px;display:block}.success{color:#047857}.danger{color:#b91c1c}.grid{grid-template-columns:1.2fr 1.2fr 1fr;gap:20px;margin-top:24px;display:grid}.panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:22px}.panelHead{justify-content:space-between;margin-bottom:18px;display:flex}.panelHead h3{color:#071d36;margin:0}.panelHead a{color:#d6aa45;font-weight:700}.item,.move,.money{border-bottom:1px solid #eef2f7;align-items:center;gap:14px;padding:14px 0;display:flex}.item:last-child,.move:last-child,.money:last-child{border-bottom:none}.date{color:#fff;text-align:center;background:#071d36;border-radius:12px;min-width:64px;padding:10px;font-weight:800}.item p,.move p,.money p{color:#64748b;margin:4px 0 0}.item span{color:#b45309;background:#fff7ed;border-radius:999px;margin-left:auto;padding:7px 10px;font-size:12px;font-weight:700}.round{color:#92400e;background:#fef3c7;border-radius:50%;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.move small{color:#64748b;margin-left:auto}.money{justify-content:space-between}.money span{color:#b91c1c;margin-top:4px;font-size:13px;display:block}.quick{grid-template-columns:repeat(6,1fr);gap:16px;margin-top:24px;display:grid}.quick button{color:#071d36;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:18px;justify-content:center;align-items:center;gap:10px;padding:18px;font-weight:800;display:flex}.quick button:hover{color:#b8860b;border-color:#d6aa45}@media (width<=1200px){.cards,.quick{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:1fr}}.processForm{background:#fff;border:1px solid #e5e7eb;border-radius:22px;padding:24px;box-shadow:0 8px 24px #0f172a0d}.formSection{margin-bottom:26px}.formSection h3{color:#071d36;border-left:5px solid #d6aa45;margin:0 0 16px;padding-left:12px;font-size:18px}.formGrid{grid-template-columns:repeat(4,1fr);gap:16px;display:grid}.processForm label{color:#334155;flex-direction:column;gap:8px;font-size:14px;font-weight:700;display:flex}.processForm input,.processForm select,.processForm textarea{color:#111827;background:#fff;border:1px solid #d1d5db;border-radius:12px;width:100%;padding:13px 14px;font-size:14px}.processForm input:focus,.processForm select:focus,.processForm textarea:focus{border-color:#d6aa45;outline:none;box-shadow:0 0 0 3px #d6aa452e}.fullField{margin-top:16px}.fullField textarea{resize:vertical;min-height:100px}.formActions{justify-content:flex-end;display:flex}.processRow{border-bottom:1px solid #eef2f7;justify-content:space-between;align-items:center;padding:16px 0;display:flex}.processRow:last-child{border-bottom:none}.processRow p{color:#64748b;margin:6px 0 0}.statusBadge{text-transform:uppercase;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800}.statusBadge.ativo{color:#166534;background:#dcfce7}.statusBadge.suspenso{color:#92400e;background:#fef3c7}.statusBadge.arquivado,.statusBadge.encerrado{color:#991b1b;background:#fee2e2}@media (width<=1200px){.formGrid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.formGrid{grid-template-columns:1fr}}.pdfModalOverlay{z-index:1000;background:#071d36a6;position:fixed;inset:0}.pdfModalPanel{z-index:1001;background:#fff;border-radius:20px;flex-direction:column;width:min(900px,92vw);height:min(85vh,900px);display:flex;position:fixed;top:50%;left:50%;overflow:hidden;transform:translate(-50%,-50%);box-shadow:0 20px 60px #00000059}.pdfModalHeader{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;padding:18px 22px;display:flex}.pdfModalHeader h3{color:#071d36;margin:0;font-size:16px}.pdfCloseBtn{color:#64748b;cursor:pointer;background:0 0;border:none;border-radius:10px;width:34px;height:34px;font-size:16px}.pdfCloseBtn:hover{color:#071d36;background:#f1f5f9}.pdfModalContent{background:#f8fafc;flex:1;overflow:hidden}.pdfViewer{border:none;width:100%;height:100%;display:block}.pdfModalFooter{border-top:1px solid #e5e7eb;justify-content:flex-end;gap:10px;padding:16px 22px;display:flex}@media (width<=700px){.pdfModalPanel{width:96vw;height:90vh}}.iaCard{background:#fdf8ec;border:1px solid #d6aa45;border-radius:12px;margin:-8px 0 18px;padding:16px 18px}.iaBadge{color:#071d36;margin-bottom:6px;font-size:13px;font-weight:700;display:inline-block}.iaAviso{color:#64748b;margin-bottom:10px;font-size:12px;font-style:italic}.categoriaFiltro{flex-wrap:wrap;gap:8px;margin-bottom:18px;display:flex}.categoriaPill{color:#071d36;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:999px;padding:6px 14px;font-size:12px;font-weight:700}.categoriaPill.active{color:#071d36;background:#d6aa45;border-color:#d6aa45}.urgenciaBadge{text-transform:uppercase;white-space:nowrap;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800}.urgenciaBadge.atrasado{color:#991b1b;background:#fee2e2}.urgenciaBadge.vence_hoje{color:#071d36;background:#d6aa45}.urgenciaBadge.proximo{color:#1e40af;background:#dbeafe}.urgenciaBadge.normal{color:#64748b;background:#f1f5f9}.urgenciaBadge.concluido{color:#166534;background:#dcfce7}.filtroToggle{color:#071d36;cursor:pointer;align-items:center;gap:8px;margin-bottom:18px;font-size:13px;font-weight:700;display:flex}.authPage{background:#071d36;justify-content:center;align-items:center;min-height:100vh;padding:24px;display:flex}.authCard{background:#fff;border-radius:22px;width:100%;max-width:420px;padding:40px;box-shadow:0 20px 60px #0000004d}.authCard .logoBox{text-align:center;border-bottom:none;margin-bottom:24px;padding-bottom:0}.authCard .logoTGS{font-size:38px}.authCard .logoSub{color:#64748b}.authCard h2{color:#071d36;text-align:center;margin:0 0 6px}.authCard .subtitulo{color:#64748b;text-align:center;margin:0 0 24px;font-size:14px}.authError{color:#991b1b;background:#fee2e2;border-radius:10px;margin-bottom:16px;padding:10px 14px;font-size:13px}.authFooter{text-align:center;color:#64748b;margin-top:18px;font-size:13px}.authFooter a{color:#d6aa45;font-weight:700;text-decoration:none}.chatAtalhos{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.chatAtalho{color:#071d36;cursor:pointer;background:#fdf8ec;border:1px solid #d6aa45;border-radius:999px;padding:8px 16px;font-size:13px;font-weight:700}.chatAtalho:disabled{opacity:.6;cursor:not-allowed}.chatMensagens{flex-direction:column;gap:12px;max-height:50vh;margin-bottom:18px;padding:6px 4px;display:flex;overflow-y:auto}.tabelaSimples{border-collapse:collapse}.tabelaSimples th,.tabelaSimples td{border-bottom:1px solid #e2e8f0;padding:8px 12px;font-size:13px}.tabelaSimples th{color:#64748b;font-weight:700}.relatorioCards{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin-top:16px;display:grid}.relatorioCard{text-align:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:10px;padding:16px}.relatorioCard strong{margin-bottom:4px;font-size:26px;display:block}.relatorioCard span{color:#64748b;font-size:13px}.periodoSeletor{gap:8px;margin:8px 0 4px;display:flex}.periodoSeletor button{cursor:pointer;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 14px;font-size:13px;font-weight:600}.periodoSeletor button.active{color:#fff;background:#0f172a;border-color:#0f172a}@media print{.sidebar,.topbar,.periodoSeletor,.semImprimir{display:none!important}.app{display:block!important}.main{margin:0!important}.content{padding:0!important}.panel{break-inside:avoid;box-shadow:none!important;border:1px solid #ccc!important}}.chatBolha{white-space:pre-wrap;border-radius:16px;max-width:75%;padding:12px 16px;font-size:14px;line-height:1.5}.chatBolhaUser{color:#fff;background:#071d36;border-bottom-right-radius:4px;align-self:flex-end}.chatBolhaAssistant{color:#071d36;background:#f1f5f9;border-bottom-left-radius:4px;align-self:flex-start}.chatInputRow{gap:10px;display:flex}.chatInputRow input{border:1px solid #e5e7eb;border-radius:12px;flex:1;padding:12px 16px;font-size:14px}.checklistGrid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px;display:grid}.checklistCard{border:1px solid #e5e7eb;border-radius:14px;padding:14px 16px}.checklistCardHead{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.checklistBadgeOk{color:#166534;white-space:nowrap;background:#dcfce7;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}.checklistBadgePendente{color:#64748b;white-space:nowrap;background:#f1f5f9;border-radius:999px;padding:4px 10px;font-size:12px;font-weight:800}.checklistArquivos{margin:0 0 10px;padding:0;list-style:none}.checklistArquivos li{justify-content:space-between;align-items:center;gap:8px;padding:4px 0;display:flex}.checklistArquivos small{color:#64748b;white-space:nowrap}.linkBtn{color:#071d36;cursor:pointer;text-align:left;background:0 0;border:none;padding:0;font-size:13px;text-decoration:underline}.checklistUploadLabel{color:#071d36;cursor:pointer;background:#d6aa45;border-radius:10px;padding:8px 14px;font-size:13px;font-weight:700;display:inline-block}.processoDetalhe{flex-direction:column;gap:22px;display:flex}.processoHeader{grid-template-columns:1.5fr 1.2fr 1fr 1fr auto;align-items:center;gap:18px;display:grid}.processoHeader div,.dadosGrid div{flex-direction:column;gap:8px;display:flex}.processoHeader span,.dadosGrid span{color:#64748b;font-size:13px;font-weight:700}.processoHeader strong,.dadosGrid strong{color:#071d36;font-size:16px}.processoTabs{flex-wrap:wrap;gap:10px;display:flex}.processoTabs button{color:#071d36;cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-direction:column;justify-content:center;gap:4px;min-height:58px;padding:12px 16px;font-weight:800;display:flex}.processoTabs button.active{color:#fff;background:#071d36;border-color:#071d36}.processoTabs small{color:#64748b;font-size:11px;font-weight:700}.processoTabs button.active small{color:#dbeafe}.dadosGerais{margin-top:0}.dadosGrid{grid-template-columns:repeat(3,1fr);gap:18px;display:grid}@media (width<=1200px){.processoHeader,.dadosGrid{grid-template-columns:repeat(2,1fr)}}@media (width<=700px){.processoHeader,.dadosGrid{grid-template-columns:1fr}}
