html,
body {
  background: var(--ds-bg-app) !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) {
  font-family: var(--ds-font-body) !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) .main-area,
body:not(.auth-only) #services-root {
  background: var(--ds-bg-app) !important;
}

body:not(.auth-only) .service-section,
body:not(.auth-only) .service-section.active {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) .service-head,
body:not(.auth-only) .v0-page-header {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 1rem !important;
  padding: clamp(1rem, 1.3vw, 1.2rem) clamp(1rem, 1.6vw, 1.35rem) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.018)) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: calc(var(--ds-radius-xl) + 0.2rem) !important;
  box-shadow: 0 18px 44px rgba(2, 6, 23, 0.18) !important;
  backdrop-filter: blur(8px) !important;
}

body:not(.auth-only) .service-head .eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.95rem !important;
  padding: 0.2rem 0.78rem !important;
  border-radius: 999px !important;
  background: rgba(96, 165, 250, 0.14) !important;
  color: #dbeafe !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
}

body:not(.auth-only) .service-head h3,
body:not(.auth-only) .v0-page-header h3 {
  color: var(--ds-text-canvas) !important;
  font-family: var(--ds-font-display) !important;
  font-size: clamp(2rem, 3vw, 2.7rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

body:not(.auth-only) .service-head p,
body:not(.auth-only) .service-head .subtle,
body:not(.auth-only) .v0-page-header p {
  color: var(--ds-text-canvas-muted) !important;
}

body:not(.auth-only) .v0-card-head p,
body:not(.auth-only) .subtle {
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) .panel-heading h4,
body:not(.auth-only) .v0-card-head h4 {
  color: var(--ds-text) !important;
  font-family: var(--ds-font-display) !important;
}

body:not(.auth-only) .service-head .eyebrow {
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.14) !important;
}

body:not(.auth-only) .panel-heading h4,
body:not(.auth-only) .v0-card-head h4 {
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}
body:not(.auth-only) .panel,
body:not(.auth-only) .hero-panel,
body:not(.auth-only) .table-panel,
body:not(.auth-only) .inventory-kpi-card,
body:not(.auth-only) .v0-card,
body:not(.auth-only) .v0-hero-card,
body:not(.auth-only) .v0-highlight-card,
body:not(.auth-only) .v0-stat-card,
body:not(.auth-only) .v0-action-card,
body:not(.auth-only) .v0-goal-card,
body:not(.auth-only) .v0-list-item,
body:not(.auth-only) .score-card,
body:not(.auth-only) .record-detail-panel {
  background: linear-gradient(180deg, var(--ds-bg-card) 0%, var(--ds-bg-card-alt) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-xl) !important;
  box-shadow: var(--ds-shadow-card) !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) .panel,
body:not(.auth-only) .hero-panel,
body:not(.auth-only) .table-panel {
  padding: 1.35rem !important;
}

body:not(.auth-only) .hero-panel {
  background:
    radial-gradient(circle at top right, rgba(109, 94, 252, 0.09), transparent 34%),
    linear-gradient(180deg, var(--ds-bg-card) 0%, var(--ds-bg-card-alt) 100%) !important;
  border-color: var(--ds-border-strong) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 22px 40px rgba(109, 94, 252, 0.1) !important;
}

body:not(.auth-only) .panel-heading,
body:not(.auth-only) .v0-card-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  margin-bottom: 1rem !important;
}

body:not(.auth-only) .inventory-kpi-card {
  display: grid !important;
  gap: 0.55rem !important;
  align-content: start !important;
  min-height: 8.6rem !important;
  padding: 1.25rem !important;
}

body:not(.auth-only) .inventory-kpi-label,
body:not(.auth-only) .v0-stat-label {
  color: var(--ds-text-muted) !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
}

body:not(.auth-only) .inventory-kpi-value,
body:not(.auth-only) .v0-stat-value {
  color: var(--ds-text) !important;
  font-family: var(--ds-font-display) !important;
  font-size: clamp(2rem, 2.4vw, 3rem) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
}

body:not(.auth-only) input,
body:not(.auth-only) textarea,
body:not(.auth-only) select {
  background: #ffffff !important;
  color: var(--ds-text) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-md) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82) !important;
}

body:not(.auth-only) input::placeholder,
body:not(.auth-only) textarea::placeholder {
  color: var(--ds-text-soft) !important;
}

body:not(.auth-only) .btn,
body:not(.auth-only) .v0-inline-button,
body:not(.auth-only) .v0-primary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 2.95rem !important;
  padding: 0 1rem !important;
  border-radius: 1rem !important;
  border: 1px solid var(--ds-border) !important;
  background: #ffffff !important;
  color: #42536b !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
}

body:not(.auth-only) .btn.primary,
body:not(.auth-only) .v0-primary-button,
body:not(.auth-only) .v0-inline-button.is-primary {
  background: var(--ds-bg-accent) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: var(--ds-shadow-accent) !important;
}

