
.gep-front{
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:#31435a
}
.gep-hero-head{
  position:relative;
  margin:0 0 18px;
  padding:22px 24px;
  border-radius:20px;
  background:
    radial-gradient(circle at top right, rgba(59,130,246,.16), transparent 28%),
    linear-gradient(135deg,#0c3b73 0%, #1351b4 52%, #2670e8 100%);
  color:#fff;
  box-shadow:0 18px 34px rgba(19,81,180,.22)
}
.gep-hero-head::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:20px;
  pointer-events:none;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)
}
.gep-hero-head-detail{padding:16px 20px}
.gep-hero-kicker{
  display:inline-flex;align-items:center;
  min-height:28px;padding:0 10px;border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase
}
.gep-hero-title{
  margin:10px 0 8px;
  font-size:32px;line-height:1.1;
  color:#fff;font-weight:800
}
.gep-hero-text{
  margin:0;max-width:980px;
  color:rgba(255,255,255,.92);
  font-size:14px;line-height:1.6
}

.gep-filter-box,.gep-detail-card{
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%);
  border:1px solid #d8dee8;border-radius:18px;padding:20px 22px;
  box-shadow:0 14px 32px rgba(15,23,42,.06)
}
.gep-filter-head{
  display:flex;justify-content:space-between;gap:12px;padding-bottom:14px;
  color:#24364f;font-size:14px;font-weight:800;letter-spacing:.01em
}
.gep-filter-head span{font-weight:500;color:#64748b}
.gep-public-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.gep-public-filters label,.gep-field-full{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#334155}
.gep-field-full{grid-column:span 2}
.gep-public-filters input,.gep-public-filters select{
  height:48px;border:1px solid #c8d4e3;border-radius:12px;padding:0 14px;background:#fff;
  font-size:14px;color:#334155;box-shadow:inset 0 1px 2px rgba(15,23,42,.03)
}
.gep-public-filters input:focus,.gep-public-filters select:focus{
  outline:none;border-color:#2670e8;box-shadow:0 0 0 4px rgba(38,112,232,.14)
}
.gep-actions-row{display:flex;align-items:end;justify-content:center}
.gep-btn{
  height:48px;min-width:176px;border:none;border-radius:12px;
  background:linear-gradient(135deg,var(--gep-primary,#1351b4),#2670e8);
  color:#fff;font-weight:800;cursor:pointer;padding:0 18px;
  box-shadow:0 12px 20px rgba(38,112,232,.22);
  transition:transform .18s ease,box-shadow .18s ease;
  display:inline-flex;align-items:center;justify-content:center;gap:8px
}
.gep-btn:hover,.gep-btn-outline:hover,.gep-icon-btn:hover,.gep-detail-btn:hover{transform:translateY(-1px)}
.gep-btn-outline{
  display:inline-flex;align-items:center;gap:8px;text-decoration:none;border:1px solid #b7c7db;
  color:var(--gep-primary,#1351b4);background:#fff;border-radius:12px;padding:0 16px;
  height:42px;font-weight:700;box-shadow:0 6px 14px rgba(15,23,42,.06)
}
.gep-btn-mini-icon{display:inline-flex;align-items:center;justify-content:center;font-size:13px;line-height:1}
.gep-download-icon{
  display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;
  border-radius:999px;background:#e8f1fb;font-size:12px
}

.gep-list-toolbar{
  display:flex;justify-content:space-between;align-items:center;gap:16px;
  margin:18px 0 12px
}
.gep-list-meta-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.gep-update-badge,.gep-results-badge{
  display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:999px;
  font-size:12px;font-weight:700;border:1px solid #d8e4f2;background:#fff;color:#41556d
}
.gep-results-badge{background:#eef6ff;color:#1351b4;border-color:#cfe0f7}

.gep-export-group,.gep-export-menu{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.gep-icon-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;
  border-radius:12px;color:#fff;font-size:12px;font-weight:800;text-decoration:none;
  padding:0 12px;white-space:nowrap;box-shadow:0 10px 18px rgba(15,23,42,.14);
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease
}
.gep-icon-btn:hover{filter:brightness(1.02);box-shadow:0 14px 24px rgba(15,23,42,.18)}
.gep-icon-badge{
  display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:8px;
  background:rgba(255,255,255,.18);backdrop-filter:blur(4px);font-size:13px;line-height:1;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18)
}
.gep-btn-text{letter-spacing:.01em}
.gep-xls{background:linear-gradient(135deg,#168a49,#1c9f56)}
.gep-csv{background:linear-gradient(135deg,#eb8f00,#f6a40f)}
.gep-json{background:linear-gradient(135deg,#6d28d9,#7c3aed)}
.gep-pdf{background:linear-gradient(135deg,#dc2626,#ef4444)}
.gep-print{background:linear-gradient(135deg,#1351b4,#2670e8)}

.gep-table-wrap{
  overflow:auto;border:1px solid #d8dee8;border-radius:16px;background:#fff;
  box-shadow:0 8px 18px rgba(15,23,42,.04)
}
.gep-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1000px;background:#fff}
.gep-table thead th{
  background:linear-gradient(135deg,var(--gep-primary,#1351b4),#0c3b73);
  color:#fff;font-size:13px;font-weight:800;padding:14px 12px;text-align:left;
  border-right:1px solid rgba(255,255,255,.16)
}
.gep-table thead th:last-child{border-right:none}
.gep-table thead th:first-child{border-top-left-radius:14px}
.gep-table thead th:last-child{border-top-right-radius:14px}
.gep-table td{
  padding:14px 12px;border-bottom:1px solid #e6edf5;font-size:13px;vertical-align:top;
  color:#334155;line-height:1.5
}
.gep-table tbody tr:hover td{background:#f8fbff}
.gep-table tbody tr:last-child td{border-bottom:none}
.gep-money-chip{
  display:inline-flex;align-items:center;min-height:32px;padding:0 10px;border-radius:999px;
  background:#ecfdf3;border:1px solid #c6f0d5;color:#177245;font-weight:800
}
.gep-objeto-text{max-width:100%;color:#3b4d63}
.gep-detail-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:138px;height:38px;
  background:linear-gradient(135deg,var(--gep-primary,#1351b4),#2670e8);
  color:#fff!important;border-radius:10px;text-decoration:none;font-size:13px;font-weight:800;
  padding:0 16px;box-shadow:0 10px 18px rgba(38,112,232,.16)
}

.gep-detail-top{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;margin-bottom:18px}
.gep-detail-top h2{margin:0 0 8px;font-size:30px;color:#24364f;line-height:1.1}
.gep-breadcrumb{font-size:13px;color:#64748b}
.gep-breadcrumb a{color:var(--gep-primary,#1351b4);text-decoration:none}
.gep-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:22px}
.gep-summary-pill{
  background:linear-gradient(180deg,#f8fbff 0%,#edf5ff 100%);border:1px solid #d9e7f7;border-radius:14px;
  padding:14px 16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)
}
.gep-summary-pill small{
  display:block;color:#64748b;font-size:12px;font-weight:700;text-transform:uppercase;
  letter-spacing:.04em;margin-bottom:6px
}
.gep-summary-pill strong{display:block;color:#17324d;font-size:15px;line-height:1.35}
.gep-detail-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 24px}
.gep-detail-item{display:flex;flex-direction:column;gap:5px;font-size:14px;padding-bottom:8px;border-bottom:1px dashed #e5edf5}
.gep-detail-item strong{color:#24364f;font-size:14px}
.gep-detail-item span{color:#42566f;line-height:1.45}
.gep-detail-block{
  margin-top:20px;font-size:14px;color:#42566f;background:#fbfdff;border:1px solid #e7eef7;
  border-radius:12px;padding:14px 16px
}
.gep-detail-block strong{display:block;margin-bottom:8px;color:#24364f}
.gep-inner-meta{margin-top:24px;padding-top:2px}
.gep-inner-meta strong{font-size:14px;letter-spacing:.03em;color:#24364f}
.gep-inner-table{min-width:760px}

.gep-pagination-bar{
  display:flex;justify-content:flex-end;align-items:center;gap:18px;padding:16px 4px 0;color:#64748b;font-size:13px
}
.gep-pagination-links{display:flex;gap:6px;align-items:center}
.gep-pagination-links a,.gep-pagination-links span{
  display:inline-flex;width:30px;height:30px;border-radius:8px;align-items:center;justify-content:center;
  text-decoration:none;border:1px solid #d8dee8;color:#334155;background:#fff
}
.gep-pagination-links .is-disabled{opacity:.4}
.gep-page-current{background:#eff6ff!important;color:#1351b4!important;border-color:#bfdbfe!important}
.gep-export-dropdown{display:flex;flex-direction:column;gap:10px;align-items:flex-end}

.gep-dashboard-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gep-stat-card{background:#fff;border:1px solid #d8dee8;border-radius:14px;padding:18px;box-shadow:0 10px 22px rgba(15,23,42,.05)}
.gep-stat-card strong{display:block;color:#24364f;font-size:14px}
.gep-stat-card span{display:block;margin-top:8px;font-size:22px;font-weight:700;color:#1351b4}
.gep-public-bars{display:flex;flex-direction:column;gap:12px}
.gep-public-bar-row{display:flex;flex-direction:column;gap:6px}
.gep-public-bar-label{display:flex;justify-content:space-between;color:#24364f}
.gep-public-bar-track{height:12px;background:#e5edf8;border-radius:999px;overflow:hidden}
.gep-public-bar-fill{height:100%;background:linear-gradient(90deg,var(--gep-primary,#1351b4),#60a5fa)}

@media (max-width:1200px){
  .gep-public-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gep-field-full{grid-column:span 2}
  .gep-detail-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .gep-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:782px){
  .gep-public-filters,.gep-detail-grid,.gep-dashboard-cards,.gep-detail-summary{grid-template-columns:1fr}
  .gep-field-full{grid-column:span 1}
  .gep-actions-row,.gep-detail-top,.gep-list-toolbar,.gep-pagination-bar{flex-direction:column;align-items:stretch}
  .gep-btn,.gep-btn-outline{width:100%;justify-content:center}
  .gep-export-dropdown{align-items:stretch}
  .gep-pagination-links{justify-content:center}
  .gep-detail-top h2,.gep-hero-title{font-size:24px}
  .gep-icon-btn{justify-content:flex-start}
  .gep-hero-head{padding:18px}
}


.gep-icon-svg svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.gep-download-dropdown{position:relative}
.gep-download-dropdown summary{list-style:none}
.gep-download-dropdown summary::-webkit-details-marker{display:none}
.gep-caret{font-size:12px;opacity:.9}
.gep-export-menu-dropdown{
  position:absolute;right:0;top:calc(100% + 10px);z-index:20;
  min-width:220px;padding:12px;border-radius:16px;background:#fff;border:1px solid #d8dee8;
  box-shadow:0 18px 34px rgba(15,23,42,.14);display:grid;gap:10px
}
.gep-export-menu-dropdown .gep-icon-btn{width:100%;justify-content:flex-start}
.gep-download-dropdown:not([open]) .gep-export-menu-dropdown{display:none}
@media (max-width:782px){
  .gep-export-menu-dropdown{position:static;min-width:100%;margin-top:10px}
}


.gep-progress-card{
  margin-bottom:16px;
  padding:16px 18px;
  border:1px solid #dce8f8;
  border-radius:16px;
  background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)
}
.gep-progress-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px
}
.gep-progress-head small{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  margin-bottom:4px
}
.gep-progress-head strong{
  color:#17324d;
  font-size:28px;
  line-height:1
}
.gep-progress-values{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end
}
.gep-progress-values span{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbe7f6;
  color:#34506f;
  font-size:12px;
  font-weight:700
}
.gep-progress-track{
  width:100%;
  height:16px;
  border-radius:999px;
  overflow:hidden;
  background:#dce8f8;
  box-shadow:inset 0 1px 3px rgba(15,23,42,.08)
}
.gep-progress-fill{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg,#1351b4 0%,#2670e8 55%,#52a5ff 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25)
}
@media (max-width:782px){
  .gep-progress-head{
    flex-direction:column;
    align-items:stretch
  }
  .gep-progress-values{
    justify-content:flex-start
  }
}


.gep-progress-card.is-concluido{
  border-color:#cfead8;
  background:linear-gradient(180deg,#f3fcf6 0%,#ecfdf3 100%)
}
.gep-progress-card.is-em-execucao{
  border-color:#dce8f8;
  background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%)
}
.gep-progress-card.is-sem-execucao{
  border-color:#f4d7d7;
  background:linear-gradient(180deg,#fff7f7 0%,#fff0f0 100%)
}
.gep-progress-status-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#fff;
  border:1px solid #dbe7f6;
  color:#17324d;
  font-size:12px;
  font-weight:800
}
.gep-progress-card.is-concluido .gep-progress-status-badge{
  color:#177245;
  border-color:#c6f0d5;
  background:#f8fffb
}
.gep-progress-card.is-em-execucao .gep-progress-status-badge{
  color:#1351b4;
  border-color:#cfe0f7;
  background:#f8fbff
}
.gep-progress-card.is-sem-execucao .gep-progress-status-badge{
  color:#b42318;
  border-color:#f0c9c9;
  background:#fffafa
}
.gep-progress-card.is-concluido .gep-progress-fill{
  background:linear-gradient(90deg,#177245 0%,#2bae66 100%)
}
.gep-progress-card.is-em-execucao .gep-progress-fill{
  background:linear-gradient(90deg,#1351b4 0%,#2670e8 55%,#52a5ff 100%)
}
.gep-progress-card.is-sem-execucao .gep-progress-fill{
  background:linear-gradient(90deg,#d92d20 0%,#f97066 100%)
}
.gep-progress-legend{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:14px
}
.gep-progress-legend-item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  padding:12px 14px;
  border-radius:14px;
  background:#fff;
  border:1px solid #dbe7f6
}
.gep-progress-legend-item small{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:700;
  margin-bottom:4px
}
.gep-progress-legend-item strong{
  color:#17324d;
  font-size:15px;
  line-height:1.35
}
.gep-dot{
  width:12px;
  height:12px;
  border-radius:999px;
  margin-top:4px;
  flex:0 0 12px
}
.gep-progress-legend-item.is-pago .gep-dot{background:#2670e8}
.gep-progress-legend-item.is-restante .gep-dot{background:#cbd5e1}
.gep-progress-legend-item.is-global .gep-dot{background:#177245}
@media (max-width:782px){
  .gep-progress-legend{
    grid-template-columns:1fr
  }
}

.gep-detail-audit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:8px}
.gep-detail-audit-grid div{background:#fff;border:1px solid #dbe7f6;border-radius:12px;padding:12px}
.gep-detail-audit-grid strong{display:block;color:#17324d;font-size:13px;margin-bottom:4px}
.gep-detail-audit-grid span{display:block;color:#42566f;font-size:13px;line-height:1.45}
@media (max-width:782px){.gep-detail-audit-grid{grid-template-columns:1fr}}

.gep-timeline{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:10px}
.gep-timeline-item{display:flex;gap:10px;align-items:flex-start;border:1px solid #dbe7f6;border-radius:14px;padding:12px;background:#fff}
.gep-timeline-dot{width:12px;height:12px;border-radius:999px;margin-top:4px;flex:0 0 12px}
.gep-timeline-item.is-done .gep-timeline-dot{background:#177245}
.gep-timeline-item.is-pending .gep-timeline-dot{background:#f59e0b}
.gep-timeline-content strong{display:block;color:#17324d;font-size:13px;margin-bottom:4px}
.gep-timeline-content span{display:block;color:#42566f;font-size:13px}
@media (max-width:782px){.gep-timeline{grid-template-columns:1fr}}

.gep-api-footer{
  margin-top:22px;
  padding:18px 20px;
  border:1px solid #d8dee8;
  border-radius:16px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
  box-shadow:0 10px 24px rgba(15,23,42,.05)
}
.gep-api-footer-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  margin-bottom:14px
}
.gep-api-footer-head strong{
  color:#17324d;
  font-size:16px
}
.gep-api-footer-head span{
  color:#64748b;
  font-size:13px
}
.gep-api-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px
}
.gep-api-card{
  background:#fff;
  border:1px solid #dbe7f6;
  border-radius:14px;
  padding:14px
}
.gep-api-card strong,
.gep-api-steps strong{
  display:block;
  margin-bottom:8px;
  color:#17324d
}
.gep-api-card code,
.gep-api-example code{
  display:block;
  word-break:break-all;
  background:#0f172a;
  color:#e2e8f0;
  padding:10px 12px;
  border-radius:10px;
  font-size:12px
}
.gep-api-steps{
  background:#fff;
  border:1px solid #dbe7f6;
  border-radius:14px;
  padding:14px
}
.gep-api-steps ol{
  margin:0 0 10px 18px;
  color:#42566f
}
.gep-api-steps li{
  margin:0 0 6px
}
.gep-api-example span{
  display:block;
  margin-bottom:6px;
  color:#64748b;
  font-size:12px;
  font-weight:700
}
@media (max-width:782px){
  .gep-api-footer-head,
  .gep-api-grid{
    grid-template-columns:1fr;
    display:grid;
  }
}

.gep-api-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.gep-api-tags span{display:inline-flex;align-items:center;min-height:30px;padding:0 10px;border-radius:999px;background:#eef6ff;border:1px solid #cfe0f7;color:#1351b4;font-size:12px;font-weight:700}

:root{--gep-primary:#0f4c97;--gep-secondary:#2563eb;--gep-accent:#0ea5e9;--gep-success:#177245}
.gep-hero-head{background:linear-gradient(135deg,var(--gep-primary) 0%, var(--gep-secondary) 52%, var(--gep-accent) 100%) !important}
.gep-btn,.gep-detail-btn,.gep-print{background:linear-gradient(135deg,var(--gep-primary),var(--gep-secondary)) !important}
.gep-btn-outline{color:var(--gep-primary) !important}
.gep-table thead th{background:linear-gradient(135deg,var(--gep-primary),var(--gep-secondary)) !important}
.gep-results-badge,.gep-api-tags span{color:var(--gep-primary) !important}
.gep-progress-card.is-concluido .gep-progress-fill{background:linear-gradient(90deg,var(--gep-success),var(--gep-accent)) !important}
.gep-progress-card.is-em-execucao .gep-progress-fill{background:linear-gradient(90deg,var(--gep-primary),var(--gep-secondary),var(--gep-accent)) !important}

:root{--gep-panel-bg:#ffffff;--gep-panel-border:#dbe4ef;--gep-panel-text:#1f2937}
.gep-card,.gep-filter-card,.gep-list-card,.gep-api-footer,.gep-detail-card,.gep-panel-surface,.gep-results-wrap{
  background:var(--gep-panel-bg) !important;
  border-color:var(--gep-panel-border) !important;
  color:var(--gep-panel-text) !important;
}
.gep-filter-card h2,.gep-filter-card h3,.gep-list-card h2,.gep-detail-card strong,
.gep-table td,.gep-table th,.gep-results-badge,.gep-list-meta,.gep-front p,.gep-front label{
  color:var(--gep-panel-text);
}

.gep-dossie-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 18px;margin:10px 0}.gep-dossie-public-grid span{display:block}@media(max-width:782px){.gep-dossie-public-grid{grid-template-columns:1fr}}

/* v2.4.3 - layout público mais limpo */
.gep-front{
  font-family:Inter, "Segoe UI", Roboto, Arial, sans-serif !important;
  color:#172033;
}
.gep-hero-head{
  padding:22px 26px !important;
  border-radius:12px !important;
  box-shadow:none !important;
  margin-bottom:16px !important;
}
.gep-hero-kicker{
  display:inline-flex !important;
  align-items:center;
  min-height:28px;
  padding:0 12px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:800 !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.24) !important;
}
.gep-hero-title{
  font-size:28px !important;
  line-height:1.15 !important;
  margin:14px 0 8px !important;
  font-weight:800 !important;
  color:#fff !important;
}
.gep-hero-text{
  color:rgba(255,255,255,.92) !important;
  font-size:14px !important;
  margin:0 !important;
}

.gep-filter-card,
.gep-list-card,
.gep-detail-card,
.gep-api-footer{
  border:1px solid #dbe5f1 !important;
  border-radius:12px !important;
  background:#fff !important;
  box-shadow:none !important;
}
.gep-filter-card{
  padding:16px !important;
  margin-bottom:14px !important;
}
.gep-filter-head,
.gep-section-head{
  border-bottom:0 !important;
  padding-bottom:0 !important;
  margin-bottom:12px !important;
}
.gep-filter-head h3,
.gep-filter-head strong,
.gep-section-head h2{
  font-size:14px !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  font-weight:800 !important;
  color:#172033 !important;
}
.gep-filter-head p,
.gep-section-head p{
  font-size:13px !important;
  color:#64748b !important;
}
.gep-filter-grid{
  gap:10px 12px !important;
}
.gep-filter-grid label{
  font-size:12px !important;
  font-weight:700 !important;
  color:#26364e !important;
  margin-bottom:5px !important;
}
.gep-filter-grid select,
.gep-filter-grid input,
.gep-filter-grid .gep-input{
  min-height:38px !important;
  border-radius:8px !important;
  border:1px solid #cbd9ea !important;
  background:#fff !important;
  box-shadow:none !important;
  font-size:13px !important;
}
.gep-filter-actions{
  justify-content:flex-start !important;
  margin-top:8px !important;
}
.gep-btn,
.gep-detail-btn,
.gep-print{
  min-height:38px !important;
  border-radius:8px !important;
  box-shadow:none !important;
  font-weight:800 !important;
  padding:0 18px !important;
}
.gep-btn:hover,
.gep-detail-btn:hover,
.gep-print:hover{
  transform:none !important;
  box-shadow:none !important;
}
.gep-meta-row{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:12px 0 !important;
}
.gep-results-badge,
.gep-updated-badge{
  border-radius:999px !important;
  min-height:30px !important;
  padding:0 12px !important;
  box-shadow:none !important;
  border:1px solid #dbe5f1 !important;
  background:#fff !important;
  font-size:12px !important;
}
.gep-export-actions,
.gep-export-buttons{
  display:flex !important;
  gap:8px !important;
  justify-content:flex-end !important;
  margin:0 0 10px !important;
}
.gep-export-actions a,
.gep-export-buttons a,
.gep-export-actions button,
.gep-export-buttons button{
  min-height:34px !important;
  border-radius:8px !important;
  padding:0 12px !important;
  box-shadow:none !important;
  font-size:12px !important;
  font-weight:800 !important;
}
.gep-list-card{
  overflow:hidden !important;
}
.gep-table{
  border-collapse:separate !important;
  border-spacing:0 !important;
  width:100% !important;
}
.gep-table thead th{
  background:#f8fafc !important;
  color:#172033 !important;
  border-bottom:1px solid #dbe5f1 !important;
  font-size:12px !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  padding:14px 12px !important;
}
.gep-table tbody td{
  border-bottom:1px solid #edf2f7 !important;
  padding:13px 12px !important;
  font-size:13px !important;
  color:#26364e !important;
}
.gep-table tbody tr:hover{
  background:#f8fafc !important;
}
.gep-empty,
.gep-table-empty{
  padding:18px !important;
  color:#475569 !important;
}
.gep-pagination-bar{
  margin-top:12px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:14px !important;
}
.gep-pagination-links a,
.gep-pagination-links span{
  border-radius:8px !important;
  min-width:32px !important;
  height:32px !important;
  box-shadow:none !important;
}
.gep-api-footer,
.gep-api-link-wrap{
  margin-top:12px !important;
  display:flex !important;
  justify-content:flex-end !important;
}
.gep-api-footer .gep-btn,
.gep-api-link-wrap .gep-btn,
a[href*="api-emendas"]{
  border-radius:8px !important;
  min-height:36px !important;
  box-shadow:none !important;
}
@media(max-width:782px){
  .gep-meta-row{flex-direction:column !important;align-items:flex-start !important}
  .gep-export-actions,.gep-export-buttons{justify-content:flex-start !important;flex-wrap:wrap}
  .gep-hero-title{font-size:22px !important}
}

/* v2.4.7 - cabeçalho público simplificado */
.gep-hero-head{
  padding:18px 22px !important;
  border-radius:10px !important;
  min-height:auto !important;
  background:var(--gep-primary,#0f4c97) !important;
  box-shadow:none !important;
}
.gep-hero-kicker{
  display:none !important;
}
.gep-hero-title{
  font-size:24px !important;
  margin:0 0 6px !important;
  line-height:1.2 !important;
  font-weight:800 !important;
  color:#fff !important;
}
.gep-hero-text{
  font-size:13px !important;
  line-height:1.45 !important;
  margin:0 !important;
  color:rgba(255,255,255,.92) !important;
  max-width:900px !important;
}
@media(max-width:782px){
  .gep-hero-head{padding:16px !important}
  .gep-hero-title{font-size:20px !important}
}

/* v2.4.8 - correção da cor do botão API Pública */
.gep-api-footer .gep-btn,
.gep-api-link-wrap .gep-btn,
a[href*="api-emendas"],
a.gep-api-link,
.gep-api-footer a,
.gep-api-link-wrap a{
  color:#ffffff !important;
  text-decoration:none !important;
}
.gep-api-footer .gep-btn *,
.gep-api-link-wrap .gep-btn *,
a[href*="api-emendas"] *,
a.gep-api-link *{
  color:#ffffff !important;
}
.gep-api-footer .gep-btn:hover,
.gep-api-link-wrap .gep-btn:hover,
a[href*="api-emendas"]:hover,
a.gep-api-link:hover{
  color:#ffffff !important;
  opacity:.95;
}

/* v2.4.9.1 - colunas públicas TCE/STF */
.gep-table th,
.gep-table td{
  vertical-align:top;
}
.gep-table th:nth-child(8),
.gep-table td:nth-child(8){
  min-width:220px;
}
.gep-table th:nth-child(6),
.gep-table th:nth-child(7),
.gep-table td:nth-child(6),
.gep-table td:nth-child(7){
  white-space:nowrap;
}
@media(max-width:1200px){
  .gep-list-card{overflow-x:auto !important;}
  .gep-table{min-width:1180px;}
}

/* v2.4.9.2 - última atualização */
.gep-updated-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap:6px !important;
  min-height:32px !important;
  padding:0 13px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid #dbe5f1 !important;
  color:#334155 !important;
  font-size:13px !important;
  font-weight:500 !important;
}
.gep-updated-badge strong{
  color:#172033 !important;
  font-weight:800 !important;
}

/* v2.4.9.7 - correção colunas e detalhes */
.gep-table th,.gep-table td{vertical-align:top}
.gep-money-chip{white-space:nowrap}
.gep-money-paid{background:#eef7ff!important;border-color:#bfdbfe!important;color:#075985!important}
.gep-detail-section-title{
  grid-column:1/-1;
  font-weight:800;
  color:#172033;
  background:#f8fafc;
  border:1px solid #dbe5f1;
  border-radius:10px;
  padding:10px 12px;
  margin:8px 0;
}
.gep-table-wrap{overflow-x:auto}
.gep-table{min-width:1180px}
.gep-inner-table{min-width:760px}

/* v2.5.0 - modal limpo via AJAX e proteção contra ícones gigantes */
.gep-inline-modal-content{display:none!important}
.gep-inline-modal-content svg{width:16px!important;height:16px!important;max-width:16px!important;max-height:16px!important}
.gep-icon-badge svg,.gep-btn-mini-icon svg,.gep-icon-svg svg{
  width:16px!important;
  height:16px!important;
  max-width:16px!important;
  max-height:16px!important;
  display:block!important;
}
.gep-icon-badge,.gep-btn-mini-icon,.gep-icon-svg{
  width:22px!important;
  height:22px!important;
  min-width:22px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.gep-modal{display:none;position:fixed;inset:0;z-index:99999}
.gep-modal.is-open{display:block}
.gep-modal-backdrop{position:absolute;inset:0;background:rgba(15,23,42,.58)}
.gep-modal-dialog{position:relative;z-index:1;width:min(1120px,calc(100vw - 32px));max-height:calc(100vh - 40px);overflow:auto;margin:20px auto;background:#fff;border-radius:18px;box-shadow:0 24px 80px rgba(15,23,42,.35)}
.gep-modal-close{position:absolute;right:14px;top:10px;border:0;background:#f1f5f9!important;color:#0f172a!important;width:36px!important;height:36px!important;border-radius:999px!important;font-size:24px!important;line-height:1!important;padding:0!important;cursor:pointer;z-index:2}
.gep-modal-content{padding:22px}
.gep-modal-loading,.gep-modal-error{padding:38px;text-align:center;color:#475569;font-weight:700}
.gep-modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;border-bottom:1px solid #e2e8f0;padding-bottom:14px;margin-bottom:14px}
.gep-modal-head small{display:block;color:#64748b;font-weight:800;text-transform:uppercase;font-size:11px}
.gep-modal-head h2{margin:4px 0 0;font-size:22px;color:#172033}
.gep-modal-head-value{font-weight:900;color:#0f4c97;background:#eef6ff;border:1px solid #bfdbfe;border-radius:999px;padding:8px 14px;white-space:nowrap}
.gep-modal-progress{background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:14px;margin-bottom:14px}
.gep-modal-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e2e8f0;margin:12px 0 16px;padding-bottom:10px}
.gep-modal-tabs button{border:1px solid #dbe5f1!important;background:#f8fafc!important;color:#172033!important;border-radius:10px!important;padding:10px 14px!important;font-weight:800!important;cursor:pointer!important}
.gep-modal-tabs button.is-active{background:var(--gep-primary,#0f4c97)!important;border-color:var(--gep-primary,#0f4c97)!important;color:#fff!important}
.gep-modal-tab-panel{display:none}
.gep-modal-tab-panel.is-active{display:block}
.gep-modal-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.gep-modal-grid .gep-detail-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:12px}
.gep-modal-grid .gep-detail-item strong{display:block;color:#172033;margin-bottom:5px}
.gep-modal-grid .gep-detail-item span{color:#334155;word-break:break-word}
.gep-open-modal{cursor:pointer}
@media(max-width:900px){.gep-modal-grid{grid-template-columns:1fr}.gep-modal-head{flex-direction:column}.gep-modal-content{padding:16px}}

/* v2.5.1 - Modal Premium TCE/STF */
.gep-modal-dialog{
  width:95%!important;
  max-width:1400px!important;
}
.gep-modal-close{
  width:auto!important;
  min-width:92px!important;
  padding:0 14px!important;
  font-size:13px!important;
  font-weight:800!important;
}
.gep-modal-head-premium p{
  margin:6px 0 0!important;
  color:#64748b!important;
  font-size:13px!important;
}
.gep-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
.gep-kpi-card{
  background:#f8fafc;
  border:1px solid #dbe5f1;
  border-radius:14px;
  padding:14px;
}
.gep-kpi-card span{
  display:block;
  color:#64748b;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  margin-bottom:6px;
}
.gep-kpi-card strong{
  display:block;
  color:#0f4c97;
  font-size:18px;
  font-weight:900;
}
.gep-modal-section-label{
  grid-column:1/-1;
  margin:16px 0 10px;
  padding:10px 12px;
  border-radius:12px;
  background:#eef6ff;
  border:1px solid #bfdbfe;
  color:#0f4c97;
  font-weight:900;
}
.gep-modal-premium .gep-modal-tabs button{
  min-height:42px!important;
}
.gep-modal-premium .gep-inner-table th,
.gep-modal-premium .gep-inner-table td{
  white-space:normal!important;
}
@media(max-width:1100px){
  .gep-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  .gep-kpi-grid{grid-template-columns:1fr;}
}
