@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap");

@font-face {
  font-family: "Pogonia ExtraBold";
  src: url("POGONIA-EXTRABOLD.OTF") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Pogonia Light";
  src: url("POGONIA-LIGHT.OTF") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1d27;
  --muted: #556070;
  --accent: #ff6b4a;
  --accent-2: #1fb590;
  --paper: #fff7ed;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(24, 31, 44, 0.12);
  --stroke: rgba(26, 29, 39, 0.08);
  --sidebar-bg: #081b33;
  --sidebar-stroke: rgba(255, 255, 255, 0.08);
  --sidebar-width: 72px;
  --sidebar-width-open: 200px;
  --topbar-offset: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

body[data-scroll-lock="true"] {
  overflow-y: hidden;
}

.ambient {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 74, 0.18), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(31, 181, 144, 0.18), transparent 48%),
    radial-gradient(circle at 0% 85%, rgba(255, 197, 110, 0.2), transparent 45%),
    url("backgroundhorahorabot.jpg");
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  opacity: 0.9;
  z-index: -1;
}

.portal {
  display: flex;
  min-height: calc(100vh - var(--topbar-offset));
  min-height: calc(100dvh - var(--topbar-offset));
}

.portal-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.view-section {
  scroll-margin-top: calc(var(--topbar-offset) + 24px);
  opacity: 1;
  transform: none;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.view-section[hidden] {
  display: none;
}

.view-section.is-entering,
.view-section.is-exiting {
  opacity: 0;
  transform: translateY(10px);
}

@media (prefers-reduced-motion: reduce) {
  .view-section {
    transition: none;
    transform: none;
  }

  .view-section.is-entering,
  .view-section.is-exiting {
    opacity: 1;
    transform: none;
  }
}

.sidebar {
  position: fixed;
  top: var(--topbar-offset);
  left: 0;
  height: calc(100vh - var(--topbar-offset));
  height: calc(100dvh - var(--topbar-offset));
  width: 0;
  background: transparent;
  border-right: none;
  padding: 0;
  overflow: visible;
  z-index: 8;
}

.sidebar-surface {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--sidebar-width-open);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-stroke);
  padding: 0 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(-100%);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
  z-index: 1;
}

.sidebar[data-expanded="true"] .sidebar-surface {
  transform: translateX(0);
  box-shadow: 4px 0 10px rgba(5, 16, 32, 0.18);
}

.sidebar[data-expanded="false"] .sidebar-surface {
  pointer-events: none;
}

.sidebar-toggle {
  position: fixed;
  top: calc(var(--topbar-offset) + 24px);
  left: 12px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 27, 51, 0.92);
  color: #f4f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(5, 16, 32, 0.28);
  transition: transform 0.2s ease, left 0.25s ease, box-shadow 0.2s ease;
  z-index: 9;
}

.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.sidebar-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(5, 16, 32, 0.32);
}

.sidebar-toggle:focus-visible {
  outline: 2px solid rgba(244, 247, 255, 0.9);
  outline-offset: 2px;
}

.sidebar[data-expanded="true"] .sidebar-toggle {
  left: calc(var(--sidebar-width-open) + 12px);
  transform: rotate(180deg);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 28px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  color: rgba(244, 247, 255, 0.86);
  text-decoration: none;
  font-size: 13px;
  font-family: "Pogonia Light", "DM Sans", sans-serif;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-item.active {
  background: rgba(31, 181, 144, 0.25);
  color: #ffffff;
}

.nav-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  flex: 0 0 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  color: rgba(214, 233, 241, 0.95);
  box-shadow: none;
}

.nav-item.active .nav-icon {
  color: #1fb590;
  background: rgba(31, 181, 144, 0.18);
  border-color: rgba(31, 181, 144, 0.6);
  box-shadow: none;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.nav-label {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-6px);
  transition: max-width 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.sidebar[data-expanded="true"] .nav-label {
  max-width: 100%;
  opacity: 1;
  transform: translateX(0);
  white-space: normal;
  overflow: visible;
  line-height: 1.2;
}

.sidebar[data-expanded="false"] .nav-item {
  background: transparent;
  justify-content: center;
  padding: 10px 0;
  gap: 0;
}

.sidebar[data-expanded="false"] .nav-item.active .nav-icon {
  background: rgba(31, 181, 144, 0.2);
  border-color: rgba(31, 181, 144, 0.6);
  color: #1fb590;
}

.sidebar[data-expanded="false"] .nav-label {
  display: none;
}

.topbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #081b33;
  color: #f4f7ff;
  z-index: 7;
}

.topbar-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: rgba(31, 181, 144, 0.12);
  overflow: hidden;
  opacity: 0;
  transform: scaleX(0.92);
  transform-origin: left;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.topbar-progress[data-active="true"] {
  opacity: 1;
  transform: scaleX(1);
}

.topbar-progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 181, 144, 0.1),
    rgba(31, 181, 144, 0.6),
    rgba(95, 230, 180, 0.95),
    rgba(31, 181, 144, 0.6),
    rgba(31, 181, 144, 0.1)
  );
  box-shadow: 0 0 16px rgba(31, 181, 144, 0.45);
  transform: translateX(-60%);
  animation: progress-sweep 1.4s ease-in-out infinite;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.brand-mark {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: transparent url("ICON_PNG.png") center/contain no-repeat;
  box-shadow: none;
}

