/* The page row of the walk section (section-tabs.js): the station head's last row, under the shared task bar.
   It spans the head; the ink bar under the current page glides to the page under the pointer and back.
   Reads the head's own tokens (workspace-chrome.css) and the walk pages' ink, so it follows every theme and scheme. */
.wc-head > .st-tabs { grid-column: 1 / -1; grid-row: 3; }
@media (max-height: 31.99rem) and (min-width: 40rem) { .wc-head > .st-tabs { grid-row: 2; } }
.wc-head[data-wc-reading] > .st-tabs { flex: 1 0 100%; }
.st-tabs {
  --st-ink: var(--wr-ink, var(--wc-ink, #121412)); --st-ink-2: var(--wr-ink-2, var(--wc-ink-3, #555)); --st-x: 0px; --st-w: 0px;
  position: relative; display: flex; align-items: stretch; gap: 4px; min-width: 0; height: 40px; margin-inline: calc(-1 * max(1rem, env(safe-area-inset-left))) calc(-1 * max(1rem, env(safe-area-inset-right)));
  padding-inline: max(1rem, env(safe-area-inset-left)); border-top: 1px solid var(--wc-rule, rgb(0 0 0 / .12));
  overflow-x: auto; scrollbar-width: none; box-sizing: border-box;
}
.st-tabs::-webkit-scrollbar { display: none; }
.st-tab {
  position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 0 10px; border-radius: 8px 8px 0 0; flex: none;
  font: 500 .875rem/1 var(--wr-ui, var(--wc-ui, system-ui)); letter-spacing: 0; color: var(--st-ink-2); text-decoration: none; white-space: nowrap;
  transition: color .18s ease, background-color .18s ease;
}
.st-tab .st-i { width: 15px; height: 15px; flex: none; opacity: .78; transition: opacity .18s ease, transform .3s cubic-bezier(.23, 1, .32, 1); }
.st-tab[aria-current="page"] { color: var(--st-ink); font-weight: 600; }
.st-tab[aria-current="page"] .st-i { opacity: 1; }
/* at rest the current page carries its own underline; while the pointer is in the row the gliding ink takes over */
.st-tab[aria-current="page"]::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--st-ink); }
.st-tabs[data-glide] .st-tab[aria-current="page"]::after { opacity: 0; }
.st-ink {
  position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--st-w) - 16px); border-radius: 2px 2px 0 0; background: var(--st-ink);
  transform: translateX(calc(var(--st-x) + 8px)); opacity: 0; pointer-events: none;
  transition: transform .32s cubic-bezier(.23, 1, .32, 1), width .32s cubic-bezier(.23, 1, .32, 1), opacity .12s ease;
}
.st-tabs[data-glide] .st-ink { opacity: 1; box-shadow: 0 0 10px color-mix(in oklab, var(--st-ink) 30%, transparent); }
.st-tabs.st-snap .st-ink { transition: none; }
@media (hover: hover) and (pointer: fine) {
  .st-tab:hover { color: var(--st-ink); background: color-mix(in oklab, var(--st-ink) 5%, transparent); }
  .st-tab:hover .st-i { opacity: 1; transform: translateY(-1px); }
}
.st-tab:active { background: color-mix(in oklab, var(--st-ink) 9%, transparent); }
.st-tab:focus-visible { outline: 2px solid var(--st-ink); outline-offset: -4px; }
@media (pointer: coarse) { .st-tabs { height: 44px; } }
@media (max-width: 39.99rem) {
  .st-tabs { margin-inline: calc(-1 * max(.5rem, env(safe-area-inset-left))) calc(-1 * max(.5rem, env(safe-area-inset-right))); padding-inline: max(.5rem, env(safe-area-inset-left)); gap: 0; }
  .st-tab { padding: 0 10px; }
}
:root[data-motion="reduced"] .st-ink, :root[data-motion="reduced"] .st-tab .st-i { transition: none; }
@media (prefers-reduced-motion: reduce) { .st-ink, .st-tab .st-i { transition: none; } }
@media print { .st-tabs { display: none; } }
