/* ==========================================================================
   App shell v4 ("airy" console): brand pill + centred section nav + action
   circles in a full-width top bar, a floating icon rail on the start edge,
   white soft-border cards. Loaded AFTER app.css so it can restyle the shared
   shell without touching page markup or behaviour.

   - .app-topbar / .tb-*          top bar (tenant pages + admin page)
   - html.app-shell #appSidebar   icon rail (tenant pages; set by sidebar.html)
   - html.app-shell main ...      page content restyle (cards, KPI tickets)
   Both day and night are supported; day follows the reference design.
   ========================================================================== */

html {
  --sh-bg-top: #ffffff;
  --sh-bg-bottom: #dde3f1;
  --sh-surface: #ffffff;
  --sh-surface-soft: rgba(255, 255, 255, .72);
  --sh-border: #e2e6f3;
  --sh-border-strong: #cfd5e8;
  --sh-text: #1b2033;
  --sh-muted: #656d8c;
  --sh-pill: #eef0fb;
  --sh-active: #dde0f7;
  --sh-active-text: #1b2033;
  --sh-solid: #252f3f;
  --sh-solid-text: #ffffff;
  --sh-highlight-a: #e3e7fb;
  --sh-highlight-b: #cbd2f4;
  --sh-highlight-border: #aeb9e8;
  --sh-shadow: 0 1px 2px rgba(27, 32, 51, .04), 0 10px 30px -18px rgba(37, 47, 120, .18);
  --sh-shadow-pop: 0 24px 60px -24px rgba(27, 32, 51, .35);
  --sh-hdr-h: 72px;
  --sh-rail-w: 56px;
  --sh-rail-gap: 20px;
}
html.dark {
  --sh-bg-top: #0c0726;
  --sh-bg-bottom: #04030d;
  --sh-surface: rgba(24, 22, 56, .72);
  --sh-surface-soft: rgba(12, 7, 38, .6);
  --sh-border: rgba(180, 192, 208, .14);
  --sh-border-strong: rgba(180, 192, 208, .28);
  --sh-text: #e6edf5;
  --sh-muted: #8fa0ba;
  --sh-pill: rgba(180, 192, 208, .08);
  --sh-active: rgba(145, 163, 182, .26);
  --sh-active-text: #f3f7fb;
  --sh-solid: #5f6f92;
  --sh-solid-text: #ffffff;
  --sh-highlight-a: rgba(95, 111, 146, .5);
  --sh-highlight-b: rgba(55, 64, 110, .45);
  --sh-highlight-border: rgba(145, 163, 182, .45);
  --sh-shadow: 0 1px 2px rgba(0, 0, 1, .4), 0 18px 40px -26px rgba(0, 0, 1, .8);
  --sh-shadow-pop: 0 30px 70px -24px rgba(0, 0, 0, .9);
}

/* ---------------------------------------------------------------- top bar */
.app-topbar {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  min-height: var(--sh-hdr-h); padding: 12px 24px; box-sizing: border-box;
  color: var(--sh-text);
}
.app-topbar .tb-start { display: flex; align-items: center; gap: 12px; justify-self: start; min-width: 0; }
.app-topbar .tb-end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.app-topbar .tb-nav-spacer { display: block; }

/* brand pill */
.app-topbar .sb-brand {
  position: static !important; display: inline-flex !important; align-items: center; gap: 10px; height: 48px;
  padding: 0 18px 0 8px; padding-inline: 8px 18px; border-radius: 9999px; text-decoration: none;
  background: var(--sh-surface); border: 1px solid var(--sh-border); box-shadow: var(--sh-shadow); color: var(--sh-text);
}
.app-topbar .sb-brand img { height: 32px; width: 32px; filter: none; }
.app-topbar .sb-brand span { font-size: 18px; line-height: 24px; font-weight: 800; color: var(--sh-text); }

/* centre section nav (pill group) */
.app-topbar .tb-nav {
  display: none; align-items: center; gap: 4px; padding: 5px; border-radius: 9999px;
  background: var(--sh-surface-soft); border: 1px solid var(--sh-border); box-shadow: var(--sh-shadow);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.app-topbar .tb-nav a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 9999px; white-space: nowrap;
  font-size: 14px; line-height: 20px; font-weight: 500; color: var(--sh-text); text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}