.brand-title {
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
}

.brand-sub {
  font-family: "Pogonia Light", "DM Sans", sans-serif;
  color: rgba(244, 247, 255, 0.72);
  font-size: 14px;
}

.topbar .brand-title {
  color: #f4f7ff;
}

.topbar .brand-sub {
  color: rgba(244, 247, 255, 0.72);
}

.meta {
  display: flex;
  gap: 16px;
  align-items: center;
}

.meta-item {
  text-align: right;
}

.meta-label {
  font-size: 12px;
  color: rgba(244, 247, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.meta-value {
  font-weight: 600;
  color: #f4f7ff;
}

.topbar .button {
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(135deg, #ffffff, #dfe9ff);
  color: #081b33;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: 0.4px;
  box-shadow: 0 12px 22px rgba(2, 10, 20, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.topbar .button.icon-button {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1fb590, #0f8a6f);
  color: #ffffff;
  border-color: rgba(31, 181, 144, 0.6);
  box-shadow:
    0 14px 24px rgba(5, 16, 32, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.topbar .button.icon-button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  transform-origin: 50% 50%;
  transform-box: fill-box;
}

.topbar .button.icon-button.is-loading svg {
  animation: spin 0.8s linear infinite reverse;
}

.topbar .button.secondary {
  background: transparent;
  color: #f4f7ff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.topbar .button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(2, 10, 20, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.topbar .button.secondary:hover {
  box-shadow: 0 10px 20px rgba(8, 18, 30, 0.2);
}

.topbar .button:active {
  transform: translateY(0);
  box-shadow: 0 8px 16px rgba(2, 10, 20, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.topbar .button.secondary:active {
  box-shadow: 0 6px 12px rgba(8, 18, 30, 0.18);
}

.topbar .button:focus-visible {
  outline: 2px solid rgba(244, 247, 255, 0.9);
  outline-offset: 2px;
}

.button {
  border: none;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(26, 29, 39, 0.2);
}

.period-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(26, 29, 39, 0.04);
  max-width: 100%;
}

.date-input {
  padding: 8px 12px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 300;
  font-family: "Pogonia Light", "DM Sans", sans-serif;
  min-width: 150px;
  cursor: pointer;
}

.date-input::-webkit-calendar-picker-indicator {
  opacity: 0.6;
  cursor: pointer;
}

.date-input::-webkit-calendar-picker-indicator:hover {
  opacity: 0.9;
}

.period-switch .pill {
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  font-family: "Pogonia Light", "DM Sans", sans-serif;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.period-switch .pill.active {
  background: var(--ink);
  color: white;
}

.period-switch .pill:hover {
  color: var(--ink);
}

.period-switch .pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.hour-select {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: white;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 40px 32px;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-wrap {
  width: min(960px, 95vw);
}

.login-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 360px);
  align-items: center;
  gap: 32px;
}

.login-hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #f4f7ff;
  text-shadow: 0 10px 24px rgba(5, 20, 40, 0.4);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.login-hero .brand-mark {
  width: 78px;
  height: 78px;
}

.login-hero .brand-title {
  color: #f4f7ff;
  font-size: 34px;
  letter-spacing: 2.5px;
}

.login-hero .brand-sub {
  color: rgba(244, 247, 255, 0.75);
}

.login-copy {
  margin: 0;
  font-size: 15px;
  color: rgba(244, 247, 255, 0.82);
  max-width: 320px;
}

.login-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 32px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.login-input {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.login-input:focus {
  outline: 2px solid rgba(31, 181, 144, 0.4);
  outline-offset: 2px;
}

.login-button {
  width: 100%;
  margin-top: 8px;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  letter-spacing: 0.6px;
}

.login-error {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 74, 0.18);
  color: #9c2f1f;
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 820px) {
  .login-grid {
    grid-template-columns: 1fr;
  }

  .login-hero {
    text-align: center;
    align-items: center;
  }

  .login-copy {
    max-width: 100%;
  }
}

.status-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--stroke);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.status-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}

.status {
  background: rgba(31, 181, 144, 0.12);
  color: #136e56;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 600;
  display: inline-block;
}

.progress {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 29, 39, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.progress[data-active="true"] {
  opacity: 1;
  transform: translateY(0);
}

.progress-bar {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(31, 181, 144, 0.15),
    rgba(31, 181, 144, 0.65),
    rgba(255, 107, 74, 0.55),
    rgba(31, 181, 144, 0.15)
  );
  transform: translateX(-60%);
  animation: progress-sweep 1.2s ease-in-out infinite;
}

.progress[data-active="false"] .progress-bar {
  animation-play-state: paused;
}

.hint {
  color: var(--muted);
  font-size: 14px;
}

.overview {
  margin-bottom: 28px;
  scroll-margin-top: calc(var(--topbar-offset) + 24px);
  position: relative;
}

.overview-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.overview-header-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overview-filters {
  display: flex;
  align-items: center;
  gap: 12px;
}

.overview-filters .filter-group {
  align-items: flex-start;
  text-align: left;
  min-width: 160px;
}

.overview-filters .filter-label {
  color: #ffffff;
}

.overview-filters .date-input {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 14px 26px rgba(8, 18, 30, 0.26),
    0 4px 12px rgba(8, 18, 30, 0.16);
}

.fullscreen-toggle {
  position: fixed;
  top: calc(var(--topbar-offset) + 16px);
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 27, 51, 0.35);
  color: #f4f7ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(8, 18, 30, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  z-index: 5;
}

.fullscreen-toggle:hover {
  transform: translateY(-2px);
  background: rgba(8, 27, 51, 0.5);
}

.fullscreen-toggle:focus-visible {
  outline: 2px solid rgba(244, 247, 255, 0.9);
  outline-offset: 2px;
}

.fullscreen-toggle svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.fullscreen-toggle[data-active="true"] {
  background: rgba(31, 181, 144, 0.22);
  border-color: rgba(31, 181, 144, 0.6);
  color: #d7fff1;
}

.overview-header h2 {
  margin: 0;
  font-size: 22px;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  color: #ffffff;
  text-shadow: 0 6px 14px rgba(8, 18, 30, 0.35);
}

.overview-header p {
  margin: 0;
  color: #ffffff;
  font-size: 14px;
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.overview-card--wide {
  grid-column: 1 / -1;
}

.overview-side {
  display: flex;
}

.overview-card {
  position: relative;
  border-radius: 18px;
  padding: 18px 20px;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow:
    0 16px 30px rgba(8, 18, 30, 0.24),
    0 6px 16px rgba(8, 18, 30, 0.16);
  border: 1px solid rgba(11, 25, 42, 0.22);
  color: #f3fbff;
  background: #0f4f6b;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.overview-card:hover {
  box-shadow:
    0 20px 36px rgba(8, 18, 30, 0.26),
    0 10px 20px rgba(8, 18, 30, 0.18);
  border-color: rgba(11, 25, 42, 0.32);
}

.overview-card[data-tone="vendido"] {
  background: #0f5a4b;
  border-color: rgba(31, 181, 144, 0.35);
}

.overview-card[data-tone="discador"] {
  background: #0b223d;
  border-color: rgba(88, 120, 170, 0.35);
}

.overview-card[data-tone="link"] {
  background: #f3f5f7;
  border-color: rgba(26, 29, 39, 0.16);
  color: var(--ink);
}

.overview-card[data-tone="conversion"] {
  background: #0f2334;
  border-color: rgba(97, 124, 168, 0.35);
}

.overview-card.is-loading .overview-value {
  opacity: 0.35;
}

.overview-card.is-loading::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: spin 0.8s linear infinite;
  pointer-events: none;
}

.overview-card[data-tone="link"].is-loading::after {
  border-color: rgba(26, 29, 39, 0.25);
  border-top-color: rgba(26, 29, 39, 0.7);
}

.overview-label {
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.85;
}

.overview-value {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.rolling-number {
  font-variant-numeric: tabular-nums;
  transition: filter 0.15s ease, opacity 0.15s ease;
}

.rolling-number.is-rolling {
  filter: blur(0.6px);
  opacity: 0.88;
}

.overview-sub {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 6px;
}

.overview-sub--hint {
  font-size: 12px;
  opacity: 0.65;
  margin-top: 2px;
}

.overview-card--gauge {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
}

.overview-card--gauge[data-tone="discador"] {
  background: linear-gradient(135deg, #0b223d, #081829);
}

.overview-gauge {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: conic-gradient(
    #1fb590 var(--gauge-value, 0%),
    rgba(255, 255, 255, 0.18) 0
  );
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.overview-gauge::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: rgba(8, 27, 51, 0.7);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.overview-gauge-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  z-index: 1;
  font-variant-numeric: tabular-nums;
}

.overview-gauge-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.overview-gauge-meta .overview-label {
  opacity: 0.9;
}

.overview-gauge-meta .overview-sub {
  margin-top: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.overview-card--tall {
  flex: 1;
  justify-content: center;
  text-align: center;
}

.overview-card--tall .overview-value {
  font-size: 34px;
}

.outcomes {
  margin-top: 20px;
}

.outcomes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.outcomes-title h2 {
  margin: 0;
  font-size: 22px;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  color: #ffffff;
  text-shadow: 0 6px 14px rgba(8, 18, 30, 0.35);
}

.outcomes-title p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.outcomes-filters {
  display: flex;
  align-items: center;
  gap: 16px 24px;
}

.outcomes .filter-label {
  color: #ffffff;
}

.outcomes-card {
  position: relative;
  border-radius: 26px;
  padding: 28px 32px;
  background: #0f2334;
  border: 1px solid rgba(97, 124, 168, 0.35);
  box-shadow:
    0 24px 44px rgba(8, 18, 30, 0.28),
    0 10px 24px rgba(8, 18, 30, 0.18);
  color: #f3fbff;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
}

.outcomes-map {
  gap: 16px;
}

.outcomes-map-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.outcomes-map-title span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.75);
  display: block;
}

.outcomes-map-title p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #ffffff;
}

.outcomes-map-legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 220px;
}

.outcomes-map-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.outcomes-map-legend .legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--legend-color, #1fb590);
  box-shadow: 0 0 0 2px rgba(10, 23, 35, 0.6);
}

.outcomes-map-body {
  position: relative;
  flex: 1;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.outcomes-map-svg {
  width: 100%;
  height: 100%;
  max-width: 720px;
  max-height: 720px;
  display: block;
  shape-rendering: geometricPrecision;
}

.brazil-map {
  filter: saturate(1.35) brightness(1.05);
}

.brazil-map path {
  fill: rgba(255, 255, 255, 0.08);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: fill 0.3s ease, opacity 0.3s ease;
}

.brazil-map-labels text {
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  fill: #ffffff;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
  text-rendering: geometricPrecision;
}

.brazil-map-labels text[data-small="true"] {
  font-size: 10px;
}

.brazil-map path[data-empty="true"] {
  fill: rgba(255, 255, 255, 0.04);
  opacity: 0.6;
}

.outcomes-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  padding: 12px;
}

.outcomes-map-empty[hidden] {
  display: none;
}

.outcomes-map-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.outcomes-map.is-loading .brazil-map path {
  opacity: 0.5;
}

.outcomes-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

.outcomes-total span {
  color: #ffffff;
}

.outcomes-total-value {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chart-refresh {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(8, 18, 30, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.chart-refresh svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.chart-refresh:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 8px 16px rgba(8, 18, 30, 0.2);
}

.chart-refresh:active {
  transform: translateY(0);
}

.chart-refresh:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.chart-refresh.is-loading svg {
  animation: spin 0.8s linear infinite reverse;
}

.outcomes-total strong {
  font-size: 28px;
  color: #ffffff;
}

.outcomes-card .overview-chart-bars {
  max-height: none;
  gap: 14px;
}

.outcomes-card .bar-track {
  height: 12px;
}

.outcomes-card .bar-fill {
  height: 12px;
}

.outcomes-card.is-loading .overview-chart-bars {
  opacity: 0.4;
}

.overview-chart {
  justify-content: flex-start;
  text-align: left;
  gap: 14px;
  overflow: visible;
}

#discador-chart {
  min-height: 360px;
}

.segment {
  margin-top: 20px;
  --segment-blue: #169bd6;
  --segment-blue-dark: #0d6d9f;
  --segment-orange: #f07a2a;
  --segment-green: #1b8b55;
  --segment-card: #0f2334;
  --segment-stroke: rgba(97, 124, 168, 0.35);
}

.segment-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.segment-title h2 {
  margin: 0;
  font-size: 22px;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  color: #ffffff;
  text-shadow: 0 6px 14px rgba(8, 18, 30, 0.35);
}

.segment-title p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.segment-filters {
  display: flex;
  align-items: center;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.segment .filter-label {
  color: #ffffff;
}

.segment .period-switch {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
}

.segment .period-switch .pill {
  color: #0b1b2a;
  background: #ffffff;
  border: 1px solid rgba(11, 27, 42, 0.18);
  box-shadow: 0 10px 18px rgba(9, 18, 28, 0.16);
}

.segment .period-switch .pill.active {
  color: #0b1b2a;
  font-weight: 700;
  box-shadow:
    0 12px 22px rgba(9, 18, 28, 0.2),
    0 0 0 2px rgba(11, 27, 42, 0.5);
}

.segment .period-switch .pill:hover {
  color: #0b1b2a;
}

.segment-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.segment-kpi-card {
  position: relative;
  background: linear-gradient(145deg, #0b223d, #081829 70%);
  border-radius: 22px;
  padding: 20px 24px;
  color: #ffffff;
  box-shadow: 0 18px 32px rgba(7, 22, 35, 0.25);
  border: 1px solid rgba(88, 120, 170, 0.35);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

.segment-kpi-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segment-kpi-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.78);
}

.segment-kpi-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}

.segment-kpi-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.segment-kpi-icon--filled svg {
  fill: currentColor;
  stroke: none;
}

.segment-kpi-card strong {
  font-size: 30px;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.segment-charts {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
}

.segment-card {
  position: relative;
  background: var(--segment-card);
  border-radius: 26px;
  padding: 24px 28px;
  border: 1px solid var(--segment-stroke);
  box-shadow:
    0 24px 44px rgba(8, 18, 30, 0.28),
    0 10px 24px rgba(8, 18, 30, 0.18);
  color: #f3fbff;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow: hidden;
}

.segment.is-loading .segment-kpi-card::after,
.segment.is-loading .segment-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 0.9);
  animation: spin 0.8s linear infinite;
  pointer-events: none;
}

.segment-card-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: rgba(255, 255, 255, 0.7);
}

.segment-card-title--inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segment-donut-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.segment-donut {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: conic-gradient(
    var(--segment-green) 0% 35%,
    var(--segment-orange) 35% 65%,
    var(--segment-blue-dark) 65% 100%
  );
  position: relative;
  box-shadow: inset 0 0 18px rgba(8, 20, 32, 0.45);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  filter: saturate(1.2) brightness(1.05);
}

.segment-donut.is-active {
  transform: scale(1.02);
  box-shadow:
    inset 0 0 18px rgba(8, 20, 32, 0.45),
    0 18px 36px rgba(6, 16, 26, 0.4);
}

.segment-donut-center {
  position: absolute;
  inset: 28%;
  border-radius: 50%;
  background: #0b1b2a;
  display: grid;
  place-items: center;
  color: #ffffff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  box-shadow: 0 10px 20px rgba(5, 14, 24, 0.4);
  text-align: center;
}

.segment-donut-label {
  font-size: 11px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.7);
}

