:root {
  font-family:
    Inter,
    Segoe UI,
    Arial,
    sans-serif;
  color: #19372d;
  background: #f3f6f5;
  font-size: 16px;
  font-synthesis: none;
  --green: #008c5c;
  --dark: #073d2c;
  --line: #e2e9e5;
  --muted: #64796f;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
svg path:focus-visible {
  outline: 3px solid #2abd93;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 72px;
  background: #073d2c;
  display: flex;
  align-items: center;
  flex-direction: column;
  color: #bcdbcd;
  z-index: 5;
}
.symbol {
  margin: 27px 0 40px;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -2px;
}
.symbol span {
  font-size: 10px;
  letter-spacing: 0;
  color: #68d78c;
  vertical-align: top;
}
.rail-selected,
.rail-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 11px;
  font-size: 25px;
  margin-bottom: 18px;
}
.rail-selected {
  background: #27604b;
  color: #c8f5dc;
}
.rail-button {
  background: transparent;
  color: #bcdbcd;
  font-size: 22px;
}
.rail-foot {
  margin-top: auto;
  margin-bottom: 28px;
  font-size: 14px;
  letter-spacing: 2px;
}
.shell {
  margin-left: 72px;
}
.topbar {
  height: 86px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  font-size: 14px;
  color: var(--muted);
}
.brand {
  position: relative;
  color: var(--dark);
  font-size: 31px;
  letter-spacing: -1.8px;
  font-weight: 750;
  line-height: 1;
}
.brand span {
  display: block;
  font-size: 10px;
  text-align: right;
  letter-spacing: 2px;
  margin-top: 3px;
}
.brand-divider {
  height: 26px;
  width: 1px;
  background: var(--line);
}
.environment {
  margin-left: auto;
  background: #eef5f1;
  border: 1px solid #dfebe4;
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #507562;
}
.button {
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.button.secondary {
  border: 1px solid #d6e2db;
  background: #fff;
  color: #264d3d;
}
.button.primary {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fff;
}
.button:hover {
  filter: brightness(0.97);
}
main {
  max-width: 1640px;
  margin: 0 auto;
  padding: 36px 36px 0;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
  gap: 20px;
}
.eyebrow {
  font-size: 11px;
  color: #749183;
  letter-spacing: 1.5px;
  font-weight: 750;
}
h1 {
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 10px 0;
}
p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.snapshot {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #668274;
  white-space: nowrap;
  text-align: right;
}
.snapshot span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  margin-top: 7px;
  color: #335344;
}
.filters {
  padding: 17px 20px;
  display: grid;
  grid-template-columns: minmax(230px, 1.4fr) minmax(135px, 0.8fr) minmax(
      175px,
      1fr
    ) minmax(180px, 1fr) auto;
  gap: 17px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  align-items: end;
}
.filters label span {
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.8px;
  color: #6a8174;
  margin-bottom: 8px;
}
input,
select {
  width: 100%;
  border: 1px solid #dbe4de;
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: #264637;
  font-size: 14px;
  min-width: 0;
}
select {
  appearance: none;
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%236a8174' stroke-width='1.5'/%3E%3C/svg%3E");
  background-position: right 10px center;
  background-repeat: no-repeat;
}
.text-button {
  background: none;
  border: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  white-space: nowrap;
}
.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff8e9;
  border: 1px solid #f2e4c7;
  border-radius: 9px;
  padding: 13px 18px;
  margin-top: 15px;
  color: #795b2a;
}
.notice-icon {
  font-size: 23px;
}
.notice strong {
  display: block;
  font-size: 13px;
  margin-bottom: 3px;
}
.notice span:not(.notice-icon) {
  font-size: 12px;
  line-height: 1.5;
  display: block;
}
.notice.valid {
  background: #eaf6ef;
  border-color: #cde8d7;
  color: #315d44;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 23px 0;
}
.metrics article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  min-width: 0;
}
.metrics article > span {
  font-size: 10px;
  color: #5d7969;
  font-weight: 700;
  letter-spacing: 0.65px;
  display: block;
  min-height: 24px;
}
.metrics strong {
  display: block;
  font-size: 32px;
  letter-spacing: -1px;
  color: #173d2b;
  margin: 5px 0 4px;
}
.metrics small {
  font-size: 11px;
  color: #7e8e84;
  display: block;
  line-height: 1.4;
}
.metrics .metric-highlight {
  background: #e7f3ed;
  border-color: #cee5d8;
}
.metric-highlight strong {
  color: #008957;
}
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 20px;
  align-items: start;
}
.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.map-card {
  overflow: hidden;
}
.card-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 24px 24px 0;
}
h2 {
  font-size: 19px;
  letter-spacing: -0.45px;
  margin: 7px 0 0;
  color: #1c402e;
  line-height: 1.35;
}
.segmented {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid #e1e9e3;
  background: #f4f7f5;
  border-radius: 7px;
}
.segmented button {
  background: none;
  color: #6e8375;
  border: 0;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 650;
  padding: 8px 11px;
  white-space: nowrap;
}
.segmented .active {
  color: #097f55;
  background: #fff;
  box-shadow: 0 1px 3px #162e1910;
}
.map-context {
  padding: 12px 24px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 37px;
  font-size: 11px;
  color: #819286;
}
.map-wrap {
  position: relative;
  background: radial-gradient(ellipse at center, #f5f9f6 0%, #fff 70%);
  height: 490px;
}
#map {
  width: 100%;
  height: 100%;
  display: block;
}
#map path {
  stroke: #fff;
  stroke-width: 1.2;
  cursor: pointer;
  transition:
    fill 0.15s,
    opacity 0.15s;
  vector-effect: non-scaling-stroke;
}
#map path:hover {
  stroke: #064d32;
  stroke-width: 1.8;
}
#map path.selected {
  stroke: #053d28;
  stroke-width: 2.4;
}
#map path.dimmed {
  opacity: 0.2;
}
#map text {
  font:
    600 12px Inter,
    Segoe UI,
    Arial,
    sans-serif;
  fill: #265b43;
  pointer-events: none;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #fff;
  stroke-width: 2px;
}
.map-tooltip {
  position: absolute;
  max-width: 210px;
  pointer-events: none;
  background: #103e2f;
  color: #fff;
  padding: 9px 13px;
  font-size: 12px;
  border-radius: 7px;
  box-shadow: 0 5px 20px #1234;
  top: 20px;
  left: 20px;
}
.map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #6c8976;
  font-size: 14px;
}
.map-loading[hidden] {
  display: none;
}
.map-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #ecf1ed;
  padding: 15px 24px;
  font-size: 10px;
  color: #7f9184;
  gap: 10px;
}
.map-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-swatch {
  display: inline-block;
  width: 48px;
  height: 7px;
  background: linear-gradient(90deg, #dbeee0, #0c8c5c);
  border-radius: 4px;
}
.insights {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.detail-card,
.regional-card {
  padding: 23px;
}
.empty-detail {
  font-size: 46px;
  line-height: 1;
  color: #71a58b;
  margin: 28px 0 20px;
}
.detail-card h2 {
  font-size: 23px;
  margin: 12px 0;
}
.detail-card p {
  font-size: 13px;
}
.detail-card .button.primary {
  margin-top: 23px;
  width: 100%;
  font-size: 12px;
}
.city-kicker {
  font-size: 11px;
  color: #6d8375;
  margin-top: 22px;
}
.detail-card .city-title {
  font-size: 25px;
}
.provider-card {
  padding: 13px 0;
  border-top: 1px solid #e5ece7;
  margin-top: 14px;
}
.provider-card h3 {
  font-size: 14px;
  margin: 0 0 7px;
}
.provider-card .provider-legal {
  font-size: 11px;
  line-height: 1.5;
}
.provider-card a {
  display: inline-block;
  color: #008958;
  font-size: 11px;
  margin-top: 8px;
  text-decoration: underline;
}
.detail-note {
  background: #f4f8f5;
  padding: 11px;
  border-radius: 5px;
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.6;
  color: #6b7d70;
}
.detail-metadata {
  font-size: 11px;
  color: #84938a;
  line-height: 1.8;
  margin-top: 16px;
}
.region-row {
  margin-top: 19px;
}
.region-caption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 7px;
}
.region-track {
  height: 5px;
  border-radius: 5px;
  background: #eef3ef;
  overflow: hidden;
}
.region-fill {
  height: 100%;
  background: #3ca477;
  border-radius: 5px;
}
.small-note {
  font-size: 11px;
  margin-top: 22px;
  line-height: 1.6;
}
.results {
  margin-top: 24px;
  overflow: hidden;
}
.results-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
}
.count {
  font-size: 12px;
  font-weight: 500;
  margin-left: 7px;
  background: #eaf2ed;
  color: #508069;
  border-radius: 20px;
  padding: 4px 9px;
  vertical-align: middle;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 13px;
}
thead {
  background: #f7faf8;
  color: #6a8071;
  font-size: 10px;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}
