:root {
  --ayt-brand-50: #f7f4fc;
  --ayt-brand-100: #ede7f7;
  --ayt-brand-200: #ddd2ef;
  --ayt-brand-500: #8b70bd;
  --ayt-brand-600: #7657b7;
  --ayt-brand-700: #604294;
  --ayt-ink-950: #25233a;
  --ayt-ink-700: #504c67;
  --ayt-ink-500: #747087;
  --ayt-surface: #fff;
  --ayt-surface-subtle: #f8f7fa;
  --ayt-border: #e5e1e9;
  --ayt-success: #18794e;
  --ayt-warning: #8a5d00;
  --ayt-danger: #b42318;
  --ayt-focus: #9b7dce;
  --ayt-radius-sm: .5rem;
  --ayt-radius-md: .75rem;
  --ayt-radius-lg: 1rem;
  --ayt-shadow-sm: 0 1px 2px rgb(37 35 58 / .035), 0 8px 24px rgb(37 35 58 / .05);
  --ayt-shadow-md: 0 18px 45px rgb(37 35 58 / .12);
  --bs-primary: var(--ayt-brand-600);
  --bs-primary-rgb: 118, 87, 183;
  --bs-body-color: var(--ayt-ink-950);
  --bs-body-bg: var(--ayt-surface-subtle);
  --bs-border-color: var(--ayt-border);
  --bs-border-radius: var(--ayt-radius-sm);
  --bs-link-color: var(--ayt-brand-700);
  --bs-focus-ring-color: rgb(155 125 206 / .42);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--ayt-surface-subtle); color: var(--ayt-ink-950); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