body:not(.auth-only) .btn.ghost,
body:not(.auth-only) .v0-inline-button:not(.is-primary) {
  background: #ffffff !important;
  color: #475569 !important;
}

body:not(.auth-only) .v0-button-small {
  min-height: 2.45rem !important;
  padding: 0.55rem 0.9rem !important;
  border-radius: 0.85rem !important;
  font-size: 0.88rem !important;
}

body:not(.auth-only) .v0-button-mini {
  min-height: 2.1rem !important;
  padding: 0.42rem 0.72rem !important;
  border-radius: 0.78rem !important;
  font-size: 0.8rem !important;
}

body:not(.auth-only) .v0-button-wide {
  width: 100% !important;
}

body:not(.auth-only) .switch-row,
body:not(.auth-only) .checkbox-row,
body:not(.auth-only) .v0-switch-row {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  min-height: 3rem !important;
  padding: 0.82rem 0.95rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  background: var(--ds-bg-card-alt) !important;
  color: var(--ds-text-body) !important;
  box-shadow: none !important;
}

body:not(.auth-only) .switch-row.full,
body:not(.auth-only) .checkbox-row.full,
body:not(.auth-only) .v0-switch-row.full {
  width: 100% !important;
}

body:not(.auth-only) .switch-row > span:first-child,
body:not(.auth-only) .checkbox-row > span:first-child,
body:not(.auth-only) .v0-switch-row > span:first-child {
  margin-right: auto !important;
  color: var(--ds-text-body) !important;
  font-weight: 600 !important;
}

body:not(.auth-only) .switch-row > input:last-child,
body:not(.auth-only) .checkbox-row > input:last-child,
body:not(.auth-only) .v0-switch-row > input:last-child {
  margin-left: auto !important;
}

body:not(.auth-only) :where(.switch-row, .checkbox-row, .v0-switch-row) :where(input[type="checkbox"], input[type="radio"]) {
  accent-color: var(--ds-accent) !important;
}

body:not(.auth-only) .v0-table-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  flex-wrap: wrap !important;
}

body:not(.auth-only) .status-pill,
body:not(.auth-only) .v0-badge,
body:not(.auth-only) .v0-page-chip,
body:not(.auth-only) .v0-highlight-chip,
body:not(.auth-only) .v0-hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 1.95rem !important;
  padding: 0.2rem 0.7rem !important;
  border-radius: 999px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  border: 1px solid var(--ds-border) !important;
  background: var(--ds-bg-subtle) !important;
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) .status-pill.ok,
body:not(.auth-only) .v0-badge--success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #0f9f6e !important;
  border-color: rgba(16, 185, 129, 0.16) !important;
}

body:not(.auth-only) .status-pill.warn,
body:not(.auth-only) .v0-badge--warning {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #b7791f !important;
  border-color: rgba(245, 158, 11, 0.16) !important;
}

body:not(.auth-only) .status-pill.danger,
body:not(.auth-only) .v0-badge--danger {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
  border-color: rgba(239, 68, 68, 0.16) !important;
}

body:not(.auth-only) .status-pill[data-pressure-band="healthy"],
body:not(.auth-only) .status-pill[data-pressure-band="won"] {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #0f9f6e !important;
  border-color: rgba(16, 185, 129, 0.16) !important;
}

body:not(.auth-only) .status-pill[data-pressure-band="watch"] {
  background: rgba(59, 130, 246, 0.1) !important;
  color: #2563eb !important;
  border-color: rgba(59, 130, 246, 0.16) !important;
}

body:not(.auth-only) .status-pill[data-pressure-band="at_risk"] {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #b7791f !important;
  border-color: rgba(245, 158, 11, 0.16) !important;
}

body:not(.auth-only) .status-pill[data-pressure-band="critical"],
body:not(.auth-only) .status-pill[data-pressure-band="stalled"],
body:not(.auth-only) .status-pill[data-pressure-band="lost"] {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #dc2626 !important;
  border-color: rgba(239, 68, 68, 0.16) !important;
}

body:not(.auth-only) .v0-inline-alert,
body:not(.auth-only) .inline-tip,
body:not(.auth-only) .ux-offline-banner {
  display: grid !important;
  gap: 0.32rem !important;
  margin: 0 !important;
  padding: 0.9rem 1rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  background: var(--ds-bg-card) !important;
  color: var(--ds-text-body) !important;
  box-shadow: none !important;
}

body:not(.auth-only) .v0-inline-alert.hidden,
body:not(.auth-only) .v0-inline-alert[hidden],
body:not(.auth-only) .inline-tip.hidden,
body:not(.auth-only) .inline-tip[hidden],
body:not(.auth-only) .ux-offline-banner.hidden,
body:not(.auth-only) .ux-offline-banner[hidden] {
  display: none !important;
}

body:not(.auth-only) .v0-inline-alert strong,
body:not(.auth-only) .inline-tip strong,
body:not(.auth-only) .ux-offline-banner strong {
  color: var(--ds-text) !important;
}

