/* Communications Hub — corporate interactive email showcase */

.comm-hub-showcase {
  --comm-accent: #6366f1;
  --comm-accent-soft: rgba(99, 102, 241, 0.22);
  --comm-border: rgba(148, 163, 184, 0.16);
  --comm-instant: #38bdf8;
  --comm-scheduled: #fbbf24;
  --comm-account: #c084fc;
  --comm-rotate-ms: 5500ms;
  position: relative;
  padding: 0 0 4.5rem;
  overflow: hidden;
}

.comm-hub-showcase::before,
.comm-hub-showcase::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.55;
  animation: comm-hub-orb 18s ease-in-out infinite alternate;
}

.comm-hub-showcase::before {
  width: 28rem;
  height: 28rem;
  top: -8rem;
  left: -6rem;
  background: rgba(99, 102, 241, 0.22);
}

.comm-hub-showcase::after {
  width: 22rem;
  height: 22rem;
  top: 4rem;
  right: -5rem;
  background: rgba(14, 165, 233, 0.14);
  animation-delay: -6s;
}

@keyframes comm-hub-orb {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(2rem, 1.5rem, 0) scale(1.08); }
}

.comm-hub-showcase__intro {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 1.5rem;
}

.comm-hub-showcase__intro-head {
  max-width: none;
  width: 100%;
}

.comm-hub-showcase__intro h2 {
  margin: 0.35rem 0 0.85rem;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.comm-hub-showcase__lead {
  margin: 0;
  max-width: none;
  width: 100%;
  color: rgba(226, 232, 240, 0.82);
  font-size: 1.05rem;
  line-height: 1.65;
}

.comm-hub-showcase__shell {
  position: relative;
  z-index: 1;
}

.comm-hub-showcase__filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.comm-hub-filter {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--comm-border);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.55);
  color: rgba(226, 232, 240, 0.88);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.comm-hub-filter:hover {
  border-color: rgba(129, 140, 248, 0.45);
  transform: translateY(-1px);
}

.comm-hub-filter.is-active {
  border-color: rgba(129, 140, 248, 0.75);
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.28), rgba(15, 23, 42, 0.72));
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #fff;
}

.comm-hub-filter__label {
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.25;
}

.comm-hub-filter__count {
  flex-shrink: 0;
  min-width: 1.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.comm-hub-filter.is-active .comm-hub-filter__count {
  background: rgba(255, 255, 255, 0.14);
}

.comm-hub-filter__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  transform-origin: left center;
  transform: scaleX(0);
}

.comm-hub-filter.is-active.is-timing .comm-hub-filter__progress {
  animation: comm-hub-filter-progress var(--comm-rotate-ms) linear forwards;
}

.comm-hub-filter--instant.is-active.is-timing .comm-hub-filter__progress {
  background: linear-gradient(90deg, var(--comm-instant), rgba(56, 189, 248, 0.35));
}

.comm-hub-filter--scheduled.is-active.is-timing .comm-hub-filter__progress {
  background: linear-gradient(90deg, var(--comm-scheduled), rgba(251, 191, 36, 0.35));
}

.comm-hub-filter--account.is-active.is-timing .comm-hub-filter__progress {
  background: linear-gradient(90deg, var(--comm-account), rgba(192, 132, 252, 0.35));
}

.comm-hub-filter--all.is-active.is-timing .comm-hub-filter__progress {
  background: linear-gradient(90deg, var(--comm-accent), rgba(99, 102, 241, 0.35));
}

@keyframes comm-hub-filter-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.comm-hub-console {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%),
    rgba(8, 12, 24, 0.82);
  box-shadow:
    0 28px 70px rgba(2, 6, 23, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.comm-hub-console__head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.42);
}

.comm-hub-console__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.comm-hub-console__live-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.65);
  animation: comm-hub-live-pulse 1.8s ease-out infinite;
}

@keyframes comm-hub-live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.comm-hub-console__meta {
  min-width: 0;
}