.app-topbar .tb-nav a:hover { background: var(--sh-pill); }
.app-topbar .tb-nav a.is-active { background: var(--sh-active); color: var(--sh-active-text); font-weight: 700; }

/* round icon buttons, language pill, account pill */
.app-topbar .tb-icon, .app-topbar .tb-pill, .app-topbar .tb-account {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  height: 44px; border-radius: 9999px; cursor: pointer; text-decoration: none; position: relative;
  background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; color: var(--sh-text) !important;
  box-shadow: var(--sh-shadow) !important; transition: border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.app-topbar .tb-icon { width: 44px; }
.app-topbar .tb-icon svg, .app-topbar .tb-icon i, .app-topbar .tb-pill svg { color: var(--sh-text) !important; stroke: currentColor; }
.app-topbar .tb-pill { padding: 0 16px; font-size: 12px; font-weight: 800; }
.app-topbar .tb-pill svg { color: var(--sh-muted) !important; }
.app-topbar .tb-account { padding: 0 6px 0 16px; padding-inline: 16px 6px; font-size: 14px; font-weight: 600; }
.app-topbar .tb-avatar {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 9999px;
  background: var(--sh-solid); color: var(--sh-solid-text); font-size: 14px; font-weight: 800;
}
.app-topbar .tb-icon:hover, .app-topbar .tb-pill:hover, .app-topbar .tb-account:hover { border-color: var(--sh-border-strong) !important; }
.app-topbar .tb-icon:active { transform: scale(.96); }
.app-topbar .tb-icon:focus-visible, .app-topbar .tb-pill:focus-visible, .app-topbar .tb-account:focus-visible, .app-topbar .tb-nav a:focus-visible, .app-topbar .sb-brand:focus-visible {
  outline: 2px solid var(--sh-solid); outline-offset: 2px;
}

@media (min-width: 1024px) { .app-topbar .tb-nav { display: inline-flex; } .app-topbar .tb-icon.lg\:hidden { display: none; } }
@media (max-width: 1023.98px) {
  .app-topbar { grid-template-columns: 1fr auto; padding: 10px 12px; gap: 8px; min-height: 64px; }
  .app-topbar .tb-nav-spacer { display: none; }
  .app-topbar .tb-pill span.uppercase { display: none; }
  .app-topbar .tb-pill { padding: 0; width: 44px; }
  .app-topbar .tb-account-label { display: none; }
  .app-topbar .tb-account { padding: 0 5px; }
  .app-topbar .tb-end { gap: 6px; }
}
@media (max-width: 520px) {
  .app-topbar #maskToggleBtn, .app-topbar .tb-end > a.tb-icon[href*="ask-basira"] { display: none; }
  .app-topbar .sb-brand span { display: none; }
  .app-topbar .sb-brand { padding: 0 8px; }
}

/* the top bar is a plain row now: undo the old "transparent glass header" rules */
html.app-glass main > header.app-topbar { padding: 12px 24px !important; min-height: var(--sh-hdr-h); }
@media (max-width: 1023.98px) { html.app-glass main > header.app-topbar { padding: 10px 12px !important; min-height: 64px; } }

/* =========================================================== tenant shell */

/* day background: white at the top easing into a soft lavender-grey */
html.app-shell:not(.dark) body {
  background:
    radial-gradient(900px 420px at 85% 105%, rgba(200, 208, 245, .75), transparent 70%),
    linear-gradient(180deg, var(--sh-bg-top) 0%, #f6f7fd 38%, var(--sh-bg-bottom) 100%) fixed !important;
  color: var(--sh-text);
}
html.app-shell.dark body {
  background:
    radial-gradient(1000px 520px at 50% -12%, rgba(55, 64, 110, .45), transparent 62%),
    radial-gradient(900px 420px at 15% 110%, rgba(26, 26, 74, .8), transparent 65%), #060414 !important;
}

/* the page frame disappears: the window itself is the canvas */
html.app-shell body :has(> #appSidebar.app-rail) {
  margin: 0 !important; padding: 0 !important; gap: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  min-height: 100vh; position: relative;
}
html.app-shell body :has(> #appSidebar.app-rail)::before { display: none !important; }
html.app-shell body :has(> #appSidebar.app-rail) > main { gap: 0 !important; }

/* top bar: full width, hairline underneath, light frosted background */
html.app-shell main > header.app-topbar {
  background: var(--sh-surface-soft); border-bottom: 1px solid var(--sh-border);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
html.app-shell.dark main > header.app-topbar { background: rgba(6, 4, 20, .55); }

/* content column sits beside the rail */
html.app-shell main > :not(header):not(.app-scroll) { margin-inline: 16px; }
@media (min-width: 640px) { html.app-shell main > :not(header):not(.app-scroll) { margin-inline: 24px; } }
html.app-shell .app-scroll { gap: 24px !important; }

/* ---- rail ---- */
html.app-shell #appSidebar.app-rail {
  background: transparent !important; border: 0 !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important; color: var(--sh-text);
}
.rail-toggle, .rail-upgrade { display: none; }

/* mobile drawer panel (the desktop rail draws its own panel only while opened, see below) */
@media (max-width: 1023.98px) {
  html.app-shell #appSidebar.app-rail {
    background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; border-radius: 28px !important;
    box-shadow: var(--sh-shadow-pop) !important; padding: 16px 12px !important;
  }
  html.app-shell.dark #appSidebar.app-rail { background: rgba(14, 11, 40, .98) !important; }
}
html.app-shell #appSidebar.app-rail .nav-item {
  color: var(--sh-text) !important; border-radius: 9999px !important; min-height: 44px; padding: 10px 14px; gap: 12px;
  font-size: 14px; line-height: 20px; font-weight: 500; box-shadow: none !important; transform: none !important;
}
html.app-shell #appSidebar.app-rail .nav-item svg, html.app-shell #appSidebar.app-rail .nav-item i { color: var(--sh-muted) !important; width: 20px; height: 20px; }
html.app-shell #appSidebar.app-rail .nav-item:hover { background: var(--sh-pill) !important; color: var(--sh-text) !important; }
html.app-shell #appSidebar.app-rail .nav-item.active, html.app-shell[dir="rtl"] #appSidebar.app-rail .nav-item.active {
  background: var(--sh-active) !important; color: var(--sh-active-text) !important; font-weight: 700;
}
html.app-shell #appSidebar.app-rail .nav-item.active svg, html.app-shell #appSidebar.app-rail .nav-item:hover svg { color: var(--sh-active-text) !important; }
html.app-shell #appSidebar.app-rail > div[class*="text-[10px]"], html.app-shell #appSidebar.app-rail nav > div[class*="text-[10px]"] {
  color: var(--sh-muted) !important; font-weight: 700;
}
html.app-shell #appSidebar.app-rail a:not(.nav-item):not(.rail-upgrade), html.app-shell #appSidebar.app-rail span, html.app-shell #appSidebar.app-rail p { color: inherit; }
html.app-shell #appSidebar.app-rail > div:first-child span { color: var(--sh-text) !important; background: none !important; -webkit-text-fill-color: currentColor !important; }
html.app-shell #appSidebar.app-rail img { filter: none !important; }
html.app-shell #appSidebar.app-rail .mobile-sidebar-close-btn { background: var(--sh-pill) !important; color: var(--sh-text) !important; border-radius: 9999px; }

