/* Approved A: exploration stays beside the mark; returning and new visitors share one access group. */
.masthead--access .chrome-preferences,
.masthead--access .chrome-access { display: flex; }
.masthead--access .chrome-preferences > * + *,
.masthead--access .chrome-access > * + * { margin-inline-start: -1px; }
.masthead--access .chrome-access .box { white-space: nowrap; }
.sheet__head.sheet__head--access { flex-wrap: wrap; }

/* Both access actions remain readable instead of compressing their labels into the mobile bar. */
@media (max-width: 860px) {
  :root:has(.masthead--access) { --chrome-h: calc(var(--chrome-cell) * 2 + var(--s2)); }
  .masthead--access .masthead__in { display: grid; grid-template-columns: auto 1fr; gap: var(--s2) 0; }
  .masthead--access .chrome-left { grid-column: 1; grid-row: 1; }
  .masthead--access .chrome-right { display: contents; }
  .masthead--access .chrome-preferences { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
  .masthead--access .chrome-access { grid-column: 1 / -1; grid-row: 2; justify-self: end; margin: 0; max-width: 100%; }
  .masthead--access .chrome-access .box { justify-content: center; }
  .sheet__head--access .box { padding-inline: var(--s3); }
}
@media (max-width: 560px) {
  .masthead--access .chrome-access { justify-self: stretch; }
  .masthead--access .chrome-access .box { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; overflow-wrap: anywhere; line-height: 1.2; }
  .sheet__head--access [data-theme-toggle] { display: none; }
}