.comm-hub-console__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.comm-hub-console__subject {
  margin: 0.2rem 0 0;
  color: rgba(148, 163, 184, 0.95);
  font-size: 0.78rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.comm-hub-console.is-changing .comm-hub-console__title,
.comm-hub-console.is-changing .comm-hub-console__subject {
  opacity: 0.45;
  transform: translateY(4px);
}

.comm-hub-console__tag {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.comm-hub-console__tag--instant {
  background: rgba(14, 165, 233, 0.16);
  color: #7dd3fc;
}

.comm-hub-console__tag--scheduled {
  background: rgba(245, 158, 11, 0.16);
  color: #fcd34d;
}

.comm-hub-console__tag--account {
  background: rgba(168, 85, 247, 0.16);
  color: #d8b4fe;
}

.comm-hub-console__tag--all {
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
}

.comm-hub-mail {
  margin: 0;
  background: #eef2f7;
  --comm-preview-frame-height: 42rem;
  --comm-mail-inset: 0.75rem;
}

.comm-hub-mail__chrome {
  padding: 0.65rem 1rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc, #eef2f7);
  border-bottom: 1px solid #dbe3ee;
}

.comm-hub-mail__toolbar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}

.comm-hub-mail__dots {
  display: inline-flex;
  gap: 0.35rem;
}

.comm-hub-mail__dots span {
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #94a3b8;
}

.comm-hub-mail__app {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.02em;
}

.comm-hub-mail__envelope {
  font-size: 0.74rem;
  color: #475569;
  line-height: 1.45;
}

.comm-hub-mail__envelope span:first-of-type,
.comm-hub-mail__envelope span:nth-of-type(3) {
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.62rem;
}

.comm-hub-mail__envelope-sep {
  margin: 0 0.35rem;
  color: #94a3b8;
}

.comm-hub-mail__viewport {
  background: #eef2f7;
  overflow: hidden;
  padding: 1rem 1.25rem 1.25rem;
}

.comm-hub-mail__viewport.is-category-switch-out {
  opacity: 0;
  transform: translate3d(-22px, 0, 0);
  transition:
    opacity var(--comm-category-switch-out, 1100ms) ease,
    transform var(--comm-category-switch-out, 1100ms) cubic-bezier(0.22, 1, 0.36, 1);
}

.comm-hub-mail__viewport.is-category-switch-hold {
  opacity: 0;
  transition: none;
  pointer-events: none;
}

.comm-hub-mail__viewport.is-category-switch-in {
  transition: none;
  opacity: 0;
  transform: translate3d(36px, 0, 0);
}

.comm-hub-mail__viewport.is-category-switch-in.is-category-switch-from-left {
  transform: translate3d(-36px, 0, 0);
}

.comm-hub-mail__viewport.is-category-switch-in.is-category-switch-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity var(--comm-category-switch-in, 1800ms) ease,
    transform var(--comm-category-switch-in, 1800ms) cubic-bezier(0.16, 1, 0.3, 1);
}

.comm-hub-mail__viewport.is-handoff-active {
  overflow: clip;
  clip-path: inset(-24px -12px -24px -12px round 10px);
}

.comm-hub-mail__duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  position: relative;
}

.comm-hub-mail__duo.is-end .comm-hub-mail__pane--secondary {
  visibility: hidden;
  pointer-events: none;
}

.comm-hub-mail__pane {
  min-width: 0;
  backface-visibility: hidden;
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s ease;
}

