/* CROC Chat — Concept C: "Island" (Bottom-Centred Dynamic Island) */

:root,
body.sidebar-collapsed {
  --nav-rail-w: 0px;
}

.app-shell {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  height: 100vh;
  width: 100%;
  background: var(--bg-canvas-grad);
  overflow: hidden;
}

/* Main Workspace Viewport — full width, bottom lane reserved for the Island */
.workspace-main {
  grid-row: 1 / 2;
  grid-column: 1 / -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
  min-width: 0;
  position: relative;
  contain: layout style;
  background: transparent;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

.comm-layout {
  display: grid;
  grid-template-columns: clamp(264px, 22vw, 316px) minmax(0, 1fr) var(--context-col-w);
  height: 100%;
  min-height: 0;
}
.comm-layout.no-context {
  grid-template-columns: clamp(264px, 22vw, 316px) minmax(0, 1fr);
}
.comm-sidebar,
.comm-list-pane {
  margin-left: 0 !important;
}

.split-layout {
  display: grid;
  grid-template-columns: 368px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
}
.split-left {
  background: var(--bg-elevated);
  display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden;
}
.split-right {
  display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow-y: auto; scrollbar-gutter: stable;
  background: var(--bg-canvas-grad);
}

.page-scroll {
  flex: 1;
  overflow-y: auto;
  scrollbar-gutter: stable;
  padding: 26px 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.page-scroll > * {
  flex-shrink: 0;
}

.page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.page-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -0.03em;
}
.page-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Architectural Raised KPI Stat Cards */
.kpi-card {
  background: var(--bg-surface);
  border: none;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: opacity 180ms var(--ease-fluid);
}
.kpi-label {
  font-size: 15px;
  font-weight: 550;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kpi-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.kpi-delta { font-size: 15px; color: var(--text-muted); }

/* ==================== CONCEPT C: DYNAMIC ISLAND ==================== */
.island-dock {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  transform: translate3d(-50%, 0, 0);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  min-height: 54px;
  pointer-events: none;
  max-width: calc(100vw - 24px);
  contain: layout style;
}

.island-aura {
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 240px;
  height: 82px;
  transform: translate3d(-50%, 0, 0);
  border-radius: 9999px;
  background: radial-gradient(ellipse at 35% 50%, rgba(45, 91, 142, 0.22), rgba(168, 93, 42, 0.14) 55%, transparent 76%);
  pointer-events: none;
  z-index: -1;
}
[data-theme="dark"] .island-aura {
  background: radial-gradient(ellipse at 35% 50%, rgba(110, 159, 212, 0.24), rgba(224, 169, 79, 0.14) 55%, transparent 76%);
}

.island-capsule {
  position: relative;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 54px;
  min-height: 54px;
  min-width: 148px;
  padding: 4px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-3);
  border: none;
  touch-action: pan-y;
  user-select: none;
  overflow: visible;
  contain: layout style;
}
[data-theme="dark"] .island-capsule {
  background: rgba(22, 25, 31, 0.94);
}

.island-places {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.island-liquid-pill {
  position: absolute;
  left: 0;
  top: 0;
  height: 46px;
  width: 46px;
  border-radius: 9999px;
  background: radial-gradient(circle at 32% 30%, rgba(110, 159, 212, 0.34), rgba(45, 91, 142, 0.20));
  pointer-events: none;
  opacity: 0;
  z-index: 0;
}
[data-theme="dark"] .island-liquid-pill {
  background: radial-gradient(circle at 32% 30%, rgba(110, 159, 212, 0.38), rgba(45, 91, 142, 0.24));
}

.island-capsule[data-state="collapsed"] .island-liquid-pill {
  display: none;
}

.island-place-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  overflow: visible;
  transition: color 160ms var(--ease-fluid), opacity 160ms var(--ease-fluid);
}
.island-place-btn:hover,
.island-place-btn.is-focused,
.island-place-btn.active {
  color: var(--text-primary);
}
.island-place-btn:active {
  opacity: 0.85;
  transition-duration: 0ms;
}

/* Collapsed state: only the active place glyph + unread dot (never stretch capsule for name) */
.island-capsule[data-state="collapsed"] .island-place-btn:not(.active) {
  display: none;
}
.island-capsule:not([data-state="collapsed"]) .island-overflow-active {
  display: none !important;
}
.island-capsule[data-state="collapsed"] .island-place-btn.active {
  width: 46px;
  padding: 0;
  background: radial-gradient(circle at 30% 30%, rgba(45, 91, 142, 0.16), rgba(168, 93, 42, 0.09));
}
[data-theme="dark"] .island-capsule[data-state="collapsed"] .island-place-btn.active {
  background: radial-gradient(circle at 30% 30%, rgba(110, 159, 212, 0.22), rgba(224, 169, 79, 0.12));
}
.island-capsule[data-state="collapsed"] .island-place-btn .nav-item-label,
.island-overflow-active-label {
  display: none;
}
.island-overflow-active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  color: var(--text-primary);
  background: radial-gradient(circle at 30% 30%, rgba(45, 91, 142, 0.16), rgba(168, 93, 42, 0.09));
}
[data-theme="dark"] .island-overflow-active {
  background: radial-gradient(circle at 30% 30%, rgba(110, 159, 212, 0.22), rgba(224, 169, 79, 0.12));
}