.segment-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.segment-legend-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.segment-legend-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.segment-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--segment-color, #1fb590);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.segment-legend-item.is-active {
  color: #ffffff;
  transform: translateX(4px);
}

.segment-legend-item.is-active .segment-legend-swatch {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.75);
}

.segment-legend-item.is-muted {
  opacity: 0.45;
}

.segment-legend-value {
  font-weight: 600;
  color: #d8fff1;
}

.segment-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

.segment-legend .legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.8);
}

.segment-legend .legend-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--legend-color, #1fb590);
}

.segment-bar-chart {
  position: relative;
  flex: 1;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  padding: 12px 0 24px;
  overflow: hidden;
  border-radius: 18px;
  --segment-bar-height: 280px;
  --segment-label-space: 52px;
}

.segment-bar-chart::before {
  content: "";
  position: absolute;
  inset: 8px 6px 18px;
  border-radius: 16px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(15, 35, 52, 0.2) 60%,
    rgba(15, 35, 52, 0)
  );
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

.segment-bar-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.segment-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.segment-bar-values {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.segment-bar-value {
  font-weight: 600;
}

.segment-bar-value--vendido {
  color: #a7dcff;
}

.segment-bar-value--link {
  color: #ffd5b2;
}

.segment-bar-stack {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: var(--segment-bar-height);
}

.segment-bar {
  width: 34px;
  border-radius: 14px 14px 8px 8px;
  min-height: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 20px rgba(7, 18, 28, 0.4);
  transition: height 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.segment-bar--vendido {
  background: linear-gradient(180deg, #2c87c4 0%, #15577f 100%);
}

.segment-bar--link {
  background: linear-gradient(180deg, #ff9a4c 0%, #d65b1c 100%);
}

.segment-bar-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

.segment-column.is-active {
  transform: translateY(-4px);
}

.segment-column.is-muted {
  opacity: 0.5;
}

.segment-column.is-active .segment-bar {
  filter: brightness(1.08);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    0 16px 26px rgba(6, 16, 26, 0.45);
}

.segment-line {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.segment-line path {
  stroke: #28c76f;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.6;
}

.segment-line circle {
  fill: #28c76f;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.segment-line text {
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  fill: #d9fff0;
  transition: fill 0.2s ease;
}

.segment-line-label.is-active {
  fill: #ffffff;
}

.segment-line-point.is-active {
  opacity: 1;
}

.segment-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  padding: 10px 12px;
  background: rgba(8, 16, 24, 0.96);
  border-radius: 12px;
  border: 1px solid rgba(120, 160, 200, 0.35);
  box-shadow: 0 14px 28px rgba(6, 15, 23, 0.45);
  color: #ffffff;
  font-size: 12px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -100%) scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
  z-index: 5;
}

.segment-tooltip[data-visible="true"] {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -112%) scale(1);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.segment-tooltip strong {
  font-weight: 700;
}

.segment-tooltip .segment-tooltip-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.7);
}

.segment-tooltip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segment-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(12, 22, 33, 0.45);
  border-radius: 16px;
}

