*{margin:0;padding:0;box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Roboto,sans-serif;background-color:#1a1d2e;color:#fff;line-height:1.6;min-height:100vh}a{color:inherit}button{font-family:inherit}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}header{width:100%}.header-container{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 50px;background-color:#2b2f45;border-radius:10px;box-shadow:0 5px 15px #0003}.logo{display:flex;align-items:center;gap:12px;font-size:1.5em;font-weight:700;color:#fff}.logo img{display:block;margin-right:0}.menu-header ul{display:flex;align-items:center;gap:24px;list-style:none}.menu-header a{color:#fff;text-decoration:none;font-weight:500;transition:color .2s ease}.menu-header a:hover{color:gold;text-decoration:underline}.login-btn{background-color:#2563eb;border:none;color:#fff;padding:10px 20px;border-radius:5px;font-size:1em;cursor:pointer;transition:background-color .2s ease}.login-btn:hover{background-color:#1e50cc}.title{text-align:center;margin:50px 20px 30px}.title h1,.title h2{font-size:2.1rem;margin-bottom:10px;color:#fff}.title p{font-size:1.1em;color:#b0b3c7}.filters{display:flex;justify-content:center;gap:20px;margin:20px 0 30px}.filter{display:flex;flex-direction:column;align-items:center}.filter label{font-size:1.2rem;color:#d1d5db;margin-bottom:8px;font-weight:500}.filter select,.select-institutional{padding:8px 12px;font-size:.95rem;border:1px solid #444857;border-radius:6px;background-color:#2b2f45;color:#fff;cursor:pointer;outline:none;min-width:160px;text-align:center;transition:border-color .2s ease,background-color .2s ease,box-shadow .2s ease}.filter select:hover,.select-institutional:hover{border-color:#2563eb;background-color:#1e2235}.filter select:focus,.select-institutional:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb40}.card-container{display:flex;justify-content:space-around;gap:20px;padding:20px 50px}.card{background-color:#2b2f45;border-radius:10px;padding:24px 20px;text-align:center;box-shadow:0 5px 15px #0003;width:30%;border:1px solid rgba(255,255,255,.05)}.card .icon{display:flex;justify-content:center;margin-bottom:12px}.card .icon img{display:block}.card h2,.card h3{font-size:1.25rem;margin-bottom:10px;color:#fff}.card p{font-size:1.2rem;font-weight:700;color:gold}.categories{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;padding:20px 50px}.category-card{display:block;width:100%;background-color:#2b2f45;border-radius:10px;padding:24px 20px;text-align:center;box-shadow:0 5px 15px #0003;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;cursor:pointer;border:1px solid rgba(255,255,255,.05);color:#fff}.category-card.bg-white{background-color:#2b2f45;color:#fff}.category-card:hover{transform:translateY(-4px) scale(1.02);box-shadow:0 10px 24px #00000059;border-color:#2563eb80}.category-card:focus-visible{outline:3px solid rgba(37,99,235,.85);outline-offset:3px}.category-card .icon{display:flex;justify-content:center;margin-bottom:14px}.category-card .icon img{display:block}.category-card h2{font-size:1.35rem;margin-bottom:10px;color:#fff}.category-card p,.category-card .text-gray-600{font-size:1rem;color:#b0b3c7}.category-card .heart{color:#ff4d67}.category-card .education{color:#007bff}.category-card .tax{color:gold}.category-card .housing{color:#ffc107}.category-card .transport{color:#ab47bc}.category-card .legislation{color:#007bff}.category-card .document{color:#f06292}.category-card .social{color:#ff9800}.emenda-table-container{--emenda-table-min-width: 1400px;margin:40px 20px;background-color:#2b2f45;border-radius:10px;overflow-x:auto;overflow-y:hidden;box-shadow:0 5px 15px #00000040;border:1px solid rgba(255,255,255,.05)}.emenda-table{width:max(100%,var(--emenda-table-min-width));min-width:var(--emenda-table-min-width);border-collapse:separate;border-spacing:0;background-color:#1f2335;color:#fff;font-size:.92rem}.emenda-table thead{background-color:#111827}.tipo-header-row{background-color:#2563eb}.tipo-header-cell{background-color:#2563eb;color:#fff;padding:16px 20px!important;text-align:center!important;font-size:1.2rem;font-weight:700;border-bottom:none!important;border-radius:10px 10px 0 0;white-space:normal!important}.emenda-table th{padding:14px 12px;text-align:left;font-weight:700;color:#fff;border-bottom:1px solid #3b425c;white-space:nowrap}.emenda-table td{padding:12px;vertical-align:middle;border-bottom:1px solid #30364d;color:#fff}.emenda-table tbody tr:nth-child(2n){background-color:#24293d}.emenda-table tbody tr:hover{background-color:#303750}.emenda-table td[data-label=Emenda]{min-width:70px;font-weight:700}.emenda-table td[data-label=Objeto]{min-width:520px}.emenda-table td[data-label=Vereador],.emenda-table td[data-label=Situação]{min-width:150px}.emenda-table td[data-label=Valor],.emenda-table td[data-label=Suplementação],.emenda-table td[data-label=Total]{min-width:120px;white-space:nowrap}.emenda-table td[data-label=Dotação],.emenda-table td[data-label=Empenho]{min-width:80px;text-align:center}.emenda-table td[data-label=Status],.emenda-table td[data-label=Arquivos]{min-width:110px}.emenda-table button{border:none;cursor:pointer;font-weight:600;transition:filter .2s ease,transform .2s ease}.emenda-table button:hover{filter:brightness(1.08);transform:translateY(-1px)}.emenda-table button:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:2px}.emenda-table .bg-green-500,.bg-green-500{background-color:#22c55e}.emenda-table .bg-red-500,.bg-red-500{background-color:#ef4444}.emenda-table .bg-yellow-500,.bg-yellow-500{background-color:#eab308}.emenda-table .text-white,.text-white{color:#fff}.emenda-table .text-black,.text-black{color:#111827}.emenda-table .rounded,.rounded{border-radius:5px}.emenda-table .px-2{padding-left:.5rem;padding-right:.5rem}.emenda-table .py-1{padding-top:.25rem;padding-bottom:.25rem}.modal-bg{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#000000b8;align-items:center;justify-content:center;z-index:9999;padding:20px}.modal-content{width:min(720px,100%);max-height:85vh;background-color:#2b2f45;border-radius:12px;padding:24px;box-shadow:0 20px 45px #00000073;border:1px solid rgba(255,255,255,.08)}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}.modal-header h2{font-size:1.4rem;color:#fff}.modal-close{width:36px;height:36px;border:none;border-radius:999px;background-color:#ef4444;color:#fff;font-size:1.6rem;line-height:1;cursor:pointer}.modal-close:hover{background-color:#dc2626}.modal-close:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:3px}.modal-body{color:#fff}.modal-body-scroll{max-height:50vh;overflow-y:auto;padding-right:6px}.modal-list{list-style:none;display:flex;flex-direction:column;gap:12px}.modal-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px;background-color:#1f2335;border-radius:8px;border:1px solid rgba(255,255,255,.06)}.file-info{display:flex;align-items:center;gap:10px;min-width:0}.file-info span{overflow-wrap:anywhere}.file-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.file-actions a{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:6px;background-color:#374151;transition:background-color .2s ease,transform .2s ease}.file-actions a:hover{background-color:#2563eb;transform:translateY(-1px)}.file-actions a:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:3px}.file-actions img{width:20px;height:20px}footer{margin-top:60px;background-color:#111827;color:#fff;border-top:1px solid #30364d;border-radius:10px 10px 0 0;overflow:hidden}.footer-container{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:40px;padding:40px 50px}.footer-column h2,.footer-column h3{font-size:1.2rem;margin-bottom:12px;color:gold}.footer-column p,.footer-column li{color:#d1d5db;font-size:.95rem;line-height:1.7}.footer-column ul{list-style:none}.footer-column a{color:#d1d5db;text-decoration:none;transition:color .2s ease}.footer-column a:hover{color:#fff;text-decoration:underline}.footer-column a:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:3px}.footer-bottom{padding:16px 50px;text-align:center;background-color:#0b1120;color:#9ca3af;font-size:.9rem}#scroll-to-top{transition:background-color .2s ease,transform .2s ease}#scroll-to-top:hover{background-color:#1d4ed8!important;transform:translateY(-2px)}#scroll-to-top:focus-visible{outline:3px solid rgba(255,255,255,.8);outline-offset:3px}@media (max-width: 1024px){.header-container{padding:20px 30px}.card-container,.categories{padding-left:30px;padding-right:30px}.footer-container{grid-template-columns:1fr 1fr}.footer-column:first-child{grid-column:1 / -1}}@media (max-width: 768px){body{padding:16px}.header-container{flex-direction:column;gap:20px;padding:20px;text-align:center}.logo{flex-direction:column;font-size:1.25rem}.menu-header ul{flex-direction:column;gap:10px}.title{margin:35px 10px 20px}.title h1,.title h2{font-size:1.55rem}.filters{flex-direction:column;align-items:center}.card-container{flex-direction:column;padding:20px 0}.card{width:100%}.categories{grid-template-columns:1fr;padding:20px 0}.category-card{margin:0;text-align:center}.emenda-table-container{--emenda-table-min-width: 1100px;margin:30px 0;padding:0;border-radius:10px}.emenda-table{width:max(100%,var(--emenda-table-min-width));min-width:var(--emenda-table-min-width);font-size:.85rem}.tipo-header-cell{padding:14px 20px!important;text-align:center!important;font-size:1.1rem;font-weight:700}.emenda-table th,.emenda-table td{padding:10px;white-space:nowrap}.emenda-table td[data-label=Objeto]{min-width:420px;white-space:normal}.bg-green-500{padding:8px 12px;font-size:.8rem}.modal-content{padding:18px}.modal-list li{align-items:flex-start;flex-direction:column}.file-actions{width:100%;justify-content:flex-end}.footer-container{grid-template-columns:1fr;padding:30px 20px;gap:25px}.footer-column:first-child{grid-column:auto}.footer-bottom{padding:16px 20px}}@media (max-width: 480px){.title h1,.title h2{font-size:1.35rem}.card h2,.card h3,.category-card h2{font-size:1.15rem}.card p{font-size:1.05rem}.filter select,.select-institutional{width:100%;min-width:220px}}