.island-place-btn .nav-item-label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

/* Expanded places state: brief tooltip ONLY on non-active hovered/focused item (never on active) */
.island-capsule:not([data-state="collapsed"]) .island-place-btn .nav-item-label {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translate3d(-50%, 6px, 0);
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--bg-surface-solid);
  color: var(--text-primary);
  box-shadow: var(--shadow-2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease-fluid), transform 220ms var(--ease-fluid);
}
.island-capsule:not([data-state="collapsed"]) .island-place-btn:not(.active).is-tooltip-shown .nav-item-label {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}
.island-capsule:not([data-state="collapsed"]) .island-place-btn.active .nav-item-label {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Unread soft lit dot on communication */
.island-unread-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: var(--warm-accent, #a85d2a);
}

.island-place-btn .badge-unread,
.island-place-btn .mono {
  display: none;
}

.island-divider {
  width: 1px;
  height: 22px;
  background: var(--border-subtle);
  flex-shrink: 0;
  margin: 0 2px;
}

.island-cap-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 160ms var(--ease-fluid), color 160ms var(--ease-fluid), opacity 160ms ease;
}
.island-cap-btn:hover,
.island-cap-btn.active,
.island-cap-btn[aria-expanded="true"] {
  background: var(--bg-hover);
  color: var(--text-primary);
}
.island-cap-btn:active {
  opacity: 0.85;
  transition-duration: 0ms;
}
.island-cap-btn .nav-item-label {
  display: none;
}
.island-conn-dot {
  position: absolute;
  bottom: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
}

/* Utilities Satellite Bubbles (reached via chevron or long-press) */
.island-satellites {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-3);
  opacity: 0;
  transform: translate3d(-50%, 12px, 0) scale(0.92);
  visibility: hidden;
  transition: opacity 180ms var(--ease-fluid), transform 240ms var(--ease-fluid), visibility 0ms linear 180ms;
}
[data-theme="dark"] .island-satellites {
  background: rgba(22, 25, 31, 0.94);
}
.island-dock:has(.island-capsule[data-state="utilities"]) .island-satellites {
  pointer-events: auto;
  opacity: 1;
  transform: translate3d(-50%, 0, 0) scale(1);
  visibility: visible;
  transition: opacity 180ms var(--ease-fluid), transform 240ms var(--ease-fluid), visibility 0ms;
}

.island-sat-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border-radius: 9999px;
  border: none;
  background: var(--bg-sunken);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.island-sat-btn:hover {
  background: var(--bg-hover);
}
.island-sat-btn:active {
  opacity: 0.85;
}
.island-sat-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--st-error);
}

/* ==================== MORE CLOUD (Organic Floating Pills above Island) ==================== */
.nav-overflow-menu {
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  top: auto;
  transform: translate3d(-50%, 0, 0);
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 16px 12px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  contain: layout style;
}
.nav-overflow-menu[data-open="false"] {
  visibility: hidden;
  opacity: 0;
  transform: translate3d(-50%, 8px, 0);
  pointer-events: none;
  transition: opacity 160ms var(--ease-fluid), transform 180ms var(--ease-fluid), visibility 0ms linear 180ms;
}
.nav-overflow-menu[data-open="true"] {
  visibility: visible;
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
  pointer-events: auto;
  transition: opacity 180ms var(--ease-fluid), transform 200ms var(--ease-fluid), visibility 0ms;
}

.nav-overflow-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-2);
  border: none;
}
[data-theme="dark"] .nav-overflow-status {
  background: rgba(22, 25, 31, 0.94);
}