.segment-empty[hidden] {
  display: none;
}

.overview-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.overview-chart-controls {
  position: relative;
}

.overview-chart .multi-select {
  min-width: 160px;
  background: rgba(255, 255, 255, 0.92);
}

.overview-chart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.72);
}

.overview-chart-total strong {
  font-size: 22px;
  color: #ffffff;
}

.overview-chart-bars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.bar-row:hover {
  background: rgba(255, 255, 255, 0.06);
}

.bar-row:focus-visible {
  outline: 2px solid rgba(31, 181, 144, 0.7);
  outline-offset: 2px;
}

.bar-row.is-active {
  background: rgba(31, 181, 144, 0.18);
  box-shadow: inset 0 0 0 1px rgba(31, 181, 144, 0.5);
}

.bar-row.is-active .bar-value {
  color: #dfffee;
}

.bar-row.is-muted {
  opacity: 0.55;
}

.bar-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.bar-label {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.bar-value {
  font-weight: 600;
  color: #d7fff1;
}

.bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  min-width: 4px;
  transition: width 0.4s ease;
}

.overview-chart .chart-empty {
  color: rgba(255, 255, 255, 0.7);
  text-align: left;
  padding: 12px 0 0;
}

@media (max-width: 1100px) {
  .overview-layout {
    grid-template-columns: 1fr;
  }

  .overview-side {
    order: -1;
  }

  .overview-card--tall {
    min-height: 120px;
  }

  .segment-charts {
    grid-template-columns: 1fr;
  }

  .segment-donut-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 900px) {
  .portal {
    flex-direction: column;
  }

  .sidebar {
    position: fixed;
    width: 0;
    padding: 0;
  }

  .topbar {
    padding: 18px 22px;
  }

  .sidebar-surface {
    position: absolute;
    width: min(86vw, 240px);
  }

  .sidebar[data-expanded="true"] .sidebar-toggle {
    left: calc(min(86vw, 240px) + 12px);
    transform: rotate(180deg);
  }

  .sidebar-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 28px;
  }

  .nav-item {
    flex: 0 0 auto;
    width: 100%;
  }

  .nav-label {
    max-width: none;
    opacity: 1;
    transform: none;
  }

  .overview-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .overview-filters {
    width: 100%;
  }

  .overview-filters .filter-group {
    width: 100%;
  }

  .overview-filters .date-input {
    width: 100%;
  }

  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .overview-card--wide {
    grid-column: 1 / -1;
  }

  .outcomes-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .outcomes-filters {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-map-legend {
    justify-content: flex-start;
    max-width: none;
  }

  .module-grid {
    gap: 20px;
  }

  .carousel-track {
    gap: 20px;
  }

  .module-chart-body {
    grid-template-columns: 1fr;
  }

  .chart-visual {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 640px) {
  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-card {
    min-height: 96px;
  }

  .overview-card--gauge {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .overview-card,
  .module-card {
    animation: none;
    transition: none;
  }

  .overview-card.is-loading::after,
  .module-card.is-loading::after {
    animation: none;
  }
}

@keyframes progress-sweep {
  0% {
    transform: translateX(-60%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(60%);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.module-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.carousel {
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  align-items: flex-start;
  transition: height 0.25s ease;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  height: 0;
}

.carousel-track .module-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  align-self: flex-start;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  z-index: 2;
}

.carousel-nav.prev {
  left: -56px;
}

.carousel-nav.next {
  right: -56px;
}

.carousel-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.carousel-dots.top {
  margin-top: 0;
  margin-bottom: 12px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  background: rgba(214, 255, 241, 0.35);
  cursor: pointer;
}

.carousel-dot.active {
  background: #38ffb6;
  box-shadow: 0 0 10px rgba(56, 255, 182, 0.8);
}

.module-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  scroll-margin-top: 120px;
  border: 1px solid rgba(26, 29, 39, 0.12);
  box-shadow:
    0 20px 36px rgba(20, 28, 40, 0.22),
    0 8px 18px rgba(20, 28, 40, 0.16);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.module-card:hover {
  box-shadow:
    0 24px 42px rgba(20, 28, 40, 0.24),
    0 12px 24px rgba(20, 28, 40, 0.18);
  border-color: rgba(26, 29, 39, 0.2);
}

.module-card.is-loading .table-wrap,
.module-card.is-loading .module-total strong {
  opacity: 0.55;
}

.module-card.is-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(26, 29, 39, 0.2);
  border-top-color: rgba(26, 29, 39, 0.6);
  animation: spin 0.8s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.module-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.module-header h2 {
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.6px;
}

.module-header p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.module-total {
  text-align: right;
  background: rgba(31, 181, 144, 0.1);
  color: #0d6b54;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 600;
  min-width: 120px;
  box-shadow:
    0 12px 22px rgba(8, 18, 30, 0.18),
    0 4px 12px rgba(8, 18, 30, 0.12);
}

.module-total span {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(13, 107, 84, 0.7);
}

.module-total strong {
  display: block;
  font-size: 20px;
  font-variant-numeric: tabular-nums;
}

.module-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: rgba(26, 29, 39, 0.03);
  box-shadow:
    0 14px 26px rgba(8, 18, 30, 0.2),
    0 6px 14px rgba(8, 18, 30, 0.12);
  margin-bottom: 18px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 140px;
  align-items: center;
  text-align: center;
}

.filter-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  text-align: center;
}

.period-switch {
  justify-content: center;
}

.module-filters .hour-select {
  margin-top: 0;
  align-self: center;
  text-align: center;
}

.filter-lotes {
  position: relative;
}

.multi-select {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 200px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: #ffffff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  font-family: "Pogonia Light", "DM Sans", sans-serif;
  cursor: pointer;
  box-shadow:
    0 10px 18px rgba(8, 18, 30, 0.12),
    0 4px 10px rgba(8, 18, 30, 0.08);
}

.multi-select::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid rgba(85, 96, 112, 0.8);
}

.multi-select-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  max-width: 260px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--stroke);
  border-radius: 14px;
  box-shadow:
    0 18px 28px rgba(8, 18, 30, 0.18),
    0 8px 16px rgba(8, 18, 30, 0.12);
  z-index: 5;
}

