/* Quiet, input-aware movement. Carousel positioning remains owned by production.js. */
.cx-workspace-nav .cx-workspace-links a,
.cx-workspace-nav .cx-nav-section summary,
.cx-workspace-nav .cx-settings-link,
.cx-workspace-nav .cx-status-link {
  position: relative;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, color 160ms ease;
}
.cx-workspace-nav .cx-workspace-links a::before,
.cx-workspace-nav .cx-nav-section summary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(90px circle at var(--cx-pointer-x, 50%) var(--cx-pointer-y, 50%), #cfdfab70, transparent 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}
.cx-workspace-nav .cx-nav-section summary > i:first-child,
.cx-workspace-nav .cx-workspace-links a > i:first-child {
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), color 180ms ease;
  transform: translate3d(var(--cx-icon-x, 0px), var(--cx-icon-y, 0px), 0);
}
.cx-workspace-nav .cx-workspace-links a:focus-visible,
.cx-workspace-nav .cx-nav-section summary:focus-visible,
.cx-workspace-brand:focus-visible,
.cx-slider-controls button:focus-visible,
.cx-nav-collapse:focus-visible,
.cx-settings-link:focus-visible,
.cx-status-link:focus-visible {
  outline: 2px solid #608729;
  outline-offset: 3px;
}
.cx-workspace-nav .cx-nav-section summary:focus-visible,
.cx-workspace-nav .cx-workspace-links a:focus-visible {
  background: #edf4e1;
  color: #3f6121;
}
.cx-workspace-nav .cx-nav-section > div > a {
  min-height: 44px !important;
  display: flex !important;
  align-items: center;
}
.cx-workspace-nav .cx-nav-section summary.cx-pointer-pressed,
.cx-workspace-nav .cx-workspace-links a.cx-pointer-pressed {
  background-color: #e3edcf;
  color: #3f6121;
}
.cx-workspace-brand img {
  transition: transform 240ms cubic-bezier(.2,.8,.2,1);
  transform-origin: left center;
}
.cx-slider .cx-slide-art {
  transform: perspective(800px) translate3d(var(--cx-art-x, 0px), var(--cx-art-y, 0px), 0) rotateX(var(--cx-art-rx, 0deg)) rotateY(var(--cx-art-ry, 0deg));
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
  backface-visibility: hidden;
}
.cx-slider-controls button {
  -webkit-tap-highlight-color: transparent;
  transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}
