/* Visucio 1.60.17 — refinement over the bundled ui.visubay.com design system.
   Decorative only: navigation geometry, forms, dialogs and permissions stay in Core. */
.vis-ui .app-shell {
  --refine-glass: color-mix(in srgb, var(--vis-surface, #fff) 91%, transparent);
  --refine-edge: color-mix(in srgb, var(--vis-brand, #678fff) 16%, var(--vis-border, #dfe6f3));
  --refine-shadow: 0 10px 35px -22px rgb(25 48 100 / 24%);
  background-color: var(--vis-bg, #f7f9ff);
  background-image: radial-gradient(ellipse at 5% 0%, #678fff0a, transparent 48%),
    radial-gradient(ellipse at 95% 8%, #9678ee08, transparent 42%);
}
.vis-ui .app-shell :is(.topbar, .client-header) {
  background: var(--refine-glass);
  border-bottom-color: var(--refine-edge);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--vis-surface) 55%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(125%);
  backdrop-filter: blur(20px) saturate(125%);
}
.vis-ui .app-shell .sidebar {
  background: var(--refine-glass);
  border-right-color: var(--refine-edge);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.vis-ui .app-shell :is(.sidebar-footer, .premium-menu-heading) {
  border-color: var(--refine-edge);
}
.vis-ui .app-shell .nav-button {
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.vis-ui .app-shell .nav-button:hover {
  background: color-mix(in srgb, var(--vis-brand, #678fff) 8%, transparent);
}
.vis-ui .app-shell .nav-button.active {
  color: var(--vis-accent-ink, #3459c4);
}
.vis-ui .app-shell :is(.sidebar-nav-indicator, .client-top-nav-indicator) {
  background: var(--vis-accent-soft, #edf2ff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--vis-brand, #678fff) 16%, transparent),
    0 3px 10px -7px #678fff66;
}
.vis-ui .app-shell .client-top-nav button {
  transition: color .18s ease, background-color .18s ease;
}
.vis-ui .app-shell :is(.card, .metric-card, .entity-card, .table-card) {
  border-color: var(--refine-edge);
  box-shadow: var(--refine-shadow),
    inset 0 1px 0 color-mix(in srgb, var(--vis-surface) 70%, transparent);
}
.vis-ui .app-shell :is(.button, .icon-button, .ce-shortcut, .ce-secondary, .premium-profile-button) {
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease,
    color .2s ease, transform .2s ease;
}
.vis-ui .app-shell .button:not(.secondary):not(.ghost):not(.danger):not(:disabled) {
  box-shadow: 0 5px 17px -10px color-mix(in srgb, var(--vis-action, #678fff) 70%, transparent),
    inset 0 1px 0 #ffffff24;
}
.vis-ui .app-shell :is(.button, .ce-shortcut, .ce-secondary):active:not(:disabled) {
  transform: translateY(1px);
}
.vis-ui .app-shell :is(.icon-button, .premium-profile-button):hover {
  background-color: var(--vis-accent-soft, #edf2ff);
  color: var(--vis-accent-ink, #3459c4);
}
.vis-ui .app-shell :is(.button, .nav-button, .icon-button, .ce-shortcut, .ce-secondary, .premium-profile-button):focus-visible {
  outline: 2px solid var(--vis-brand, #678fff);
  outline-offset: 4px;
}
.vis-ui .app-shell .field :is(input, select, textarea):focus-visible {
  border-color: var(--vis-brand, #678fff);
  outline: 2px solid var(--vis-brand, #678fff);
  outline-offset: 2px;
}
.vis-ui .app-shell .mobile-nav {
  border-color: var(--refine-edge);
  box-shadow: 0 8px 32px -12px rgb(22 39 78 / 20%);
}
@media (hover: hover) and (pointer: fine) {
  .vis-ui .app-shell :is(.ce-shortcut, .ce-secondary):hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -12px #678fff66;
    border-color: color-mix(in srgb, var(--vis-brand, #678fff) 52%, var(--vis-border));
  }
  .vis-ui .app-shell .button:not(:disabled):hover {
    box-shadow: 0 6px 20px -12px #678fff99;
  }
}
/* A single entrance for headings; no animated ancestor around fixed dialogs. */
@media (prefers-reduced-motion: no-preference) {
  .vis-ui .app-shell .page-header,
  .vis-ui .app-shell .ce-hero-heading {
    animation: visucio-heading-enter .45s cubic-bezier(.2, .65, .3, 1) both;
  }
  @keyframes visucio-heading-enter {
    from { opacity: 0; transform: translateY(7px); }
    to { opacity: 1; transform: none; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .vis-ui .app-shell :is(.button, .icon-button, .nav-button, .ce-shortcut, .ce-secondary, .premium-profile-button) {
    transition: none;
    transform: none;
  }
  .vis-ui .app-shell :is(.ce-shortcut, .ce-secondary):hover,
  .vis-ui .app-shell :is(.button, .ce-shortcut, .ce-secondary):active:not(:disabled) {
    transform: none;
  }
}
@media (max-width: 600px) {
  .vis-ui .app-shell :is(.topbar, .client-header, .sidebar) {
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
}
@media (prefers-reduced-transparency: reduce) {
  .vis-ui .app-shell :is(.topbar, .client-header, .sidebar, .mobile-nav) {
    background: var(--vis-surface, #fff);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

html:is([data-theme="dark"],[data-vis-theme="dark"]) {
  --vis-bg:var(--visu-bg,#121212); --vis-surface:var(--visu-surface,#15171b); --vis-surface-soft:var(--visu-surface-2,#1e2126);
  --vis-border: #30425d; --vis-control-border: #657b9d;
  --vis-glass-rgb: 19,30,49; --vis-glass: rgb(19 30 49 / .92);
  --native-panel: #152035; --native-hairline: #30425d; --native-control: #1b2a42;
}
html:is([data-theme="dark"],[data-vis-theme="dark"]) .vis-ui .premium-shell {
  --glass-surface:rgb(21 32 53 / .9); --glass-soft:rgb(27 42 66 / .92);
  --glass-border:rgb(143 169 209 / .21);
  background-color:var(--vis-bg);
}