.multi-select-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.multi-select-clear {
  background: rgba(31, 181, 144, 0.12);
  color: #0d6b54;
  border: none;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.multi-select-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.multi-select-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink);
}

.multi-select-empty {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 10px 0;
}

.module-chart {
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 20px 36px rgba(8, 18, 30, 0.2),
    0 8px 18px rgba(8, 18, 30, 0.14);
  padding: 16px 18px;
  margin-bottom: 18px;
}

.module-chart-header h3 {
  margin: 0 0 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: var(--muted);
}

.module-chart-body {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.chart-visual {
  position: relative;
  width: 210px;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.chart-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#dbe3ec 0deg 360deg);
  box-shadow:
    inset 0 0 0 1px rgba(26, 29, 39, 0.08),
    0 16px 26px rgba(8, 18, 30, 0.18);
}

.chart-ring::after {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(26, 29, 39, 0.08);
}

.chart-center {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

.chart-center span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.chart-center strong {
  font-size: 22px;
  color: var(--ink);
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 220px;
  overflow: auto;
  padding-right: 6px;
}

.chart-legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink);
}

.chart-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  flex: 0 0 12px;
  box-shadow: inset 0 0 0 1px rgba(26, 29, 39, 0.12);
}

.chart-legend-label {
  flex: 1;
  min-width: 0;
}

