/* The bottom bar on phones: a floating rounded bar with simple line icons, in place of
   the booking app's glossy round buttons on black. The tab in use sits in a soft tinted pill in
   the salon's own colour. Loaded after styles.css. */
@media (max-width: 767px) {
  html body .rail {
    inset: auto 12px calc(var(--safe-b) + 6px) 12px;
    height: 66px; padding: 5px; gap: 2px;
    border: 1px solid var(--line); border-radius: 33px;
    background: color-mix(in srgb, var(--surface) 86%, transparent);
    backdrop-filter: saturate(1.8) blur(22px); -webkit-backdrop-filter: saturate(1.8) blur(22px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14), 0 1px 3px rgba(0, 0, 0, .08);
  }
  html body .rail .tab {
    flex: 1 1 0; min-width: 0; height: 100%; padding: 0 2px; gap: 3px; border-radius: 28px;
    background: none; color: var(--ink-2);
    font: 500 .6875rem/1.1 var(--sans); letter-spacing: 0;
    transition: background-color .2s, color .2s;
  }
  html body .rail .tab svg,
  html body .rail .tab.is-active svg {
    width: 24px; height: 24px; padding: 0; border-radius: 0; opacity: 1; transform: none;
    background: none; box-shadow: none; filter: none;
    color: inherit; fill: none; stroke: currentColor; stroke-width: 1.9;
  }
  html body .rail .tab.is-active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
  html body .rail .tab.is-active svg { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
  html body .rail .tab:active { background: var(--surface-2); }
  html body .rail .tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  html body .rail .tab[data-view="concierge"] span { max-width: 9ch; white-space: normal; text-align: center; text-wrap: balance; }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  html body .rail .tab { transition: none; }
}