/* plan / trial box */
html.app-shell #appSidebar.app-rail #upgradeBox { background: var(--sh-pill) !important; border: 1px solid var(--sh-border) !important; color: var(--sh-text); }
html.app-shell #appSidebar.app-rail #upgradeBox [class*="text-white"]:not(a), html.app-shell #appSidebar.app-rail #upgradeBox p, html.app-shell #appSidebar.app-rail #upgradeBox span { color: var(--sh-text) !important; }
html.app-shell #appSidebar.app-rail #upgradeBox [class*="text-emerald"] { color: var(--color-success, #047857) !important; }
html.app-shell #appSidebar.app-rail #upgradeBox [class*="text-rose"] { color: var(--color-error, #be123c) !important; }
html.app-shell #appSidebar.app-rail #upgradeBox a {
  background: var(--sh-solid) !important; background-image: none !important; color: var(--sh-solid-text) !important; border: 0 !important; animation: none !important;
}
html.app-shell #appSidebar.app-rail #upgradeBox a:hover { filter: brightness(1.12); }
html.app-shell #appSidebar.app-rail #upgradeBox .rounded-full.overflow-hidden { background: var(--sh-border) !important; }

/* desktop: collapsed icon rail, expands on demand */
@media (min-width: 1024px) {
  html.app-shell, html.app-shell body { height: 100%; overflow: hidden; }
  html.app-shell body :has(> #appSidebar.app-rail) { height: 100vh; overflow: clip !important; }
  html.app-shell .app-scroll {
    padding: 24px 32px 32px; padding-inline: calc(var(--sh-rail-gap) + var(--sh-rail-w) + 28px) 32px;
    box-sizing: border-box;
  }
  html.app-shell main > header.app-topbar ~ :not(.app-scroll) { margin-inline: 0; }

  html.app-shell #appSidebar.app-rail {
    position: absolute !important; z-index: 80; margin: 0 !important;
    top: calc(var(--sh-hdr-h) + 24px); inset-inline-start: var(--sh-rail-gap);
    width: var(--sh-rail-w) !important; height: auto !important; max-height: calc(100vh - var(--sh-hdr-h) - 48px);
    padding: 0 !important; overflow-y: auto !important; overflow-x: hidden; scrollbar-width: none;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    background: transparent !important; border: 0 !important; box-shadow: none !important; border-radius: 0 !important;
    transition: width .22s cubic-bezier(.2, .7, .2, 1);
  }
  html.app-shell #appSidebar.app-rail::-webkit-scrollbar { display: none; }
  html.app-shell #appSidebar.app-rail > div:first-child { display: none !important; }

  html.app-shell #appSidebar.app-rail .rail-toggle, html.app-shell #appSidebar.app-rail .rail-upgrade { display: inline-flex; }
  html.app-shell #appSidebar.app-rail .rail-toggle, html.app-shell #appSidebar.app-rail .rail-upgrade, html.app-shell #appSidebar.app-rail .nav-item {
    width: 48px; height: 48px; min-height: 48px; padding: 0 !important; border-radius: 9999px !important;
    justify-content: center; align-items: center; flex: none;
    background: var(--sh-surface) !important; border: 1px solid var(--sh-border); box-shadow: var(--sh-shadow) !important; color: var(--sh-text) !important;
  }
  html.app-shell #appSidebar.app-rail .rail-toggle, html.app-shell #appSidebar.app-rail .rail-upgrade { cursor: pointer; text-decoration: none; }
  html.app-shell #appSidebar.app-rail .rail-toggle svg, html.app-shell #appSidebar.app-rail .rail-upgrade svg { color: var(--sh-text) !important; width: 20px; height: 20px; }
  html.app-shell #appSidebar.app-rail .nav-item span { display: none; }
  html.app-shell #appSidebar.app-rail .nav-item:hover, html.app-shell #appSidebar.app-rail .rail-toggle:hover, html.app-shell #appSidebar.app-rail .rail-upgrade:hover { border-color: var(--sh-border-strong); }
  html.app-shell #appSidebar.app-rail .nav-item.active, html.app-shell[dir="rtl"] #appSidebar.app-rail .nav-item.active {
    background: var(--sh-active) !important; border-color: var(--sh-highlight-border);
  }
  html.app-shell #appSidebar.app-rail nav { display: contents; }
  html.app-shell #appSidebar.app-rail > div[class*="text-[10px]"], html.app-shell #appSidebar.app-rail nav > div[class*="text-[10px]"] { display: none; }
  html.app-shell #appSidebar.app-rail .mt-auto { display: contents; }
  html.app-shell #appSidebar.app-rail #upgradeBox { display: none; }
  html.app-shell #appSidebar.app-rail .nav-item:focus-visible, html.app-shell #appSidebar.app-rail .rail-toggle:focus-visible, html.app-shell #appSidebar.app-rail .rail-upgrade:focus-visible {
    outline: 2px solid var(--sh-solid); outline-offset: 2px;
  }

  /* opened: a labelled panel floating over the content */
  html.app-shell #appSidebar.app-rail.is-open {
    width: 264px !important; align-items: stretch; gap: 4px; padding: 14px 12px !important;
    background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; border-radius: 28px !important;
    box-shadow: var(--sh-shadow-pop) !important; max-height: calc(100vh - var(--sh-hdr-h) - 32px);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  }
  html.app-shell.dark #appSidebar.app-rail.is-open { background: rgba(14, 11, 40, .96) !important; }
  html.app-shell #appSidebar.app-rail.is-open .rail-toggle { align-self: flex-start; margin-bottom: 6px; }
  html.app-shell #appSidebar.app-rail.is-open .rail-upgrade { display: none; }
  html.app-shell #appSidebar.app-rail.is-open nav { display: flex; flex-direction: column; gap: 4px; }
  html.app-shell #appSidebar.app-rail.is-open .mt-auto { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; margin-top: 8px; border-top: 1px solid var(--sh-border); }
  html.app-shell #appSidebar.app-rail.is-open .nav-item {
    width: auto; height: auto; min-height: 44px; padding: 10px 14px !important; justify-content: flex-start;
    background: transparent !important; border-color: transparent; box-shadow: none !important;
  }
  html.app-shell #appSidebar.app-rail.is-open .nav-item:hover { background: var(--sh-pill) !important; }
  html.app-shell #appSidebar.app-rail.is-open .nav-item.active, html.app-shell[dir="rtl"] #appSidebar.app-rail.is-open .nav-item.active { background: var(--sh-active) !important; }
  html.app-shell #appSidebar.app-rail.is-open .nav-item span { display: inline; }
  html.app-shell #appSidebar.app-rail.is-open > div[class*="text-[10px]"], html.app-shell #appSidebar.app-rail.is-open nav > div[class*="text-[10px]"] {
    display: block; margin: 14px 0 4px; padding-inline: 14px; font-size: 12px; line-height: 16px;
  }
  html.app-shell #appSidebar.app-rail.is-open #upgradeBox { display: block; }
}
/* short screens: the rail shrinks a little instead of scrolling */
@media (min-width: 1024px) and (max-height: 800px) {
  html.app-shell #appSidebar.app-rail { gap: 6px; }
  html.app-shell #appSidebar.app-rail .rail-toggle, html.app-shell #appSidebar.app-rail .rail-upgrade, html.app-shell #appSidebar.app-rail .nav-item { width: 42px; height: 42px; min-height: 42px; }
}