.chart-legend-value {
  font-weight: 600;
  color: #0d6b54;
}

.chart-empty {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  padding: 18px 0 6px;
}

.table-wrap {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 20px 36px rgba(8, 18, 30, 0.2),
    0 8px 18px rgba(8, 18, 30, 0.14);
}

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

thead {
  background: var(--ink);
  color: #f7fafc;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid rgba(26, 29, 39, 0.06);
  white-space: normal;
  word-break: break-word;
  vertical-align: top;
}

.col-quantity {
  text-align: center;
}

th.col-quantity .table-sort {
  justify-content: center;
  text-align: center;
}

th {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 700;
}

tbody tr {
  background: rgba(255, 255, 255, 0.92);
}

tbody tr:nth-child(even) {
  background: rgba(31, 181, 144, 0.08);
}

.table-sort {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
}

.table-sort::after {
  content: "↕";
  font-size: 11px;
  opacity: 0.45;
}

.table-sort[data-direction="asc"]::after {
  content: "↑";
  opacity: 0.8;
}

.table-sort[data-direction="desc"]::after {
  content: "↓";
  opacity: 0.8;
}

.table-sort:hover::after {
  opacity: 0.7;
}

tbody tr:hover {
  background: rgba(31, 181, 144, 0.16);
}

th[aria-sort="ascending"] .table-sort,
th[aria-sort="descending"] .table-sort {
  color: #bdf5e2;
}

