
.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);
}