.nav-overflow-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
  width: 100%;
  padding: 8px 4px;
  overflow: visible;
}
.nav-overflow-grid .nav-item {
  width: auto;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-2);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  border: none;
  transition: background-color 160ms var(--ease-fluid), color 160ms var(--ease-fluid), opacity 160ms ease;
}
[data-theme="dark"] .nav-overflow-grid .nav-item {
  background: rgba(24, 27, 34, 0.94);
}
.nav-overflow-grid .nav-item:hover {
  background: var(--bg-surface-solid);
}
.nav-overflow-grid .nav-item:active {
  opacity: 0.84;
  transition-duration: 0ms;
}
.nav-overflow-grid .nav-item.active {
  background: radial-gradient(circle at 20% 50%, rgba(45, 91, 142, 0.18), rgba(255, 255, 255, 0.96));
  color: var(--accent-text);
}
[data-theme="dark"] .nav-overflow-grid .nav-item.active {
  background: radial-gradient(circle at 20% 50%, rgba(110, 159, 212, 0.24), rgba(24, 27, 34, 0.96));
}
.nav-overflow-grid .nav-item.active::before {
  content: none;
}

/* Shared / Existing Controls */
.drawer-panel {
  position: fixed;
  top: 12px;
  right: 12px;
  bottom: 96px;
  width: 390px;
  max-width: 92vw;
  border-radius: 30px;
  background: var(--bg-popover);
  border: none;
  box-shadow: var(--shadow-4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  z-index: 980;
  display: flex;
  flex-direction: column;
  animation: slideInRight 240ms var(--ease-fluid);
}
@keyframes slideInRight {
  from { opacity: 0; transform: translate3d(24px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.ios-tabbar { display: none !important; }

.conn-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 600;
  border: none;
  background: var(--bg-surface);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
}
.conn-pill.is-connected { color: var(--text-secondary); background: var(--bg-surface); }
.conn-pill.is-reconnecting { color: var(--warning-text); background: var(--warning-soft); }
.conn-pill.is-offline { color: var(--danger-text); background: var(--danger-soft); }

.lang-seg {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-full);
  background: var(--bg-sunken, var(--bg-recessed));
  border: none;
  flex-shrink: 0;
}
.lang-seg-btn {
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  padding: 2px 9px;
  min-height: 28px;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
}
.lang-seg-btn.active {
  background: var(--bg-raised, var(--bg-active));
  color: var(--text-primary);
  box-shadow: var(--shadow-1, var(--shadow-sm));
}

.comm-layout,
.comm-main-pane,
.comm-thread-wrap {
  min-height: 0;
}
#comm-message-feed {
  overflow-y: auto;
  scrollbar-gutter: stable;
  overflow-anchor: auto;
  overscroll-behavior: contain;
  min-height: 0;
  contain: layout style;
}

@media (max-width: 1260px) {
  .comm-layout { grid-template-columns: clamp(264px, 22vw, 316px) minmax(0, 1fr); }
  .comm-context-pane { display: none; }
}

@media (max-width: 960px) {
  .app-shell {
    height: 100dvh;
    overflow-x: hidden;
  }
  .workspace-main {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }
  .comm-layout, .split-layout { grid-template-columns: 1fr; }
  .comm-sidebar, .comm-list-pane { margin-left: 0 !important; }
  .comm-context-pane { display: none; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hide-mobile { display: none !important; }
  .island-dock {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    min-height: 52px;
  }
  .island-capsule {
    height: 52px;
    min-height: 52px;
    min-width: 140px;
    padding: 4px 6px;
  }
  .island-capsule[data-state="collapsed"] .island-place-btn.active {
    width: 44px;
    padding: 0;
  }
  .island-place-btn {
    width: 44px;
    height: 44px;
  }
  .island-satellites {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 26px;
  }
}

@media (max-width: 520px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .island-place-btn,
  .island-satellites,
  .island-capsule .nav-item-label {
    transition: none !important;
  }
}
[data-reduce-motion="true"] .island-place-btn,
[data-reduce-motion="true"] .island-satellites,
[data-reduce-motion="true"] .island-capsule .nav-item-label {
  transition: none !important;
}

/* ==================== r32 JOB 1: DM vs GROUP SECTIONS & FULL NAMES ==================== */
.comm-list-section-head {
  padding: 12px 14px 6px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: 0.01em;
  color: var(--text-tertiary);
  user-select: none;
}
.comm-list-section-head:first-of-type {
  padding-top: 4px;
}

.comm-group-mark {
  position: relative;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft, rgba(45, 91, 142, 0.12));
  color: var(--accent, #2d5b8e);
}
.comm-group-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.comm-group-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.92;
  box-shadow: 0 0 0 1.5px var(--bg-surface, #ffffff);
}
.comm-group-dot + .comm-group-dot {
  margin-left: -3px;
}
.comm-group-dot:nth-child(2) {
  opacity: 0.72;
  transform: translateY(-2px);
}
.comm-group-dot:nth-child(3) {
  opacity: 0.52;
  transform: translateY(1px);
}
[data-theme="dark"] .comm-group-dot {
  box-shadow: 0 0 0 1.5px rgba(20, 22, 27, 0.95);
}

.comm-list-pane .comm-channel-row {
  min-height: 76px;
  align-items: flex-start !important;
  -webkit-touch-callout: none;
  user-select: none;
}
.comm-list-pane .comm-channel-title {
  white-space: normal !important;
  overflow-wrap: anywhere;
  text-overflow: clip !important;
  line-height: 1.32;
  max-height: calc(1.32em * 2);
  overflow: hidden;
  font-size: 16px;
  font-weight: 650;
  color: var(--text-primary);
}
.comm-list-pane .comm-channel-preview {
  font-size: 15px;
  line-height: 1.45;
  min-height: 1.45em;
}
.comm-chat-header .comm-topic-tab {
  -webkit-touch-callout: none;
  user-select: none;
}
.comm-list-pane .comm-channel-row.is-longpressing,
.comm-chat-header .comm-topic-tab.is-longpressing {
  opacity: 0.82;
  transition: opacity 160ms var(--ease-fluid, cubic-bezier(0.22, 1, 0.36, 1));
}

/* ==================== r32 JOB 5: QUICK CONTEXT MENU ==================== */
.ctx-quick-menu {
  position: fixed;
  z-index: 1200;
  min-width: 196px;
  max-width: 260px;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transform-origin: top left;
}
[data-theme="dark"] .ctx-quick-menu {
  background: rgba(28, 31, 38, 0.96);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.ctx-quick-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 14px;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 560;
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: background-color 140ms ease, color 140ms ease, opacity 140ms ease;
}
.ctx-quick-item:hover:not(.is-disabled),
.ctx-quick-item:focus-visible:not(.is-disabled) {
  background: var(--accent-soft, rgba(45, 91, 142, 0.10));
  color: var(--accent-text, #234973);
  outline: none;
}
[data-theme="dark"] .ctx-quick-item:hover:not(.is-disabled),
[data-theme="dark"] .ctx-quick-item:focus-visible:not(.is-disabled) {
  color: #8ab8e6;
}
.ctx-quick-item.is-disabled {
  opacity: 0.42;
  cursor: default;
}
.ctx-quick-item.is-danger:hover:not(.is-disabled),
.ctx-quick-item.is-danger:focus-visible:not(.is-disabled) {
  background: var(--warm-accent-soft, rgba(168, 93, 42, 0.12));
  color: var(--warm-accent, #a85d2a);
}
.ctx-quick-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.85;
}
@media (prefers-reduced-motion: reduce) {
  .comm-list-pane .comm-channel-row.is-longpressing,
  .comm-chat-header .comm-topic-tab.is-longpressing,
  .ctx-quick-item {
    transition: none !important;
    transform: none !important;
  }
}

/* Reserve space for onboarding rows to guarantee CLS 0 on mobile & desktop */
.ob-floating-row {
  content-visibility: visible !important;
  min-height: 68px;
  contain-intrinsic-size: auto 68px !important;
}

/* toasts must never cover the Island dock on phones */
@media (max-width: 960px) {
  .toast-stack { right: 12px; left: 12px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); align-items: center; }
  .ob-floating-row {
    min-height: 116px;
    contain-intrinsic-size: auto 116px !important;
  }
  .ob-floating-row > div:first-child { min-height: 46px; }
  .ob-floating-row > div:last-child { min-height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-overflow-menu[data-open="false"],
  .nav-overflow-menu[data-open="true"] {
    transition: none !important;
  }
}
[data-reduce-motion="true"] .nav-overflow-menu[data-open="false"],
[data-reduce-motion="true"] .nav-overflow-menu[data-open="true"] {
  transition: none !important;
}
