.gop-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(208, 166, 31, 0.2);
  background: rgba(9, 11, 20, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  isolation: isolate;
}

.gop-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .gop-header-inner {
    padding: 0.75rem 1.5rem;
  }
}

.gop-header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.gop-header-logo {
  height: 2rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .gop-header-logo {
    height: 2.5rem;
    max-width: 200px;
  }
}

.gop-header-title-group {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.gop-header-title {
  font-size: 1rem;
  font-weight: 600;
  color: #d0a61f;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .gop-header-title {
    font-size: 1.125rem;
  }
}

.gop-header-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.gop-header-badge {
  border-radius: 9999px;
  border: 1px solid rgba(208, 166, 31, 0.4);
  background: rgba(208, 166, 31, 0.1);
  padding: 0.125rem 0.625rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #d0a61f;
  white-space: nowrap;
}

.gop-header-subtitle {
  display: none;
  margin: 0.125rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #94a3b8;
  max-width: 100%;
  overflow: hidden;
  overflow-wrap: break-word;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Subtítulo só quando há largura real (MDN: não mostrar texto secundário em layout comprimido) */
@media (min-width: 768px) {
  .gop-header-subtitle {
    display: -webkit-box;
  }
}

@media (min-width: 1024px) {
  .gop-header-subtitle {
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
}

.gop-header-tools {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
}

.gop-header-user {
  display: none;
  align-items: center;
  gap: 0.35rem;
}

.gop-header-user.is-visible {
  display: flex;
}

.gop-profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(208, 166, 31, 0.35);
  background: rgba(208, 166, 31, 0.12);
  color: #f0d060;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.gop-profile-btn:hover {
  background: rgba(208, 166, 31, 0.22);
  border-color: rgba(208, 166, 31, 0.55);
}

.gop-logout-btn {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.gop-logout-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.gop-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(208, 166, 31, 0.25);
  background: rgba(208, 166, 31, 0.08);
  color: #d0a61f;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s;
}

.gop-menu-toggle:hover {
  background: rgba(208, 166, 31, 0.18);
}

.gop-menu-icon,
.gop-menu-icon::before,
.gop-menu-icon::after {
  display: block;
  width: 1.125rem;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.gop-menu-icon {
  position: relative;
}

.gop-menu-icon::before,
.gop-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.gop-menu-icon::before { top: -6px; }
.gop-menu-icon::after { top: 6px; }

.gop-header.gop-nav-open .gop-menu-icon { background: transparent; }
.gop-header.gop-nav-open .gop-menu-icon::before { top: 0; transform: rotate(45deg); }
.gop-header.gop-nav-open .gop-menu-icon::after { top: 0; transform: rotate(-45deg); }

.gop-header-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background: rgba(9, 11, 20, 0.55);
  border: none;
  padding: 0;
  cursor: pointer;
}

.gop-header-bar {
  position: relative;
  z-index: 2;
}

.gop-header-logo-link {
  display: inline-flex;
  flex-shrink: 0;
  line-height: 0;
}

.gop-header-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.gop-flyout-triggers {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

.gop-flyout-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.65rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.gop-flyout-trigger:hover,
.gop-flyout-trigger[aria-expanded="true"] {
  background: rgba(208, 166, 31, 0.12);
  color: #d0a61f;
}

.gop-flyout-chevron {
  width: 1rem;
  height: 1rem;
  opacity: 0.7;
  transition: transform 0.2s;
}

.gop-flyout-trigger[aria-expanded="true"] .gop-flyout-chevron {
  transform: rotate(180deg);
}

/* Full-width stacked flyout panel (desktop) */
.gop-flyout-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  border-bottom: 1px solid rgba(208, 166, 31, 0.2);
  background: rgba(9, 11, 20, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.gop-flyout-panel-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 1rem;
}

.gop-flyout-stack {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .gop-flyout-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .gop-flyout-stack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gop-flyout-section {
  opacity: 0.55;
  transition: opacity 0.15s;
}

.gop-flyout-section.is-active {
  opacity: 1;
}

.gop-flyout-section-title {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d0a61f;
}

.gop-flyout-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.gop-flyout-link {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.15s;
}

.gop-flyout-link:hover {
  background: rgba(26, 34, 56, 0.85);
}

.gop-flyout-link-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f1f5f9;
}

.gop-flyout-link-desc {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.35;
}

.gop-flyout-link--site .gop-flyout-link-label {
  color: #94a3b8;
}

.gop-flyout-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.gop-flyout-footer-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #d0a61f;
  text-decoration: none;
}

.gop-flyout-footer-link:hover {
  text-decoration: underline;
}

/* Mobile stacked flyout panels */
.gop-mobile-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 3;
  max-height: min(75vh, 32rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(208, 166, 31, 0.2);
  background: rgba(9, 11, 20, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gop-mobile-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 1rem 1rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  max-height: min(75vh, 32rem);
  overflow-y: auto;
}

.gop-mobile-panel-title {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.gop-mobile-groups {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gop-mobile-group-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.65rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.gop-mobile-group-btn:hover {
  background: rgba(26, 34, 56, 0.85);
}

.gop-mobile-group-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: #d0a61f;
  flex-shrink: 0;
}

.gop-mobile-back {
  align-self: flex-start;
  padding: 0.35rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #d0a61f;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.gop-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gop-mobile-link {
  display: block;
  padding: 0.75rem 0.65rem;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.gop-mobile-link:hover {
  background: rgba(26, 34, 56, 0.85);
  color: #d0a61f;
}

.gop-mobile-link--site {
  color: #94a3b8;
}

.gop-mobile-menu-footer {
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.gop-header.gop-flyout-open .gop-header-backdrop {
  display: block;
}

.gop-header.gop-nav-open .gop-header-backdrop {
  display: block;
}

@media (min-width: 1024px) {
  .gop-header--flyout .gop-flyout-triggers {
    display: flex;
  }

  .gop-header--flyout .gop-menu-toggle {
    display: none;
  }

  .gop-header--flyout .gop-mobile-menu {
    display: none !important;
  }

  .gop-header--flyout .gop-flyout-panel:not([hidden]) {
    display: block;
  }
}

@media (max-width: 1023px) {
  .gop-header--flyout .gop-flyout-triggers,
  .gop-header--flyout .gop-flyout-panel {
    display: none !important;
  }

  .gop-header--flyout .gop-menu-toggle {
    display: inline-flex;
  }
}

.gop-header-account {
  display: none;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 0 0.25rem;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.gop-header-account.is-visible {
  display: flex;
}

.gop-header-user-name {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
  word-break: break-word;
}

.gop-header-account .gop-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(208, 166, 31, 0.1);
  border: 1px solid rgba(208, 166, 31, 0.25);
  color: #f0d060;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.gop-header-account .gop-logout-btn {
  display: inline-flex;
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  .gop-header-inner {
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .gop-header-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .gop-header-title-group {
    min-width: 0;
  }

  .gop-header-subtitle {
    display: none !important;
  }

  .gop-header-badge {
    display: none;
  }

  .gop-header--flyout .gop-header-nav {
    display: none;
  }

  .gop-header:not(.gop-header--flyout):not(.gop-header--compact) .gop-menu-toggle {
    display: inline-flex;
  }

  .gop-header:not(.gop-header--flyout):not(.gop-header--compact) .gop-header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    max-height: min(70vh, 28rem);
    overflow-y: auto;
    padding: 0.65rem 1rem 1rem;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    border-bottom: 1px solid rgba(208, 166, 31, 0.2);
    background: rgba(9, 11, 20, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  }

  .gop-header:not(.gop-header--flyout):not(.gop-header--compact) .gop-header-nav a,
  .gop-header:not(.gop-header--flyout):not(.gop-header--compact) .gop-header-nav .gop-theme-btn {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    padding: 0.65rem 0.85rem;
    font-size: 0.9375rem;
  }

  .gop-header:not(.gop-header--flyout):not(.gop-header--compact).gop-nav-open .gop-header-nav {
    display: flex;
  }

  body.gop-nav-open {
    overflow: hidden;
  }

  .gop-header--compact .gop-header-inner {
    flex-wrap: wrap;
  }

  .gop-header--compact .gop-menu-toggle {
    display: none;
  }

  .gop-header--compact .gop-header-nav {
    display: flex;
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    overflow: visible;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    flex: 1 1 100%;
    order: 3;
    gap: 0.35rem;
  }

  .gop-header--compact .gop-header-nav a,
  .gop-header--compact .gop-header-nav .gop-theme-btn {
    width: auto;
    padding: 0.375rem 0.65rem;
    font-size: 0.8125rem;
  }

  .gop-header--compact .gop-header-account {
    display: none !important;
  }

  .gop-header--compact .gop-logout-btn--toolbar {
    display: inline-flex;
  }

  .gop-header:not(.gop-header--compact) .gop-logout-btn--toolbar {
    display: none;
  }
}

@media (min-width: 768px) {
  .gop-header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  /* Impede colapso a 0px quando a nav compete pela mesma linha (flex min-width bug) */
  .gop-header-brand {
    flex: 1 1 12rem;
    min-width: min(100%, 12rem);
  }

  .gop-header-nav {
    margin-left: auto;
    flex: 0 1 auto;
    justify-content: flex-end;
    max-width: 100%;
  }

  .gop-header-tools {
    order: 3;
  }

  .gop-header-user.is-visible .gop-logout-btn--toolbar {
    display: inline-flex;
  }

  .gop-header-account {
    display: none !important;
  }
}

.gop-header-nav a {
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.gop-header-nav a:hover {
  background: rgba(26, 34, 56, 0.8);
  color: #d0a61f;
}

.gop-header-nav a.gop-nav-back {
  color: #d0a61f;
  padding: 0.375rem 0;
  white-space: nowrap;
  background: none;
}

.gop-header-nav a.gop-nav-back:hover {
  text-decoration: underline;
}

.gop-header-nav a.gop-nav-site {
  border: 1px solid #475569;
  color: #64748b;
}

.gop-header-nav a.gop-nav-site:hover {
  border-color: #475569;
  color: #cbd5e1;
}

/* ─── Tokens de tema (GestãoClick + portal) ─── */
:root {
  --gc-bg: linear-gradient(180deg, #090b14 0%, #0f172a 55%, #090b14 100%);
  --gc-fg: #e2e8f0;
  --gc-fg-strong: #f8fafc;
  --gc-fg-muted: #94a3b8;
  --gc-fg-subtle: #64748b;
  --gc-fg-soft: #cbd5e1;
  --gc-surface: rgba(18, 25, 43, 0.95);
  --gc-surface-2: rgba(18, 25, 43, 0.6);
  --gc-surface-3: rgba(26, 34, 56, 0.85);
  --gc-surface-inp: rgba(18, 25, 43, 0.88);
  --gc-surface-deep: rgba(9, 11, 20, 0.7);
  --gc-surface-card: rgba(18, 25, 43, 0.65);
  --gc-border: rgba(148, 163, 184, 0.28);
  --gc-border-soft: rgba(148, 163, 184, 0.12);
  --gc-border-gold: rgba(208, 166, 31, 0.18);
  --gc-accent: #f0d060;
  --gc-accent-text: #d0a61f;
  --gc-inp-color: #f1f5f9;
  --gc-shadow: rgba(0, 0, 0, 0.35);
  --gc-card-hero: linear-gradient(155deg, rgba(26, 34, 56, 0.95) 0%, rgba(9, 11, 20, 0.98) 55%, rgba(18, 25, 43, 0.9) 100%);
  --gc-hero-glow: radial-gradient(ellipse at top right, rgba(208, 166, 31, 0.08), transparent 55%);
  --gc-score-bg: rgba(0, 0, 0, 0.25);
  --gc-panel-dim: rgba(0, 0, 0, 0.15);
  --gc-termo-bg: rgba(12, 16, 28, 0.75);
  --gc-stat-bg: rgba(15, 23, 42, 0.55);
  --gc-chip-bg: rgba(18, 25, 43, 0.5);
  --gc-marker-label-bg: rgba(9, 11, 20, 0.9);
  --gc-card-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] {
  --gc-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #eef2f7 100%);
  --gc-fg: #0f172a;
  --gc-fg-strong: #020617;
  --gc-fg-muted: #475569;
  --gc-fg-subtle: #64748b;
  --gc-fg-soft: #334155;
  --gc-surface: rgba(255, 255, 255, 0.98);
  --gc-surface-2: rgba(255, 255, 255, 0.94);
  --gc-surface-3: #f8fafc;
  --gc-surface-inp: #ffffff;
  --gc-surface-deep: #f1f5f9;
  --gc-surface-card: rgba(255, 255, 255, 0.96);
  --gc-border: rgba(15, 23, 42, 0.14);
  --gc-border-soft: rgba(15, 23, 42, 0.08);
  --gc-border-gold: rgba(184, 134, 11, 0.32);
  --gc-accent: #b45309;
  --gc-accent-text: #a16207;
  --gc-inp-color: #0f172a;
  --gc-shadow: rgba(15, 23, 42, 0.08);
  --gc-card-hero: linear-gradient(155deg, #fff 0%, #f8fafc 55%, #f1f5f9 100%);
  --gc-hero-glow: radial-gradient(ellipse at top right, rgba(251, 191, 36, 0.12), transparent 55%);
  --gc-score-bg: #f1f5f9;
  --gc-panel-dim: #f1f5f9;
  --gc-termo-bg: #f8fafc;
  --gc-stat-bg: rgba(255, 255, 255, 0.94);
  --gc-chip-bg: rgba(255, 255, 255, 0.94);
  --gc-marker-label-bg: #fff;
  --gc-card-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* ─── Tema claro ─── */
.gop-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(208, 166, 31, 0.2);
  background: rgba(208, 166, 31, 0.08);
  color: #d0a61f;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s, border-color 0.15s;
  margin-left: 0.5rem;
  line-height: 1;
}
.gop-theme-btn:hover {
  background: rgba(208, 166, 31, 0.18);
  border-color: rgba(208, 166, 31, 0.4);
}

[data-theme="light"] .gop-header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .gop-header-title { color: #b8860b; }
[data-theme="light"] .gop-header-nav a { color: #334155; }
[data-theme="light"] .gop-header-nav a:hover { color: #d0a61f; }
[data-theme="light"] .gop-flyout-panel,
[data-theme="light"] .gop-mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .gop-flyout-trigger { color: #334155; }
[data-theme="light"] .gop-flyout-link-label,
[data-theme="light"] .gop-mobile-group-btn,
[data-theme="light"] .gop-mobile-link { color: #1e293b; }
[data-theme="light"] .gop-flyout-link-desc { color: #64748b; }
[data-theme="light"] .gop-header-user-name { color: #1e293b; }
[data-theme="light"] .gop-logout-btn { color: #475569; background: rgba(0, 0, 0, 0.04); }
[data-theme="light"] body {
  background: var(--gc-bg) !important;
  color: var(--gc-fg) !important;
}

/* ─── Loading / Error / Empty states ─── */
.gop-loading, .gop-error, .gop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(148,163,184,0.2);
}
.gop-error { border-color: rgba(239,68,68,0.3); color: #ef4444; }
.gop-empty { border-color: rgba(148,163,184,0.15); color: #64748b; }
.gop-loading-icon, .gop-error-icon, .gop-empty-icon {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}
.gop-loading-icon { animation: gopSpin 1s linear infinite; }
@keyframes gopSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.gop-error-detail { font-size: 0.75rem; color: #94a3b8; margin-top: 0.25rem; }
.gop-retry-btn {
  margin-top: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(208,166,31,0.3);
  color: #d0a61f;
  background: rgba(208,166,31,0.08);
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 0.15s;
}
.gop-retry-btn:hover { background: rgba(208,166,31,0.18); }

/* ─── KPI tiles (portal, vendas, recompensas…) ─── */
.gop-kpi {
  background: rgba(18, 25, 43, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
  padding: 1rem 1.125rem;
}
.gop-kpi-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 0.35rem;
}
.gop-kpi-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
  color: #f8fafc;
}
.gop-kpi-hint {
  font-size: 0.6875rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.gop-kpi--emerald { border-color: rgba(52, 211, 153, 0.42); background: rgba(6, 78, 59, 0.22); }
.gop-kpi--emerald .gop-kpi-value { color: #6ee7b7; }
.gop-kpi--amber { border-color: rgba(251, 191, 36, 0.48); background: rgba(120, 53, 15, 0.22); }
.gop-kpi--amber .gop-kpi-value { color: #fcd34d; }
.gop-kpi--gold { border-color: rgba(208, 166, 31, 0.48); background: rgba(120, 90, 10, 0.18); }
.gop-kpi--gold .gop-kpi-value { color: #f0d060; }
.gop-kpi--cyan { border-color: rgba(34, 211, 238, 0.42); background: rgba(22, 78, 99, 0.22); }
.gop-kpi--cyan .gop-kpi-value { color: #67e8f9; }
.gop-kpi--violet { border-color: rgba(167, 139, 250, 0.42); background: rgba(76, 29, 149, 0.2); }
.gop-kpi--violet .gop-kpi-value { color: #c4b5fd; }

/* ─── Toast light mode ─── */
[data-theme="light"] .gop-toast { color: #1e293b !important; }
[data-theme="light"] #gop-toast-container > div { color: #1e293b !important; }
