.rext-admin,.rext-public{font-family:Arial,Helvetica,sans-serif;color:#0f172a}.rext-toolbar{display:flex;gap:16px;align-items:flex-start;flex-wrap:wrap;margin-bottom:18px}.rext-toolbar--between{justify-content:space-between}.rext-card{background:#fff;border:1px solid #dbe4f0;border-radius:18px;padding:20px;margin-bottom:18px;box-shadow:0 6px 20px rgba(15,23,42,.04)}.rext-grid{display:grid;gap:18px}.rext-grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}.rext-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.rext-btn,.rext-btn-secondary,.rext-btn-light{display:inline-flex;align-items:center;justify-content:center;padding:11px 15px;border-radius:12px;text-decoration:none;border:1px solid transparent;font-weight:700;cursor:pointer}.rext-btn{background:#0f5ef7;color:#fff}.rext-btn-secondary{background:#0f172a;color:#fff}.rext-btn-light{background:#fff;color:#0f172a;border-color:#cbd5e1}.rext-alert{padding:14px 16px;border-radius:14px;margin-bottom:16px}.rext-alert--success{background:#ecfdf5;border:1px solid #86efac;color:#166534}.rext-alert--error{background:#fef2f2;border:1px solid #fca5a5;color:#991b1b}.rext-form-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:14px}.rext-field{display:flex;flex-direction:column;gap:6px}.rext-field--12{grid-column:span 12}.rext-field--6{grid-column:span 6}.rext-field--4{grid-column:span 4}.rext-field--3{grid-column:span 3}.rext-field--2{grid-column:span 2}.rext-label{font-weight:700;color:#334155}.rext-input,.rext-select,.rext-textarea{width:100%;padding:12px 13px;border-radius:12px;border:1px solid #cbd5e1;background:#fff;color:#0f172a;box-sizing:border-box}.rext-textarea{min-height:110px;resize:vertical}.rext-checkbox{display:flex;gap:8px;align-items:center;font-weight:600;color:#334155}.rext-kv{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px dashed #dbe4f0}.rext-kv:last-child{border-bottom:none}.rext-help p{margin:.5rem 0}.rext-muted{color:#64748b}.rext-table-wrapper{overflow:auto}.rext-table{width:100%;border-collapse:collapse}.rext-table th,.rext-table td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.rext-table th{background:#f8fafc;position:sticky;top:0;z-index:1}.rext-meta-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:16px}.rext-stat{padding:16px;border:1px solid #dbe4f0;border-radius:16px;background:linear-gradient(180deg,#ffffff,#f8fafc)}.rext-stat span{display:block;color:#64748b;font-size:13px;margin-bottom:7px}.rext-stat strong{display:block;font-size:22px;line-height:1.2}.rext-search-box__header h2{margin-bottom:4px}.rext-bars{display:flex;flex-direction:column;gap:12px}.rext-bar-row{display:grid;grid-template-columns:72px 1fr;gap:10px;align-items:center}.rext-bar-label{font-weight:700;color:#334155}.rext-bar-stack{display:flex;flex-direction:column;gap:6px}.rext-bar{min-height:34px;border-radius:12px;padding:7px 10px;display:flex;align-items:center;white-space:nowrap;overflow:hidden;box-sizing:border-box}.rext-bar--emp{background:#dbeafe;color:#1d4ed8}.rext-bar--liq{background:#fef3c7;color:#92400e}.rext-bar--pag{background:#dcfce7;color:#166534}.rext-checklist{padding-left:18px}.rext-checklist li{margin-bottom:8px}.rext-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.rext-pagination a{display:inline-flex;min-width:38px;height:38px;align-items:center;justify-content:center;border:1px solid #cbd5e1;border-radius:10px;text-decoration:none;color:#0f172a;background:#fff}.rext-pagination a.is-active{background:#0f5ef7;border-color:#0f5ef7;color:#fff}code{background:#f8fafc;border:1px solid #e2e8f0;padding:1px 6px;border-radius:6px}@media (max-width:980px){.rext-grid--2,.rext-meta-grid{grid-template-columns:1fr}.rext-field--6,.rext-field--4,.rext-field--3,.rext-field--2{grid-column:span 12}.rext-bar-row{grid-template-columns:1fr}}


.rext-public{width:100%;max-width:none;display:block}.rext-public *{box-sizing:border-box}.rext-public .rext-card{width:100%;max-width:none}.rext-public .rext-table-wrapper{width:100%;overflow:auto}.rext-public .rext-table{min-width:1200px}.rext-public .rext-toolbar--between{align-items:flex-start}.rext-public .rext-actions{justify-content:flex-end}.rext-public .rext-form-grid{width:100%}@media (min-width:1200px){.rext-public{padding-right:0;padding-left:0}}


/* Ajuste full width real da página pública */
.rext-public{
  width:calc(100vw - 32px);
  max-width:calc(100vw - 32px);
  margin-left:calc(50% - 50vw + 16px);
  margin-right:calc(50% - 50vw + 16px);
  padding-left:0;
  padding-right:0;
}
.rext-public .rext-card,
.rext-public .rext-grid,
.rext-public .rext-meta-grid,
.rext-public .rext-form-grid,
.rext-public .rext-table-wrapper{
  width:100%;
  max-width:none;
}
.rext-public .rext-table{
  width:100%;
  min-width:1400px;
}
.rext-public .rext-meta-grid{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.rext-public .rext-grid--2{
  grid-template-columns:minmax(0,1.35fr) minmax(360px,.65fr);
}
.rext-public .rext-card{
  overflow:hidden;
}
body .container:has(.rext-public),
body .container-fluid:has(.rext-public),
body .content:has(.rext-public),
body .content-wrapper:has(.rext-public),
body .main-content:has(.rext-public),
body .page-content:has(.rext-public),
body .site-content:has(.rext-public),
body main:has(.rext-public),
body section:has(> .rext-public){
  width:100% !important;
  max-width:none !important;
}
@media (max-width:1400px){
  .rext-public .rext-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
  .rext-public .rext-grid--2{grid-template-columns:1fr;}
}
@media (max-width:980px){
  .rext-public{
    width:calc(100vw - 16px);
    max-width:calc(100vw - 16px);
    margin-left:calc(50% - 50vw + 8px);
    margin-right:calc(50% - 50vw + 8px);
  }
  .rext-public .rext-meta-grid{grid-template-columns:1fr;}
  .rext-public .rext-table{min-width:980px;}
}


/* v1.0.16 - visão em abas e navegação pública otimizada */
.rext-view-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 20px}.rext-view-tab{display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid #cbd5e1;border-radius:14px;background:#f8fafc;color:#334155;text-decoration:none;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.rext-view-tab strong{font-size:15px;color:#0f172a}.rext-view-tab span{font-size:12px;line-height:1.4;color:#64748b}.rext-view-tab:hover{border-color:#94a3b8;box-shadow:0 4px 14px rgba(15,23,42,.06)}.rext-view-tab.is-active{background:#eff6ff;border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.08)}.rext-view-tab.is-active strong{color:#1d4ed8}.rext-pagination__ellipsis{display:inline-flex;min-width:34px;height:38px;align-items:center;justify-content:center;color:#64748b}.rext-public .rext-table td,.rext-public .rext-table th{white-space:normal}.rext-public .rext-table th{white-space:nowrap}.rext-public .rext-table-wrapper{scrollbar-gutter:stable}.rext-public form:focus-within .rext-search-box__header{opacity:1}@media(max-width:760px){.rext-view-tabs{grid-template-columns:1fr}}

/* v1.0.21 - página pública minimalista, intuitiva, com margens e identidade visual */
.rext-public{
  --rext-blue:#1d4ed8;
  --rext-blue-soft:#eff6ff;
  --rext-cyan:#0891b2;
  --rext-cyan-soft:#ecfeff;
  --rext-green:#15803d;
  --rext-green-soft:#f0fdf4;
  --rext-amber:#b45309;
  --rext-amber-soft:#fffbeb;
  --rext-violet:#6d28d9;
  --rext-violet-soft:#f5f3ff;
  --rext-slate:#334155;
  --rext-border:#dbe4f0;
  width:calc(100vw - 40px);
  max-width:calc(100vw - 40px);
  margin:20px calc(50% - 50vw + 20px) 28px;
  padding:0;
  color:#172033;
  line-height:1.45;
}
.rext-public .rext-card{
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:20px;
  margin-bottom:16px;
  box-shadow:0 8px 26px rgba(15,23,42,.055);
}
.rext-public h1,.rext-public h2{letter-spacing:-.025em;color:#0f172a}
.rext-public h1{font-size:clamp(25px,2.3vw,34px);margin:2px 0 6px}
.rext-public h2{font-size:20px;margin:2px 0 5px}
.rext-public p{margin-top:5px}

.rext-hero-card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef7ff 100%) !important;
  border-top:4px solid var(--rext-blue) !important;
}
.rext-hero-card:after{
  content:"";
  position:absolute;
  width:220px;height:220px;border-radius:50%;
  right:-90px;top:-125px;
  background:rgba(8,145,178,.08);
  pointer-events:none;
}
.rext-hero-toolbar{position:relative;z-index:1;margin-bottom:14px !important;align-items:center !important}
.rext-hero-copy{max-width:760px}
.rext-eyebrow,.rext-section-kicker,.rext-export-label{
  display:block;
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--rext-blue);
}
.rext-hero-copy p{color:#526176;max-width:760px}
.rext-export-panel{min-width:320px;max-width:520px}
.rext-export-label{margin:0 0 7px;text-align:right;color:#64748b}
.rext-export-actions{justify-content:flex-end !important;gap:7px !important}
.rext-export-actions a{padding:8px 11px;border-radius:9px;font-size:12px;min-height:36px}
.rext-export-actions .rext-btn-secondary{background:#1e3a8a}
.rext-export-actions .rext-btn-secondary:hover{background:#172554}
.rext-export-actions .rext-btn-light:hover{background:#f8fafc;border-color:#94a3b8}

.rext-public .rext-meta-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:12px}
.rext-public .rext-stat{
  min-height:96px;
  padding:14px;
  border:0;
  border-left:4px solid #cbd5e1;
  border-radius:12px;
  box-shadow:inset 0 0 0 1px rgba(148,163,184,.22);
}
.rext-public .rext-stat span{font-size:12px;margin-bottom:7px;color:#64748b}
.rext-public .rext-stat strong{font-size:clamp(16px,1.35vw,21px);overflow-wrap:anywhere}
.rext-public .rext-stat:nth-child(1){background:var(--rext-blue-soft);border-left-color:var(--rext-blue)}
.rext-public .rext-stat:nth-child(2){background:var(--rext-amber-soft);border-left-color:#d97706}
.rext-public .rext-stat:nth-child(3){background:var(--rext-green-soft);border-left-color:var(--rext-green)}
.rext-public .rext-stat:nth-child(4){background:var(--rext-violet-soft);border-left-color:var(--rext-violet)}
.rext-public .rext-stat:nth-child(5){background:var(--rext-cyan-soft);border-left-color:var(--rext-cyan)}
.rext-public .rext-stat:nth-child(6){background:#f8fafc;border-left-color:#64748b}

.rext-filter-card{border-top:4px solid var(--rext-cyan) !important;background:#fff !important}
.rext-results-card{border-top:4px solid var(--rext-blue) !important}
.rext-chart-card{border-top:4px solid #d97706 !important}
.rext-compliance-card{border-top:4px solid var(--rext-green) !important}
.rext-section-header{margin-bottom:15px}
.rext-section-header--compact{margin-bottom:12px}
.rext-section-header p,.rext-search-box__header p{color:#64748b;margin-bottom:0}
.rext-filter-card .rext-section-kicker{color:var(--rext-cyan)}
.rext-results-card .rext-section-kicker{color:var(--rext-blue)}
.rext-chart-card .rext-section-kicker{color:#b45309}
.rext-compliance-card .rext-section-kicker{color:var(--rext-green)}

.rext-public .rext-form-grid{gap:12px}
.rext-public .rext-label{font-size:12px;color:#475569;margin-left:1px}
.rext-public .rext-input,.rext-public .rext-select{
  min-height:42px;
  padding:9px 11px;
  border-radius:9px;
  border-color:#cbd5e1;
  background:#fbfdff;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.rext-public .rext-input:focus,.rext-public .rext-select:focus{
  outline:none;border-color:#38bdf8;background:#fff;
  box-shadow:0 0 0 3px rgba(14,165,233,.12);
}
.rext-public .rext-btn{background:var(--rext-blue);border-radius:9px;padding:10px 16px}
.rext-public .rext-btn:hover{background:#1e40af}
.rext-filter-card .rext-actions{margin-top:3px}

.rext-results-header{margin-bottom:8px !important;align-items:center !important}
.rext-result-count{
  display:inline-flex;align-items:center;gap:5px;
  padding:8px 11px;border-radius:999px;
  background:#f1f5f9;color:#475569;font-size:12px;white-space:nowrap;
}
.rext-result-count strong{color:#0f172a;font-size:14px}
.rext-view-tabs--results{gap:10px;margin:12px 0 16px}
.rext-view-tab{
  padding:12px 14px;border-radius:11px;background:#fbfdff;
  border-color:#dbe4f0;box-shadow:none;
}
.rext-view-tab:first-child.is-active{background:var(--rext-blue-soft);border-color:#60a5fa}
.rext-view-tab:nth-child(2).is-active{background:var(--rext-violet-soft);border-color:#a78bfa}
.rext-view-tab:nth-child(2).is-active strong{color:var(--rext-violet)}
.rext-view-tab:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(15,23,42,.06)}

.rext-public .rext-table-wrapper{
  border:1px solid #dbe4f0;
  border-radius:12px;
  background:#fff;
  max-height:none;
}
.rext-public .rext-table{min-width:1180px}
.rext-public .rext-table th{
  background:#eef4fb;
  color:#26364d;
  font-size:12px;
  font-weight:800;
  padding:11px 12px;
  border-bottom:1px solid #cfdbea;
}
.rext-public .rext-table td{font-size:12.5px;padding:11px 12px;color:#334155}
.rext-public .rext-table tbody tr:nth-child(even){background:#f8fafc}
.rext-public .rext-table tbody tr:hover{background:#eef7ff}
.rext-public .rext-table tbody tr:last-child td{border-bottom:0}

.rext-public .rext-pagination{justify-content:center;gap:6px;margin-top:14px}
.rext-public .rext-pagination a{width:36px;min-width:36px;height:36px;border-radius:9px;font-size:12px}
.rext-public .rext-pagination a.is-active{background:var(--rext-blue);border-color:var(--rext-blue)}

.rext-insights-grid{gap:16px !important}
.rext-public .rext-bars{gap:10px}
.rext-public .rext-bar-row{grid-template-columns:56px 1fr;gap:9px}
.rext-public .rext-bar-label{font-size:12px}
.rext-public .rext-bar{min-height:30px;border-radius:8px;font-size:11px;padding:6px 9px}
.rext-public .rext-bar--emp{background:#dbeafe;color:#1e40af}
.rext-public .rext-bar--liq{background:#fef3c7;color:#92400e}
.rext-public .rext-bar--pag{background:#dcfce7;color:#166534}
.rext-public .rext-checklist{margin:10px 0 12px;padding:0;list-style:none}
.rext-public .rext-checklist li{
  position:relative;margin:0;padding:10px 10px 10px 32px;
  border-bottom:1px solid #edf2f7;color:#475569;font-size:13px;
}
.rext-public .rext-checklist li:before{
  content:"✓";position:absolute;left:9px;top:10px;
  width:16px;height:16px;display:grid;place-items:center;
  border-radius:50%;background:#dcfce7;color:#15803d;font-weight:900;font-size:10px;
}
.rext-public .rext-checklist li:last-child{border-bottom:0}

@media (max-width:1500px){
  .rext-public .rext-meta-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1100px){
  .rext-hero-toolbar{align-items:flex-start !important}
  .rext-export-panel{min-width:0;max-width:none;width:100%}
  .rext-export-label{text-align:left}
  .rext-export-actions{justify-content:flex-start !important}
  .rext-public .rext-grid--2{grid-template-columns:1fr}
}
@media (max-width:760px){
  .rext-public{
    width:calc(100vw - 24px);max-width:calc(100vw - 24px);
    margin:12px calc(50% - 50vw + 12px) 20px;
  }
  .rext-public .rext-card{padding:15px;border-radius:13px;margin-bottom:12px}
  .rext-public .rext-meta-grid{grid-template-columns:1fr 1fr;gap:8px}
  .rext-public .rext-stat{min-height:84px;padding:12px}
  .rext-public .rext-stat strong{font-size:16px}
  .rext-export-actions{display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .rext-export-actions a{width:100%;padding:8px 6px}
  .rext-view-tabs{grid-template-columns:1fr}
  .rext-result-count{margin-top:3px}
}
@media (max-width:480px){
  .rext-public .rext-meta-grid{grid-template-columns:1fr}
  .rext-export-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* v1.0.22 - página individual para cada despesa/empenho */
.rext-empenho-link{color:var(--rext-blue);font-weight:800;text-decoration:none}.rext-empenho-link:hover{text-decoration:underline}.rext-detail-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 10px;border-radius:8px;background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;text-decoration:none;font-size:11px;font-weight:800}.rext-detail-link:hover{background:#dbeafe;border-color:#93c5fd}
.rext-detail-page{--rext-detail-muted:#64748b}.rext-detail-hero{border-top:4px solid var(--rext-blue)!important;background:linear-gradient(135deg,#fff 0%,#f8fbff 55%,#eef6ff 100%)!important}.rext-detail-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap}.rext-back-link{display:inline-flex;margin-bottom:12px;color:#475569;text-decoration:none;font-size:12px;font-weight:800}.rext-back-link:hover{color:var(--rext-blue)}.rext-detail-topbar h1{margin-top:3px}.rext-detail-topbar p{font-size:15px;color:#475569;margin-bottom:0}.rext-detail-actions{justify-content:flex-end!important}.rext-detail-values{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:18px}.rext-detail-value{padding:15px;border-radius:12px;border-left:4px solid #cbd5e1;box-shadow:inset 0 0 0 1px rgba(148,163,184,.22)}.rext-detail-value span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#64748b;margin-bottom:6px}.rext-detail-value strong{display:block;font-size:clamp(18px,1.5vw,24px)}.rext-detail-value--emp{background:#eff6ff;border-left-color:#2563eb}.rext-detail-value--liq{background:#fffbeb;border-left-color:#d97706}.rext-detail-value--pag{background:#f0fdf4;border-left-color:#16a34a}.rext-detail-value--saldo{background:#f5f3ff;border-left-color:#7c3aed}.rext-detail-main-grid{grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr)}.rext-detail-section{position:relative}.rext-detail-section--blue{border-top:4px solid #2563eb!important}.rext-detail-section--cyan{border-top:4px solid #0891b2!important}.rext-detail-section--violet{border-top:4px solid #7c3aed!important}.rext-detail-section--amber{border-top:4px solid #d97706!important}.rext-detail-section--liq{border-top:4px solid #d97706!important}.rext-detail-section--pag{border-top:4px solid #16a34a!important}.rext-detail-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.rext-detail-info-grid--3{grid-template-columns:repeat(3,minmax(0,1fr))}.rext-detail-info-grid>div{min-height:75px;padding:11px 12px;border:1px solid #e2e8f0;border-radius:10px;background:#fbfdff}.rext-detail-info-grid span,.rext-detail-reference span{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#64748b;margin-bottom:5px}.rext-detail-info-grid strong,.rext-detail-reference strong{display:block;font-size:13px;line-height:1.45;color:#1e293b;overflow-wrap:anywhere}.rext-detail-text{margin-top:14px;padding:14px;border-radius:11px;background:#ecfeff;border:1px solid #cffafe;color:#334155;line-height:1.65;min-height:86px}.rext-detail-reference{margin-top:10px;padding:11px 12px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.rext-detail-movement-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.rext-detail-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}.rext-detail-section-heading h2{margin-bottom:0}.rext-detail-badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:800;white-space:nowrap}.rext-detail-table-wrapper{border-radius:10px!important}.rext-public .rext-detail-table{min-width:0!important}.rext-public .rext-detail-table th,.rext-public .rext-detail-table td{padding:10px 11px}.rext-detail-footer-update{display:flex;justify-content:flex-end;gap:5px;padding:2px 4px 10px;color:#64748b;font-size:12px}.rext-detail-not-found{max-width:760px!important;margin-left:auto!important;margin-right:auto!important}.rext-detail-not-found .rext-actions{justify-content:flex-start!important;margin-top:14px}
@media(max-width:1100px){.rext-detail-main-grid,.rext-detail-movement-grid{grid-template-columns:1fr}.rext-detail-info-grid--3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.rext-detail-values{grid-template-columns:1fr 1fr}.rext-detail-info-grid,.rext-detail-info-grid--3{grid-template-columns:1fr}.rext-detail-topbar{display:block}.rext-detail-actions{justify-content:flex-start!important;margin-top:12px}.rext-detail-footer-update{justify-content:flex-start}}
@media(max-width:480px){.rext-detail-values{grid-template-columns:1fr}}
@media print{.rext-detail-page{width:100%!important;max-width:100%!important;margin:0!important}.rext-detail-page .rext-detail-actions,.rext-detail-page .rext-back-link{display:none!important}.rext-detail-page .rext-card{box-shadow:none!important;break-inside:avoid}.rext-detail-footer-update{justify-content:flex-end!important}}


/* v1.0.28 — acesso rápido por exercício */
.rext-year-access{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-top:4px solid #2563eb !important;
  background:linear-gradient(135deg,#ffffff 0%,#f8fbff 58%,#eef8ff 100%) !important;
  overflow:hidden;
}
.rext-year-access__copy{display:flex;align-items:flex-start;gap:14px;min-width:250px}
.rext-year-access__copy .rext-section-kicker{margin-top:5px;color:#2563eb;white-space:nowrap}
.rext-year-access__copy h2{margin:0 0 4px;font-size:19px;color:#0f172a}
.rext-year-access__copy p{margin:0;color:#64748b;font-size:13px;line-height:1.45}
.rext-year-tabs{display:flex;gap:9px;align-items:stretch;justify-content:flex-end;flex-wrap:wrap}
.rext-year-tab{
  min-width:92px;
  min-height:68px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  padding:9px 14px;
  border:1px solid #bfdbfe;
  border-radius:13px;
  background:#eff6ff;
  color:#1e3a8a;
  text-decoration:none;
  box-shadow:0 2px 8px rgba(37,99,235,.06);
  transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease,background .15s ease;
}
.rext-year-tab span{font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:#64748b;font-weight:700}
.rext-year-tab strong{font-size:20px;line-height:1.1;color:#1d4ed8}
.rext-year-tab em{font-size:9px;line-height:1;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#fff;background:#2563eb;padding:4px 7px;border-radius:999px;margin-top:4px}
.rext-year-tab:hover{transform:translateY(-1px);border-color:#60a5fa;background:#dbeafe;box-shadow:0 7px 18px rgba(37,99,235,.12)}
.rext-year-tab.is-active{border-color:#1d4ed8;background:linear-gradient(180deg,#2563eb,#1d4ed8);box-shadow:0 8px 20px rgba(37,99,235,.20)}
.rext-year-tab.is-active span,.rext-year-tab.is-active strong{color:#fff}
.rext-year-tab.is-active em{background:#fff;color:#1d4ed8}
@media(max-width:980px){
  .rext-year-access{align-items:stretch;flex-direction:column;gap:14px}
  .rext-year-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding:2px 1px 7px;scrollbar-width:thin}
  .rext-year-tab{flex:0 0 auto}
}
@media(max-width:620px){
  .rext-year-access__copy{display:block;min-width:0}
  .rext-year-access__copy .rext-section-kicker{display:block;margin:0 0 5px}
  .rext-year-tab{min-width:82px;min-height:62px;padding:8px 12px}
  .rext-year-tab strong{font-size:18px}
}
@media print{.rext-year-access{display:none!important}}

/* v1.0.29 — página pública mais compacta + filtros recolhidos por padrão */
.rext-public{
  margin-top:12px;
  margin-bottom:18px;
  line-height:1.35;
}
.rext-public .rext-card{
  padding:14px 16px;
  margin-bottom:10px;
  border-radius:13px;
  box-shadow:0 5px 18px rgba(15,23,42,.045);
}
.rext-public h1{margin:0 0 4px;font-size:clamp(23px,2.1vw,31px)}
.rext-public h2{margin:0 0 3px;font-size:18px}
.rext-public p{margin:3px 0}
.rext-hero-toolbar{gap:12px;margin-bottom:8px !important}
.rext-export-label{margin-bottom:5px}
.rext-export-actions{gap:5px !important}
.rext-export-actions a{min-height:32px;padding:6px 9px}
.rext-public .rext-meta-grid{gap:7px;margin-top:8px}
.rext-public .rext-stat{min-height:72px;padding:9px 11px;border-radius:10px}
.rext-public .rext-stat span{margin-bottom:4px;font-size:11px}
.rext-public .rext-stat strong{font-size:clamp(15px,1.25vw,19px)}

.rext-year-access{gap:12px;padding-top:11px !important;padding-bottom:11px !important}
.rext-year-access__copy{gap:10px;min-width:220px}
.rext-year-access__copy h2{font-size:17px;margin-bottom:2px}
.rext-year-access__copy p{font-size:12px;line-height:1.3}
.rext-year-tabs{gap:6px}
.rext-year-tab{min-width:82px;min-height:52px;padding:6px 10px;border-radius:10px}
.rext-year-tab strong{font-size:18px}
.rext-year-tab em{margin-top:2px;padding:3px 6px}

.rext-filter-collapsible{
  padding:0 !important;
  overflow:hidden !important;
  background:#fff !important;
}
.rext-filter-summary{
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:11px 14px;
  user-select:none;
}
.rext-filter-summary::-webkit-details-marker{display:none}
.rext-filter-summary::marker{display:none;content:""}
.rext-filter-summary__copy{display:flex;align-items:center;gap:12px;min-width:0}
.rext-filter-summary__copy .rext-section-kicker{white-space:nowrap;color:var(--rext-cyan)}
.rext-filter-summary__copy h2{display:inline;margin:0 8px 0 0;font-size:17px}
.rext-filter-summary__copy p{display:inline;color:#64748b;font-size:12px}
.rext-filter-toggle{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 9px;
  border-radius:999px;
  background:#ecfeff;
  border:1px solid #a5f3fc;
  color:#0e7490;
  font-size:11px;
  font-weight:800;
}
.rext-filter-toggle::after{content:"▾";font-size:12px;transition:transform .15s ease}
.rext-filter-collapsible[open] .rext-filter-toggle::after{transform:rotate(180deg)}
.rext-filter-collapsible[open] .rext-filter-summary{border-bottom:1px solid #e2e8f0;background:#fbfeff}
.rext-filter-body{padding:11px 14px 13px}
.rext-public .rext-form-grid{gap:8px 10px}
.rext-public .rext-field{gap:3px}
.rext-public .rext-label{font-size:11px}
.rext-public .rext-input,.rext-public .rext-select{min-height:36px;padding:6px 9px;border-radius:8px;font-size:12px}
.rext-public .rext-btn,.rext-public .rext-btn-light{min-height:34px;padding:7px 12px;border-radius:8px;font-size:12px}

.rext-results-header{margin-bottom:5px !important;gap:10px}
.rext-results-header p{font-size:12px}
.rext-result-count{padding:6px 9px}
.rext-view-tabs--results{gap:7px;margin:7px 0 10px}
.rext-view-tab{gap:2px;padding:8px 10px;border-radius:9px}
.rext-view-tab strong{font-size:13px}
.rext-view-tab span{font-size:11px;line-height:1.3}
.rext-public .rext-table th,.rext-public .rext-table td{padding:8px 10px}
.rext-public .rext-pagination{margin-top:9px}
.rext-insights-grid{gap:10px !important}
.rext-section-header{margin-bottom:8px}
.rext-section-header--compact{margin-bottom:7px}
.rext-public .rext-bars{gap:7px}
.rext-public .rext-bar-stack{gap:4px}
.rext-public .rext-bar{min-height:26px;padding:4px 8px}
.rext-public .rext-checklist{margin:6px 0 8px}
.rext-public .rext-checklist li{padding-top:7px;padding-bottom:7px}
.rext-public .rext-checklist li:before{top:7px}

/* Página de detalhe também mais enxuta, sem perder legibilidade. */
.rext-detail-values{gap:7px;margin-top:10px}
.rext-detail-value{padding:10px 11px;border-radius:9px}
.rext-detail-value span{margin-bottom:3px}
.rext-detail-info-grid{gap:7px;margin-top:9px}
.rext-detail-info-grid>div{min-height:60px;padding:8px 10px;border-radius:8px}
.rext-detail-text{margin-top:9px;padding:10px;min-height:68px}
.rext-detail-reference{margin-top:7px;padding:8px 10px}
.rext-detail-section-heading{margin-bottom:8px}

@media(max-width:760px){
  .rext-public{margin-top:8px;margin-bottom:12px}
  .rext-public .rext-card{padding:11px 12px;margin-bottom:8px}
  .rext-public .rext-stat{min-height:64px;padding:8px 9px}
  .rext-filter-summary{padding:10px 11px}
  .rext-filter-summary__copy{display:block}
  .rext-filter-summary__copy .rext-section-kicker{margin-bottom:2px}
  .rext-filter-summary__copy h2,.rext-filter-summary__copy p{display:block}
  .rext-filter-summary__copy p{margin-top:2px}
  .rext-filter-body{padding:10px 11px 11px}
}
