/* SabiHQ v1430 — DemandNerve-inspired authenticated shell cleanup. Route-scoped. */
html[data-sabihq-v1430-shell='active'] .sidebar { scrollbar-width: thin; }
html[data-sabihq-v1430-shell='active'] .sidebar > div:nth-of-type(2) {
  padding: .75rem !important; background: transparent !important; box-shadow: none !important;
  border-color: rgba(148,163,184,.28) !important;
}
html[data-sabihq-v1430-shell='active'] .sidebar > div:nth-of-type(2) p:nth-of-type(n+3) { display:none !important; }
html[data-sabihq-v1430-shell='active'] .sidebar > div:nth-of-type(3),
html[data-sabihq-v1430-shell='active'] .sidebar > div:nth-of-type(4) { margin-top:.45rem !important; }
html[data-sabihq-v1430-shell='active'] .sidebar select { min-height:36px; }

/* Demote legacy sign-out buttons; the account menu owns this action. */
html[data-sabihq-v1430-shell='active'] [data-v1430-legacy-signout='true'] { display:none !important; }

/* Mobile business context becomes one clean compact row. */
@media (max-width: 767px){
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip {
    justify-content:stretch !important; padding:.45rem .75rem !important; gap:.5rem !important;
    min-height:48px; top:64px !important;
  }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip > div { width:100%; display:grid !important; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:.5rem !important; }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip > div > div { max-width:none !important; width:100% !important; }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip select { max-width:none !important; width:100% !important; min-width:0 !important; }
  html[data-sabihq-v1430-shell='active'] .shell-main { padding-top:116px !important; }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip [data-sabi-v1093-location-selector] { padding:.35rem .55rem !important; border-radius:14px !important; box-shadow:none !important; }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip [data-sabi-v1093-location-selector] > span { display:none !important; }
  html[data-sabihq-v1430-shell='active'] .mobile-store-strip [data-sabi-v1093-location-selector] p:first-child { font-size:8px !important; }
}

/* Standalone account control, intentionally outside React-owned nodes. */
.v1430-account-trigger{position:fixed;z-index:70;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:14px;border:1px solid rgba(148,163,184,.32);background:rgba(255,255,255,.96);box-shadow:0 8px 24px rgba(15,23,42,.10);font:800 12px/1 system-ui;color:#0f172a;cursor:pointer;right:16px;top:18px}
.dark .v1430-account-trigger{background:#0f172a;color:#fff;border-color:rgba(255,255,255,.12)}
.v1430-account-menu{position:fixed;z-index:2147482000;right:16px;top:62px;width:min(290px,calc(100vw - 24px));border-radius:18px;border:1px solid rgba(148,163,184,.25);background:rgba(255,255,255,.98);box-shadow:0 22px 60px rgba(15,23,42,.22);padding:10px;font-family:system-ui;color:#0f172a}
.dark .v1430-account-menu{background:#0b1220;color:#fff;border-color:rgba(255,255,255,.12)}
.v1430-account-menu[hidden]{display:none!important}.v1430-account-meta{padding:10px 11px 12px;border-bottom:1px solid rgba(148,163,184,.18);margin-bottom:6px}.v1430-account-name{font-size:13px;font-weight:900}.v1430-account-sub{margin-top:3px;font-size:11px;font-weight:650;color:#64748b}.dark .v1430-account-sub{color:#94a3b8}.v1430-account-action{width:100%;display:flex;align-items:center;gap:9px;padding:10px 11px;border:0;border-radius:12px;background:transparent;text-align:left;font-size:12px;font-weight:800;color:inherit;cursor:pointer}.v1430-account-action:hover{background:#f1f5f9}.dark .v1430-account-action:hover{background:rgba(255,255,255,.07)}.v1430-account-action.danger{color:#be123c}
@media (min-width:768px){.v1430-account-trigger{right:18px;top:19px}.v1430-account-menu{right:18px;top:64px}.topbar{padding-right:70px!important}}
@media (max-width:767px){.v1430-account-trigger{right:112px;top:13px;width:36px;height:36px;border-radius:13px}.v1430-account-menu{right:12px;top:56px}}

/* DemandNerve-style Settings: persistent category rail + one group at a time. */
.v1430-settings-nav{position:sticky;top:76px;z-index:20;display:flex;gap:7px;overflow-x:auto;padding:8px;border:1px solid rgba(148,163,184,.22);border-radius:18px;background:rgba(255,255,255,.92);backdrop-filter:blur(18px);box-shadow:0 8px 28px rgba(15,23,42,.06);scrollbar-width:none}
.v1430-settings-nav::-webkit-scrollbar{display:none}.dark .v1430-settings-nav{background:rgba(7,17,31,.93);border-color:rgba(255,255,255,.10)}
.v1430-settings-tab{flex:0 0 auto;border:0;border-radius:12px;background:transparent;padding:8px 11px;font:800 11px/1 system-ui;color:#64748b;cursor:pointer;white-space:nowrap}.v1430-settings-tab[aria-selected='true']{background:#eff6ff;color:#0f172a;box-shadow:inset 0 0 0 1px #bfdbfe}.dark .v1430-settings-tab{color:#cbd5e1}.dark .v1430-settings-tab[aria-selected='true']{background:rgba(59,130,246,.16);color:#dbeafe;box-shadow:inset 0 0 0 1px rgba(96,165,250,.28)}
html[data-sabihq-v1430-shell='active'] .settings-mobile-typography{gap:0!important}.settings-mobile-typography > nav[data-settings-v1252-compact-navigation]{display:none!important}.settings-mobile-typography > section[data-v1430-settings-group]{margin-top:14px!important}.settings-mobile-typography > section[data-v1430-settings-group] > div:first-child{padding:14px 16px!important;border-radius:18px!important;box-shadow:none!important}.settings-mobile-typography > section[data-v1430-settings-group] > div:first-child h2{font-size:17px!important}.settings-mobile-typography > section[data-v1430-settings-group] > div:first-child p:last-child{font-size:12px!important;line-height:1.55!important}
@media(max-width:767px){.v1430-settings-nav{top:116px;margin:0 -4px}.settings-mobile-typography > section[data-v1430-settings-group] > div:first-child{padding:12px 13px!important}.settings-mobile-typography > section[data-v1430-settings-group] > div:first-child h2{font-size:16px!important}}
