/* (c) 2026 Wayne State University. All rights reserved. */
:root.sl-tabbed.tm { --tm-pad-bottom: calc(max(env(safe-area-inset-bottom, 0px), var(--sl-space-2)) + 64px); }
:root.sl-tabbed a.tm-home { display: none; }
.sl-tabs {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  gap: var(--sl-space-1);
  padding: var(--sl-space-1) var(--sl-space-3) max(env(safe-area-inset-bottom, 0px), var(--sl-space-2));
  border-top: 1px solid var(--sl-border);
  background: var(--sl-surface);
}
.sl-tabs__tab {
  display: flex;
  flex: 1;
  max-width: 140px;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-height: 52px;
  padding: var(--sl-space-1) 0;
  border-radius: var(--sl-radius-pill);
  color: var(--sl-text-2);
  font-size: var(--sl-fs-1);
  font-weight: 600;
  text-decoration: none;
  -webkit-touch-callout: none;
  user-select: none;
  justify-content: center;
}
.sl-tabs__tab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round;
  stroke-linejoin: round; }
.sl-tabs__tab[aria-current="page"] { background: var(--sl-brand-tint); color: var(--sl-brand); }
.sl-tabs__tab:focus-visible { outline: 2px solid var(--sl-focus); outline-offset: 2px; }
:root.sl-desk.sl-tabbed.tm { --tm-pad-bottom: max(env(safe-area-inset-bottom, 0px), var(--sl-space-2));
  --tm-pad-top: calc(max(env(safe-area-inset-top, 0px), var(--sl-space-1)) + 60px); }
:root.sl-desk .sl-tabs { top: 0; bottom: auto; padding: var(--sl-space-1) var(--sl-space-6); border-top: 0;
  border-bottom: 1px solid var(--sl-border); }
:root.sl-desk .sl-tabs__tab { flex-direction: row; gap: var(--sl-space-2); min-height: 44px; max-width: 180px;
  font-size: var(--sl-fs-3); }
:root.sl-desk .sl-tabs__tab:not([aria-current="page"]):hover { background: var(--sl-brand-tint); color: var(--sl-brand); }
