/* QuantLabAI mobile layout layer (UI/UX Pro Max, 2026-11).
   Loaded last on every base.html page. Layout only: colors come from the --q-* tokens in
   experience.css, so both themes stay paired. Breakpoints: 991.98px (tab bar), 575.98px (phone).
   Rules applied: touch targets ≥44px, 8px spacing rhythm, no horizontal scroll, safe areas,
   content-first density on phones, bottom navigation ≤5 labelled items. */

body[data-route-name] {
  --q-tabbar-h: 64px;
  --q-tabbar-space: 0px;
  --q-phone-gutter: 12px;
  --q-phone-card-pad: 16px;
  --q-phone-inner-pad: 14px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Remove the 300ms tap delay and the grey iOS tap flash on controls; keep pinch-zoom. */
body[data-route-name] :is(a, button, [role="button"], input, select, textarea, label, summary) {
  touch-action: manipulation;
}
body[data-route-name] :is(a, button, [role="button"], summary) { -webkit-tap-highlight-color: transparent; }

/* ---------- Bottom tab bar (phones and tablets): a floating 3D dock ----------
   Built on the "navigation-menus" animation principles (staging, follow-through, ease-out) and the UI/UX Pro Max
   clay style (layered shadows, gradient sphere, spring press).
   Smoothness rule: everything that moves only changes transform or opacity, so it runs on the compositor and never
   repaints. The dock surface and its shadow are static; nothing tilts the whole bar.
   - The current tab is a raised violet sphere; a ring in the dock colour around it reads as a notch and moves with it.
   - Changing tab: the sphere glides across with a small settle, the icon turns in from the side as it rises onto it.
   - Pressing: only the pressed key sinks.
   base.js hands over --q-tab-x (centre of the current tab) and --q-tab-on. Without JavaScript the dock still
   floats and the current tab keeps a plain static highlight. */
.q-tabbar { display: none; }

@media (max-width: 991.98px) {
  body[data-route-name][data-mobile-tabbar="true"] {
    --q-tabbar-bottom: max(10px, env(safe-area-inset-bottom, 0px));
    --q-tabbar-space: calc(var(--q-tabbar-h) + var(--q-tabbar-bottom) + 22px);
    padding-bottom: var(--q-tabbar-space);
  }

  body[data-route-name] .q-tabbar {
    /* The sphere keeps the brand violet in both themes so the white icon always has contrast (5.7:1 on the mid tone). */
    --q-tab-ball-hi: #a78bfa;
    --q-tab-ball-mid: #7c3aed;
    --q-tab-ball-lo: #5b21b6;
    --q-tab-glide: 380ms cubic-bezier(.22, 1.12, .36, 1);
    position: fixed;
    inset: auto 12px var(--q-tabbar-bottom, 10px) 12px;
    z-index: 1025;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 520px;
    height: var(--q-tabbar-h);
    margin-inline: auto;
    padding: 0 6px;
    transition: transform 240ms var(--q-ease, ease);
  }

  /* Dock surface: lit from above, a visible lower edge (its thickness), a soft shadow below. Never animated. */
  body[data-route-name] .q-tabbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border: 1px solid var(--q-line);
    border-radius: 24px;
    background: linear-gradient(180deg,
      color-mix(in srgb, var(--q-paper) 82%, #fff) 0%,
      var(--q-paper) 46%,
      color-mix(in srgb, var(--q-paper) 90%, var(--q-accent)) 100%);
    box-shadow:
      inset 0 1px 0 color-mix(in srgb, var(--q-paper) 40%, #fff),
      inset 0 -4px 0 color-mix(in srgb, var(--q-paper) 76%, var(--q-accent)),
      inset 0 -12px 12px -8px rgb(30 27 75 / 16%),
      0 12px 22px -6px rgb(30 27 75 / 22%),
      0 2px 4px rgb(30 27 75 / 12%);
  }

  /* The sphere: gradient body, highlight top-left, shade underneath, a ring in the dock colour (the "notch"). */
  body[data-route-name] .q-tabbar::after {
    content: "";
    position: absolute;
    top: -22px;
    left: 0;
    width: 54px;
    height: 54px;
    margin-left: -27px;
    border-radius: 50%;
    background:
      radial-gradient(circle at 32% 24%, rgb(255 255 255 / 62%) 0, rgb(255 255 255 / 0%) 44%),
      linear-gradient(160deg, var(--q-tab-ball-hi) 0%, var(--q-tab-ball-mid) 48%, var(--q-tab-ball-lo) 100%);
    box-shadow:
      inset 0 -7px 10px rgb(46 16 101 / 38%),
      inset 0 2px 2px rgb(255 255 255 / 45%),
      0 0 0 5px color-mix(in srgb, var(--q-paper) 82%, #fff),
      0 10px 16px -4px color-mix(in srgb, var(--q-tab-ball-mid) 55%, transparent);
    transform: translateX(var(--q-tab-x, 0px)) scale(var(--q-tab-on, 0));
    opacity: 0;
    pointer-events: none;
    will-change: transform;
    z-index: 1;
  }
  body[data-route-name] .q-tabbar[data-q-tab-ready]::after { opacity: 1; }
  /* The sphere passes over the other keys; only the chosen key sits on top of it. */
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item { z-index: 0; }
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item:is([aria-current="page"], .is-pending) { z-index: 2; }
  body[data-route-name] .q-tabbar[data-q-tab-animate]::after { transition: transform var(--q-tab-glide), opacity 160ms var(--q-ease, ease); }

  body[data-route-name] .q-tabbar__item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 44px;
    min-height: 44px;
    padding-top: 6px;
    color: var(--q-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.1;
    text-decoration: none;
    border-radius: 16px;
    transition: color 200ms var(--q-ease, ease);
  }
  body[data-route-name] .q-tabbar__item i {
    font-size: 20px;
    line-height: 1;
    transition: transform var(--q-tab-glide), color 200ms var(--q-ease, ease);
    will-change: transform;
  }
  /* Same weight for every label so the text never reflows when the current tab changes. */
  body[data-route-name] .q-tabbar__item span { transition: transform 160ms var(--q-ease, ease); }

  /* No JavaScript yet: a plain highlight behind the current tab. */
  body[data-route-name] .q-tabbar__item::before {
    content: "";
    position: absolute;
    top: 8px;
    width: 46px;
    height: 30px;
    border-radius: 999px;
    background: var(--q-accent-soft);
    opacity: 0;
    z-index: -1;
  }
  body[data-route-name] .q-tabbar__item[aria-current="page"] { color: var(--q-accent); }
  body[data-route-name] .q-tabbar__item[aria-current="page"]::before { opacity: 1; }
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item::before { display: none; }

  /* Current tab: its icon rides on the sphere. */
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item[aria-current="page"] i,
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item.is-pending i {
    color: #fff;
    transform: translateY(-20px) scale(1.1);
    text-shadow: 0 1px 1px rgb(46 16 101 / 45%);
  }
  body[data-route-name] .q-tabbar[data-q-tab-ready] .q-tabbar__item.is-arriving i { animation: qTabTurn 380ms cubic-bezier(.22, 1, .36, 1); }
  /* Tapped, next page still loading: the tapped tab already looks chosen, the old one steps back down. */
  body[data-route-name] .q-tabbar__item.is-pending { color: var(--q-accent); }
  body[data-route-name] .q-tabbar[data-q-tab-pending] .q-tabbar__item[aria-current="page"]:not(.is-pending) { color: var(--q-muted); }
  body[data-route-name] .q-tabbar[data-q-tab-ready][data-q-tab-pending] .q-tabbar__item[aria-current="page"]:not(.is-pending) i {
    color: inherit;
    transform: none;
    text-shadow: none;
  }

  /* Only the pressed key sinks. */
  body[data-route-name] .q-tabbar__item:not([aria-current="page"]):not(.is-pending):active i { transform: translateY(2px) scale(.9); transition-duration: 90ms; }
  body[data-route-name] .q-tabbar__item:active span { transform: scale(.96); }
  @media (hover: hover) {
    body[data-route-name] .q-tabbar__item:hover { color: var(--q-accent); }
  }
  body[data-route-name] .q-tabbar__item:focus-visible { outline: 3px solid var(--q-focus); outline-offset: -3px; }

  /* One header height on every page: the homepage's taller header made the whole page jump when switching to or
     from it. */
  body[data-route-name="main.index"] #global-navbar.home-navbar { min-height: 61px; }  /* 44px controls + 16px padding + 1px line, as elsewhere */

  /* Make room for the keyboard and for page sheets, dialogs and the open menu. */
  body[data-route-name]:has(:is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="button"]):not([type="submit"]), textarea, select, [contenteditable="true"]):focus) .q-tabbar,
  body[data-route-name]:has(:is(.modal.show, .offcanvas.show, .broker-radar-ai-sheet.is-open, .broker-radar-ai-mobile-overlay.is-open, .image-report-modal:not(.hidden), #navbarNav.show)) .q-tabbar {
    transform: translateY(calc(100% + 56px));
  }

  /* Page-level docks and quick bars sit above the tab bar instead of underneath it. */
  body[data-route-name][data-mobile-tabbar="true"] .ih-mobile-dock {
    bottom: calc(var(--q-tabbar-space) + 10px);
  }
  body[data-route-name][data-mobile-tabbar="true"] .custom-dashboard-page .mobile-quickbar {
    bottom: calc(var(--q-tabbar-space) + 10px);
  }

  /* The open hamburger menu is a scrollable sheet over a dimmed page (tap outside or Esc closes it). */
  body[data-route-name] #global-navbar .navbar-collapse.show {
    max-height: calc(100dvh - var(--global-nav-header-row-height, 64px) - 1rem);
  }
  body[data-route-name] #page-transition-host::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1015;
    background: rgb(14 12 27 / 48%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 200ms var(--q-ease, ease);
  }
  body[data-route-name]:has(#navbarNav:is(.show, .collapsing)) #page-transition-host::after { opacity: 1; pointer-events: auto; }
  body[data-route-name]:has(#navbarNav.show) { overflow: hidden; }
}

/* ---------- Phone layout (≤ 575.98px) ---------- */
@media (max-width: 575.98px) {
  /* One consistent 12px page gutter; wrappers below it stop adding their own. */
  body[data-route-name] #page-transition-host.main-container {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding-inline: var(--q-phone-gutter);
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.info-shell, .board-shell, .download-shell, .profile-main-container, .admin-shell),
  body[data-route-name] :is(#main-content, .page-transition-shell__page) > :is(.container, .container-fluid),
  body[data-route-name] :is(#main-content, .page-transition-shell__page) > div > :is(.container, .container-fluid):only-child {
    width: 100%;
    margin-inline: 0;
    padding-inline: 0;
    max-width: 100%;
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.admin-shell) > .row { --bs-gutter-x: 12px; margin-inline: 0; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .admin-shell main[class*="col-"] { padding-inline: 0; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .admin-shell main[class*="col-"] > .row { --bs-gutter-x: 12px; margin-inline: 0; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .admin-shell main[class*="col-"] > .row > [class*="col-"] { padding-inline: 0; }

  /* First-level surfaces: 16px padding instead of 20–33px. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(
      .info-card, .info-panel, .board-card, .board-side-card, .board-hero, .download-hero, .profile-hero, .profile-card,
      .policy-hero, .preview-hero, .broker-radar-ai-hero, .download-empty, .finmind-locked-panel,
      .strategy-locked-panel, .admin-shell .card-body, .container.mt-4 > .card > .card-body
    ) {
    padding: 20px var(--q-phone-card-pad);
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(main.shell > section.hero, main > section.hero) {
    padding: 20px var(--q-phone-card-pad);
  }
  /* Second-level boxes inside a card: lighter inset so text keeps its width. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.board-empty, .profile-identity-card, #settingsForm .border.rounded-4.p-4, .admin-download-note) {
    padding: var(--q-phone-inner-pad) !important;
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.info-card, .info-panel, .board-card) :is(ul, ol) { padding-left: 1.25rem; }

  /* Title first: on phones the decision-status strip follows the page hero instead of preceding it. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(main.radar-shell, .active-etf-shell):has(> .ql-decision-contract) {
    display: flex;
    flex-direction: column;
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(main.radar-shell, .active-etf-shell):has(> .ql-decision-contract) > * { order: 3; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(main.radar-shell, .active-etf-shell):has(> .ql-decision-contract) > :is(.radar-decision-console, .active-etf-hero) { order: 1; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(main.radar-shell, .active-etf-shell):has(> .ql-decision-contract) > .ql-decision-contract { order: 2; margin-block: 12px; }
  /* Active ETF radar, members: the page opens on the scanner itself (the hero is only an introduction).
     Anonymous visitors keep the hero first, since their scanner is a locked card. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .active-etf-radar-page[data-member-access="true"] .active-etf-shell:has(> .ql-decision-contract) > #active-etf-consensus { order: 0; margin-top: 0; }

  /* Headings: balanced wrapping, no orphaned single characters. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(h1, h2, .h1, .h2) { text-wrap: balance; overflow-wrap: anywhere; }
  body[data-route-name]:not([data-route-name="main.index"]) :is(#main-content, .page-transition-shell__page) h1 { font-size: clamp(1.55rem, 6.6vw, 1.9rem); line-height: 1.25; }

  /* Comfortable controls: 44px targets and 16px field text (no iOS zoom). */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.btn, button.btn, a.btn) { min-height: 44px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.form-control, .form-select, input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], input[type="date"], select, textarea) {
    font-size: max(16px, 1em);
  }

  /* Wide tables scroll inside their card, with edge shadows that show there is more. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.table-responsive, .card-body.p-0:has(> table), .admin-table-wrap) {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    background:
      linear-gradient(to right, var(--q-paper) 30%, transparent) left / 24px 100% no-repeat local,
      linear-gradient(to left, var(--q-paper) 30%, transparent) right / 24px 100% no-repeat local,
      radial-gradient(farthest-side at 0 50%, rgb(30 27 75 / 16%), transparent) left / 10px 100% no-repeat scroll,
      radial-gradient(farthest-side at 100% 50%, rgb(30 27 75 / 16%), transparent) right / 10px 100% no-repeat scroll;
  }

  /* KPI tiles: two per row instead of one tall card each. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.kpi-grid, .finmind-ai-kpi-grid, .admin-download-kpis, .homepage-media-kpis) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.kpi-grid, .finmind-ai-kpi-grid, .admin-download-kpis, .homepage-media-kpis) > * { min-width: 0; margin: 0; grid-column: auto; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .kpi-grid .card-title { font-size: 1.6rem; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .kpi-grid :is(.card-body, .kpi-card) { padding: 14px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .download-stats,
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :has(> .download-stat-card) { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .download-stat-card { min-width: 0; padding: 12px 10px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .profile-summary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .profile-summary-card { min-width: 0; }

  /* Profile: the summary grid already lists sign-in method and plan; highlight chips are not controls. */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .profile-identity-meta { display: none; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .profile-hero-highlights { display: flex; flex-wrap: wrap; gap: 6px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .profile-hero-highlights > span {
    width: auto; min-height: 0; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600;
    background: var(--q-accent-soft); color: var(--q-accent); border: 0; box-shadow: none;
  }

  /* Readable small text: labels, eyebrows and tile captions never go below 12px on phones.
     The selector list mirrors every 9–11.5px rule in the radar, decision-surface, custom dashboard,
     homepage, inventory and ETF stylesheets (prefixed with html so it wins wherever those load). */
  html .radar-hero__meta,
  html .radar-market-pulse small,
  html .radar-industry-heat b,
  html .radar-hero__metrics small,
  html .radar-section-heading p:last-child,
  html .radar-lane__heading > span,
  html .radar-scan-diagnostics__totals dt,
  html .radar-scan-diagnostics__lanes header small,
  html .radar-scan-diagnostics__note,
  html .radar-what-changed__grid small,
  html .radar-what-changed__grid p,
  html .signal-card__lane,
  html .signal-card p,
  html .radar-symbol small,
  html .radar-decision-reason small,
  html .radar-decision-state small,
  html .radar-decision-reason strong,
  html .radar-card__details > p,
  html .radar-card__footer,
  html .radar-watchlist label span,
  html .radar-watchlist__items > span,
  html .radar-form-status,
  html .radar-empty-state__notes span,
  html .radar-footer,
  html .report-rating span,
  html .report-score-grid small,
  html .report-provenance span,
  html .report-score-grid em,
  html .report-reference-score__total span,
  html .report-reference-score__components small,
  html .report-reference-score__components p,
  html .ql-decision-contract__label,
  html .ql-decision-contract__note,
  html .custom-dashboard-page .mobile-quickbar__summary-hint,
  html .custom-dashboard-page .report-mobile-summary__stat span,
  html .custom-dashboard-page .history-mobile-summary__stat span,
  html .custom-dashboard-page .chart-state-shell__eyebrow,
  html .custom-dashboard-page .chart-state-shell__badge,
  html .custom-dashboard-page .analysis-score-band-badge,
  html .custom-dashboard-page .agent-trace-pill,
  html .custom-dashboard-page .analysis-mobile-summary .summary-pill,
  html .custom-dashboard-page .hero-status-pill,
  html .custom-dashboard-page .mobile-quickbar__eyebrow,
  html .custom-dashboard-page .mobile-quickbar__summary-copy small,
  html .trade-switcher summary,
  html .trade-switcher-link small,
  html .custom-dashboard-page .research-command-status-pill,
  html .custom-dashboard-page .research-progress li span,
  html .custom-dashboard-page .research-progress li strong,
  html .custom-dashboard-page [data-research-tool-toggle] small,
  html .custom-dashboard-page .research-tool-cue,
  html .home-v2-eyebrow,
  html .home-v2-kicker,
  html .home-v2-capability__index,
  html .home-v2-preview-label,
  html .home-v2-scene figcaption,
  html .home-v2-trust .home-v2-kicker,
  html .home-v2-step-number,
  html .ih-hero-summary-card span,
  html .ih-command-deck__eyebrow,
  html .ih-command-stat span,
  html .ih-card-kicker,
  html .ih-mobile-dock__primary small,
  html .ih-report-session-card__title small,
  html .ih-report-session-card__chip,
  html .ih-report-session-card__link,
  html .ih-report-session-card__status,
  html .ih-page .report-launcher-compact__eyebrow,
  html .active-etf-filter-help,
  html .active-etf-consensus-etfs > span:first-child,
  html .active-etf-table th,
  html .active-etf-method-grid article > span {
    font-size: 12px;
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.info-kicker, .download-eyebrow, .profile-eyebrow, .finmind-locked-kicker, .strategy-locked-kicker, .finmind-locked-kicker *, .strategy-locked-kicker *, .badge) {
    font-size: 12px;
  }

  /* Stand-alone links and small controls get full-size touch targets (running-text links stay inline). */
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.info-definition-list dd > a, #privacy-contact li > a, #logout-link, .profile-main-container > .text-center > a) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.radar-watchlist input, .radar-empty-state .btn, .radar-empty-state a, .radar-empty-state button) { min-height: 44px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) :is(.form-check:not(.form-switch) > .form-check-input, table input[type="checkbox"]):not(.btn-check) { width: 20px; height: 20px; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .form-check:not(.form-check-inline) { min-height: 44px; display: flex; align-items: center; gap: 10px; padding-left: 0; }
  body[data-route-name] :is(#main-content, .page-transition-shell__page) .form-check:not(.form-check-inline) > .form-check-input { float: none; margin: 0; flex: 0 0 auto; }
  body[data-route-name="main.finmind_snapshot_treemap"] :is(#main-content, .page-transition-shell__page) :is(.eyebrow, .live, .chip, .kicker, .pulse) { font-size: 12px; }

  /* Footer: a tidy 3-column link grid with full-size targets. */
  body[data-route-name] #global-footer .global-footer__content { grid-template-columns: minmax(0, 1fr); justify-content: stretch; }
  body[data-route-name] #global-footer .global-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 8px;
    width: 100%;
    margin-block: 12px;
  }
  body[data-route-name] #global-footer .global-footer__nav a {
    display: flex; align-items: center; justify-content: center;
    min-height: 44px; margin: 0; padding: 0 4px; font-size: 14px;
  }
}

/* Icon arriving on the sphere: turns in from the side (3D) while rising; transform only. */
@keyframes qTabTurn {
  from { transform: translateY(-4px) rotateY(-80deg) scale(.8); }
  to { transform: translateY(-20px) rotateY(0deg) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  body[data-route-name] .q-tabbar, body[data-route-name] .q-tabbar::before, body[data-route-name] .q-tabbar::after,
  body[data-route-name] .q-tabbar__item, body[data-route-name] .q-tabbar__item i,
  body[data-route-name] .q-tabbar__item span { transition: none !important; animation: none !important; }
  body[data-route-name] .q-tabbar__item:active span { transform: none; }
}

@media print {
  .q-tabbar { display: none !important; }
  body[data-route-name][data-mobile-tabbar="true"] { padding-bottom: 0; }
}