thead .table-sort::after {
  color: rgba(255, 255, 255, 0.6);
}

th[aria-sort="ascending"] .table-sort::after,
th[aria-sort="descending"] .table-sort::after {
  color: #7ef0c9;
}

.operator-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.operator-link:hover {
  color: var(--accent);
}

.detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.detail-link[data-metric="vendido"] {
  background: rgba(31, 181, 144, 0.16);
  border-color: rgba(31, 181, 144, 0.35);
  color: #0f5d48;
}

.detail-link[data-metric="link_liberado"] {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(26, 29, 39, 0.2);
  color: #3b4656;
}

.detail-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(26, 29, 39, 0.12);
}

.detail-link[data-metric="vendido"]:hover {
  background: rgba(31, 181, 144, 0.24);
}

.detail-link[data-metric="link_liberado"]:hover {
  background: rgba(240, 243, 246, 0.9);
}

.detail-link:focus-visible {
  outline: 2px solid rgba(26, 29, 39, 0.4);
  outline-offset: 2px;
}

.info-button {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(26, 29, 39, 0.06);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.info-button:hover {
  background: rgba(26, 29, 39, 0.12);
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(26, 29, 39, 0.12);
}

.info-button:focus-visible {
  outline: 2px solid rgba(31, 181, 144, 0.5);
  outline-offset: 2px;
}

.pause-over-limit {
  color: #ff3d3d;
  font-weight: 800;
  text-shadow:
    0 0 8px rgba(255, 61, 61, 0.65),
    0 0 16px rgba(255, 61, 61, 0.35);
}

#table-pausas table tbody tr {
  background: rgba(255, 255, 255, 0.92);
}

#table-pausas table tbody tr:hover {
  background: rgba(255, 255, 255, 0.92);
}

#table-pausas table tbody tr.pause-over-limit-row {
  background: rgba(255, 90, 90, 0.18);
}

#table-pausas table tbody tr.pause-over-limit-row:hover {
  background: rgba(255, 90, 90, 0.28);
}

.pause-over-limit-row {
  background: rgba(255, 90, 90, 0.18);
}

.pause-over-limit-row td {
  color: #ff3d3d;
  text-shadow:
    0 0 8px rgba(255, 61, 61, 0.65),
    0 0 16px rgba(255, 61, 61, 0.35);
}

.pause-over-limit-name {
  color: #ff3d3d;
  font-weight: 800;
  text-shadow:
    0 0 10px rgba(255, 61, 61, 0.75),
    0 0 18px rgba(255, 61, 61, 0.4);
}

tbody tr.pause-over-limit-row:hover {
  background: rgba(255, 90, 90, 0.28);
}

tfoot .total-row td {
  font-weight: 700;
  background: rgba(31, 181, 144, 0.18);
}