.cx-slider-controls button.cx-pointer-pressed {
  background-color: #e2eccf !important;
  box-shadow: inset 0 0 0 1px #cadbb1;
}
@media (hover: hover) and (pointer: fine) {
  .cx-workspace-nav .cx-workspace-links a.cx-pointer-reactive::before,
  .cx-workspace-nav .cx-nav-section summary.cx-pointer-reactive::before { opacity: 1; }
  .cx-workspace-nav .cx-workspace-links a:hover > i:first-child,
  .cx-workspace-nav .cx-nav-section summary:hover > i:first-child { color: #638a30; }
  .cx-workspace-brand:hover img { transform: translateX(2px); }
  .cx-slider-controls button:hover { box-shadow: inset 0 0 0 1px #d5e2c3; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-workspace-nav .cx-workspace-links a,
  .cx-workspace-nav .cx-nav-section summary,
  .cx-workspace-nav .cx-workspace-links a::before,
  .cx-workspace-nav .cx-nav-section summary::before,
  .cx-workspace-nav .cx-workspace-links a > i:first-child,
  .cx-workspace-nav .cx-nav-section summary > i:first-child,
  .cx-workspace-brand img,
  .cx-slider .cx-slide-art,
  .cx-slider-controls button { transition: none !important; }
  .cx-slider .cx-slide-art,
  .cx-workspace-brand img,
  .cx-workspace-nav .cx-workspace-links a > i:first-child,
  .cx-workspace-nav .cx-nav-section summary > i:first-child { transform: none !important; }
  .cx-workspace-nav .cx-workspace-links a::before,
  .cx-workspace-nav .cx-nav-section summary::before { display: none; }
}

/* A fixed navigation frame: submenus occupy flyouts, never expand the sidebar. */
.cx-theme .cx-workspace-nav {
  height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom));
  overflow: visible;
  gap: 22px;
  scrollbar-width: none;
  box-sizing: border-box;
}
.cx-sidebar-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; min-height: 44px; }
.cx-theme .cx-sidebar-close { display: none; flex: 0 0 44px; width: 44px; height: 44px; }
.cx-theme .cx-workspace-nav .cx-grouped-navigation { display: flex; flex-direction: column; gap: 5px; margin: 0; padding: 0; flex: 1 1 auto; min-height: 0; }
.cx-theme .cx-workspace-nav .cx-grouped-navigation > a,
.cx-theme .cx-workspace-nav .cx-nav-section > summary { padding: 11px 12px; min-height: 46px; margin: 0; font-size: 12px; line-height: 1.4; }
.cx-theme .cx-workspace-nav .cx-nav-section { margin: 0; flex: 0 0 auto; }
.cx-theme .cx-workspace-nav .cx-nav-section > summary > i:first-child { display: grid; place-items: center; width: 24px; height: 24px; font-size: 18px; }
.cx-theme .cx-workspace-nav .cx-nav-section > summary > .cx-nav-chevron { font-size: 11px; transform: rotate(-90deg); }
.cx-theme .cx-workspace-nav .cx-nav-section[open] > summary { background: #eef4e3; color: #4f7129; }
.cx-theme .cx-workspace-nav .cx-nav-section[open] > summary > .cx-nav-chevron { transform: rotate(90deg); }
.cx-theme .cx-workspace-nav .cx-nav-section > div {
  position: fixed;
  left: var(--cx-flyout-left, 254px);
  top: var(--cx-flyout-top, 94px);
  width: var(--cx-flyout-width, 250px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  background: #fff;
  border: 1px solid #dce6cf;
  border-radius: 17px;
  padding: 10px;
  margin: 0;
  box-shadow: 0 14px 45px #283b1d1c;
  z-index: 65;
}
.cx-theme .cx-workspace-nav .cx-nav-section > div::-webkit-scrollbar { display: none; }
.cx-nav-panel-tools { display: flex; align-items: center; gap: 12px; padding: 7px 4px 12px; margin-bottom: 5px; border-bottom: 1px solid #e7eddf; color: #5b783d; }
.cx-nav-panel-tools strong { flex: 1; font-size: 12px; font-weight: 650; }
.cx-nav-panel-back { display: grid; place-items: center; width: 36px; height: 36px; background: #f3f7eb; color: #6d8d4a; border: 1px solid #dde7cf; border-radius: 10px; cursor: pointer; }
.cx-theme .cx-workspace-nav .cx-nav-section > div > a { padding: 11px 12px !important; min-height: 44px; display: flex !important; text-align: left; font-size: 12px !important; line-height: 1.5; }
.cx-sidebar-footer { flex: 0 0 auto; padding-top: 15px; border-top: 1px solid #e4eadb; }
.cx-sidebar-account { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 56px; border: 1px solid #dde6cf; border-radius: 13px; padding: 11px 10px; text-align: left; background: #f5f8ee; color: #567436; cursor: pointer; }
.cx-sidebar-account > span:nth-child(2) { flex: 1; font-size: 11px; font-weight: 600; line-height: 1.5; }
.cx-sidebar-account small { display: block; font-size: 9px; color: #849672; font-weight: 400; margin-top: 3px; }
.cx-sidebar-account-icon { display: grid; place-items: center; width: 31px; height: 34px; border-radius: 9px; background: #e8efd9; color: #789b4b; flex: 0 0 auto; }
.cx-sidebar-account:hover { background: #edf3e2; border-color: #cdddb7; }
.cx-sidebar-account:focus-visible, .cx-nav-panel-back:focus-visible { outline: 2px solid #719447; outline-offset: 3px; }
.cx-nav-backdrop { display: none; }
.cx-theme #cxAccountDialog {
  inset: auto auto max(18px, env(safe-area-inset-bottom)) var(--cx-account-left, 20px);
  margin: 0;
  width: min(360px, calc(100vw - 32px));
  max-height: calc(100dvh - 36px);
  border-radius: 20px;
  transform-origin: bottom left;
}
.cx-theme #cxAccountDialog .cx-dialog-header { padding: 22px; }
.cx-theme #cxAccountDialog .cx-dialog-header h2 { overflow-wrap: anywhere; font-size: 20px; }
.cx-theme #cxAccountDialog .cx-command-list { gap: 2px; }
.cx-theme #cxAccountDialog .cx-command-list a { min-height: 44px; padding: 12px 14px; font-size: 12px; }
@media (min-width: 768px) {
  .cx-theme .cx-workspace-nav { transform: none; }
  .cx-nav-compact .cx-workspace-nav { padding: 20px 11px 16px; }
  .cx-nav-compact .cx-sidebar-header { justify-content: center; }
  .cx-nav-compact .cx-sidebar-account { justify-content: center; padding: 11px 0; }
  .cx-nav-compact .cx-sidebar-account > span:nth-child(2), .cx-nav-compact .cx-sidebar-account > i { display: none; }
  .cx-nav-compact .cx-workspace-nav .cx-nav-section > summary { justify-content: center; padding: 11px 0; }
  .cx-nav-compact .cx-workspace-nav .cx-nav-section > summary > i:first-child { width: 24px; }
}
@media (max-width: 767px) {
  .cx-theme .cx-workspace-nav { width: min(312px, calc(100vw - 44px)); padding: max(18px, env(safe-area-inset-top)) 18px max(16px, env(safe-area-inset-bottom)); z-index: 70; gap: 22px; }
  .cx-theme .cx-workspace-brand img { width: 140px; height: 42px; object-fit: contain; object-position: left center; }
  .cx-theme .cx-sidebar-close { display: grid; }
  .cx-theme .cx-nav-collapse { display: none !important; }
  .cx-theme.cx-menu-open .cx-nav-backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 69; border: 0; padding: 0; background: #17251066; backdrop-filter: blur(4px); }
  .cx-theme .cx-workspace-nav .cx-nav-section > div { left: 18px; top: 82px; bottom: 100px; width: calc(min(312px, 100vw - 44px) - 36px); max-height: none; border-radius: 15px; box-shadow: 0 8px 22px #30451d12; }
  .cx-theme .cx-workspace-nav .cx-nav-section > summary > span { display: block; }
  .cx-theme .cx-workspace-nav .cx-nav-section > summary > .cx-nav-chevron { display: block; }
  .cx-theme #cxAccountDialog { inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px; width: auto; max-height: calc(100dvh - 24px); }
}
@media (max-height: 530px) {
  .cx-theme .cx-workspace-nav { gap: 10px; padding-top: 12px; padding-bottom: 10px; }
  .cx-sidebar-header { min-height: 40px; }
  .cx-theme .cx-workspace-nav .cx-grouped-navigation { gap: 2px; }
  .cx-theme .cx-workspace-nav .cx-grouped-navigation > a, .cx-theme .cx-workspace-nav .cx-nav-section > summary { min-height: 44px; padding-top: 8px; padding-bottom: 8px; }
  .cx-sidebar-footer { padding-top: 9px; }
  .cx-sidebar-account { min-height: 48px; padding-top: 7px; padding-bottom: 7px; }
  .cx-sidebar-account small { display: none; }
}
@media (max-height: 420px) {
  .cx-theme .cx-workspace-nav .cx-grouped-navigation { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; gap: 3px; }
  .cx-theme .cx-workspace-nav .cx-grouped-navigation > a, .cx-theme .cx-workspace-nav .cx-nav-section > summary { padding: 9px 6px; font-size: 10px; gap: 6px; min-height: 50px; }
  .cx-theme .cx-workspace-nav .cx-nav-section > summary > .cx-nav-chevron { display: none; }
  .cx-theme .cx-workspace-nav .cx-nav-section > div { max-height: calc(100dvh - 24px); }
  .cx-theme #cxAccountDialog .cx-dialog-header { padding: 15px 20px; }
  .cx-theme #cxAccountDialog .cx-dialog-header .cx-eyebrow { display: none; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .cx-theme .cx-nav-collapse { left: 195px; }
  .cx-theme.cx-nav-compact .cx-nav-collapse { left: 71px; }
}
@media (min-width: 768px) and (max-height: 420px) {
  .cx-theme.cx-nav-compact .cx-workspace-nav .cx-grouped-navigation > a,
  .cx-theme.cx-nav-compact .cx-workspace-nav .cx-nav-section > summary { padding-left: 0; padding-right: 0; gap: 0; }
}
@media (prefers-reduced-motion: reduce) { .cx-nav-backdrop { backdrop-filter: none !important; } }
