/* One selected surface moves; text/icons keep their accessible button geometry. */
body.anteks-app .workspace-navigation-shell > .workspace-tabs { isolation: isolate; }
@media (min-width: 721px) { body.anteks-app .workspace-navigation-shell > .workspace-tabs { position: relative; } }
body.anteks-app .workspace-navigation-shell > .workspace-tabs .workspace-active-indicator { position: absolute; z-index: 0; top: 0; left: 0; box-sizing: border-box; border: 1px solid var(--ux-tab-border, var(--ux-accent, var(--brand-blue))); border-radius: 10px; background: var(--ux-accent-soft, var(--brand-blue-soft)); transform: translate3d(var(--indicator-x, 0px), var(--indicator-y, 0px), 0); transition: transform 240ms cubic-bezier(.22,.8,.25,1) !important; pointer-events: none; }
body.anteks-app .workspace-navigation-shell > .workspace-tabs.has-moving-indicator .workspace-tab { position: relative; z-index: 1; transition: color 160ms ease !important; }
body.anteks-app .workspace-navigation-shell > .workspace-tabs.has-moving-indicator .workspace-tab.is-active { border-color: transparent; background: transparent; box-shadow: none; }
body.anteks-app .workspace-navigation-shell > .workspace-tabs .workspace-active-indicator.without-motion { transition: none !important; }
body.anteks-app :is(#refreshButton,#modalRefreshTaskButton).is-ui-busy { opacity: 1; cursor: progress; }
body.anteks-app #refreshButton { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
body.anteks-app .admin-area .overview-header > button { display: inline-flex; align-items: center; gap: 6px; }
body.anteks-app .is-ui-busy > .ui-icon, #taskModal .task-title-refresh.is-ui-busy::before { animation: antex-refresh-spin 900ms linear infinite !important; transform-origin: center; }
@keyframes antex-refresh-spin { to { transform: rotate(360deg); } }
/* Override the legacy global reset only on controls in the refined screens. */
body.anteks-app :is(#overviewWorkspace, #requestsWorkspace, #taskModal, #managerCommentModal, .topbar) button:not(.workspace-tab) {
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease !important;
}
@media (prefers-reduced-motion: reduce) {
  body.anteks-app :is(#overviewWorkspace, #requestsWorkspace, #taskModal, #managerCommentModal, .topbar) button:not(.workspace-tab) { transition: none !important; }
  body.anteks-app .workspace-navigation-shell > .workspace-tabs .workspace-active-indicator,body.anteks-app .workspace-navigation-shell .workspace-tab { transition: none !important; }
  body.anteks-app .workspace-navigation-shell > .workspace-tabs.has-moving-indicator .workspace-tab { transition: none !important; }
  body.anteks-app .is-ui-busy > .ui-icon, #taskModal .task-title-refresh.is-ui-busy::before { animation: none !important; opacity: .65; }
}
