/* Reserve the measured dock height, including scaled labels and safe area. */
body.sq-focus-experience .shell { padding-bottom: calc(var(--sq-nav-height, 112px) + 24px) !important; }
html:has(body) { scroll-padding-bottom: calc(var(--sq-nav-height, 112px) + 24px); }
body :is(button, input, select, textarea, .research-jump) { scroll-margin-bottom: calc(var(--sq-nav-height, 112px) + 24px); }
#rangeFill[hidden], #rangeMarker[hidden] { display: none !important; }

/* The unfinished walkthrough belongs behind Settings, including keyboard focus. */
body.studio-modal-open #sqWalkResume { display: none !important; }

/* Compact horizon choices preserve full spoken labels and 44px tap targets. */
body #sqTimeframe { margin: 12px 0; max-width: 420px; }
body #sqTimeframe h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.4; color: #bcd3e4; font-weight: 600; }
body #sqTimeframe #periodTabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; overflow: visible; }
body #sqTimeframe .tab { flex: 1 0 max(44px, 3em); width: auto; min-width: 44px; min-height: 44px; padding: 8px 4px; white-space: nowrap; border: 1px solid #4b728c; border-radius: 9px; background: #112e43; color: #edf7ff; font-size: 13px; line-height: 1.4; }
body #sqTimeframe .tab[aria-pressed="true"] { border-color: #78ceff; background: #12547b; color: #fff; box-shadow: inset 0 0 0 1px #78ceff; font-weight: 750; }

/* Enlarged dock labels must stay inside their own tap targets. */
body .sq-focus-nav .sq-focus-link > span { min-width: 0; max-width: 100%; white-space: normal; overflow-wrap: anywhere; }

/* Keep a resumable walkthrough above the actual dock, including large text. */
body #sqWalkResume { bottom: calc(var(--sq-nav-height, 112px) + 8px); }


/* Search suggestions must not cover the persistent navigation dock. */
body.sq-focus-experience .search-suggestions { z-index: 29; }