.comm-hub-mail__pane--secondary {
  transform-origin: center center;
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary,
.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary {
  z-index: 3;
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary {
  transform: translate3d(0, -14px, 0);
  transform-origin: center center;
  transition-duration: var(--comm-handoff-lift, 450ms);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary .comm-hub-mail__stage {
  transform: translate3d(0, -4px, 0);
  transform-origin: right center;
  box-shadow:
    0 22px 40px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(148, 163, 184, 0.12);
  transition:
    transform var(--comm-handoff-lift, 450ms) cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--comm-handoff-lift, 450ms) ease;
}

.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary {
  transform: translate3d(var(--comm-handoff-travel-x, calc(-100% - 1rem)), -10px, 0);
  transform-origin: left center;
  transition-duration: var(--comm-handoff-travel, 720ms);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary {
  transform: translate3d(var(--comm-handoff-travel-x, calc(-100% - 1rem)), 0, 0);
  transform-origin: left center;
  transition-duration: var(--comm-handoff-settle, 520ms);
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--primary,
.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--primary,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--primary {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary .comm-hub-mail__pane-head,
.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary .comm-hub-mail__pane-head,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary .comm-hub-mail__pane-head {
  opacity: 0;
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary .comm-hub-mail__stage,
.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary .comm-hub-mail__stage,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary .comm-hub-mail__stage {
  opacity: 1;
  filter: none;
}

.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary .comm-hub-mail__stage,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary .comm-hub-mail__stage {
  transform: none;
  box-shadow:
    0 18px 36px rgba(15, 23, 42, 0.14),
    0 0 0 1px rgba(148, 163, 184, 0.12);
}

.comm-hub-mail__duo.is-handoff-phase-lift .comm-hub-mail__pane--secondary .comm-hub-mail__stage::before,
.comm-hub-mail__duo.is-handoff-phase-travel .comm-hub-mail__pane--secondary .comm-hub-mail__stage::before,
.comm-hub-mail__duo.is-handoff-phase-settle .comm-hub-mail__pane--secondary .comm-hub-mail__stage::before {
  opacity: 0;
}

.comm-hub-mail__duo.is-handoff-commit .comm-hub-mail__pane--primary {
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.comm-hub-mail__duo.is-handoff-commit .comm-hub-mail__pane--secondary {
  opacity: 0;
  transition: none;
  transform: translate3d(var(--comm-handoff-travel-x, calc(-100% - 1rem)), 0, 0) scale(1);
  transform-origin: left center;
}

.comm-hub-mail__duo.is-handoff-secondary-enter .comm-hub-mail__pane--secondary {
  transition: none;
  opacity: 1;
  transform: translate3d(36%, 0, 0);
  transform-origin: center center;
}

.comm-hub-mail__duo.is-handoff-secondary-enter.is-handoff-secondary-enter-active .comm-hub-mail__pane--secondary {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    transform var(--comm-handoff-secondary-in, 4500ms) cubic-bezier(0.05, 0.95, 0.12, 1),
    opacity 2.2s ease;
}

.comm-hub-mail__duo.is-handoff-prev-exit .comm-hub-mail__pane--primary {
  opacity: 0;
  transform: translateX(14%);
  pointer-events: none;
}

.comm-hub-mail__duo.is-handoff-prev-enter .comm-hub-mail__pane--primary {
  transition: none;
  transform: translateX(-22%);
  opacity: 0.45;
}

.comm-hub-mail__duo.is-handoff-prev-active .comm-hub-mail__pane--primary {
  transform: translateX(0);
  opacity: 1;
}

.comm-hub-mail__duo.is-swap-enter .comm-hub-mail__pane--primary {
  transition: none;
  transform: translateX(18%);
  opacity: 0.45;
}

.comm-hub-mail__duo.is-swap-enter.is-swap-from-left .comm-hub-mail__pane--primary {
  transform: translateX(-18%);
}

.comm-hub-mail__duo.is-swap-active .comm-hub-mail__pane--primary {
  transform: translateX(0);
  opacity: 1;
}

.comm-hub-mail__pane-head {
  margin-bottom: 0.55rem;
}

.comm-hub-mail__pane-eyebrow {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.comm-hub-mail__pane-title {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comm-hub-mail__pane--secondary .comm-hub-mail__stage {
  opacity: 0.48;
  filter: saturate(0.35) brightness(0.92);
  transition: opacity 0.42s ease, filter 0.42s ease;
  background: #e2e8f0;
  box-shadow:
    inset 0 0 0 1px rgba(100, 116, 139, 0.28),
    0 1px 2px rgba(15, 23, 42, 0.03);
}

.comm-hub-mail__pane--secondary .comm-hub-mail__stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(100, 116, 139, 0.28) 0%,
    rgba(71, 85, 105, 0.52) 100%
  );
  pointer-events: none;
}

.comm-hub-mail__stage {
  position: relative;
  min-width: 0;
  height: var(--comm-preview-frame-height);
  overflow: hidden;
  border-radius: 10px;
  background: #e7edf4;
  box-shadow:
    inset 0 0 0 1px rgba(100, 116, 139, 0.28),
    0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.42s ease;
}

.comm-hub-mail__stage.is-overflowing::after {
  content: "";
  position: absolute;
  left: var(--comm-mail-inset);
  right: var(--comm-mail-inset);
  bottom: var(--comm-mail-inset);
  z-index: 1;
  height: 3.25rem;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.96) 68%);
  pointer-events: none;
}

.comm-hub-mail__scroll-hint {
  display: none;
  position: absolute;
  left: 50%;
  bottom: calc(var(--comm-mail-inset) + 0.55rem);
  z-index: 3;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.84);
  color: #f8fafc;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.comm-hub-mail__stage.is-overflowing .comm-hub-mail__scroll-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.comm-hub-mail__frame {
  position: absolute;
  top: var(--comm-mail-inset);
  left: var(--comm-mail-inset);
  display: block;
  width: calc(100% - (var(--comm-mail-inset) * 2));
  height: calc(100% - (var(--comm-mail-inset) * 2));
  min-height: 0;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  vertical-align: top;
}

.comm-hub-rail-wrap {
  padding: 1rem 1.25rem 0.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.35);
}

.comm-hub-rail__label {
  margin: 0 0 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.92);
}

.comm-hub-rail {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(129, 140, 248, 0.45) transparent;
}

.comm-hub-rail__chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 16rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.35);
  color: rgba(226, 232, 240, 0.88);
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.comm-hub-rail__chip:hover {
  border-color: rgba(129, 140, 248, 0.45);
  transform: translateY(-1px);
}

.comm-hub-rail__chip.is-active {
  border-color: rgba(129, 140, 248, 0.75);
  background: rgba(79, 70, 229, 0.24);
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.18);
  color: #fff;
}