/* mobile: the existing off-canvas drawer, restyled (labels always visible) */
@media (max-width: 1023.98px) {
  html.app-shell body :has(> #appSidebar.app-rail) { padding: 0 !important; margin: 0 !important; }
  html.app-shell .app-scroll { display: contents; }
  html.app-shell main > :not(header):not(.app-scroll), html.app-shell main > .app-scroll > * { margin-inline: 12px; }
  html.app-shell main { gap: 16px !important; }
  html.app-shell main > header.app-topbar ~ :not(.app-scroll):first-of-type, html.app-shell main > .app-scroll > :first-child { margin-top: 16px; }
  html.app-shell #appSidebar.app-rail { top: 12px; bottom: 12px; }
}

/* ------------------------------------------------------------ content cards */
html.app-shell main .glass:not(header), html.app-shell main .glass-strong:not(header), html.app-shell main .card {
  background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; border-radius: 24px;
  box-shadow: var(--sh-shadow) !important; -webkit-backdrop-filter: none; backdrop-filter: none;
}
html.app-shell.dark main .glass:not(header), html.app-shell.dark main .glass-strong:not(header), html.app-shell.dark main .card { background: var(--sh-surface) !important; }
html.app-shell main .glass:not(header):hover, html.app-shell main .glass-strong:not(header):hover, html.app-shell main .card:hover {
  border-color: var(--sh-border-strong) !important; transform: none !important; box-shadow: var(--sh-shadow) !important;
}
html.app-shell main h1 { color: var(--sh-text) !important; background: none !important; -webkit-text-fill-color: currentColor !important; font-weight: 600 !important; }
html.app-shell main h2, html.app-shell main h3, html.app-shell main h4 { color: var(--sh-text) !important; }

/* primary buttons: solid slate-navy pills like the reference */
html.app-shell:not(.dark) main [class*="from-[var(--nile)]"], html.app-shell:not(.dark) main [class*="from-indigo"] {
  --tw-gradient-from: #252f3f var(--tw-gradient-from-position) !important; --tw-gradient-to: #34405a var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
html.app-shell:not(.dark) main #runAgentBtn { background: #252f3f !important; }

/* soft tinted banners (e.g. "ready to analyse your business?") keep a light lavender wash with dark text */
html.app-shell:not(.dark) main [class*="from-[var(--nile)]/"] {
  --tw-gradient-from: var(--sh-highlight-a) var(--tw-gradient-from-position) !important; --tw-gradient-to: var(--sh-highlight-b) var(--tw-gradient-to-position) !important;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
  border-color: var(--sh-highlight-border) !important;
}
html.app-shell:not(.dark) main [class*="from-[var(--nile)]/"] p { color: var(--sh-muted) !important; }

/* KPI tickets: white cards, one lavender highlight (day); night keeps its tones */
html.app-shell .kpi-ticket { border-radius: 24px; min-height: 9rem; }
html.app-shell:not(.dark) .kpi-silver, html.app-shell:not(.dark) .kpi-dark {
  background: var(--sh-surface); color: var(--sh-text); border: 1px solid var(--sh-border); box-shadow: var(--sh-shadow);
}
html.app-shell:not(.dark) .kpi-bright {
  background: linear-gradient(160deg, var(--sh-highlight-a), var(--sh-highlight-b)); color: var(--sh-text);
  border: 1px solid var(--sh-highlight-border); box-shadow: var(--sh-shadow);
}
html.app-shell:not(.dark) .kpi-ticket .kpi-label, html.app-shell:not(.dark) .kpi-dark .kpi-label { color: var(--sh-muted); opacity: 1; }
html.app-shell:not(.dark) .kpi-bright .kpi-good { color: #047857; } html.app-shell:not(.dark) .kpi-bright .kpi-bad { color: #be123c; }
html.app-shell:not(.dark) .kpi-ticket.kpi-waste .kpi-label, html.app-shell:not(.dark) .kpi-ticket.kpi-waste .kpi-value, html.app-shell:not(.dark) .kpi-ticket.kpi-waste .kpi-sub { color: #be123c; }
html.app-shell:not(.dark) .kpi-ticket .kpi-good { color: #047857; } html.app-shell:not(.dark) .kpi-ticket .kpi-bad { color: #be123c; }

@media (prefers-reduced-motion: reduce) { #appSidebar.app-rail { transition: none !important; } }

/* night: the legacy "black round header buttons" rule is more specific than the base rule; restate the bar's own surfaces */
html.app-glass.dark header.app-topbar .tb-icon, html.app-glass.dark header.app-topbar .tb-pill, html.app-glass.dark header.app-topbar .tb-account,
html.app-glass.dark header.app-topbar a.tb-icon, html.app-glass.dark header.app-topbar button.tb-icon {
  background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; color: var(--sh-text) !important; box-shadow: var(--sh-shadow) !important;
}
html.app-glass:not(.dark) header.app-topbar .tb-icon, html.app-glass:not(.dark) header.app-topbar .tb-pill, html.app-glass:not(.dark) header.app-topbar .tb-account {
  background: var(--sh-surface) !important; border: 1px solid var(--sh-border) !important; color: var(--sh-text) !important; box-shadow: var(--sh-shadow) !important;
}
