﻿:root {
  --nexopulse-text-scale: 1;
}

html {
  font-size: calc(100% * var(--nexopulse-text-scale));
}

html[data-nexopulse-high-contrast="true"] {
  filter: contrast(1.18);
}

html[data-nexopulse-reduced-motion="true"] *,
html[data-nexopulse-reduced-motion="true"] *::before,
html[data-nexopulse-reduced-motion="true"] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

.nexopulse-canonical-single-scroll-flow {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  min-height: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

.nexopulse-canonical-single-scroll-flow > .nexopulse-flow-block {
  position: relative !important;
  inset: auto !important;
  flex: 0 0 auto !important;
  width: auto !important;
  transform: none !important;
}

.nexopulse-flow-moment {
  order: 10;
}

.nexopulse-flow-communication {
  order: 20;
}

.nexopulse-flow-accessibility {
  order: 30;
}

.nexopulse-flow-draft {
  order: 40;
}

.nexopulse-accessibility-preferences-ui {
  margin: 0 !important;
  padding: 14px;
  border: 1px solid rgba(108, 210, 231, 0.26);
  border-radius: 18px;
  background: rgba(4, 17, 21, 0.94);
  box-sizing: border-box;
}

.nexopulse-accessibility-preferences-heading {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.nexopulse-accessibility-preferences-eyebrow {
  color: rgba(115, 218, 238, 0.96);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nexopulse-accessibility-preferences-heading strong {
  color: #f6fafb;
  font-size: 0.98rem;
}

.nexopulse-accessibility-preferences-heading > span:last-child {
  color: rgba(223, 235, 237, 0.67);
  font-size: 0.76rem;
  line-height: 1.45;
}

.nexopulse-accessibility-controls {
  display: grid;
  gap: 8px;
}

.nexopulse-accessibility-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.032);
}

.nexopulse-accessibility-row-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.nexopulse-accessibility-row-copy strong {
  color: #f4f8f8;
  font-size: 0.79rem;
}

.nexopulse-accessibility-row-copy span {
  color: rgba(221, 233, 235, 0.58);
  font-size: 0.68rem;
  line-height: 1.35;
}

.nexopulse-accessibility-select {
  width: min(190px, 42vw);
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(120, 209, 228, 0.28);
  border-radius: 9px;
  background: #0b171c;
  color: #eef8f9;
}

.nexopulse-accessibility-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  padding: 4px 7px;
  border: 0;
  background: transparent;
  color: rgba(229, 239, 240, 0.72);
  cursor: pointer;
}

.nexopulse-accessibility-switch-track {
  position: relative;
  width: 42px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.nexopulse-accessibility-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(230, 239, 240, 0.82);
  transition: transform 160ms ease, background 160ms ease;
}

.nexopulse-accessibility-switch[data-active="true"] .nexopulse-accessibility-switch-track {
  border-color: rgba(73, 226, 199, 0.62);
  background: rgba(73, 226, 199, 0.19);
}

.nexopulse-accessibility-switch[data-active="true"] .nexopulse-accessibility-switch-thumb {
  transform: translateX(20px);
  background: #52e5c7;
}

.nexopulse-accessibility-switch-label {
  min-width: 58px;
  text-align: left;
  font-size: 0.7rem;
  font-weight: 700;
}

.nexopulse-accessibility-scale {
  display: grid;
  grid-template-columns: 32px 54px 32px;
  align-items: center;
  gap: 6px;
}

.nexopulse-accessibility-scale button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(120, 209, 228, 0.25);
  border-radius: 8px;
  background: rgba(120, 209, 228, 0.07);
  color: #eef8f9;
  cursor: pointer;
  font-size: 1rem;
}

.nexopulse-accessibility-scale-value {
  color: #f4f8f8;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 800;
}

.nexopulse-accessibility-baselines {
  display: grid;
  gap: 7px;
  margin-top: 9px;
}

.nexopulse-accessibility-status-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border-radius: 11px;
  background: rgba(71, 227, 198, 0.055);
}

.nexopulse-accessibility-status-row strong {
  color: #edf6f6;
  font-size: 0.76rem;
}

.nexopulse-accessibility-status-active {
  color: #52e5c7;
  font-size: 0.68rem;
  font-weight: 800;
}

.nexopulse-accessibility-external-dormant {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-top: 9px;
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(238, 193, 87, 0.055);
}

.nexopulse-accessibility-external-dormant div {
  display: grid;
  gap: 3px;
}

.nexopulse-accessibility-external-dormant strong {
  color: #f4f6f6;
  font-size: 0.75rem;
}

.nexopulse-accessibility-external-dormant span {
  color: rgba(225, 234, 235, 0.58);
  font-size: 0.66rem;
}

.nexopulse-accessibility-external-dormant em {
  color: #e9be57;
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.nexopulse-accessibility-reset {
  margin-top: 10px;
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(120, 209, 228, 0.25);
  border-radius: 10px;
  background: rgba(120, 209, 228, 0.065);
  color: #eef8f9;
  cursor: pointer;
}

.nexopulse-accessibility-switch:focus-visible,
.nexopulse-accessibility-select:focus-visible,
.nexopulse-accessibility-scale button:focus-visible,
.nexopulse-accessibility-reset:focus-visible {
  outline: 2px solid #66e1ca;
  outline-offset: 2px;
}

.nexopulse-root[data-state="retracted"] .nexopulse-accessibility-preferences-ui,
.nexopulse-root[data-state="closed"] .nexopulse-accessibility-preferences-ui {
  display: none !important;
}

@media (max-width: 560px) {
  .nexopulse-accessibility-row {
    grid-template-columns: 1fr;
  }

  .nexopulse-accessibility-select {
    width: 100%;
  }

  .nexopulse-accessibility-switch,
  .nexopulse-accessibility-scale {
    justify-self: start;
  }

  .nexopulse-accessibility-external-dormant {
    grid-template-columns: 1fr;
  }
}
/* NEXOPULSE PHASE 25 WAVE 23 — FINAL BLOCK DEDUPLICATION */
[data-nexopulse-duplicate-label="true"] {
  display: none !important;
}

.nexopulse-canonical-single-scroll-flow
  > [data-nexopulse-canonical-section="moment"] {
  order: 10 !important;
}

.nexopulse-canonical-single-scroll-flow
  > [data-nexopulse-canonical-section="communication"] {
  order: 20 !important;
}

.nexopulse-canonical-single-scroll-flow
  > [data-nexopulse-canonical-section="accessibility"] {
  order: 30 !important;
}

.nexopulse-canonical-single-scroll-flow
  > [data-nexopulse-canonical-section="draft"] {
  order: 40 !important;
  position: relative !important;
  inset: auto !important;
  transform: none !important;
  margin-top: 0 !important;
}

.nexopulse-canonical-single-scroll-flow
  [data-nexopulse-canonical-section="draft"]
  [data-nexopulse-canonical-section="moment"],
.nexopulse-canonical-single-scroll-flow
  [data-nexopulse-canonical-section="moment"]
  [data-nexopulse-canonical-section="draft"] {
  display: none !important;
}
