/* NEXORA admin shell parity. Load after admin-professional.css.
   Only chrome and workspace spacing; screen renderers and native actions stay owned by the app. */
.fx-shell[data-admin-reference][data-admin-shell] {
  --admin-font: 'Prompt', 'NEXORA Admin Prompt', LINESeed, system-ui, sans-serif;
  --admin-bg: #0c0c0d; --admin-surface: #101012; --admin-surface-muted: #18181b;
  --admin-ink: #e5e5e9; --admin-muted: #a0a4b0;
  --admin-line: rgb(255 255 255 / 8%); --admin-line-strong: rgb(255 255 255 / 17%);
  --admin-primary: #ff0000; --admin-on-primary: #080808;
  --admin-nav-active: #ff3f3f; --admin-nav-tint: rgb(255 0 0 / 7%); --admin-focus: #ff7474;
  --admin-good: #86efac; --admin-bad: #fca5a5; --admin-warn: #fcd34d;
  --admin-gutter: 32px; --admin-radius: 12px; --admin-topbar: 56px;
  --fx-ink: var(--admin-ink); --fx-muted: var(--admin-muted); --fx-panel: var(--admin-surface);
  --fx-soft: var(--admin-surface-muted); --fx-field: var(--admin-bg); --fx-line: var(--admin-line);
  --fx-accent: var(--admin-primary); --fx-shell-top: 0px; --fx-shell-rail: 260px; --fx-shell-rail-mini: 76px;
  --fx-shell-radius: 8px; --fx-shell-speed: 160ms;
  display: grid; grid-template-columns: var(--fx-shell-rail) minmax(0,1fr); align-items: start;
  width: 100%; max-width: 100%; min-width: 0; min-height: 100dvh; margin: 0; border: 0;
  background: var(--admin-bg); color: var(--admin-ink); color-scheme: dark;
  font: 400 14px/1.5 var(--admin-font); accent-color: var(--admin-primary);
}
.light .fx-shell[data-admin-reference][data-admin-shell] {
  --admin-bg: #f8f9fa; --admin-surface: #fff; --admin-surface-muted: #f2f3f6;
  --admin-ink: #24252b; --admin-muted: #606675; --admin-line: rgb(15 23 42 / 9%);
  --admin-line-strong: rgb(15 23 42 / 22%); --admin-nav-active: #a90000;
  --admin-nav-tint: rgb(190 0 0 / 8%); --admin-focus: #a90000;
  --admin-good: #166534; --admin-bad: #b91c1c; --admin-warn: #854d0e;
  color-scheme: light;
}
.fx-shell[data-admin-reference][data-admin-shell] :is(.fx-admin,.fx-extra,.fx-console,.fx-slip,.fx-dev,.nac,button,input,select,textarea) { font-family: var(--admin-font); }
.fx-shell[data-admin-reference][data-admin-shell] [hidden] { display: none !important; }
.fx-shell[data-admin-reference][data-admin-shell] :where(a,button,input,select,textarea,[tabindex]):focus-visible { outline: 2px solid var(--admin-focus); outline-offset: 3px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__column { min-width: 0; max-width: 100%; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__side {
  position: sticky; inset: 0 auto auto; top: 0; height: 100dvh; min-height: 0; min-width: 0;
  display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden;
  border-right: 1px solid var(--admin-line); background: var(--admin-surface); z-index: 30;
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__brand {
  display: flex; align-items: center; flex: 0 0 56px; min-height: 56px;
  gap: 10px; padding: 0; margin: 0 15px; border-bottom: 1px dashed var(--admin-line);
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mark {
  width: 32px; height: 32px; display: inline-grid; place-items: center; flex: none;
  border: 1px solid var(--admin-line); border-radius: 9px; background: var(--admin-surface-muted);
  color: var(--admin-ink); font-size: 11px; font-weight: 600; letter-spacing: .04em;
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__brand-name { font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -.025em; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__brand-sub { margin: 0; font-size: 10px; line-height: 1.5; letter-spacing: .04em; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__collapse { min-width: 32px; min-height: 36px; width: 32px; padding: 0; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__search { position: relative; display: flex; align-items: center; flex: none; margin: 12px 12px 6px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__field {
  height: 38px; min-height: 38px; width: 100%; padding: 0 43px 0 35px;
  background: var(--admin-surface-muted); color: var(--admin-ink); border: 1px solid var(--admin-line);
  border-radius: 8px; font-size: 12px;
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__search-icon { position: absolute; left: 12px; width: 15px; height: 15px; color: var(--admin-muted); pointer-events: none; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__shortcut { position: absolute; right: 9px; padding: 0 4px; border: 1px solid var(--admin-line); border-radius: 5px; color: var(--admin-muted); font: 10px/18px var(--admin-font); pointer-events: none; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__nav-scroll { flex: 1; min-height: 0; min-width: 0; overflow: auto; overscroll-behavior: contain; padding: 0 12px 12px; scrollbar-width: thin; scrollbar-color: var(--admin-line-strong) transparent; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__nav { gap: 15px; padding: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group { gap: 2px; margin: 0; padding: 0; border: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle {
  height: 26px; min-height: 26px; padding: 0 12px; border: 0; border-radius: 5px;
  color: var(--admin-muted); background: transparent; font-size: 10px; font-weight: 500; letter-spacing: .04em;
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle > .fx-shell__icon { display: none; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-label { flex: 1; text-align: start; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle .fx-shell__chevron { opacity: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle:is(:hover,:focus-visible,[aria-expanded='false']) .fx-shell__chevron { opacity: .85; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__items { gap: 3px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__link {
  width: 100%; min-height: 37px; padding: 7px 11px; gap: 10px; border: 1px solid transparent;
  border-radius: 8px; background: transparent; color: var(--admin-muted); font-size: 13px; font-weight: 400; text-align: start;
}
body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] :is(a.fx-shell__link,button.fx-shell__link) { color: var(--admin-muted); }
body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] :is(.fx-shell__link.is-active,.fx-shell__link[aria-current='page']) { color: var(--admin-nav-active); border-color: transparent; background: var(--admin-nav-tint); font-weight: 500; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__link .fx-shell__icon { width: 17px; height: 17px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-toggle { cursor: pointer; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-toggle .fx-shell__chevron { margin-left: auto; transform: rotate(-45deg); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-toggle[aria-expanded='true'] .fx-shell__chevron { transform: rotate(45deg); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-links { margin: 3px 0 4px 19px; padding-left: 7px; border-left: 1px solid var(--admin-line-strong); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-links .fx-shell__link { min-height: 33px; padding-inline: 8px; font-size: 12px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group[data-shell-group='NEXORA TOOLS'] { border-top: 1px solid var(--admin-line); padding-top: 12px; }

.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot { display: block; flex: none; margin: 0; padding: 12px; border-top: 1px solid var(--admin-line); background: var(--admin-surface); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__account { display: flex; align-items: center; gap: 9px; min-height: 49px; padding: 7px 9px; border: 1px solid var(--admin-line); border-radius: 9px; background: var(--admin-surface-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__avatar { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--admin-ink); color: var(--admin-surface); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__avatar .fx-shell__icon { width: 18px; height: 18px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__account-text { min-width: 0; display: grid; text-align: start; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 500; letter-spacing: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__account-role { font-size: 10px; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot-actions { display: flex; gap: 4px; padding-top: 8px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot .fx-shell__store-link { display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; min-height: 36px; gap: 0; padding: 4px; margin: 0; border: 1px solid var(--admin-line); border-radius: 7px; background: transparent; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot .fx-shell__store-link .fx-shell__icon { width: 16px; height: 16px; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot .fx-shell__store-link .fx-shell__label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top {
  position: sticky; top: 0; z-index: 20; display: flex; flex-wrap: nowrap; align-items: center;
  min-height: var(--admin-topbar); height: var(--admin-topbar); padding: 0 24px; gap: 10px;
  border: 0; background: var(--admin-bg);
}
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top::after { content: ''; position: absolute; inset: auto 24px 0; border-bottom: 1px dashed var(--admin-line); pointer-events: none; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__titles { flex: 1; min-width: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__crumb { font-size: 12px; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__crumb-list { flex-wrap: nowrap; overflow: hidden; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__crumb-item { min-width: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__crumb-text[aria-current='page'] { color: var(--admin-ink); font-weight: 500; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__actions { display: flex; align-items: center; flex: none; gap: 2px; }
body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top :is(.fx-shell__action,.fx-shell__burger) { display: inline-flex; width: 35px; height: 36px; min-width: 35px; min-height: 36px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top .fx-shell__icon { width: 18px; height: 18px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__pagehead { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 2px 8px; width: 100%; max-width: 1480px; margin: 0 auto; padding: var(--admin-gutter) var(--admin-gutter) 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-icon { grid-area: 1 / 1; width: 24px; height: 28px; display: grid; place-items: center; color: var(--admin-primary); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-icon .fx-shell__icon { width: 22px; height: 22px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-titles { display: contents; }
body.fx-shell-active .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__title { grid-area: 1 / 2; margin: 0; min-width: 0; color: var(--admin-ink); font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__desc { display: block; grid-area: 2 / 1 / 3 / 3; margin: 0; font-size: 13px; line-height: 22px; color: var(--admin-muted); }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions { grid-area: 1 / 3 / 3 / 4; display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions :is(.fx-shell__action,.fx-shell__account-action) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; min-width: 0; padding: 5px 10px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-muted); color: var(--admin-ink); font-size: 12px; text-decoration: none; cursor: pointer; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions .fx-shell__icon { width: 15px; height: 15px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__body { min-height: calc(100dvh - 160px); min-width: 0; }
body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] :is(main.fx-admin,.fx-shell-page) { width: 100%; max-width: 1480px; margin: 0 auto; padding: 24px var(--admin-gutter) 40px; color: var(--admin-ink); }
/* Workspace tabs are retained for settings subpages; the sidebar handles other groups. */
.fx-shell[data-admin-reference][data-admin-shell] .fx-workspace-nav { padding: 18px var(--admin-gutter) 0; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-workspace-nav__links { gap: 6px; }
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-nav,
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-brand,
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-role,
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__sheet-head,
.fx-shell[data-admin-reference][data-admin-shell] .fx-shell__chips { display: none; }
@media (min-width: 1024px) {
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed { grid-template-columns: var(--fx-shell-rail-mini) minmax(0,1fr); }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__brand { flex-direction: column; justify-content: center; height: 90px; flex-basis: 90px; gap: 4px; margin-inline: 6px; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__collapse { margin: 0; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__nav-scroll { padding-inline: 6px; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__group-toggle { padding-inline: 0; justify-content: center; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__brand-text,
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__search,
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__group-label,
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__link .fx-shell__chevron,
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__account-text { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__link { justify-content: center; padding-inline: 8px; gap: 0; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__link .fx-shell__label { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__history-links { padding: 0; margin: 0; border: 0; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__foot { display: block; padding-inline: 6px; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__account { padding: 7px 0; justify-content: center; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__foot-actions { flex-wrap: wrap; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__burger { display: none !important; }
}

@media (max-width: 1023.98px) {
  .fx-shell[data-admin-reference][data-admin-shell], .fx-shell[data-admin-reference][data-admin-shell].is-collapsed { display: block; --admin-gutter: 12px; --admin-topbar: 52px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__column { padding-bottom: calc(75.4px + env(safe-area-inset-bottom)); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top { display: flex; flex-wrap: nowrap; height: 52px; min-height: 52px; padding: 0 12px; gap: 8px; background: var(--admin-bg); border-bottom: 1px solid var(--admin-line); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top::after,
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__titles { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-brand { display: flex; align-items: center; flex: 1; min-width: 0; gap: 8px; font-size: 14px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-brand strong { font-weight: 500; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-brand .fx-shell__mark { width: 28px; height: 28px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-role { display: inline-block; padding: 3px 7px; border-radius: 6px; background: var(--admin-nav-tint); color: var(--admin-nav-active); font-size: 10px; font-weight: 500; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top :is(.fx-shell__action,.fx-shell__burger) { min-width: 32px; width: 32px; min-height: 44px; height: 44px; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__burger,
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__search-trigger,
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__top [data-shell-go='audit'] { display: none !important; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__actions { grid-column: auto; flex: none; flex-wrap: nowrap; gap: 0; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__pagehead { padding-top: var(--admin-gutter); gap: 2px 6px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__desc { grid-column: 1 / -1; font-size: 12px; line-height: 20px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions { grid-row: 1 / 2; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions [data-action='admin-refresh'] { min-width: 36px; min-height: 36px; padding: 5px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-actions [data-action='admin-refresh'] span,
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__page-store { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-nav { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); min-height: calc(75.4px + env(safe-area-inset-bottom)); padding: 4px 4px calc(8px + env(safe-area-inset-bottom)); background: var(--admin-surface); border-top: 1px solid var(--admin-line); }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-item { min-width: 0; min-height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; margin: 0; padding: 4px 2px; border: 0; border-radius: 9px; background: transparent; color: var(--admin-muted); text-decoration: none; font: 400 10px/16px var(--admin-font); cursor: pointer; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-item .fx-shell__icon { width: 21px; height: 21px; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__mobile-item:is([aria-current='page'],.is-active,[aria-expanded='true']) { color: var(--admin-nav-active); background: var(--admin-nav-tint); }
  /* The desktop rail becomes a bottom sheet. No horizontal drawer at any mobile width. */
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__side { position: fixed; inset: auto 0 0; width: 100%; max-width: none; height: min(86dvh,800px); max-height: calc(100dvh - 24px); padding: 0 0 env(safe-area-inset-bottom); border: 1px solid var(--admin-line-strong); border-bottom: 0; border-radius: 20px 20px 0 0; background: var(--admin-surface); visibility: hidden; transform: translateY(105%); transition: transform var(--fx-shell-speed) ease, visibility var(--fx-shell-speed); z-index: 10060; overflow: hidden; }
  .fx-shell[data-admin-reference][data-admin-shell].is-sheet-open .fx-shell__side { visibility: visible; transform: none; box-shadow: 0 -12px 50px #0005; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__side::before { content: ''; display: block; flex: 0 0 4px; width: 40px; height: 4px; border-radius: 4px; margin: 9px auto 5px; background: var(--admin-line-strong); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex: none; min-height: 48px; padding: 0 12px 5px 16px; border-bottom: 1px solid var(--admin-line); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__sheet-title { font-size: 17px; line-height: 26px; font-weight: 500; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__sheet-head .fx-shell__ghost { min-width: 44px; min-height: 44px; padding: 0; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__side .fx-shell__brand { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__side .fx-shell__search { display: flex; margin: 12px 12px 10px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__field { min-height: 44px; height: 44px; font-size: 16px; padding-right: 12px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__shortcut { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__chips { display: flex; flex: none; gap: 7px; overflow-x: auto; overflow-y: hidden; padding: 0 12px 12px; scrollbar-width: none; overscroll-behavior-inline: contain; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__chips::-webkit-scrollbar { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__chip { flex: none; min-height: 40px; padding: 7px 12px; border: 1px solid var(--admin-line); border-radius: 8px; background: var(--admin-surface-muted); color: var(--admin-muted); font-size: 10px; white-space: nowrap; cursor: pointer; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__chip[aria-pressed='true'] { border-color: color-mix(in srgb,var(--admin-nav-active) 45%,transparent); background: var(--admin-nav-tint); color: var(--admin-nav-active); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__nav-scroll { padding: 0 12px 14px; -webkit-overflow-scrolling: touch; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__nav { gap: 14px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle { padding-inline: 2px; height: 28px; min-height: 28px; pointer-events: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__group-toggle .fx-shell__chevron { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__items { gap: 6px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__link { min-height: 46px; padding: 11px 12px; border-color: var(--admin-line); border-radius: 10px; background: var(--admin-surface-muted); font-size: 13px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__link::after { content: '›'; margin-left: auto; color: var(--admin-muted); font-size: 18px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-toggle { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-links { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__history-links .fx-shell__link { min-height: 46px; padding: 11px 12px; font-size: 13px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot { padding: 10px 12px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__account { display: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot-actions { padding: 0; gap: 6px; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot .fx-shell__store-link { min-height: 44px; gap: 5px; padding: 6px; color: var(--admin-ink); background: var(--admin-surface-muted); font-size: 11px; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot .fx-shell__store-link .fx-shell__label { position: static; width: auto; height: auto; clip-path: none; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__foot [data-action='logout'] { color: var(--admin-bad); }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__overlay { display: block !important; position: fixed; inset: 0; z-index: 10050; border: 0; background: #0009; }
  .fx-shell[data-admin-reference][data-admin-shell] .fx-shell__overlay[hidden] { display: none !important; }
  body.fx-shell-active #app .fx-shell[data-admin-reference][data-admin-shell] :is(main.fx-admin,.fx-shell-page) { padding-top: 16px; }
  .fx-shell[data-admin-reference][data-admin-shell].is-collapsed .fx-shell__link .fx-shell__label { position: static; width: auto; height: auto; margin: 0; clip-path: none; overflow: hidden; }
}
@media (min-width:640px) and (max-width:767.98px) { .fx-shell[data-admin-reference][data-admin-shell] { --admin-gutter: 16px; } }
@media (min-width:768px) and (max-width:1023.98px) { .fx-shell[data-admin-reference][data-admin-shell] { --admin-gutter: 24px; } }
@media (prefers-reduced-motion: reduce) { .fx-shell[data-admin-reference][data-admin-shell], .fx-shell[data-admin-reference][data-admin-shell] *, .fx-shell[data-admin-reference][data-admin-shell] *::before, .fx-shell[data-admin-reference][data-admin-shell] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
