/* NSP HU UEM — estilos da aplicação
 *
 * Arquivo único e ordenado por camadas. A ordem é intencional e preservada do
 * protótipo original: blocos posteriores refinam os anteriores (relevo 3D,
 * medidas responsivas e acabamento). Não reordenar nem fundir regras sem
 * revisar a cascata e comparar as capturas em artifacts/.
 *
 * Camadas: 1) tokens e base  2) estrutura e componentes  3) elevação/relevo
 * 4) refinamentos de acabamento  5) @media responsivos e preferências do usuário
 */

:root {
  --ink: #f2f5ff;
  --muted: #bac7e0;
  --paper: #111d37;
  --surface: #21375d;
  --nav: #101b32;
  --teal: #ad92ff;
  --teal-light: #2e325a;
  --line: #34496b;
  --red: #ff9bc3;
  --amber: #e5b1ff;
  --radius: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.5 -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-variant-numeric: tabular-nums;
}
button,
input,
select {
  font: inherit;
}
button,
select {
  cursor: pointer;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.5;
}
button,
a,
input,
select {
  outline-offset: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #31c8ff;
}
::selection {
  background: #634cb0;
  color: #101b32;
}
input {
  caret-color: var(--teal);
}
a {
  color: var(--teal);
  text-underline-offset: 4px;
}
svg {
  display: block;
}
button {
  transition:
    background 0.18s,
    color 0.18s;
}
button:hover {
  filter: brightness(0.97);
}
button:active {
  transform: translateY(1px);
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--nav);
  color: #c0d0d4;
  display: flex;
  flex-direction: column;
  padding: 30px 18px 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 10px 34px;
  color: white;
}
.brand-mark {
  width: 36px;
  height: 40px;
  color: #31c8ff;
}
.brand-name {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand small {
  display: block;
  color: #b2c7ce;
  font-size: 11px;
  margin-top: 6px;
  letter-spacing: 0.06em;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #a4bbc3;
  margin: 8px 14px 12px;
}
.nav-button {
  width: 100%;
  border: 0;
  background: none;
  color: inherit;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  border-radius: 9px;
  margin-bottom: 6px;
  font-weight: 550;
  font-size: 13px;
}
.nav-button.active {
  background: #304775;
  color: #fff;
}
.nav-button.active .icon {
  color: #31c8ff;
}
.nav-button:hover {
  background: #253b62;
  color: white;
}
.nav-divider {
  height: 1px;
  background: #34496b;
  margin: 24px 12px;
}
.hospital {
  margin-top: auto;
  padding: 22px 12px;
  color: #c8d7dc;
  font-size: 12px;
}
.hospital strong {
  display: block;
  color: #fff;
  font-size: 13px;
  margin-bottom: 4px;
}
.profile {
  display: flex;
  gap: 10px;
  align-items: center;
  border-top: 1px solid #34496b;
  padding: 18px 8px 0;
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #314477;
  color: #e6e8ff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.profile strong {
  font-size: 12px;
  color: white;
  display: block;
}
.profile small {
  font-size: 11px;
  color: #b5c8ce;
}
.workspace {
  min-width: 0;
}
.topbar {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  gap: 16px;
}
.crumb {
  font-size: 12px;
  color: var(--muted);
}
.crumb strong {
  font-weight: 550;
  color: var(--ink);
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.demo-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d4cdff;
  background: #2d3254;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.dot {
  height: 6px;
  width: 6px;
  background: #ad92ff;
  border-radius: 50%;
}
.today {
  font-size: 11px;
  color: var(--muted);
}
main {
  max-width: 1650px;
  margin: auto;
  padding: 30px 36px 24px;
}
.title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 24px;
}
h1 {
  font-size: 30px;
  letter-spacing: -0.035em;
  margin: 0;
  font-weight: 700;
  line-height: 1.25;
}
h1 span {
  font-weight: 400;
  color: #c7b2ff;
}
p {
  margin: 0;
}
.subtitle {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}
.button {
  background: var(--surface);
  border: 1px solid #435b82;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
  min-height: 38px;
}
.button.primary {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}
.button .icon {
  width: 15px;
  height: 15px;
}
.filters {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.filter {
  background: var(--surface);
  border: 1px solid #435b82;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
}
.filter label {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.filter select {
  border: 0;
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  padding: 8px 20px 8px 0;
  max-width: 230px;
  min-height: 38px;
}
.search {
  margin-left: auto;
  min-width: 210px;
  flex: 1;
  max-width: 280px;
}
.search .icon {
  width: 16px;
  color: var(--muted);
}
.search input {
  border: 0;
  min-width: 0;
  width: 100%;
  padding: 8px 0;
  background: transparent;
  font-size: 12px;
}
.search input::placeholder {
  color: #62757b;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.metric {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  position: relative;
  min-height: 141px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.metric-label {
  font-size: 12px;
  font-weight: 550;
  color: var(--muted);
}
.metric-head {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.metric-head .icon {
  width: 18px;
  color: #abbfe7;
}
.metric-value {
  font-size: 39px;
  letter-spacing: -0.045em;
  font-weight: 650;
  line-height: 1.1;
  margin: 10px 0 9px;
}
.metric-foot {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.metric.featured {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
.metric.featured .metric-label,
.metric.featured .metric-foot {
  color: #e2eaff;
}
.metric.featured .icon {
  color: #a9dfff;
}
.metric .corner {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 15px;
  height: 15px;
  color: #aabde1;
}
.metric.featured .corner {
  color: #c5c1ff;
}
.analytics {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 21px 22px 0;
}
h2 {
  font-size: 15px;
  font-weight: 650;
  margin: 0;
  letter-spacing: -0.015em;
}
.panel-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.trend {
  background: var(--nav);
  border-color: var(--nav);
  color: #f6faf8;
  overflow: hidden;
}
.trend .panel-subtitle {
  color: #becbe4;
}
.period-note {
  font-size: 11px;
  color: #d7ddff;
  background: #30456a;
  border-radius: 5px;
  padding: 5px 8px;
  white-space: nowrap;
}
.legend {
  display: flex;
  gap: 17px;
  font-size: 11px;
  color: #cbd6ee;
  margin: 18px 22px 0;
}
.legend span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend i {
  width: 16px;
  height: 3px;
  display: inline-block;
  background: #cf73ff;
  border-radius: 3px;
}
.legend .second {
  background: #31c8ff;
}
.chart-wrap {
  height: 205px;
  padding: 0 18px 0 8px;
}
.chart-wrap svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.trend-footer {
  border-top: 1px solid #3c5274;
  margin: 0 22px;
  padding: 12px 0 15px;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #bdcce5;
}
.trend-footer strong {
  color: #e6eaff;
  font-weight: 550;
}
.text-button {
  border: 0;
  background: transparent;
  color: var(--teal);
  font-size: 11px;
  font-weight: 650;
  padding: 5px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-button .icon {
  width: 14px;
  height: 14px;
}
.type-body {
  padding: 24px 22px 18px;
}
.type-row {
  margin-bottom: 18px;
}
.type-row:last-child {
  margin-bottom: 0;
}
.type-label {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 8px;
  gap: 8px;
}
.type-label span {
  color: var(--muted);
}
.type-label strong {
  font-size: 12px;
}
.bar-track {
  height: 7px;
  background: #182b4b;
  border-radius: 10px;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 10px;
  transition: width 0.5s var(--ease);
}
.type-footer {
  border-top: 1px solid var(--line);
  margin: 0 22px;
  padding: 13px 0;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 20px;
}
.badge {
  border-radius: 5px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge.red {
  background: #4c284b;
  color: #ffb8d6;
}
.badge.amber {
  background: #393254;
  color: #ebc1ff;
}
.badge.teal {
  background: #25385d;
  color: #9edfff;
}
.badge.gray {
  background: #293a5c;
  color: #d0d9ee;
}
.priority-tabs {
  display: flex;
  gap: 18px;
  margin: 16px 22px 0;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.tab {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 0 0 10px;
  white-space: nowrap;
}
.tab[aria-selected='true'] {
  color: var(--teal);
  border-bottom-color: var(--teal);
  font-weight: 650;
}
.priority-list {
  padding: 0 22px;
}
.priority-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  text-align: left;
}
.priority-item:last-child {
  border-bottom: 0;
}
.item-icon {
  width: 31px;
  height: 33px;
  background: #3a2d50;
  border-radius: 8px;
  color: #f4a6f2;
  display: grid;
  place-items: center;
}
.item-icon .icon {
  width: 16px;
}
.item-title {
  font-size: 12px;
  font-weight: 550;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}
.item-end {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item-end .icon {
  height: 14px;
  width: 14px;
  color: var(--muted);
}
.panel-bottom {
  border-top: 1px solid var(--line);
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
.flow {
  padding: 17px 22px 10px;
}
.flow-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.flow-index {
  font-size: 11px;
  color: #c3cef2;
  background: #26365b;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.flow-label {
  font-size: 11px;
}
.flow-track {
  height: 4px;
  background: #182b4b;
  margin-top: 6px;
  border-radius: 4px;
  overflow: hidden;
}
.flow-track div {
  height: 100%;
  background: linear-gradient(90deg, #31c8ff, #a18aff);
  min-width: 0;
}
.flow-number {
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 650;
  min-width: 26px;
  text-align: right;
}
.flow-footer {
  margin: 0 22px 18px;
  border-radius: 8px;
  background: #2b3158;
  padding: 12px;
  display: flex;
  gap: 10px;
  color: #d6c9ff;
  font-size: 11px;
  align-items: center;
}
.flow-footer .icon {
  width: 19px;
  height: 19px;
}
.footnote {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #b4c5df;
  font-size: 11px;
  margin-top: 20px;
}
.empty {
  padding: 32px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}
.empty strong {
  display: block;
  color: var(--ink);
  margin-bottom: 5px;
}
.mobile-brand {
  display: none;
}
dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 24px 80px #00000026;
}
dialog::backdrop {
  background: #101b3266;
  backdrop-filter: blur(3px);
}
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(650px, 100%);
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  border-radius: 16px 0 0 16px;
}
.sheet-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.dialog-head {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
}
.dialog-head h2 {
  font-size: 22px;
}
.close {
  border: 0;
  background: #182b4b;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.close .icon {
  width: 16px;
}
.dialog-content {
  padding: 24px;
  overflow: auto;
  flex: 1;
}
.case-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case-button {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: 10px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.case-button strong {
  font-size: 13px;
  display: block;
}
.case-button small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 5px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 24px 0;
}
.detail-grid dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 4px;
}
.detail-grid dd {
  font-size: 13px;
  margin: 0;
}
.detail-section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.detail-section h3 {
  font-size: 13px;
  margin: 0 0 8px;
}
.detail-section p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}
.detail-section ul {
  padding-left: 18px;
  font-size: 12px;
  color: var(--muted);
}
.back {
  margin-bottom: 20px;
}
.settings {
  width: min(480px, calc(100% - 24px));
  border-radius: 16px;
}
.settings label {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-size: 13px;
}
.settings input {
  accent-color: var(--teal);
  width: 18px;
  height: 18px;
}
.settings label small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.settings-footer {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line);
}
.settings-error {
  font-size: 12px;
  color: var(--red);
  padding-top: 12px;
}
.notice {
  font-size: 11px;
  color: var(--muted);
  background: #223553;
  padding: 12px;
  border-radius: 8px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border-radius: 10px;
  color: white;
  background: var(--nav);
  box-shadow: 0 8px 30px #00000026;
  z-index: 10;
  font-size: 12px;
  display: none;
  max-width: 90%;
}
#toast.show {
  display: block;
  animation: reveal 0.3s var(--ease);
}
@keyframes reveal {
  from {
    clip-path: inset(0 0 100% 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (min-width: 1700px) {
  main {
    padding-top: 40px;
  }
  .metric {
    min-height: 155px;
  }
  .chart-wrap {
    height: 240px;
  }
  .priority-item {
    padding: 18px 0;
  }
}
@media (max-width: 1200px) {
  .shell {
    grid-template-columns: 184px minmax(0, 1fr);
  }
  .sidebar {
    padding-left: 12px;
    padding-right: 12px;
  }
  .topbar {
    padding: 0 24px;
  }
  main {
    padding: 24px;
  }
  .analytics,
  .bottom {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
  }
  .metric {
    padding: 16px 14px;
  }
  .metric-label {
    font-size: 11px;
  }
  .metric-value {
    font-size: 34px;
  }
  .metric-foot {
    font-size: 11px;
  }
  .today {
    display: none;
  }
  .type-body {
    padding: 22px 18px;
  }
  .panel-head {
    padding: 18px 18px 0;
  }
  .priority-list {
    padding: 0 16px;
  }
  .priority-tabs {
    margin-left: 16px;
    margin-right: 16px;
  }
  .item-end {
    gap: 3px;
  }
}
@media (max-width: 1000px) {
  .shell {
    grid-template-columns: 72px minmax(0, 1fr);
  }
  .sidebar {
    padding: 24px 10px 14px;
  }
  .brand {
    padding: 0 8px 28px;
  }
  .brand-name,
  .brand small,
  .nav-label,
  .nav-button span,
  .hospital,
  .profile > div:last-child {
    display: none;
  }
  .nav-button {
    padding: 14px;
    justify-content: center;
  }
  .nav-divider {
    margin: 16px 8px;
  }
  .profile {
    margin-top: auto;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
  }
  .analytics,
  .bottom {
    grid-template-columns: minmax(0, 1.3fr) minmax(250px, 1fr);
  }
  .title-row {
    align-items: flex-start;
  }
  h1 {
    font-size: 27px;
  }
  .subtitle {
    max-width: 370px;
  }
  .metrics {
    gap: 10px;
  }
  .search {
    max-width: none;
    flex: 1;
  }
  .filters {
    gap: 8px;
  }
}
@media (max-width: 760px) {
  .analytics,
  .bottom {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metric-value {
    font-size: 36px;
  }
  .metric-foot {
    font-size: 11px;
  }
  .chart-wrap {
    height: 215px;
  }
  .type-row {
    margin-bottom: 20px;
  }
  .title-row .button {
    font-size: 0;
    padding: 10px;
  }
  .title-row .button .icon {
    width: 18px;
    height: 18px;
  }
  .crumb {
    font-size: 11px;
  }
  .topbar {
    padding: 0 20px;
  }
  .demo-tag {
    font-size: 11px;
    padding: 5px 7px;
  }
  .filter select {
    max-width: 180px;
  }
  .search {
    max-width: none;
    flex-basis: 100%;
  }
  .panel-head {
    padding: 20px 20px 0;
  }
  .type-body {
    padding: 22px;
  }
  .today {
    display: none;
  }
  .metrics {
    margin-bottom: 18px;
  }
  .analytics {
    margin-bottom: 18px;
    gap: 18px;
  }
  .bottom {
    gap: 18px;
  }
}
@media (max-width: 480px) {
  .shell {
    display: block;
  }
  .sidebar {
    position: static;
    height: auto;
    padding: 12px 14px;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    overflow: auto;
  }
  .brand {
    padding: 0 12px 0 0;
    gap: 8px;
  }
  .brand-mark {
    width: 26px;
    height: 30px;
  }
  .sidebar nav {
    display: flex;
    gap: 4px;
  }
  .nav-button {
    margin: 0;
    padding: 10px;
  }
  .sidebar .nav-divider,
  .sidebar .profile,
  .sidebar .secondary-nav {
    display: none;
  }
  .topbar {
    height: 48px;
    padding: 0 16px;
  }
  .crumb {
    font-size: 11px;
  }
  .demo-tag {
    font-size: 11px;
  }
  .top-actions {
    gap: 0;
  }
  main {
    padding: 22px 16px;
  }
  h1 {
    font-size: 25px;
  }
  .subtitle {
    font-size: 11px;
  }
  .title-row {
    gap: 10px;
    margin-bottom: 20px;
  }
  .filter {
    flex: 1;
    padding: 0 9px;
    gap: 5px;
    min-width: 0;
  }
  .filter label {
    font-size: 11px;
  }
  .filter select {
    font-size: 11px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 0;
  }
  .filters {
    margin-bottom: 18px;
  }
  .search {
    flex-basis: 100%;
  }
  .metric {
    padding: 14px 13px;
    min-height: 136px;
  }
  .metric-foot {
    font-size: 11px;
  }
  .metric .corner {
    right: 12px;
    bottom: 14px;
  }
  .legend {
    margin-left: 20px;
    gap: 12px;
    font-size: 11px;
  }
  .trend-footer {
    font-size: 11px;
    gap: 12px;
    margin: 0 18px;
  }
  .period-note {
    font-size: 11px;
  }
  .panel-head {
    padding: 18px 16px 0;
  }
  .panel-subtitle {
    font-size: 11px;
  }
  h2 {
    font-size: 14px;
  }
  .item-title {
    font-size: 11px;
  }
  .item-meta {
    font-size: 11px;
  }
  .priority-item {
    grid-template-columns: 27px minmax(0, 1fr) auto;
    gap: 8px;
  }
  .item-icon {
    width: 27px;
    height: 30px;
  }
  .badge {
    font-size: 11px;
    padding: 3px 5px;
  }
  .priority-tabs {
    gap: 16px;
  }
  .tab {
    font-size: 11px;
  }
  .panel-bottom {
    padding: 10px 16px;
  }
  .footnote {
    font-size: 11px;
  }
  .sheet {
    border-radius: 0;
  }
  .detail-grid {
    gap: 14px;
  }
  .dialog-content {
    padding: 18px;
  }
  .dialog-head {
    padding: 18px;
  }
  .dialog-head h2 {
    font-size: 20px;
  }
}
@media (max-width: 480px) {
  .topbar {
    height: auto;
    min-height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
  }
  .metric-foot {
    max-width: calc(100% - 12px);
  }
  .legend {
    flex-wrap: wrap;
  }
  .trend-footer {
    align-items: flex-start;
  }
  .panel-bottom {
    gap: 12px;
  }
}
.metrics[data-count='1'] {
  grid-template-columns: minmax(0, 1fr);
}
.metrics[data-count='2'] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.metrics[data-count='3'] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.back .icon {
  transform: rotate(180deg);
}
@media (max-width: 760px) {
  .metrics[data-count='3'] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .item-title {
    white-space: normal;
    font-size: 12px;
    line-height: 1.4;
  }
  .case-button {
    flex-wrap: wrap;
  }
  .trend-footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Direção visual solicitada: azul profundo, ciano, violeta e magenta. */
:root {
  color-scheme: dark;
  --surface: #21375d;
  --paper: #111d37;
  --nav: #0d172e;
  --ink: #f2f5ff;
  --muted: #bac7e0;
  --line: #3b5074;
  --teal: #bfa8ff;
}
body {
  background: var(--paper);
}
.workspace {
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, #d94fea, #8878ff, #31c8ff) 1;
}
.topbar {
  background: #162642;
}
.sidebar {
  background: #0d172e;
}
.panel {
  background: #21375d;
  border-color: #344c75;
}
.trend {
  background: #1b2f53;
  border-color: #344c75;
}
.filter,
.button {
  background: #21375d;
  border-color: #425b83;
}
.filter select {
  background: #21375d;
  color: var(--ink);
}
.search input::placeholder {
  color: #b5c5df;
}
.metric {
  background: #263f6a;
  border-color: #3b5684;
  padding: 17px 18px 18px;
  align-items: center;
  min-height: 246px;
}
.metric-head {
  align-items: flex-start;
}
.metric-label {
  color: #edf1ff;
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
}
.metric-head .icon {
  color: #b5c5eb;
  width: 17px;
  height: 17px;
  margin-top: 1px;
}
.metric-ring {
  width: 137px;
  height: 137px;
  margin: 3px auto 2px;
}
.metric-ring svg {
  width: 100%;
  height: 100%;
}
.metric-share {
  font-size: 12px;
  font-weight: 600;
  color: #ddd4ff;
  text-align: center;
  margin-top: 1px;
}
.metric-foot {
  font-size: 11px;
  color: #b9c9e4;
  text-align: center;
  justify-content: center;
  margin-top: 7px;
  max-width: calc(100% - 12px);
  line-height: 1.5;
}
.metric .corner {
  bottom: 15px;
  right: 13px;
  color: #c3c2ff;
}
.metric-histogram {
  height: 137px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 3px 0 2px;
}
.metric-histogram svg {
  width: 100%;
  height: 78px;
}
.histogram-value {
  font-size: 31px;
  font-weight: 650;
  line-height: 1.2;
}
.nav-button.active {
  background: #2a3e6b;
}
.nav-button.active .icon {
  color: #77d8ff;
}
.nav-button:hover {
  background: #24375b;
}
.nav-divider,
.profile {
  border-color: #2c4061;
}
.nav-divider {
  background: #2c4061;
}
.avatar {
  background: #343b70;
  color: #e0d4ff;
}
.brand-mark {
  color: #6cdbff;
}
.demo-tag {
  background: #303456;
  color: #e0d5ff;
}
.dot {
  background: #d96cff;
}
.period-note {
  background: #334977;
  color: #e0e6ff;
}
.legend i {
  background: #cf73ff;
}
.legend .second {
  background: #31c8ff;
}
.trend-footer {
  border-color: #405778;
}
.bar-track {
  background: #152743;
}
.bar-fill {
  border-radius: 3px;
}
.flow-track {
  background: #142641;
  height: 6px;
}
.flow-index {
  background: #35416d;
  color: #d7d6ff;
}
.flow-footer {
  background: #30345b;
  color: #e4d5ff;
}
.item-icon {
  background: #3d315b;
  color: #f19bf4;
}
.priority-item:hover {
  background: #293f64;
}
.tab[aria-selected='true'] {
  color: #87dfff;
  border-bottom-color: #31c8ff;
}
.text-button {
  color: #a8dbff;
}
.badge.red {
  background: #4a2b50;
  color: #ffb7dc;
}
.badge.amber {
  background: #3b315f;
  color: #eec6ff;
}
.badge.teal {
  background: #2c406a;
  color: #a7e1ff;
}
.badge.gray {
  background: #314569;
  color: #dee6fb;
}
.notice {
  background: #253b60;
}
.close {
  background: #33476e;
}
.sheet,
.settings {
  background: #1b2e50;
}
.case-button {
  background: #233b62;
}
.case-button:hover {
  background: #2a456e;
}
.settings input {
  accent-color: #aa89ff;
}
.settings-error {
  color: #ffb7dc;
}
.button.primary {
  background: #a18aff;
  border-color: #a18aff;
  color: #121c37;
}
.button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline-color: #31c8ff;
}
::selection {
  background: #6752ae;
  color: #fff;
}
.flow-number {
  font-size: 15px;
  color: #ddd8ff;
}
.flow-row:nth-child(1) .flow-track div {
  background: #31c8ff;
}
.flow-row:nth-child(2) .flow-track div {
  background: #a18aff;
}
.flow-row:nth-child(3) .flow-track div {
  background: #e154ed;
}
.flow-row:nth-child(4) .flow-track div {
  background: #628cff;
}
@media (max-width: 1200px) {
  .metric {
    padding: 16px 14px;
    min-height: 248px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-share {
    font-size: 11px;
  }
  .metric-foot {
    font-size: 11px;
  }
}
@media (max-width: 760px) {
  .metric {
    min-height: 247px;
  }
  .metric-ring {
    width: 134px;
    height: 134px;
  }
}
@media (max-width: 480px) {
  .metric {
    padding: 14px 10px;
    min-height: 251px;
  }
  .metric-ring {
    width: 120px;
    height: 120px;
    margin-top: 6px;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-head .icon {
    width: 14px;
    height: 14px;
  }
  .metric-share {
    font-size: 11px;
    line-height: 1.4;
  }
  .metric-foot {
    font-size: 11px;
    max-width: 100%;
    padding-bottom: 12px;
  }
  .metric .corner {
    bottom: 10px;
    right: 10px;
  }
  .metric-histogram {
    height: 132px;
  }
}

/* Relevo 3D: faces laterais, luz superior e sombra de contato. */
.metric {
  background: linear-gradient(135deg, #344d80 0%, #273d6a 65%, #22355d 100%);
  border-color: #526894;
  box-shadow:
    inset 0 1px 0 #b5c9ff26,
    inset 1px 0 0 #adc7ff0d,
    0 6px 0 #142441,
    0 13px 22px #00000024;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}
.metric:hover {
  transform: translateY(-3px);
  filter: none;
  box-shadow:
    inset 0 1px 0 #d6e2ff38,
    0 8px 0 #142441,
    0 17px 27px #00000035;
}
.metric:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 0 #b5c9ff26,
    0 3px 0 #142441,
    0 7px 12px #00000024;
}
.metric-ring {
  width: 158px;
  height: 159px;
  margin: 0 auto 1px;
}
.metric {
  min-height: 275px;
}
.metric-share {
  margin-top: 3px;
}
.panel {
  background: linear-gradient(145deg, #2a4067 0%, #213456 100%);
  border-color: #41577b;
  box-shadow:
    inset 0 1px 0 #c5d6ff14,
    0 5px 0 #101f38,
    0 12px 22px #0000001c;
}
.trend {
  background: linear-gradient(145deg, #263b60, #1b2e50);
}
.metrics {
  gap: 18px;
  margin-bottom: 29px;
}
.analytics,
.bottom {
  gap: 24px;
}
.analytics {
  margin-bottom: 29px;
}
.bar-track {
  height: 11px;
  border-radius: 4px;
  overflow: visible;
  background: #12213b;
  box-shadow: inset 0 2px 3px #00000050;
}
.bar-fill {
  position: relative;
  border-radius: 3px;
  box-shadow:
    0 4px 0 color-mix(in srgb, var(--bar-color) 40%, #0d1830),
    0 7px 9px #00000035;
}
.bar-fill::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #ffffff5c, #ffffff06 45%, #00000014);
}
.bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: #ffffff38;
  border-radius: 1px;
}
.type-row {
  margin-bottom: 22px;
}
.flow-track {
  height: 7px;
  overflow: visible;
  box-shadow: inset 0 2px 3px #00000055;
  border-radius: 3px;
}
.flow-track div {
  border-radius: 3px;
  box-shadow:
    inset 0 1px 0 #ffffff65,
    0 3px 0 #111d38,
    0 5px 7px #00000033;
}
.flow-index {
  box-shadow:
    inset 0 1px 0 #aebdff3b,
    0 3px 0 #172340;
}
.nav-button.active {
  box-shadow:
    inset 0 1px 0 #a8c0ff26,
    0 4px 8px #00000025;
}
.metric-histogram {
  height: 159px;
}
.metric-histogram rect {
  filter: drop-shadow(2px 4px 0 #12233f);
}
@media (max-width: 1200px) {
  .metric {
    min-height: 275px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .metric-ring {
    width: 148px;
    height: 152px;
  }
}
@media (max-width: 760px) {
  .metric {
    min-height: 274px;
  }
  .metric-ring {
    width: 151px;
    height: 155px;
  }
}
@media (max-width: 480px) {
  .metrics {
    gap: 12px;
  }
  .metric {
    min-height: 272px;
    padding: 13px 8px;
  }
  .metric-ring {
    width: 125px;
    height: 139px;
    max-width: 100%;
  }
  .metric-label {
    font-size: 12px;
  }
  .metric-head .icon {
    width: 13px;
    height: 13px;
  }
  .metric-foot {
    padding-bottom: 12px;
  }
  .metric-share {
    margin-top: 0;
  }
  .metric-histogram {
    height: 139px;
  }
  .analytics,
  .bottom {
    gap: 22px;
  }
  .metric:hover {
    transform: none;
  }
}

/* Tokens de visualização: gráfico e anéis leem daqui, para o tema claro não depender
 * de valores fixos no JavaScript. */
:root {
  /* Paleta de dados: a mesma nos dois temas (canais, anéis e histograma). */
  --dados-1: #e154ed;
  --dados-2: #31c8ff;
  --dados-3: #a18aff;
  --dados-4: #628cff;
  --dados-5: #ff9bc3;
  --chart-axis: #becbe4;
  --chart-grid: #3b5278;
  --chart-total: #cf73ff;
  --chart-harm: #31c8ff;
  --chart-area: #ac77ff;
  --ring-track-1: #3c5285;
  --ring-track-2: #172747;
  --ring-track-3: #0d1a35;
  --ring-well-1: #182848;
  --ring-well-2: #243960;
  --ring-well-3: #334b76;
  --ring-depth: #0b1832;
  --ring-shadow: #080f22;
  --ring-highlight: #d4e0ff;
  --ring-center: #f6f7ff;
  --ring-center-stroke: #11203c;
}

/* ===== Tema: controle ===== */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.theme-toggle .icon {
  width: 15px;
  height: 15px;
}
.theme-toggle:hover {
  color: var(--ink);
  background: #ffffff14;
}
.theme-toggle[aria-pressed='true'] {
  color: var(--ink);
  border-color: #8f7bff66;
}
@media (max-width: 760px) {
  .theme-toggle {
    padding: 6px 9px;
  }
  .theme-toggle span {
    display: none;
  }
}
@media (max-width: 480px) {
  .theme-toggle {
    padding: 6px 8px;
  }
}

/* ===== Tema claro =====
 * Terceira camada, somente superfícies e textos. A paleta de dados (magenta, ciano,
 * violeta, azul), o relevo 3D e as proporções permanecem as aprovadas. Prefixo com
 * :root[data-tema="claro"] para vencer as camadas anteriores sem reescrevê-las.
 */
:root[data-tema='claro'] {
  --ink: #16233a;
  --muted: #4f627f;
  --paper: #eef2f9;
  --surface: #ffffff;
  --nav: #ffffff;
  --line: #d6dfee;
  --teal: #5b3fe0;
  --teal-light: #ecebfb;
  --red: #a8144a;
  --amber: #7d5200;
  --chart-axis: #5b6d8a;
  --chart-grid: #dbe4f1;
  --chart-total: #6440cf;
  --chart-harm: #0c7fae;
  --chart-area: #9a7bff;
  --ring-track-1: #ccd7e9;
  --ring-track-2: #bccbe1;
  --ring-track-3: #adbfd8;
  --ring-well-1: #e7eefa;
  --ring-well-2: #dbe5f5;
  --ring-well-3: #cddaee;
  --ring-depth: #b7c6dc;
  --ring-shadow: #93a6c1;
  --ring-highlight: #ffffff;
  --ring-center: #16233a;
  --ring-center-stroke: #ffffff;
  color-scheme: light;
}
:root[data-tema='claro'] body {
  background: radial-gradient(120% 90% at 50% -10%, #ffffff 0%, #f2f6fc 42%, #e7eefa 100%);
  color: var(--ink);
}
:root[data-tema='claro'] .sidebar {
  background: #f7f9fd;
  color: #3d4d66;
  border-right: 1px solid var(--line);
}
:root[data-tema='claro'] .sidebar .nav-label {
  color: #5f7089;
}
:root[data-tema='claro'] .nav-button {
  color: #3d4d66;
}
:root[data-tema='claro'] .nav-button:hover {
  background: #e9eff9;
  color: #16233a;
}
:root[data-tema='claro'] .nav-button.active {
  background: #e8e6fd;
  color: #4b32c3;
}
:root[data-tema='claro'] .nav-button.active .icon {
  stroke: #5b3fe0;
}
:root[data-tema='claro'] .nav-divider {
  background: var(--line);
}
:root[data-tema='claro'] .hospital {
  color: #54637d;
}
:root[data-tema='claro'] .profile {
  border-color: var(--line);
}
:root[data-tema='claro'] .profile small {
  color: #7d8ca6;
}
:root[data-tema='claro'] .avatar {
  background: #e6eaf6;
  color: #33415c;
}
:root[data-tema='claro'] .topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
:root[data-tema='claro'] .crumb {
  color: #5f7089;
}
:root[data-tema='claro'] .crumb strong {
  color: #16233a;
}
:root[data-tema='claro'] .today {
  color: #5f7089;
}
:root[data-tema='claro'] .demo-tag {
  background: #efeafd;
  color: #4b32c3;
  border-color: #d8d0fb;
}
:root[data-tema='claro'] .demo-tag .dot {
  background: #7b5cf0;
}
:root[data-tema='claro'] .subtitle {
  color: #5a6b85;
}
:root[data-tema='claro'] .panel-subtitle {
  color: #5f7089;
}
:root[data-tema='claro'] .footnote {
  color: #5c6d8a;
}
:root[data-tema='claro'] .panel {
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  border-color: #d6dfee;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 2px 0 #e3eaf6,
    0 10px 22px #172a4610;
}
:root[data-tema='claro'] .metric {
  background: linear-gradient(135deg, #ffffff 0%, #f6f9fe 68%, #eef3fc 100%);
  border-color: #cfdbec;
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 4px 0 #e1e8f4,
    0 10px 18px #172a4612;
}
:root[data-tema='claro'] .metric:hover {
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 6px 0 #dbe4f2,
    0 16px 26px #172a4618;
}
:root[data-tema='claro'] .metric-foot {
  color: #4d5f7c;
}
:root[data-tema='claro'] .metric-share {
  color: #4a3aa8;
}
:root[data-tema='claro'] .metric .corner {
  background: #e0e8f5;
}
:root[data-tema='claro'] .filter {
  background: #ffffff;
  border-color: #d6dfee;
}
:root[data-tema='claro'] .filter label {
  color: #6b7a94;
}
:root[data-tema='claro'] .filter select {
  background: #ffffff;
  color: #16233a;
  border-color: #cfd9e8;
}
:root[data-tema='claro'] .search {
  background: #ffffff;
  border-color: #d6dfee;
}
:root[data-tema='claro'] .search input {
  color: #16233a;
}
:root[data-tema='claro'] .search input::placeholder {
  color: #8494ad;
}
:root[data-tema='claro'] .search .icon {
  stroke: #7d8ca6;
}
:root[data-tema='claro'] .button {
  background: #ffffff;
  border-color: #cfd9e8;
  color: #2a3a55;
}
:root[data-tema='claro'] .button:hover {
  background: #f2f6fc;
}
:root[data-tema='claro'] .button.primary {
  background: #5b3fe0;
  border-color: #4c31cd;
  color: #ffffff;
}
:root[data-tema='claro'] .text-button {
  color: #4b32c3;
}
:root[data-tema='claro'] .period-note {
  background: #e8edf9;
  color: #33456a;
}
:root[data-tema='claro'] .legend {
  color: #54637d;
}
:root[data-tema='claro'] .bar-track {
  background: #e4eaf5;
  box-shadow: inset 0 2px 3px #172a4618;
}
:root[data-tema='claro'] .flow-track {
  background: #e4eaf5;
  box-shadow: inset 0 2px 3px #172a4618;
}
:root[data-tema='claro'] .flow-index {
  background: #e6ecf7;
  color: #33456a;
}
:root[data-tema='claro'] .flow-number {
  color: #33456a;
}
:root[data-tema='claro'] .item-icon {
  background: #ece8fd;
  color: #5b3fe0;
}
:root[data-tema='claro'] .priority-item {
  border-color: var(--line);
}
:root[data-tema='claro'] .tab {
  color: #5f7089;
}
:root[data-tema='claro'] .tab[aria-selected='true'] {
  color: #4b32c3;
  border-bottom-color: #5b3fe0;
}
:root[data-tema='claro'] .badge {
  background: #eef2f9;
  color: #3d4d66;
}
:root[data-tema='claro'] .badge.red {
  background: #fde8ef;
  color: #a8144a;
}
:root[data-tema='claro'] .badge.amber {
  background: #fdf2dd;
  color: #7d5200;
}
:root[data-tema='claro'] .badge.teal {
  background: #e9e6fd;
  color: #4b32c3;
}
:root[data-tema='claro'] .badge.gray {
  background: #eef2f9;
  color: #43536b;
}
:root[data-tema='claro'] .notice {
  background: #eef3fb;
  color: #4d5f7c;
}
:root[data-tema='claro'] .empty {
  color: #5f7089;
}
:root[data-tema='claro'] dialog {
  background: #ffffff;
  box-shadow: 0 24px 70px #172a4626;
}
:root[data-tema='claro'] .settings {
  background: #ffffff;
}
:root[data-tema='claro'] dialog::backdrop {
  background: #16233a55;
}
:root[data-tema='claro'] .dialog-head h2 {
  color: #16233a;
}
:root[data-tema='claro'] .close {
  background: #eef1f7;
  color: #33415c;
}
:root[data-tema='claro'] .case-button {
  background: #f5f8fd;
  border-color: #dbe4f1;
}
:root[data-tema='claro'] .case-button:hover {
  background: #eef3fb;
}
:root[data-tema='claro'] .case-button small {
  color: #5a6b85;
}
:root[data-tema='claro'] .detail-grid dt {
  color: #5f7089;
}
:root[data-tema='claro'] .detail-grid dd {
  color: #16233a;
}
:root[data-tema='claro'] .detail-section h3 {
  color: #16233a;
}
:root[data-tema='claro'] .settings label {
  border-color: var(--line);
  color: #2a3a55;
}
:root[data-tema='claro'] .settings label small {
  color: #5f7089;
}
:root[data-tema='claro'] .settings-footer {
  border-color: var(--line);
}
:root[data-tema='claro'] #toast {
  background: #16233a;
  color: #ffffff;
}
:root[data-tema='claro'] .theme-toggle {
  border-color: #cfd9e8;
  color: #3d4d66;
}
:root[data-tema='claro'] .theme-toggle:hover {
  background: #eef2f9;
  color: #16233a;
}

:root[data-tema='claro'] .brand {
  color: #16233a;
}
:root[data-tema='claro'] .brand small {
  color: #5f7089;
}
:root[data-tema='claro'] .hospital strong {
  color: #16233a;
}
:root[data-tema='claro'] .profile small {
  color: #7d8ca6;
}
:root[data-tema='claro'] .metric-label {
  color: #33415c;
}
:root[data-tema='claro'] .metric-head .icon {
  stroke: #7d8ca6;
}
:root[data-tema='claro'] .trend {
  color: #16233a;
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  border-color: #d6dfee;
}
:root[data-tema='claro'] .trend .panel-subtitle {
  color: #5f7089;
}
:root[data-tema='claro'] .trend-footer {
  color: #4d5f7c;
  border-color: #dbe4f1;
}
:root[data-tema='claro'] .trend-footer strong {
  color: #16233a;
}
:root[data-tema='claro'] .flow-footer {
  background: #eef1fb;
  color: #4b32c3;
}
:root[data-tema='claro'] .settings-error {
  color: #a8144a;
}
:root[data-tema='claro'] .metric.featured .metric-label {
  color: #33415c;
}
:root[data-tema='claro'] .metric.featured .metric-foot {
  color: #4d5f7c;
}
:root[data-tema='claro'] .metric.featured .icon {
  stroke: #5b3fe0;
}
