/* Public navigation uses the homepage ink regardless of the article or tool theme. */
.nav-root.nav-root { color: #edf3fa; }
.nav-root :is(a,button,summary):focus-visible,
#n96-shared-phone-menu a:focus-visible,
.rdo-reference :is(a,button,select):focus-visible {
  outline: 2px solid #a8d7ff;
  outline-offset: 3px;
}

@media screen and (max-width: 600px) {
  .rdo-reference nav[aria-label="Calendar options"] {
    display: grid;
    grid-template-columns: repeat(6,minmax(0,1fr));
    gap: 8px;
  }
  .rdo-reference nav a, .rdo-reference nav button {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
    text-align: center;
  }
  .rdo-reference nav > a { grid-column: span 3; }
  .rdo-reference nav:has(> a:nth-of-type(4)) > a { grid-column: span 2; }
  .rdo-reference nav > #setup-calendar,
  .rdo-reference nav:not(:has(> a:nth-of-type(3))) a { grid-column: 1/-1; }
  .rdo-reference nav > a:not(.cta) {
    border-radius: 8px;
    background-color: #111c29;
    padding: 4px 6px;
    font-size: .875rem;
    line-height: 1.25;
  }
  .rdo-reference nav > button { grid-column: span 3; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-root, .nav-root *, #n96-shared-phone-menu { transition: none !important; animation: none !important; }
}
