/*
  NEXORA bright theme (Navy + Teal)
  Activated when html[data-hop-theme="bright"] is set.
  Default NEXORA dark remains when attribute is missing or "nexora".
*/

html[data-hop-theme="bright"] {
  color-scheme: light;
  /* Bridge legacy NEXORA cyan tokens → bright teal */
  --hop-c-accent: #0d9488;
  --hop-c-accent-dark: #0f766e;
  --hop-c-accent-light: #5eead4;
  --hop-c-accent-soft: rgba(13, 148, 136, 0.22);
  --hop-c-accent-glow: rgba(13, 148, 136, 0.45);
  --hop-c-card: #ffffff;
  --hop-c-bg: #f4f7fb;
  --hop-c-text: #0f172a;
  --hop-c-muted: #64748b;
  --hop-c-border: #e2e8f0;
  --nx-gold: #0d9488;
  --nx-gold-2: #14b8a6;
  --nxt-cyan: #0d9488;
  --nxt-cyan-dim: rgba(13, 148, 136, 0.16);
  /* Dashboard FO / TA widgets — navy + teal */
  --dash-widget-bg: #0f2744;
  --dash-widget-bg-deep: #0a1a2e;
  --dash-widget-bg-header: #163a5c;
  --dash-widget-border: rgba(13, 148, 136, 0.4);
  --dash-widget-text: #f8fafc;
  --dash-widget-muted: #94a3b8;
  --dash-widget-accent: #0d9488;
  --dash-widget-accent-fg: #ffffff;
  --dash-widget-shadow: rgba(15, 39, 68, 0.28);
  --dash-widget-row-alt: #0f2744;
  --dash-widget-surface-border: rgba(255, 255, 255, 0.12);
  --dash-widget-ctrl-border: rgba(13, 148, 136, 0.4);
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard).workspace-shell:not(.hidden) {
  background: #f4f7fb !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-theme.hop-shell {
  background: #f4f7fb !important;
  color: #0f172a !important;
  border-color: #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav {
  background: #0f2744 !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #c8d6e8 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav-group,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav-caret {
  color: #7f95b0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-nav-item,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav-btn {
  color: #c8d6e8 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-nav-item:hover,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav-btn:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-nav-item.active,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-nav-btn.active {
  background: rgba(13, 148, 136, 0.22) !important;
  color: #5eead4 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-core:not(.nx-core--logo) {
  --nx-core-glow-a: rgba(13, 148, 136, 0.5);
  --nx-core-glow-b: rgba(94, 234, 212, 0.7);
  background: radial-gradient(circle at 30% 30%, #5eead4, #0d9488 70%) !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 18px 2px var(--nx-core-glow-a) !important;
  animation: nx-pulse 3.2s ease-in-out infinite !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-brand-word {
  color: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-brand-sub {
  color: #7f95b0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-main {
  background: #f4f7fb !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-display,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-title,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) h2 {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-text-dim,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-text-faint,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-eyebrow {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-card,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-form-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06), 0 8px 24px rgba(15, 39, 68, 0.04);
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-card::before {
  background: transparent !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-card:hover,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-form-card:hover {
  background: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-btn {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-btn:hover {
  border-color: #99f6e4 !important;
  background: #f0fdfa !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-btn-primary {
  background: #0d9488 !important;
  border-color: #0d9488 !important;
  color: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .nx-btn-primary:hover {
  background: #0f766e !important;
  border-color: #0f766e !important;
  color: #ffffff !important;
}

/* KPI / dashboard cards */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-kpi-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-kpi-card:hover {
  background: #ffffff !important;
  border-color: #99f6e4 !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-kpi-label {
  color: #64748b !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-kpi-value {
  color: #0f172a !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-kpi-value.is-na {
  color: #94a3b8 !important;
}

/* Invoice / ledger chrome */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-title {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-mobile-back {
  border: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-ctrl,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-search,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-party-toggle,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-form-grid input,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-form-grid select,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-form-grid textarea {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-text-btn {
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-sep {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.05);
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card span {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card strong {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--paid {
  border-left: 3px solid #15803d !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--paid strong { color: #15803d !important; }
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--unpaid {
  border-left: 3px solid #0369a1 !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--unpaid strong { color: #0369a1 !important; }
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--overdue {
  border-left: 3px solid #b91c1c !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--overdue strong { color: #b91c1c !important; }
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-card--total {
  border-left: 3px solid #334155 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-op {
  color: #94a3b8 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06), 0 8px 24px rgba(15, 39, 68, 0.04);
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table-head {
  border-bottom: 1px solid #e2e8f0 !important;
  background: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table-head strong {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-count {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table th {
  color: #0f766e !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-table tbody tr:hover {
  background: #f0fdfa !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-row.is-selected {
  background: #ccfbf1 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-empty {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-badge--paid {
  background: #dcfce7 !important;
  color: #15803d !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-badge--unpaid,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-badge--open {
  background: #e0f2fe !important;
  color: #0369a1 !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-badge--overdue {
  background: #fee2e2 !important;
  color: #b91c1c !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .inv-badge--partial {
  background: #fef3c7 !important;
  color: #b45309 !important;
}

/* Party / module tables */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-table,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-table {
  color: #0f172a;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-table th,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-table th {
  color: #0f766e !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-table td,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

/* Commission bar */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 2px rgba(15, 39, 68, 0.06);
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-title strong,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-party,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-results strong {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-meta,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-fields label,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-results span {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-meta b {
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-fields input {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-bar-fields select,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-select {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-date-bar {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-date-bar label {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-date-bar input[type="date"],
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-date-bar select {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-view-toggle {
  border-color: #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-view-btn {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-view-btn.is-active {
  background: #ecfdf5 !important;
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-head {
  border-bottom-color: #f1f5f9 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-name {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-totals {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-agent-totals b {
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-table th {
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-comm-table td {
  color: #0f172a !important;
}

/* Theme picker cards */
.hop-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  max-width: 720px;
}
.hop-theme-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.hop-theme-card:hover { border-color: rgba(37, 224, 255, 0.35); }
.hop-theme-card.is-active {
  border-color: rgba(37, 224, 255, 0.7);
  box-shadow: 0 0 0 1px rgba(37, 224, 255, 0.25);
}
.hop-theme-swatch {
  height: 72px;
  border-radius: 8px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 28% 1fr;
}
.hop-theme-swatch-side { background: #05070c; }
.hop-theme-swatch-main {
  background: linear-gradient(180deg, #0a0e18, #0e1524);
  position: relative;
}
.hop-theme-swatch-main::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; top: 14px; height: 10px;
  border-radius: 4px;
  background: rgba(37, 224, 255, 0.25);
}
.hop-theme-swatch--bright .hop-theme-swatch-side { background: #0f2744; }
.hop-theme-swatch--bright .hop-theme-swatch-main {
  background: #f4f7fb;
}
.hop-theme-swatch--bright .hop-theme-swatch-main::after {
  background: #99f6e4;
}
.hop-theme-card h3 {
  margin: 0 0 4px;
  font-size: 0.95rem;
}
.hop-theme-card p {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.75;
  line-height: 1.4;
}
.hop-theme-card .hop-theme-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #67e8f9;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-theme-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-theme-card.is-active {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 1px rgba(13, 148, 136, 0.25);
}
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-theme-card .hop-theme-badge {
  color: #0f766e !important;
}

/* Doc preview modal stays readable in bright mode */
html[data-hop-theme="bright"] .hop-doc-preview-modal {
  color: #0f172a;
}
html[data-hop-theme="bright"] .hop-doc-preview-head-title {
  color: #0f172a !important;
}

/* ========== Parties (full light surface — was broken/mixed) ========== */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view--parties,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view--parties .pty-page,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view--parties .mod-page {
  background: #f4f7fb !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-topbar-title {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-topbar-sub {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-layout {
  background: #f4f7fb !important;
  border: none !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-sidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-detail {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-search {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-search:focus {
  border-color: #0d9488 !important;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-list-header {
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item-wrap {
  border-bottom: 1px solid #f1f5f9 !important;
  background: transparent !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item-wrap.is-active {
  background: #f0fdfa !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item {
  background: transparent !important;
  color: #0f172a !important;
  border-bottom: none !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item:hover {
  background: #f8fafc !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item.is-active {
  background: #ccfbf1 !important;
  border-left: 3px solid #0d9488 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item-name {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item-bal {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-item-bal.is-due {
  color: #b91c1c !important;
  font-weight: 600;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-badge-c {
  background: #ccfbf1 !important;
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-badge-v {
  background: #ede9fe !important;
  color: #6d28d9 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-empty-list,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-no-selection,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-no-selection p {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-detail-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-detail-name {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-detail-type {
  background: #ccfbf1 !important;
  border: 1px solid #99f6e4 !important;
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-meta-row {
  color: #334155 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-meta-text em {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-meta-ico {
  background: #f1f5f9 !important;
  color: #0d9488 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-chip {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-chip:hover {
  border-color: #99f6e4 !important;
  background: #f0fdfa !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-chip svg {
  color: #0d9488 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-action-btn {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-action-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-section {
  background: #ffffff !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-header strong {
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-total-sale {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-total-sale em {
  color: #0f766e !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-other {
  border-top: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-other summary,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-other-hint {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-other summary span {
  background: #f1f5f9 !important;
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-table th {
  color: #0f766e !important;
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-table td {
  color: #0f172a !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-row:hover {
  background: #f0fdfa !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-view {
  color: #64748b !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-row:hover .pty-txn-view-ico {
  color: #0d9488 !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .pty-txn-amt.is-due {
  color: #b91c1c !important;
}

/* Generic module pages in bright mode */
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view--module .mod-page,
html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view--fullpage {
  background: #f4f7fb !important;
  color: #0f172a !important;
}

html[data-hop-theme="bright"] :is(#hop-executive-workspace, #dashboard) .hop-view-header {
  color: #0f172a;
}