.comm-hub-rail__chip.is-hidden {
  display: none;
}

.comm-hub-rail__chip-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.comm-hub-rail__chip-dot--instant { background: var(--comm-instant); }
.comm-hub-rail__chip-dot--scheduled { background: var(--comm-scheduled); }
.comm-hub-rail__chip-dot--account { background: var(--comm-account); }

.comm-hub-rail__chip-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.comm-hub-console__footer {
  padding: 0.85rem 1.25rem 1.1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(8, 12, 24, 0.55);
}

.comm-hub-progress {
  height: 2px;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.comm-hub-progress__bar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--comm-accent), #818cf8);
  transform-origin: left center;
  transform: scaleX(0);
}

.comm-hub-progress.is-timing .comm-hub-progress__bar {
  animation: comm-hub-filter-progress var(--comm-rotate-ms) linear forwards;
}

.comm-hub-console__hint {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.9);
  text-align: center;
  letter-spacing: 0.01em;
}

.comm-hub-console__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.comm-hub-console__btn,
.comm-hub-console__play {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.52rem 1rem;
  background: rgba(15, 23, 42, 0.55);
  color: #e2e8f0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.comm-hub-console__btn:hover,
.comm-hub-console__play:hover {
  border-color: rgba(129, 140, 248, 0.55);
  transform: translateY(-1px);
}

.comm-hub-console__status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.comm-hub-console__status p {
  margin: 0;
  min-width: 4.5rem;
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.95);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.comm-hub-console__play {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.comm-hub-console__play-icon {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  width: 0.85rem;
  height: 0.65rem;
  background: transparent;
  box-shadow: none;
}

.comm-hub-console__play[aria-pressed="true"] .comm-hub-console__play-icon::before,
.comm-hub-console__play[aria-pressed="true"] .comm-hub-console__play-icon::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0.28rem;
  border-radius: 1px;
  background: currentColor;
}

.comm-hub-console__play[aria-pressed="true"] .comm-hub-console__play-icon::before {
  left: 0;
}

.comm-hub-console__play[aria-pressed="true"] .comm-hub-console__play-icon::after {
  right: 0;
}

.comm-hub-console__play[aria-pressed="false"] .comm-hub-console__play-icon {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  border-radius: 0;
  background: transparent;
}

.comm-hub-console__play[aria-pressed="false"] .comm-hub-console__play-icon::before,
.comm-hub-console__play[aria-pressed="false"] .comm-hub-console__play-icon::after {
  content: none;
}

.comm-hub-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.comm-hub-section__grid--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.comm-hub-section__grid--reverse .comm-hub-section__copy {
  order: 2;
}

.comm-hub-section__grid--reverse .comm-hub-shots,
.comm-hub-section__grid--reverse .comm-hub-notify-feed {
  order: 1;
}

.comm-hub-notify-feed {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.55);
}