.empty-state {
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.modal[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 29, 39, 0.45);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: relative;
  width: min(920px, 92vw);
  max-height: 80vh;
  background: var(--panel);
  border-radius: 20px;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.rules-card {
  width: min(720px, 92vw);
}

.rules-content {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  background: rgba(26, 29, 39, 0.02);
  padding: 16px;
}

.rules-content h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

.rules-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.rules-list li {
  margin-bottom: 8px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px 12px;
  border-bottom: 1px solid var(--stroke);
}

.modal-header-main {
  flex: 1;
  min-width: 0;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(26, 29, 39, 0.06);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.modal-nav-btn[data-hidden="true"] {
  display: none;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-family: "Pogonia ExtraBold", "Space Grotesk", sans-serif;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.modal-header p {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.modal-close {
  border: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(26, 29, 39, 0.08);
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
}

.modal-body {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
  position: relative;
  min-height: 160px;
}

.modal-status {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(31, 181, 144, 0.12);
  color: #136e56;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.modal-status::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 50%;
  border: 3px solid rgba(31, 181, 144, 0.18);
  border-top-color: #1fb590;
  border-right-color: #6af1c0;
  box-shadow: 0 0 12px rgba(31, 181, 144, 0.35);
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
  will-change: transform;
}

.modal-status[data-loading="true"] {
  justify-content: center;
  min-width: 160px;
  min-height: 42px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal-status[data-loading="true"]::before {
  opacity: 1;
  transform: scale(1);
  animation: spin 0.85s linear infinite;
}

.modal-status[data-tone="error"] {
  background: rgba(255, 107, 74, 0.18);
  color: #9c2f1f;
}

.modal-table {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  overflow: auto;
}

.modal-table table {
  table-layout: auto;
  width: max-content;
  min-width: 100%;
}

.modal-table th,
.modal-table td {
  white-space: nowrap;
  word-break: normal;
}

body[data-modal-open="true"] {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .meta {
    flex-direction: column;
    align-items: flex-end;
  }
}

@media (max-width: 720px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-sub {
    font-size: 12px;
  }

  .meta {
    width: 100%;
    justify-content: space-between;
  }

  .meta-item {
    text-align: left;
  }

  .meta-label {
    font-size: 11px;
  }

  .meta-value {
    font-size: 14px;
  }

  .topbar .button.icon-button {
    width: 40px;
    height: 40px;
  }

  .topbar .button.icon-button svg {
    width: 18px;
    height: 18px;
  }

  .segment-kpis {
    grid-template-columns: 1fr;
  }

  .segment-bar-columns {
    grid-template-columns: 1fr;
  }

  .segment-bar-stack {
    height: var(--segment-bar-height);
  }

  .segment-bar-chart {
    --segment-bar-height: 200px;
    --segment-label-space: 44px;
  }

  .container {
    padding: 20px 18px 24px;
  }

  .sidebar-toggle {
    width: 38px;
    height: 38px;
    top: calc(var(--topbar-offset) + 18px);
  }

  .sidebar-nav {
    margin-top: 72px;
  }

  .fullscreen-toggle {
    width: 36px;
    height: 36px;
    right: 12px;
    top: calc(var(--topbar-offset) + 12px);
  }

  .overview-header {
    gap: 12px;
  }

  .overview-header h2 {
    font-size: 20px;
  }

  .overview-header p {
    font-size: 13px;
  }

  .overview-filters {
    width: 100%;
    flex-wrap: wrap;
  }

  .overview-filters .filter-group {
    width: 100%;
    min-width: 0;
  }

  .overview-filters .date-input {
    width: 100%;
  }

  .overview-grid {
    gap: 12px;
  }

  .overview-card {
    padding: 14px 16px;
    min-height: 92px;
  }

  .overview-label {
    font-size: 11px;
  }

  .overview-value {
    font-size: 26px;
  }

  .overview-sub {
    font-size: 12px;
  }

  .overview-card--gauge {
    padding: 16px;
    gap: 14px;
  }

  .overview-gauge {
    width: 72px;
    height: 72px;
  }

  .overview-gauge::after {
    inset: 8px;
  }

  .overview-gauge-value {
    font-size: 16px;
  }

  .outcomes-title h2 {
    font-size: 20px;
  }

  .outcomes-title p {
    font-size: 13px;
  }

  .outcomes-card {
    padding: 20px 20px 24px;
    min-height: 360px;
  }

  .outcomes-map-body {
    min-height: 440px;
  }

  .outcomes-map-svg {
    max-height: 520px;
  }

  .outcomes-map-legend {
    gap: 6px;
  }

  .outcomes-total strong {
    font-size: 24px;
  }

  .chart-refresh {
    width: 28px;
    height: 28px;
  }

  .bar-meta {
    font-size: 11px;
  }

  .module-card {
    padding: 20px;
    border-radius: 18px;
  }

  .module-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .module-title {
    flex-wrap: wrap;
    gap: 8px;
  }

  .module-header h2 {
    font-size: 20px;
  }

  .module-header p {
    font-size: 13px;
    line-height: 1.4;
  }

  .info-button {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .module-total {
    width: 100%;
    text-align: left;
    padding: 8px 12px;
  }

  .module-total strong {
    font-size: 18px;
  }

  .module-filters {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 12px;
    gap: 12px;
  }

  .module-filters .period-switch {
    width: 100%;
    justify-content: flex-start;
  }

  .module-filters .period-switch .pill {
    flex: 1 1 0;
    text-align: center;
  }

  .module-filters .hour-select {
    width: 100%;
  }

  .module-grid {
    gap: 16px;
  }

  .carousel-track {
    gap: 16px;
  }

  .filter-group {
    width: 100%;
    align-items: flex-start;
    text-align: left;
    min-width: 0;
  }

  .filter-label {
    text-align: left;
  }

  .multi-select {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }

  .multi-select-panel {
    left: 0;
    right: 0;
    transform: none;
    max-width: none;
    width: 100%;
  }

  .table-wrap {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    width: max-content;
    min-width: 100%;
    table-layout: auto;
  }

  th,
  td {
    white-space: nowrap;
  }

  .modal-card {
    max-height: 90vh;
  }

  .carousel-nav {
    display: none;
  }

  .modal-header {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