:focus-visible { outline: 3px solid var(--ayt-focus) !important; outline-offset: 2px; }
.skip-link { position: fixed; z-index: 1100; top: .5rem; left: .5rem; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.modal-open .skip-link { visibility: hidden; }
.app-shell { min-height: 100vh; }
.app-sidebar { width: 17rem !important; background-color: var(--ayt-ink-950) !important; color: #fff; border: 0; }
.app-sidebar-header { min-height: 5rem; padding: 1rem 1.25rem; border-bottom: 1px solid rgb(255 255 255 / .1); }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: linear-gradient(145deg, #9a82d1, var(--ayt-brand-600)); font-weight: 800; box-shadow: 0 8px 24px rgb(118 87 183 / .24); }
.brand strong, .brand small { display: block; line-height: 1.2; }
.brand small { margin-top: .2rem; color: #aeb9d0; font-size: .75rem; }
.app-nav { min-height: 0; padding: 1rem .75rem 1.5rem; overflow-y: auto; }
.nav-group { margin: 1.25rem .75rem .4rem; color: #8290ac; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nav-group:first-child { margin-top: .25rem; }
.app-nav-link { display: flex; align-items: center; min-height: 2.75rem; gap: .75rem; margin: .15rem 0; padding: .6rem .75rem; border-radius: .65rem; color: #ced5e4; font-size: .92rem; font-weight: 540; text-decoration: none; }
.app-nav-link:hover { background: rgb(255 255 255 / .07); color: #fff; }
.app-nav-link.active { background: rgb(51 102 232 / .24); color: #fff; box-shadow: inset 3px 0 0 #7da1ff; font-weight: 700; }
.nav-icon { display: inline-grid; width: 1.2rem; place-items: center; color: #9fb8f8; }
.nav-count { min-width: 1.45rem; margin-left: auto; padding: .12rem .4rem; border-radius: 1rem; background: #fff; color: var(--ayt-brand-700); font-size: .72rem; text-align: center; }
.sidebar-user { display: flex; align-items: center; gap: .7rem; margin: auto .75rem 1rem; padding: .8rem; border: 1px solid rgb(255 255 255 / .1); border-radius: .75rem; color: #fff; }
.sidebar-user small { color: #aeb9d0; }
.user-avatar { display: grid; flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem; place-items: center; border-radius: 50%; background: #32405b; font-weight: 700; }
.min-w-0 { min-width: 0; }
.app-main { min-width: 0; }
.app-topbar { display: flex; min-height: 5rem; align-items: center; gap: .75rem; padding: .8rem 1rem; background: rgb(255 255 255 / .94); border-bottom: 1px solid var(--ayt-border); backdrop-filter: blur(12px); }
.menu-button, .topbar-notification { display: inline-grid; min-width: 2.75rem; min-height: 2.75rem; place-items: center; border: 1px solid var(--ayt-border); border-radius: .65rem; background: #fff; color: var(--ayt-ink-700); text-decoration: none; }
.topbar-notification { position: relative; }
.topbar-notification b { position: absolute; top: -.35rem; right: -.35rem; min-width: 1.25rem; padding: .1rem .3rem; border-radius: 1rem; background: var(--ayt-danger); color: #fff; font-size: .68rem; }
.topbar-context strong, .topbar-context span { display: block; }
.topbar-context span { color: var(--ayt-ink-500); font-size: .8rem; }
.app-content { width: 100%; max-width: 90rem; margin: 0 auto; padding: 1.25rem 1rem 3rem; }
.page-header { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; margin-bottom: 1.5rem; }
.page-title { margin: 0 0 .3rem; font-size: clamp(1.55rem, 3vw, 1.85rem); font-weight: 700; letter-spacing: -.025em; }
.page-description { max-width: 48rem; margin: 0; color: var(--ayt-ink-500); }
.surface { background: var(--ayt-surface); border: 1px solid var(--ayt-border); border-radius: var(--ayt-radius-md); box-shadow: var(--ayt-shadow-sm); }
.filter-bar { margin-bottom: 1rem; padding: 1rem; }
.card { border-color: var(--ayt-border); box-shadow: var(--ayt-shadow-sm); }
.card-header, .card-footer { background: #fff; border-color: var(--ayt-border); }
.table-surface { overflow: hidden; }
.table { --bs-table-bg: transparent; --bs-table-hover-bg: var(--ayt-brand-50); }
.table > :not(caption) > * > * { padding: .9rem 1rem; border-bottom-color: #e8ecf3; }
.table thead th { color: var(--ayt-ink-700); background: #fafbfe; font-size: .79rem; font-weight: 700; white-space: nowrap; }
.table tbody tr:last-child > * { border-bottom: 0; }
.record-title { font-weight: 650; }
.record-meta { margin-top: .15rem; color: var(--ayt-ink-500); font-size: .82rem; overflow-wrap: anywhere; }
.status-badge { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .55rem; border-radius: 2rem; font-size: .75rem; font-weight: 700; }
.status-active { background: #e7f6ee; color: #11633e; }
.status-neutral { background: #edf0f5; color: #4d5870; }
.status-warning { background: #fff4d6; color: #795000; }
.status-danger { background: #fdecea; color: #962018; }
.status-info { background: #e8f1ff; color: #174ea6; }
.empty-state { padding: 2.5rem 1.25rem; text-align: center; color: var(--ayt-ink-500); }
.empty-state strong { display: block; margin-bottom: .35rem; color: var(--ayt-ink-950); }
.kpi-card { height: 100%; padding: 1.15rem; }
.kpi-label { color: var(--ayt-ink-500); font-size: .85rem; font-weight: 600; }
.kpi-value { display: block; margin: .2rem 0 .35rem; font-size: 2rem; font-variant-numeric: tabular-nums; font-weight: 720; letter-spacing: -.04em; }
.quota-cell { min-width: 9.5rem; font-variant-numeric: tabular-nums; }
.quota-cell strong { font-size: .82rem; }
.progress { height: .4rem; background: #e6eaf1; }
.progress-bar { background: var(--ayt-brand-600); }
.progress-bar.near { background: #b77900; }
.progress-bar.limit { background: var(--ayt-danger); }
.form-label { color: var(--ayt-ink-700); font-size: .88rem; font-weight: 650; }
.form-control, .form-select { min-height: 2.75rem; border-color: #dcd6e5; }
textarea.form-control { min-height: 7rem; }
.invalid-feedback { display: block; }
.btn { min-height: 2.65rem; font-weight: 620; }
.btn-sm { min-height: 2.25rem; }
.btn:disabled, .btn.disabled { cursor: not-allowed; transform: none; opacity: .62; }
.btn-ghost, .btn-link { border-color: transparent; background: transparent; color: var(--ayt-brand-700); text-decoration: none; }
.btn-ghost:hover, .btn-link:hover { border-color: transparent; background: var(--ayt-brand-50); color: var(--ayt-brand-700); }
.btn-icon { display: inline-grid; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; min-height: 2.75rem; place-items: center; padding: 0; }
.btn-pill { border-radius: 999px; }
.btn-warning { --bs-btn-bg: #f3c969; --bs-btn-border-color: #f3c969; --bs-btn-color: #513a00; --bs-btn-hover-bg: #e8b94c; --bs-btn-hover-border-color: #e8b94c; --bs-btn-hover-color: #3d2b00; }
.btn-danger { --bs-btn-bg: #bd4b55; --bs-btn-border-color: #bd4b55; --bs-btn-hover-bg: #a83c46; --bs-btn-hover-border-color: #a83c46; }
.btn[aria-pressed="true"], .btn.selected { border-color: var(--ayt-brand-500); background: var(--ayt-brand-100); color: var(--ayt-brand-700); }
.pagination { margin-top: 1rem; }
.auth-shell { min-height: 100vh; padding: 1rem; background: radial-gradient(circle at 15% 15%, #e6ddf7 0, transparent 35%), linear-gradient(135deg, #fbfaff, #f2eef9); }
.auth-flash { max-width: 29rem; margin: 0 auto; }
.auth-layout { display: grid; min-height: calc(100vh - 2rem); align-items: center; }
.auth-card { overflow: hidden; max-width: 62rem; margin: 0 auto; border: 1px solid rgb(255 255 255 / .7); border-radius: 1.25rem; background: #fff; box-shadow: var(--ayt-shadow-md); }
.auth-intro { display: none; min-height: 36rem; padding: 3rem; background: linear-gradient(145deg, #302744, #574277 58%, #8061b8); color: #fff; }
.auth-intro p { color: #ced9ef; }
.auth-form { padding: 2rem 1.5rem; }
.token-value { padding: 1rem; border: 1px dashed #d1a000; border-radius: .75rem; background: #fffdf5; }
.error-panel { max-width: 40rem; margin: 8vh auto; padding: 2rem; text-align: center; }
.error-code { color: var(--ayt-brand-600); font-size: clamp(3rem, 10vw, 5rem); font-weight: 800; letter-spacing: -.06em; }

@media (min-width: 576px) {
  .app-content { padding: 1.5rem 1.5rem 3rem; }
  .page-header { flex-direction: row; align-items: flex-start; }
  .page-header .btn { width: auto; }
}
@media (min-width: 768px) { .auth-form { padding: 3rem; } .auth-intro { display: flex; flex-direction: column; justify-content: space-between; } }
@media (min-width: 992px) {
  .app-shell { display: grid; grid-template-columns: 17rem minmax(0, 1fr); }
  .app-sidebar { position: sticky; top: 0; display: flex !important; height: 100vh; flex-direction: column; visibility: visible !important; transform: none !important; }
  .app-sidebar-header { display: flex !important; }
  .app-topbar { padding-right: 2rem; padding-left: 2rem; }
  .app-content { padding: 2rem 2rem 4rem; }
}
@media (max-width: 991.98px) {
  .mobile-hide { display: none !important; }
}
@media (max-width: 767.98px) {
  .table-responsive { border: 0; }
  .table > :not(caption) > * > * { padding: .8rem .7rem; }
  .btn { min-height: 2.75rem; }
  .action-stack { display: grid; gap: .4rem; min-width: 7rem; }
  .action-stack .btn { width: 100%; }
  .dropdown-menu { max-width: calc(100vw - 1.5rem); }
}
@media (max-width: 575.98px) {
  .page-header .btn, .page-action { width: 100%; }
  .app-topbar { min-height: 4.5rem; }
  .topbar-context { display: none; }
  .app-content { padding-top: 1rem; }
  .table-surface { margin-right: -1rem; margin-left: -1rem; border-right: 0; border-left: 0; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Soft SaaS application shell */
.navigation-rail {
  position: sticky;
  top: 0;
  z-index: 1031;
  display: none;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  padding: 1rem .65rem;
  background: #fff;
  border-right: 1px solid var(--ayt-border);
}
.rail-brand {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: .9rem;
  background: var(--ayt-brand-600);
  box-shadow: 0 9px 22px rgb(118 87 183 / .23);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.rail-brand:hover { background: var(--ayt-brand-700); color: #fff; }
.rail-nav { display: grid; gap: .45rem; margin-top: 2rem; }
.rail-link {
  position: relative;
  display: grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: .8rem;
  background: transparent;
  color: var(--ayt-ink-500);
  font-size: 1.08rem;
  text-decoration: none;
}
.rail-link:hover { background: var(--ayt-brand-50); color: var(--ayt-brand-700); }
.rail-link.active { background: var(--ayt-brand-100); color: var(--ayt-brand-700); }
.rail-link.active::before { position: absolute; left: -.65rem; width: 3px; height: 1.5rem; border-radius: 0 3px 3px 0; background: var(--ayt-brand-600); content: ""; }

.app-sidebar { background: #fcfbfe !important; color: var(--ayt-ink-950); border-right: 1px solid var(--ayt-border); }
.app-sidebar-header { min-height: 5.25rem; border-bottom-color: var(--ayt-border); }
.brand, .brand:hover { color: var(--ayt-ink-950); }
.brand-mark { background: linear-gradient(145deg, #9a82d1, var(--ayt-brand-600)); box-shadow: 0 8px 20px rgb(118 87 183 / .22); }
.brand small { color: var(--ayt-ink-500); }
.nav-group { color: #9894a5; }
.app-nav-link { color: var(--ayt-ink-700); transition: background-color .18s ease, color .18s ease; }
.app-nav-link:hover { background: var(--ayt-brand-50); color: var(--ayt-brand-700); }
.app-nav-link.active { background: var(--ayt-brand-100); box-shadow: none; color: var(--ayt-brand-700); }
.app-nav-link.active::before { width: .28rem; height: 1.25rem; margin-left: -.75rem; border-radius: 1rem; background: var(--ayt-brand-600); content: ""; }
.nav-icon { color: #8e75c6; font-size: 1rem; }
.nav-count { background: var(--ayt-brand-600); color: #fff; }
.sidebar-user { border-color: var(--ayt-border); background: #fff; color: var(--ayt-ink-950); box-shadow: var(--ayt-shadow-sm); }
.sidebar-user small { color: var(--ayt-ink-500); }
.user-avatar { background: var(--ayt-brand-100); color: var(--ayt-brand-700); }

.app-main { min-height: 100vh; background: radial-gradient(circle at 92% 2%, rgb(223 211 245 / .35), transparent 22rem), var(--ayt-surface-subtle); }
.app-topbar { min-height: 5.25rem; padding: .75rem 1rem; border-color: var(--ayt-border); background: rgb(255 255 255 / .88); box-shadow: 0 5px 24px rgb(52 43 72 / .035); }
.menu-button, .topbar-notification, .topbar-icon {
  display: inline-grid;
  width: 2.75rem;
  min-width: 2.75rem;
  height: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 1px solid var(--ayt-border);
  border-radius: .8rem;
  background: #fff;
  color: var(--ayt-ink-700);
  text-decoration: none;
}
.menu-button:hover, .topbar-notification:hover, .topbar-icon:hover { border-color: var(--ayt-brand-200); background: var(--ayt-brand-50); color: var(--ayt-brand-700); }
.topbar-notification b { background: var(--ayt-brand-600); }
.topbar-search {
  display: none;
  width: min(30vw, 25rem);
  min-height: 2.75rem;
  align-items: center;
  gap: .65rem;
  margin-left: clamp(1rem, 3vw, 3rem);
  padding: 0 .85rem;
  border: 1px solid var(--ayt-border);
  border-radius: .85rem;
  background: #faf9fc;
  color: var(--ayt-ink-500);
}
.topbar-search:focus-within { border-color: var(--ayt-brand-500); box-shadow: 0 0 0 .22rem rgb(118 87 183 / .12); background: #fff; }
.topbar-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ayt-ink-950); }
.topbar-search input::placeholder { color: #9b98a7; }
.topbar-search kbd { padding: .1rem .4rem; border: 1px solid var(--ayt-border); border-radius: .35rem; background: #fff; color: var(--ayt-ink-500); box-shadow: none; }
.user-menu { display: flex; min-height: 2.75rem; align-items: center; gap: .6rem; padding: .25rem .55rem .25rem .3rem; border: 1px solid transparent; border-radius: .85rem; background: transparent; color: var(--ayt-ink-700); text-align: left; }
.user-menu:hover { border-color: var(--ayt-border); background: #fff; }
.user-menu-copy strong, .user-menu-copy small { display: block; max-width: 9rem; overflow: hidden; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.user-menu-copy strong { color: var(--ayt-ink-950); font-size: .82rem; }
.user-menu-copy small { margin-top: .25rem; color: var(--ayt-ink-500); font-size: .7rem; }
.dropdown-menu { border-color: var(--ayt-border); border-radius: var(--ayt-radius-md); box-shadow: var(--ayt-shadow-md); }
.dropdown-item { display: flex; min-height: 2.6rem; align-items: center; gap: .7rem; border-radius: .55rem; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--ayt-brand-50); color: var(--ayt-brand-700); }
.dropdown-item:active { background: var(--ayt-brand-100); color: var(--ayt-brand-700); }
.quick-menu, .user-dropdown { min-width: 14rem; }
.app-switcher { width: 18rem; margin-left: .75rem !important; }
.app-tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .65rem; }
.app-tile { display: flex; min-height: 5rem; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: .8rem; border: 1px solid var(--ayt-border); border-radius: .8rem; color: var(--ayt-ink-700); text-decoration: none; }
.app-tile i { color: var(--ayt-brand-600); font-size: 1.2rem; }
.app-tile span { font-size: .82rem; font-weight: 650; }
.app-tile:hover { border-color: var(--ayt-brand-200); background: var(--ayt-brand-50); color: var(--ayt-brand-700); transform: translateY(-1px); }

.app-content { padding-top: 1.75rem; }
.page-title { color: var(--ayt-ink-950); font-weight: 720; }
.surface, .card { border-color: var(--ayt-border); border-radius: var(--ayt-radius-md); box-shadow: var(--ayt-shadow-sm); }
.surface:hover, .card:hover { border-color: #ded8e8; }
.filter-bar { padding: 1.15rem; }
.card-header, .card-footer { border-color: var(--ayt-border); }
.table thead th { background: #faf9fc; color: var(--ayt-ink-700); }
.table > :not(caption) > * > * { border-bottom-color: #efecf2; }
.table { --bs-table-hover-bg: var(--ayt-brand-50); }
.status-active { background: #eaf7f1; color: #176044; }
.status-neutral { background: #f0eef3; color: #5f5b68; }
.status-warning { background: #fff5db; color: #795300; }
.status-danger { background: #fdeceb; color: #94231c; }
.status-info { background: var(--ayt-brand-100); color: var(--ayt-brand-700); }
.empty-state::before { display: grid; width: 3rem; height: 3rem; margin: 0 auto .8rem; place-items: center; border-radius: 1rem; background: var(--ayt-brand-50); color: var(--ayt-brand-600); content: "◇"; font-size: 1.35rem; }
.kpi-card { position: relative; min-height: 10rem; padding: 1.25rem; overflow: hidden; }
.kpi-card::after { position: absolute; right: -2.5rem; bottom: -3.8rem; width: 8rem; height: 8rem; border-radius: 50%; background: var(--ayt-brand-50); content: ""; }
.kpi-icon { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border-radius: .75rem; background: var(--ayt-brand-100); color: var(--ayt-brand-700); }
.kpi-label { padding-right: 2.75rem; }
.kpi-value { color: var(--ayt-ink-950); }
.kpi-card a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .35rem; color: var(--ayt-brand-700); font-size: .84rem; font-weight: 650; text-decoration: none; }
.kpi-card a:hover { text-decoration: underline; }
.progress { background: #ece8f2; }
.progress-bar { background: var(--ayt-brand-600); }
.form-control, .form-select { border-color: #dcd6e5; border-radius: .7rem; background-color: #fdfcfe; }
.form-control:hover, .form-select:hover { border-color: #c7bdd7; }
.form-control:focus, .form-select:focus { border-color: var(--ayt-brand-500); box-shadow: 0 0 0 .22rem rgb(118 87 183 / .13); background-color: #fff; }
.btn { border-radius: .7rem; transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.btn:not(:disabled):hover { transform: translateY(-1px); }
.btn-primary { --bs-btn-bg: var(--ayt-brand-600); --bs-btn-border-color: var(--ayt-brand-600); --bs-btn-hover-bg: var(--ayt-brand-700); --bs-btn-hover-border-color: var(--ayt-brand-700); --bs-btn-active-bg: #513680; --bs-btn-active-border-color: #513680; --bs-btn-disabled-bg: #b9accf; --bs-btn-disabled-border-color: #b9accf; }
.btn-outline-primary { --bs-btn-color: var(--ayt-brand-700); --bs-btn-border-color: var(--ayt-brand-200); --bs-btn-hover-bg: var(--ayt-brand-50); --bs-btn-hover-border-color: var(--ayt-brand-500); --bs-btn-hover-color: var(--ayt-brand-700); --bs-btn-active-bg: var(--ayt-brand-100); --bs-btn-active-color: var(--ayt-brand-700); }
.btn-outline-secondary { --bs-btn-color: var(--ayt-ink-700); --bs-btn-border-color: #d9d4df; --bs-btn-hover-bg: #f2f0f5; --bs-btn-hover-border-color: #c9c3cf; --bs-btn-hover-color: var(--ayt-ink-950); }
.auth-intro .brand { color: #fff; }
.auth-intro .brand small { color: #ded4ef; }
.error-code { color: var(--ayt-brand-600); }

@media (min-width: 768px) {
  .topbar-search { display: flex; }
}
@media (min-width: 992px) {
  .app-shell { display: grid; grid-template-columns: 4.75rem minmax(0, 1fr); }
  .navigation-rail { display: flex; grid-column: 1; }
  .app-main { grid-column: 2; }
}
@media (min-width: 1200px) {
  .app-shell { grid-template-columns: 4.75rem 15.5rem minmax(0, 1fr); }
  .app-sidebar { position: sticky; top: 0; display: flex !important; grid-column: 2; width: 15.5rem !important; height: 100vh; flex-direction: column; visibility: visible !important; transform: none !important; }
  .app-main { grid-column: 3; }
  .app-topbar { padding-right: 1.5rem; padding-left: 1.5rem; }
}
@media (max-width: 1199.98px) {
  .app-sidebar { position: fixed; top: 0; width: min(20rem, 88vw) !important; height: 100vh; visibility: hidden !important; transform: translateX(-100%) !important; }
  .app-sidebar.show, .app-sidebar.showing { visibility: visible !important; transform: none !important; }
}
@media (max-width: 767.98px) {
  .app-topbar { gap: .45rem; }
  .topbar-context { min-width: 0; }
  .topbar-context strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .app-switcher { position: fixed !important; right: .75rem !important; bottom: .75rem !important; left: .75rem !important; width: auto; margin: 0 !important; transform: none !important; }
  .dropdown-menu-end.quick-menu, .dropdown-menu-end.user-dropdown { position: fixed !important; right: .75rem !important; bottom: .75rem !important; left: .75rem !important; width: auto; margin: 0 !important; transform: none !important; }
}