th {
  padding: 15px 24px;
  font-weight: 650;
  white-space: nowrap;
}
td {
  padding: 16px 24px;
  border-top: 1px solid #edf1ee;
  line-height: 1.6;
  vertical-align: top;
}
tbody tr:hover {
  background: #f9fcfa;
}
.city-name {
  font-weight: 650;
  color: #254836;
}
.city-code {
  display: block;
  color: #8c9a90;
  font-size: 10px;
}
.provider-name {
  font-size: 12px;
  display: block;
  color: #57715f;
  max-width: 310px;
}
.badge {
  display: inline-block;
  border-radius: 4px;
  background: #f0f3f1;
  color: #7b897f;
  padding: 4px 8px;
  font-size: 10px;
  line-height: 1.35;
}
.badge.ATENDIDA {
  background: #e1f2e8;
  color: #0a8153;
}
.badge.NAO_ATENDIDA {
  background: #fbece8;
  color: #9b5b45;
}
.badge.PAUSADA {
  background: #fff2d7;
  color: #977524;
}
.pagination {
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #7b8c7f;
}
.pagination > div {
  display: flex;
  gap: 9px;
}
.pagination .button {
  padding: 7px 13px;
  font-size: 12px;
}
.no-results {
  text-align: center;
  padding: 45px;
  color: #7d9081;
}
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0;
  font-size: 10px;
  color: #8b9b90;
}
footer > span:first-child {
  font-weight: 650;
  color: #73927e;
}
footer .text-button {
  font-size: 10px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 28px;
  max-width: 740px;
  width: calc(100% - 32px);
  color: #234433;
  max-height: 88vh;
  overflow: auto;
  box-shadow: 0 20px 80px #10342133;
}
dialog::backdrop {
  background: #102f2966;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 20px;
}
.dialog-header h2 {
  margin: 0;
}
dialog p {
  margin: 15px 0;
  font-size: 14px;
}
dialog a {
  color: #008957;
  text-decoration: underline;
}
.source-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.source-item strong {
  font-size: 14px;
  display: block;
}
.source-item small {
  display: block;
  color: #7b8e80;
  font-size: 11px;
  margin-top: 7px;
  word-break: break-all;
}
.source-item p {
  font-size: 13px;
  margin: 8px 0;
}
.import-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.file-input {
  display: block;
  padding: 18px;
  background: #f4f8f5;
  border: 1px dashed #b5cabe;
  border-radius: 8px;
  font-size: 14px;
}
.file-input input {
  display: block;
  margin-top: 12px;
  font-size: 12px;
}
.error-message {
  color: #a34433;
  background: #fff1ed;
  padding: 13px;
  border-radius: 7px;
  font-size: 13px;
  margin-top: 15px;
}
.success-message {
  color: #276e49;
  background: #eaf6ed;
  padding: 13px;
  border-radius: 7px;
  font-size: 13px;
  margin-top: 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #174735;
  color: #fff;
  border-radius: 9px;
  padding: 13px 23px;
  font-size: 14px;
  z-index: 10;
  box-shadow: 0 5px 20px #0002;
}
.filtered-chip {
  margin-top: 12px;
  font-size: 12px;
  color: #648170;
}
@media (min-width: 1500px) {
  .map-wrap {
    height: 560px;
  }
}
@media (max-width: 1200px) {
  .topbar {
    padding: 0 24px;
    gap: 16px;
  }
  main {
    padding: 28px 24px 0;
  }
  .intro h1 {
    font-size: 26px;
  }
  .workspace {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .card-heading {
    align-items: flex-start;
  }
  .segmented button {
    font-size: 10px;
    padding: 7px;
  }
  .filters {
    grid-template-columns: 1.3fr 0.8fr 1fr 1fr;
    gap: 12px;
  }
  .filters > .text-button {
    grid-column: 4;
    text-align: right;
    padding: 0;
  }
  .map-wrap {
    height: 430px;
  }
  .metrics article {
    padding: 17px;
  }
  .map-card .eyebrow {
    font-size: 9px;
  }
}
@media (max-width: 960px) {
  .workspace {
    grid-template-columns: 1fr;
  }
  .insights {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .map-wrap {
    height: 500px;
  }
  .detail-card .empty-detail {
    margin: 15px 0;
    font-size: 32px;
  }
  .snapshot {
    display: none;
  }
  .environment {
    display: none;
  }
  .topbar .button {
    margin-left: auto;
  }
  .metrics article > span {
    font-size: 9px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters > .text-button {
    grid-column: 2;
  }
  .card-heading {
    align-items: center;
  }
  .map-card .eyebrow {
    font-size: 11px;
  }
  .intro h1 {
    font-size: 25px;
  }
}
@media (max-width: 600px) {
  .rail {
    display: none;
  }
  .shell {
    margin-left: 0;
  }
  .topbar {
    height: 73px;
    padding: 0 18px;
    gap: 13px;
  }
  .brand {
    font-size: 27px;
  }
  .topbar > span:not(.brand-divider) {
    font-size: 11px;
  }
  .topbar .button {
    padding: 8px;
    font-size: 10px;
  }
  .brand-divider {
    display: none;
  }
  main {
    padding: 25px 15px 0;
  }
  .intro {
    margin-bottom: 22px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .intro h1 {
    font-size: 26px;
    max-width: 340px;
  }
  .intro p {
    font-size: 13px;
  }
  .filters {
    padding: 16px;
    gap: 14px;
  }
  .search-label {
    grid-column: 1/-1;
  }
  .filters label span {
    font-size: 9px;
  }
  .filters input,
  .filters select {
    font-size: 12px;
    padding: 11px 9px;
  }
  .filters label:nth-child(4) {
    grid-column: 1/-1;
  }
  .filters > .text-button {
    grid-column: 2;
  }
  .notice {
    align-items: flex-start;
    padding: 12px;
    gap: 9px;
  }
  .notice strong {
    font-size: 12px;
  }
  .notice span:not(.notice-icon) {
    font-size: 11px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 17px 0;
  }
  .metrics article {
    padding: 15px;
  }
  .metrics strong {
    font-size: 29px;
  }
  .metrics small {
    font-size: 10px;
  }
  .metrics article > span {
    font-size: 9px;
    min-height: 22px;
    line-height: 1.5;
  }
  .workspace {
    gap: 13px;
  }
  .card-heading {
    padding: 19px 17px 0;
    display: block;
  }
  .card-heading h2 {
    font-size: 20px;
  }
  .segmented {
    display: inline-flex;
    margin-top: 15px;
  }
  .segmented button {
    font-size: 11px;
    padding: 8px 11px;
  }
  .map-context {
    padding: 12px 17px 0;
    font-size: 10px;
  }
  .map-wrap {
    height: 360px;
  }
  .map-footer {
    padding: 13px 17px;
    font-size: 9px;
  }
  .insights {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .detail-card,
  .regional-card {
    padding: 21px;
  }
  .regional-card {
    display: none;
  }
  .results-heading {
    padding: 20px 17px;
    gap: 10px;
    align-items: flex-start;
  }
  .results-heading h2 {
    font-size: 17px;
  }
  .results-heading > .button {
    font-size: 10px;
    padding: 8px;
    white-space: normal;
    max-width: 100px;
  }
  th,
  td {
    padding: 13px 17px;
  }
  td:first-child {
    min-width: 165px;
  }
  td:nth-child(3) {
    min-width: 200px;
  }
  td:nth-child(4) {
    min-width: 140px;
  }
  .pagination {
    padding: 16px;
    font-size: 10px;
  }
  .pagination .button {
    font-size: 10px;
    padding: 7px 9px;
  }
  footer {
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px 0;
  }
  footer > span:nth-child(2) {
    order: 3;
    font-size: 9px;
  }
  dialog {
    padding: 20px;
  }
  .dialog-header h2 {
    font-size: 19px;
  }
}
/* Legibilidade para dados de consulta e controles. */
p {
  font-size: 16px;
}
.filters label span {
  font-size: 12px;
}
.filters input,
.filters select {
  font-size: 14px;
}
.metrics article > span {
  font-size: 12px;
  line-height: 1.5;
  min-height: 36px;
}
.metrics small {
  font-size: 12px;
}
.snapshot span {
  font-size: 14px;
}
.notice strong {
  font-size: 14px;
}
.notice span:not(.notice-icon) {
  font-size: 14px;
}
.card-heading h2 {
  font-size: 21px;
}
.segmented button {
  font-size: 13px;
}
.map-context {
  font-size: 13px;
}
.map-footer {
  font-size: 12px;
}
.provider-name,
.badge,
.text-button,
.region-caption {
  font-size: 14px;
}
.detail-card p,
.provider-card h3 {
  font-size: 14px;
}
.provider-card .provider-legal,
.detail-note,
.detail-metadata,
.small-note {
  font-size: 12px;
}
.provider-card a {
  font-size: 13px;
}
.pagination {
  font-size: 13px;
}
table {
  font-size: 14px;
}
thead {
  font-size: 12px;
}
.city-code {
  font-size: 12px;
}
.badge.INFORMADA {
  background: #e7f1ea;
  color: #507660;
}
.coverage-legend {
  background: linear-gradient(90deg, #e6ece8, #b5d9c5, #079b62);
}
.filters {
  grid-template-columns: minmax(220px, 1.3fr) minmax(155px, 0.8fr) minmax(
      210px,
      1fr
    ) minmax(215px, 1fr) auto;
}
.segmented {
  flex-shrink: 0;
}
.card-heading {
  flex-wrap: wrap;
}
.metrics {
  align-items: stretch;
}
.badge {
  white-space: nowrap;
}
@media (max-width: 1250px) {
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters > .text-button {
    grid-column: 2;
  }
  .metrics article > span {
    font-size: 12px;
  }
  .map-wrap {
    height: 460px;
  }
}
@media (max-width: 600px) {
  .intro p {
    font-size: 14px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
  }
  .filters label span {
    font-size: 12px;
  }
  .filters input,
  .filters select {
    font-size: 14px;
  }
  .notice span:not(.notice-icon) {
    font-size: 12px;
  }
  .metrics article > span {
    font-size: 11px;
  }
  .metrics small {
    font-size: 12px;
  }
  .segmented button {
    font-size: 13px;
  }
  .map-context {
    font-size: 12px;
  }
  .map-footer {
    font-size: 10px;
  }
  .detail-card p {
    font-size: 14px;
  }
  .map-wrap {
    height: 350px;
  }
  .pagination {
    font-size: 12px;
  }
  .pagination .button {
    font-size: 12px;
  }
  .metrics {
    gap: 10px;
  }
}