body:not(.auth-only) .v0-inline-alert p,
body:not(.auth-only) .inline-tip p,
body:not(.auth-only) .ux-offline-banner p {
  margin: 0 !important;
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) .v0-inline-alert--info,
body:not(.auth-only) .inline-tip {
  background: rgba(14, 165, 233, 0.08) !important;
  border-color: rgba(14, 165, 233, 0.18) !important;
}

body:not(.auth-only) .v0-inline-alert--success {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.18) !important;
}

body:not(.auth-only) .v0-inline-alert--warning {
  background: rgba(245, 158, 11, 0.1) !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}

body:not(.auth-only) .v0-inline-alert--danger,
body:not(.auth-only) .ux-offline-banner {
  background: rgba(239, 68, 68, 0.08) !important;
  border-color: rgba(239, 68, 68, 0.18) !important;
}

body:not(.auth-only) .empty-state {
  margin: 0 !important;
  padding: 0.95rem 1rem !important;
  border: 1px dashed var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) .v0-loading-state {
  display: grid !important;
  gap: 0.7rem !important;
}

body:not(.auth-only) .v0-loading-state.is-compact {
  gap: 0.5rem !important;
}

body:not(.auth-only) .v0-loading-copy {
  color: var(--ds-text-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

body:not(.auth-only) .v0-loading-lines {
  display: grid !important;
  gap: 0.55rem !important;
}

body:not(.auth-only) .v0-skeleton-line {
  display: block !important;
  width: 100% !important;
  height: 0.82rem !important;
  border-radius: var(--ds-radius-pill) !important;
  background: linear-gradient(90deg, rgba(226, 232, 240, 0.92), rgba(241, 245, 249, 0.92), rgba(226, 232, 240, 0.92)) !important;
  background-size: 200% 100% !important;
  animation: uh-skeleton 1.2s linear infinite !important;
}

body:not(.auth-only) .v0-skeleton-line:nth-child(2n) {
  width: 88% !important;
}

body:not(.auth-only) .v0-skeleton-line:last-child {
  width: 62% !important;
}

body:not(.auth-only) .v0-section-stack,
body:not(.auth-only) .v0-workbench-main,
body:not(.auth-only) .v0-workbench-side {
  display: grid !important;
  gap: 1rem !important;
  align-content: start !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-workbench {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(min(100%, var(--ds-layout-grid-split-side)), 0.82fr) !important;
  gap: var(--ds-layout-grid-gap) !important;
  align-items: start !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-toolbar-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.75rem !important;
}

body:not(.auth-only) .actions-row.wrap > .v0-fluid-field,
body:not(.auth-only) .v0-toolbar-row > .v0-fluid-field {
  display: grid !important;
  gap: 0.45rem !important;
  flex: 1 1 clamp(14rem, 22vw, 20rem) !important;
  min-width: min(100%, 14rem) !important;
  align-self: stretch !important;
}

body:not(.auth-only) .actions-row.wrap > .v0-fluid-field--wide,
body:not(.auth-only) .v0-toolbar-row > .v0-fluid-field--wide {
  flex-basis: clamp(16rem, 26vw, 24rem) !important;
}

body:not(.auth-only) .actions-row.wrap > .v0-fluid-field--compact,
body:not(.auth-only) .v0-toolbar-row > .v0-fluid-field--compact {
  flex-basis: clamp(12rem, 18vw, 16rem) !important;
  min-width: min(100%, 12rem) !important;
}

body:not(.auth-only) .v0-fluid-field > input,
body:not(.auth-only) .v0-fluid-field > select,
body:not(.auth-only) .v0-fluid-field > textarea {
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-toolbar-row--search,
body:not(.auth-only) .v0-toolbar-row--bulk {
  padding: 0.85rem 0.95rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .v0-toolbar-row--bulk {
  border-style: dashed !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
}

body:not(.auth-only) .v0-toolbar-row > .subtle:last-child,
body:not(.auth-only) .v0-inline-alert-actions > .subtle:last-child {
  margin-left: auto !important;
}

body:not(.auth-only) .v0-inline-alert-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.65rem !important;
}

body:not(.auth-only) .table-wrap,
body:not(.auth-only) .record-inline-wrap,
body:not(.auth-only) .inventory-health-stack,
body:not(.auth-only) .inventory-sync-log,
body:not(.auth-only) .agent-history,
body:not(.auth-only) .jobs-stack,
body:not(.auth-only) .accounts-grid,
body:not(.auth-only) .inventory-bars,
body:not(.auth-only) .vault-file-list {
  color: var(--ds-text) !important;
}

body:not(.auth-only) .inventory-health-item,
body:not(.auth-only) .inventory-sync-log > *,
body:not(.auth-only) .agent-history > *,
body:not(.auth-only) .jobs-stack > *,
body:not(.auth-only) .accounts-grid > *,
body:not(.auth-only) .vault-file-list > * {
  background: var(--ds-bg-card-alt) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  padding: 0.9rem 1rem !important;
}

@media (max-width: 1180px) {
  body:not(.auth-only) .v0-workbench {
    grid-template-columns: 1fr !important;
  }
}

body:not(.auth-only) #inventory-section .switch-row,
body:not(.auth-only) #inventory-section .inventory-grid-toolbar,
body:not(.auth-only) #inventory-section .inventory-columns-manager,
body:not(.auth-only) #inventory-section .inventory-mobile-card,
body:not(.auth-only) #inventory-section .catalog-preview-wrap,
body:not(.auth-only) #email-section .email-message-item,
body:not(.auth-only) #email-section .account-card,
body:not(.auth-only) #email-section #email-provider-hint {
  background: var(--ds-bg-card-alt) !important;
  color: var(--ds-text) !important;
  border: 1px solid var(--ds-border) !important;
  box-shadow: none !important;
}

body:not(.auth-only) #inventory-section .switch-row {
  border-radius: var(--ds-radius-lg) !important;
}

body:not(.auth-only) #inventory-section .inventory-grid-toolbar,
body:not(.auth-only) #inventory-section .inventory-columns-manager,
body:not(.auth-only) #inventory-section .inventory-mobile-card,
body:not(.auth-only) #inventory-section .catalog-preview-wrap,
body:not(.auth-only) #email-section .email-message-item,
body:not(.auth-only) #email-section .account-card,
body:not(.auth-only) #email-section #email-provider-hint {
  border-radius: var(--ds-radius-xl) !important;
}

body:not(.auth-only) #inventory-section .switch-row span,
body:not(.auth-only) #inventory-section .inventory-columns-manager summary,
body:not(.auth-only) #inventory-section .inventory-mobile-card-copy span,
body:not(.auth-only) #inventory-section .catalog-preview-wrap .subtle,
body:not(.auth-only) #email-section .email-message-item .subtle,
body:not(.auth-only) #email-section .account-card span,
body:not(.auth-only) #email-section #email-provider-hint {
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) #inventory-section .inventory-grid-controls,
body:not(.auth-only) #inventory-section .inventory-columns-list,
body:not(.auth-only) #inventory-section .inventory-mobile-card-fields,
body:not(.auth-only) #email-section .email-message-item,
body:not(.auth-only) #email-section .account-card {
  color: var(--ds-text) !important;
}