.comm-hub-notify-feed__chrome {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 0.85rem;
  font-weight: 700;
}

.comm-hub-notify-feed__bell {
  width: 1rem;
  height: 1rem;
  border-radius: 50% 50% 0 0;
  border: 2px solid #818cf8;
  border-bottom: 0;
  transform: translateY(1px);
}

.comm-hub-notify-feed__badge {
  margin-left: auto;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 0.72rem;
  text-align: center;
}

.comm-hub-notify-feed__list {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.comm-hub-notify {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.comm-hub-notify__icon {
  width: 0.65rem;
  height: 0.65rem;
  margin-top: 0.35rem;
  border-radius: 50%;
}

.comm-hub-notify--violet .comm-hub-notify__icon { background: #8b5cf6; }
.comm-hub-notify--amber .comm-hub-notify__icon { background: #f59e0b; }
.comm-hub-notify--sky .comm-hub-notify__icon { background: #0ea5e9; }
.comm-hub-notify--rose .comm-hub-notify__icon { background: #f43f5e; }
.comm-hub-notify--indigo .comm-hub-notify__icon { background: #6366f1; }

.comm-hub-notify h3 {
  margin: 0 0 0.25rem;
  font-size: 0.92rem;
}

.comm-hub-notify p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(226, 232, 240, 0.82);
}

.comm-hub-notify__meta {
  margin-top: 0.35rem !important;
  font-size: 0.72rem !important;
  color: rgba(148, 163, 184, 0.9) !important;
}

.comm-hub-section--schedule .page-section__head {
  max-width: none;
  width: 100%;
}

.comm-hub-section--schedule .page-section__head > p {
  max-width: none;
}

.comm-hub-schedule-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.comm-hub-schedule-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.42);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.comm-hub-schedule-card:hover {
  border-color: rgba(129, 140, 248, 0.35);
  transform: translateY(-2px);
}

.comm-hub-schedule-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.comm-hub-schedule-card p {
  margin: 0 0 0.85rem;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.55;
}

.comm-hub-schedule-card__templates {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.comm-hub-schedule-card__templates button {
  border: 1px solid rgba(129, 140, 248, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
  background: rgba(79, 70, 229, 0.18);
  color: #c7d2fe;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.comm-hub-schedule-card__templates button:hover {
  background: rgba(79, 70, 229, 0.32);
  transform: translateY(-1px);
}

.comm-hub-admin-note {
  padding: 0.85rem 1rem;
  border-left: 3px solid #6366f1;
  border-radius: 0 12px 12px 0;
  background: rgba(79, 70, 229, 0.12);
  color: rgba(226, 232, 240, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
}

.comm-hub-section--messaging .comm-hub-messaging-sub {
  margin-top: 1.75rem;
}

.comm-hub-section__media {
  min-width: 0;
}

/* Communications Hub — dual-channel signal panel (admin section media) */

.comm-hub-signal-panel {
  --comm-signal-ms: 4500ms;
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.16), transparent 55%),
    rgba(15, 23, 42, 0.58);
  box-shadow: 0 22px 48px rgba(2, 6, 23, 0.35);
}

.comm-hub-signal-panel__chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.comm-hub-signal-panel__brand {
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.92);
}

.comm-hub-signal-panel__live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(167, 243, 208, 0.95);
}

.comm-hub-signal-panel__live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
  animation: comm-hub-signal-live 2s ease-in-out infinite;
}

@keyframes comm-hub-signal-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

.comm-hub-signal-panel__trigger {
  padding: 1.15rem 1.2rem 0.5rem;
  text-align: center;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.comm-hub-signal-panel.is-changing .comm-hub-signal-panel__trigger {
  opacity: 0.5;
  transform: translate3d(0, 5px, 0);
}

.comm-hub-signal-panel__rule {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(129, 140, 248, 0.95);
}

.comm-hub-signal-panel__event {
  margin: 0.4rem 0 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.comm-hub-signal-panel__hub {
  position: relative;
  height: 3.25rem;
  margin: 0 1.15rem;
}

.comm-hub-signal-panel__hub-core {
  position: absolute;
  left: 50%;
  top: 0;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #818cf8;
  box-shadow: 0 0 18px rgba(129, 140, 248, 0.65);
  transform: translateX(-50%);
}

.comm-hub-signal-panel__hub-beam {
  position: absolute;
  top: 0.35rem;
  width: 2px;
  height: 2rem;
  background: linear-gradient(180deg, rgba(129, 140, 248, 0.85), rgba(129, 140, 248, 0.08));
  opacity: 0.35;
  transform-origin: top center;
  transition: opacity 0.25s ease;
}

.comm-hub-signal-panel__hub-beam--email {
  left: 25%;
  transform: rotate(28deg);
}

.comm-hub-signal-panel__hub-beam--app {
  right: 25%;
  transform: rotate(-28deg);
}

.comm-hub-signal-panel.is-route-active .comm-hub-signal-panel__hub-beam {
  opacity: 1;
  animation: comm-hub-signal-beam 0.9s ease;
}

@keyframes comm-hub-signal-beam {
  0% { opacity: 0.2; filter: brightness(0.85); }
  40% { opacity: 1; filter: brightness(1.35); }
  100% { opacity: 0.45; filter: brightness(1); }
}

.comm-hub-signal-panel__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0 1rem 1rem;
}

.comm-hub-signal-panel__channel {
  min-width: 0;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 14px;
  background: rgba(2, 6, 23, 0.38);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.comm-hub-signal-panel.is-route-active .comm-hub-signal-panel__channel {
  border-color: rgba(129, 140, 248, 0.45);
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
  transform: translateY(-2px);
}

.comm-hub-signal-panel__channel--email {
  border-top: 2px solid rgba(56, 189, 248, 0.65);
}

.comm-hub-signal-panel__channel--app.comm-hub-signal-panel__channel--violet { border-top-color: #8b5cf6; }
.comm-hub-signal-panel__channel--app.comm-hub-signal-panel__channel--amber { border-top-color: #f59e0b; }
.comm-hub-signal-panel__channel--app.comm-hub-signal-panel__channel--sky { border-top-color: #0ea5e9; }
.comm-hub-signal-panel__channel--app.comm-hub-signal-panel__channel--rose { border-top-color: #f43f5e; }
.comm-hub-signal-panel__channel--app.comm-hub-signal-panel__channel--indigo { border-top-color: #6366f1; }

.comm-hub-signal-panel__channel-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
}

.comm-hub-signal-panel__channel-icon {
  width: 1rem;
  height: 1rem;
  border-radius: 3px;
  flex-shrink: 0;
}

.comm-hub-signal-panel__channel-icon--email {
  border: 2px solid rgba(56, 189, 248, 0.75);
  border-radius: 2px;
}

.comm-hub-signal-panel__channel-icon--app {
  border: 2px solid #818cf8;
  border-radius: 50% 50% 0 0;
  border-bottom: 0;
}

.comm-hub-signal-panel__channel-line,
.comm-hub-signal-panel__channel-title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
}

.comm-hub-signal-panel__channel-meta {
  margin: 0.3rem 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(148, 163, 184, 0.92);
}

.comm-hub-signal-panel__tagline {
  margin: 0;
  padding: 0 1.2rem 1rem;
  font-size: 0.84rem;
  text-align: center;
  color: rgba(148, 163, 184, 0.92);
}

.comm-hub-signal-panel__progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.comm-hub-signal-panel__progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #6366f1, #38bdf8);
}

.comm-hub-signal-panel.is-timing .comm-hub-signal-panel__progress span {
  animation: comm-hub-signal-progress var(--comm-signal-ms) linear forwards;
}

@keyframes comm-hub-signal-progress {
  to { transform: scaleX(1); }
}

.comm-hub-signal-panel__caption {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.92);
  text-align: center;
}

@media (max-width: 640px) {
  .comm-hub-signal-panel__channels {
    grid-template-columns: 1fr;
  }

  .comm-hub-signal-panel__hub-beam--email {
    left: 32%;
    transform: rotate(18deg);
  }

  .comm-hub-signal-panel__hub-beam--app {
    right: 32%;
    transform: rotate(-18deg);
  }
}

.comm-hub-shots .shot__frame img {
  width: 100%;
  height: auto;
}

.page-hero--communications-hub .page-hero__inner--split {
  align-items: center;
}

.comm-hub-hero-card {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.45);
}

.comm-hub-hero-card__row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.comm-hub-hero-card__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.comm-hub-hero-card__dot {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: #6366f1;
  flex-shrink: 0;
}

.comm-hub-hero-card strong {
  display: block;
  font-size: 0.96rem;
}

.comm-hub-hero-card span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.86rem;
  color: rgba(148, 163, 184, 0.95);
  line-height: 1.45;
}

@media (max-width: 960px) {
  .comm-hub-showcase__filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .comm-hub-console__head {
    grid-template-columns: 1fr;
  }

  .comm-hub-console__live {
    justify-self: start;
  }

  .comm-hub-console__tag {
    justify-self: start;
  }

  .comm-hub-section__grid,
  .comm-hub-section__grid--reverse {
    grid-template-columns: 1fr;
  }

  .comm-hub-section__grid--reverse .comm-hub-section__copy,
  .comm-hub-section__grid--reverse .comm-hub-shots,
  .comm-hub-section__grid--reverse .comm-hub-notify-feed {
    order: initial;
  }

  .comm-hub-schedule-grid {
    grid-template-columns: 1fr;
  }

  .comm-hub-mail__duo {
    grid-template-columns: 1fr;
  }

  .comm-hub-mail {
    --comm-preview-frame-height: 30rem;
  }
}

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

  .comm-hub-console__controls {
    grid-template-columns: 1fr;
  }

  .comm-hub-console__status {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .comm-hub-showcase::before,
  .comm-hub-showcase::after,
  .comm-hub-console__live-dot,
  .comm-hub-filter.is-active.is-timing .comm-hub-filter__progress,
  .comm-hub-progress.is-timing .comm-hub-progress__bar {
    animation: none;
  }

  .comm-hub-mail__pane,
  .comm-hub-mail__pane--secondary .comm-hub-mail__stage,
  .comm-hub-console__title,
  .comm-hub-console__subject,
  .comm-hub-mail__viewport,
  .comm-hub-filter,
  .comm-hub-rail__chip,
  .comm-hub-console__btn,
  .comm-hub-console__play,
  .comm-hub-schedule-card {
    transition: none;
  }
}
