/* The same three destinations stay within thumb reach on the mobile work surfaces. */
.workspace-tabs { display: none; }
@media (max-width: 650px) {
  body.journey, body.is-workspace { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  body.journey .header .work-tabs, body.is-workspace .work-tabs {
    position: fixed;
    z-index: 20;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0 max(12px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(12px, env(safe-area-inset-left, 0px));
    background: #faf9f5;
    border-top: 1px solid #d8d5ca;
    color: #30372f;
  }
  body.journey .header .work-tabs a, body.is-workspace .work-tabs a {
    display: grid;
    place-items: center;
    position: relative;
    min-height: 54px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    color: inherit;
    font: 500 .875rem/1.3 -apple-system, BlinkMacSystemFont, sans-serif;
    text-decoration: none;
  }
  body.journey .header .work-tabs a[aria-current], body.is-workspace .work-tabs a[aria-current] { font-weight: 750; }
  .journey .work-tabs a[aria-current]::after { content: none; }
  .work-tabs a[aria-current]::before {
    content: "";
    background: #bb3a2d;
    position: absolute;
    top: 0;
    width: 24px;
    height: 3px;
    border-radius: 0 0 4px 4px;
  }
  .work-tabs a:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
  body.is-workspace .zz-nav a[href="/"], body.is-workspace .zz-nav a[href="/?view=workspace"] { display: none; }
  body.journey .header { gap: 8px; padding-block: 8px 12px; }
  body.journey .header-actions { margin-left: auto; flex: 0 1 auto; gap: 6px; }
  body.journey .discovery { padding-top: 12px; }
  body.journey .discovery h1 {
    position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%);
  }
  body.journey .discovery-heading { margin-bottom: 12px; }
  body.journey .discovery-heading .chips {
    margin: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
  }
  body.journey .discovery-heading .chips a { flex: none; }
  body.journey:has(.work-search:focus-within) .header .work-tabs { visibility: hidden; }
}