body:not(.auth-only) #email-section .email-message-item.active {
  background: rgba(109, 94, 252, 0.08) !important;
  border-color: rgba(109, 94, 252, 0.26) !important;
}

body:not(.auth-only) #email-section .email-message-item.unread {
  border-color: rgba(59, 130, 246, 0.22) !important;
}

body:not(.auth-only) #email-section .account-card.connected {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(16, 185, 129, 0.22) !important;
}

body:not(.auth-only) .code-block,
body:not(.auth-only) .log-preview,
body:not(.auth-only) pre {
  background: #f8fafc !important;
  color: #334155 !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-lg) !important;
  padding: 1rem !important;
}

body:not(.auth-only) .table-wrap table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body:not(.auth-only) .table-wrap thead th,
body:not(.auth-only) .table-wrap th {
  padding: 0.9rem 1rem !important;
  border-bottom: 1px solid var(--ds-border) !important;
  background: #f8fafc !important;
  color: var(--ds-text-muted) !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

body:not(.auth-only) .table-wrap tbody td,
body:not(.auth-only) .table-wrap td {
  padding: 1rem !important;
  border-bottom: 1px solid var(--ds-border) !important;
  color: var(--ds-text) !important;
  vertical-align: top !important;
  background: #ffffff !important;
}

body:not(.auth-only) .table-wrap tbody tr:hover {
  background: rgba(109, 94, 252, 0.03) !important;
}

body:not(.auth-only) .table-wrap tbody tr:hover td {
  background: #f8fafc !important;
}

body:not(.auth-only) .form-grid {
  display: grid !important;
  gap: 0.85rem 1rem !important;
}

body:not(.auth-only) .form-grid label {
  display: grid !important;
  gap: 0.38rem !important;
  min-width: 0 !important;
  color: var(--ds-text-muted) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

body:not(.auth-only) .form-grid input,
body:not(.auth-only) .form-grid textarea,
body:not(.auth-only) .form-grid select {
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .actions-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.75rem !important;
  align-items: center !important;
}

body:not(.auth-only) .record-inline-wrap {
  min-height: 6rem !important;
}

body:not(.auth-only) .crm-view-summary {
  display: grid !important;
  gap: 0.7rem !important;
  margin-bottom: 0.9rem !important;
  padding: 0.95rem 1rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 1rem !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f8fbff 100%) !important;
}

body:not(.auth-only) .crm-view-summary-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
}

body:not(.auth-only) .crm-view-summary-head strong {
  color: var(--ds-text) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body:not(.auth-only) .crm-view-summary-chips {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

body:not(.auth-only) .crm-view-chip {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 1.95rem !important;
  padding: 0.2rem 0.72rem !important;
  border-radius: 999px !important;
  background: var(--ds-bg-subtle) !important;
  color: var(--ds-text-muted) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
}

body:not(.auth-only) .crm-view-chip.is-empty {
  background: transparent !important;
  border: 1px dashed var(--ds-border-strong) !important;
}

body:not(.auth-only) .crm-workspace-shell {
  display: grid !important;
  gap: 1rem !important;
}

body:not(.auth-only) .crm-workspace-grid {
  display: grid !important;
  gap: 1rem !important;
}

body:not(.auth-only) .crm-workspace-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-panel-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .crm-workspace-section.crm-workspace-card {
  display: grid !important;
  gap: 0.95rem !important;
  min-width: 0 !important;
  padding: 1.05rem 1.1rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%) !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-event,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-grid article {
  background: var(--ds-bg-card) !important;
  border-color: var(--ds-border) !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-grid article {
  box-shadow: var(--ds-shadow-card) !important;
}

body:not(.auth-only) .crm-workspace-section-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

body:not(.auth-only) .crm-workspace-section-head strong {
  color: var(--ds-text) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

body:not(.auth-only) .crm-workspace-mini-stats {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0.75rem !important;
}

body:not(.auth-only) .crm-workspace-mini-stat {
  display: grid !important;
  gap: 0.28rem !important;
  padding: 0.85rem 0.9rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.95rem !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .crm-workspace-mini-stat span {
  color: var(--ds-text-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

body:not(.auth-only) .crm-workspace-mini-stat strong {
  color: var(--ds-text) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

body:not(.auth-only) .crm-workspace-row-stack {
  display: grid !important;
  gap: 0.7rem !important;
}

body:not(.auth-only) .crm-workspace-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  padding: 0.82rem 0.92rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.95rem !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .crm-workspace-row--stacked {
  align-items: flex-start !important;
}

body:not(.auth-only) .crm-workspace-row-end {
  display: flex !important;
  align-items: center !important;
  gap: 0.7rem !important;
}

body:not(.auth-only) .crm-workspace-row-value {
  color: var(--ds-text) !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body:not(.auth-only) .crm-workspace-note-block {
  display: grid !important;
  gap: 0.32rem !important;
  padding: 0.9rem 0.95rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.95rem !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .crm-workspace-note-label,
body:not(.auth-only) .crm-workspace-subtitle {
  color: var(--ds-text-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

body:not(.auth-only) .crm-workspace-subsection {
  display: grid !important;
  gap: 0.6rem !important;
}

body:not(.auth-only) .crm-workspace-action-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-panel-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .crm-workspace-action-grid .full {
  grid-column: 1 / -1 !important;
}

body:not(.auth-only) .crm-workspace-toggle-row {
  padding: 0.85rem 0.95rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.95rem !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-grid article,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-event:not(.crm-workspace-section) {
  border-color: var(--ds-border) !important;
  background: var(--ds-bg-card-alt) !important;
  box-shadow: none !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-grid article span,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-inline-empty,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-event:not(.crm-workspace-section) .subtle,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-event:not(.crm-workspace-section) small {
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-grid article strong,
body:not(.auth-only) #crm-record-detail-wrap .crm-workspace-card .record-detail-event:not(.crm-workspace-section) > strong {
  color: var(--ds-text) !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

body:not(.auth-only) .crm-pipeline-stage-card {
  display: grid !important;
  gap: 0.9rem !important;
  min-height: 100% !important;
}

body:not(.auth-only) .crm-pipeline-stage-card.is-active {
  border-color: rgba(99, 102, 241, 0.28) !important;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.08), var(--ds-shadow-card) !important;
}

body:not(.auth-only) .crm-pipeline-stage-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

body:not(.auth-only) .crm-pipeline-stage-list {
  display: grid !important;
  gap: 0.7rem !important;
}

body:not(.auth-only) .crm-pipeline-stage-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0.8rem 0.9rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.95rem !important;
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .crm-pipeline-stage-row .record-inline-actions {
  flex-wrap: wrap !important;
  justify-content: flex-end !important;
}

body:not(.auth-only) .v0-hybrid-card {
  padding: 1.25rem !important;
}

body:not(.auth-only) .v0-hybrid-subpanel {
  background: var(--ds-bg-card-alt) !important;
}

body:not(.auth-only) .v0-specialist-page {
  display: grid !important;
  gap: 1.45rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-specialist-card {
  padding: 1.4rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 1.3rem !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%) !important;
  box-shadow: var(--ds-shadow-card) !important;
}

body:not(.auth-only) .v0-specialist-subpanel {
  background: linear-gradient(180deg, #fbfcff 0%, #f7f9fc 100%) !important;
}

body:not(.auth-only) .v0-hybrid-grid-2,
body:not(.auth-only) .v0-hybrid-grid {
  display: grid !important;
  gap: 1rem !important;
}

body:not(.auth-only) .v0-hybrid-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-panel-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .v0-hybrid-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-card-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .v0-specialist-grid-2,
body:not(.auth-only) .v0-specialist-grid {
  display: grid !important;
  gap: 1rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-specialist-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-panel-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .v0-specialist-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--ds-layout-grid-card-min)), 1fr)) !important;
  gap: var(--ds-layout-grid-gap) !important;
}

body:not(.auth-only) .v0-specialist-header {
  align-items: flex-start !important;
}

body:not(.auth-only) .v0-specialist-header .file-input-label {
  min-height: 2.95rem !important;
}

body:not(.auth-only) .v0-module-subnav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  padding: 0 0 0.2rem !important;
  border-bottom: 1px solid var(--ds-border) !important;
}

body:not(.auth-only) .v0-module-subnav-btn {
  min-height: 2.7rem !important;
  padding: 0 0.92rem !important;
  border: 1px solid transparent !important;
  border-radius: 0.95rem !important;
  background: transparent !important;
  color: var(--ds-text-muted) !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}

body:not(.auth-only) .v0-module-subnav-btn.active {
  background: var(--ds-bg-selected) !important;
  border-color: rgba(109, 94, 252, 0.16) !important;
  color: var(--ds-accent-strong) !important;
}

body:not(.auth-only) .v0-module-panel {
  margin-top: 0.15rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .v0-module-panel.active {
  display: grid !important;
  gap: 1.15rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .record-detail-tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.55rem !important;
  margin-bottom: 1rem !important;
}

body:not(.auth-only) .record-tab {
  min-height: 2.35rem !important;
  padding: 0.42rem 0.78rem !important;
  border-radius: 0.85rem !important;
}

body:not(.auth-only) .record-tab.is-active {
  background: var(--ds-bg-selected) !important;
  color: var(--ds-accent-strong) !important;
  border-color: rgba(109, 94, 252, 0.16) !important;
}

body:not(.auth-only) .crm-tab-content,
body:not(.auth-only) .agent-tab-content,
body:not(.auth-only) .inventory-tab-content,
body:not(.auth-only) .accounting-tab-content,
body:not(.auth-only) .video-tab-content,
body:not(.auth-only) .social-tab-content,
body:not(.auth-only) .email-tab-content,
body:not(.auth-only) .comm-tab-content,
body:not(.auth-only) .phone-tab-content,
body:not(.auth-only) .storage-tab-content,
body:not(.auth-only) .logs-tab-content {
  display: none !important;
}

body:not(.auth-only) .crm-tab-content.active,
body:not(.auth-only) .agent-tab-content.active,
body:not(.auth-only) .inventory-tab-content.active,
body:not(.auth-only) .accounting-tab-content.active,
body:not(.auth-only) .video-tab-content.active,
body:not(.auth-only) .social-tab-content.active,
body:not(.auth-only) .email-tab-content.active,
body:not(.auth-only) .comm-tab-content.active,
body:not(.auth-only) .phone-tab-content.active,
body:not(.auth-only) .storage-tab-content.active,
body:not(.auth-only) .logs-tab-content.active {
  display: grid !important;
  gap: 1rem !important;
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .crm-tab-content:not(.active),
body:not(.auth-only) .agent-tab-content:not(.active),
body:not(.auth-only) .inventory-tab-content:not(.active),
body:not(.auth-only) .accounting-tab-content:not(.active),
body:not(.auth-only) .video-tab-content:not(.active),
body:not(.auth-only) .social-tab-content:not(.active),
body:not(.auth-only) .email-tab-content:not(.active),
body:not(.auth-only) .comm-tab-content:not(.active),
body:not(.auth-only) .phone-tab-content:not(.active),
body:not(.auth-only) .storage-tab-content:not(.active),
body:not(.auth-only) .logs-tab-content:not(.active) {
  display: none !important;
}

body:not(.auth-only) .service-section,
body:not(.auth-only) .service-section.active,
body:not(.auth-only) .v0-page-shell,
body:not(.auth-only) .v0-page,
body:not(.auth-only) .panel,
body:not(.auth-only) .v0-card,
body:not(.auth-only) .v0-specialist-card,
body:not(.auth-only) .table-wrap,
body:not(.auth-only) .record-inline-wrap,
body:not(.auth-only) .grid.two-col,
body:not(.auth-only) .grid.two-cols,
body:not(.auth-only) .email-outlook-shell,
body:not(.auth-only) .email-pane,
body:not(.auth-only) .inventory-editor-controls {
  width: 100% !important;
  min-width: 0 !important;
}

body:not(.auth-only) .grid.two-col,
body:not(.auth-only) .grid.two-cols,
body:not(.auth-only) .email-outlook-shell {
  align-items: start !important;
}

body:not(.auth-only) .agent-history-item,
body:not(.auth-only) .future-lab-play-card,
body:not(.auth-only) .chain-step-card,
body:not(.auth-only) .agent-card,
body:not(.auth-only) .agent-queue-item,
body:not(.auth-only) .builder-node-card,
body:not(.auth-only) .builder-template-card,
body:not(.auth-only) .builder-validation-summary,
body:not(.auth-only) .builder-validation-item {
  display: grid !important;
  gap: 0.45rem !important;
  padding: 1rem !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 1rem !important;
  background: var(--ds-bg-card-alt) !important;
  box-shadow: none !important;
  color: var(--ds-text) !important;
}

body:not(.auth-only) .agent-history-head,
body:not(.auth-only) .future-lab-play-head,
body:not(.auth-only) .chain-step-head,
body:not(.auth-only) .agent-card-head,
body:not(.auth-only) .agent-queue-head,
body:not(.auth-only) .builder-node-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
}

body:not(.auth-only) .agent-history-item.active,
body:not(.auth-only) .future-lab-play-card.selected,
body:not(.auth-only) .builder-template-card.active,
body:not(.auth-only) .chain-step-card.active,
body:not(.auth-only) .agent-card.selected {
  border-color: rgba(109, 94, 252, 0.34) !important;
  background: rgba(109, 94, 252, 0.08) !important;
}

body:not(.auth-only) .builder-node-card.builder-health-healthy,
body:not(.auth-only) .agent-history-item.done,
body:not(.auth-only) .agent-history-item.approved {
  border-color: rgba(16, 185, 129, 0.22) !important;
}

body:not(.auth-only) .builder-node-card.builder-health-attention,
body:not(.auth-only) .agent-history-item.warn,
body:not(.auth-only) .agent-history-item.waiting_approval,
body:not(.auth-only) .builder-validation-item.warn {
  border-color: rgba(245, 158, 11, 0.24) !important;
  background: rgba(245, 158, 11, 0.06) !important;
}

body:not(.auth-only) .builder-node-card.builder-health-degraded,
body:not(.auth-only) .agent-history-item.failed,
body:not(.auth-only) .agent-history-item.blocked,
body:not(.auth-only) .agent-history-item.error,
body:not(.auth-only) .builder-validation-item.error {
  border-color: rgba(239, 68, 68, 0.24) !important;
  background: rgba(239, 68, 68, 0.06) !important;
}

body:not(.auth-only) .builder-editor-grid {
  display: grid !important;
  grid-template-columns:
    minmax(clamp(15rem, 18vw, 18rem), 0.92fr)
    minmax(0, 1.35fr)
    minmax(clamp(16rem, 20vw, 22rem), 1fr) !important;
  gap: var(--ds-layout-grid-gap) !important;
  align-items: start !important;
}

body:not(.auth-only) .builder-palette-item {
  border: 1px solid var(--ds-border) !important;
  border-radius: 0.9rem !important;
  background: #ffffff !important;
  color: var(--ds-text) !important;
  font-weight: 700 !important;
  padding: 0.6rem 0.72rem !important;
  text-align: left !important;
}

body:not(.auth-only) .builder-canvas {
  border: 1px solid var(--ds-border) !important;
  border-radius: 1rem !important;
  background:
    linear-gradient(transparent 23px, rgba(148, 163, 184, 0.1) 24px),
    linear-gradient(90deg, transparent 23px, rgba(148, 163, 184, 0.1) 24px),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
}

body:not(.auth-only) .builder-canvas-zone-label {
  fill: #334155 !important;
}

body:not(.auth-only) .builder-canvas-zone-meta {
  fill: #64748b !important;
}

body:not(.auth-only) .builder-properties {
  display: grid !important;
  gap: 0.75rem !important;
}

@media (max-width: 1180px) {
  body:not(.auth-only) .crm-workspace-grid--two {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  body:not(.auth-only) .crm-workspace-mini-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body:not(.auth-only) .crm-workspace-action-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 1180px) {
  body:not(.auth-only) .service-head,
  body:not(.auth-only) .v0-page-header {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  body:not(.auth-only) .v0-hybrid-grid-2,
  body:not(.auth-only) .v0-specialist-grid-2,
  body:not(.auth-only) .builder-editor-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 780px) {
  body:not(.auth-only) .panel,
  body:not(.auth-only) .hero-panel,
  body:not(.auth-only) .table-panel,
  body:not(.auth-only) .v0-card {
    padding: 1rem !important;
    border-radius: 1.1rem !important;
  }
}

/* ------------------------------------------------------------
   Phase 1 Product OS component bridge
   ------------------------------------------------------------ */

body:not(.auth-only) {
  color: var(--ds-text-body) !important;
}

body:not(.auth-only) .panel,
body:not(.auth-only) .hero-panel,
body:not(.auth-only) .table-panel,
body:not(.auth-only) .inventory-kpi-card,
body:not(.auth-only) .v0-card,
body:not(.auth-only) .v0-hero-card,
body:not(.auth-only) .v0-highlight-card,
body:not(.auth-only) .v0-stat-card,
body:not(.auth-only) .v0-action-card,
body:not(.auth-only) .v0-goal-card,
body:not(.auth-only) .v0-list-item,
body:not(.auth-only) .record-detail-panel {
  background: linear-gradient(180deg, var(--ds-bg-card) 0%, var(--ds-bg-card-alt) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  box-shadow: var(--ds-shadow-card) !important;
}

body:not(.auth-only) .hero-panel {
  background: linear-gradient(180deg, var(--ds-bg-card) 0%, var(--ds-bg-card-alt) 100%) !important;
  border-color: var(--ds-border) !important;
  box-shadow: var(--ds-shadow-card) !important;
}

body:not(.auth-only) .service-head h3,
body:not(.auth-only) .v0-page-header h3,
body:not(.auth-only) .panel-heading h4,
body:not(.auth-only) .v0-card-head h4 {
  color: var(--ds-text-canvas) !important;
  font-family: var(--ds-font-display) !important;
}

body:not(.auth-only) .service-head p,
body:not(.auth-only) .service-head .subtle,
body:not(.auth-only) .v0-page-header p {
  color: var(--ds-text-canvas-muted) !important;
}

body:not(.auth-only) .panel-heading h4,
body:not(.auth-only) .v0-card-head h4 {
  color: var(--ds-text) !important;
}

body:not(.auth-only) .v0-card-head p,
body:not(.auth-only) .v0-card-footnote,
body:not(.auth-only) .subtle {
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) input,
body:not(.auth-only) textarea,
body:not(.auth-only) select {
  background: var(--ds-bg-card) !important;
  color: var(--ds-text-body) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-md) !important;
  box-shadow: none !important;
}

body:not(.auth-only) .btn,
body:not(.auth-only) .v0-inline-button,
body:not(.auth-only) .v0-primary-button,
body:not(.auth-only) .v0-switcher-button {
  border: 1px solid var(--ds-border) !important;
  border-radius: var(--ds-radius-md) !important;
  background: var(--ds-bg-card) !important;
  color: var(--ds-text-body) !important;
  box-shadow: none !important;
}

body:not(.auth-only) .btn.primary,
body:not(.auth-only) .v0-primary-button,
body:not(.auth-only) .v0-inline-button.is-primary {
  background: var(--ds-accent) !important;
  color: #ffffff !important;
  border-color: var(--ds-accent) !important;
  box-shadow: var(--ds-shadow-accent) !important;
}

body:not(.auth-only) .status-pill,
body:not(.auth-only) .v0-badge,
body:not(.auth-only) .v0-page-chip,
body:not(.auth-only) .v0-highlight-chip,
body:not(.auth-only) .v0-hero-kicker {
  border: 1px solid var(--ds-border) !important;
  background: var(--ds-bg-card) !important;
  color: var(--ds-text-muted) !important;
}

body:not(.auth-only) .status-pill.ok,
body:not(.auth-only) .v0-badge--success {
  background: rgba(16, 185, 129, 0.1) !important;
  color: #047857 !important;
  border-color: rgba(16, 185, 129, 0.2) !important;
}

body:not(.auth-only) .status-pill.warn,
body:not(.auth-only) .v0-badge--warning {
  background: rgba(245, 158, 11, 0.1) !important;
  color: #b45309 !important;
  border-color: rgba(245, 158, 11, 0.2) !important;
}

body:not(.auth-only) .status-pill.danger,
body:not(.auth-only) .v0-badge--danger {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #b91c1c !important;
  border-color: rgba(239, 68, 68, 0.2) !important;
}

body:not(.auth-only) code,
body:not(.auth-only) pre,
body:not(.auth-only) kbd,
body:not(.auth-only) samp,
body:not(.auth-only) .v0-stat-value,
body:not(.auth-only) .crm-workspace-row-value,
body:not(.auth-only) .catalog-item-price,
body:not(.auth-only) [data-mono] {
  font-family: var(--ds-font-mono) !important;
}

body:not(.auth-only) .glow-emerald,
body:not(.auth-only) .glow-amber,
body:not(.auth-only) .glow-pink,
body:not(.auth-only) .glow-cyan {
  position: relative !important;
  overflow: hidden !important;
}

body:not(.auth-only) .glow-emerald::before,
body:not(.auth-only) .glow-amber::before,
body:not(.auth-only) .glow-pink::before,
body:not(.auth-only) .glow-cyan::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
}

body:not(.auth-only) .glow-emerald::before {
  background: var(--ds-accent-emerald) !important;
}

body:not(.auth-only) .glow-amber::before {
  background: var(--ds-accent-amber) !important;
}

body:not(.auth-only) .glow-pink::before {
  background: var(--ds-accent-pink) !important;
}

body:not(.auth-only) .glow-cyan::before {
  background: var(--ds-accent-cyan) !important;
}
