/* Menu quick access (issue 560): the area above #nav, and a pin button on each menu row. */
.quick { display: grid; gap: var(--space-3xs); padding-bottom: var(--space-xs); border-bottom: 1px solid var(--rule); }
.quick-t { margin: 0; font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; padding: 0 var(--space-xs) var(--space-3xs); }
.quick-t:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: var(--radius); }
.quick-list { display: grid; gap: var(--space-3xs); margin: 0; padding: 0; list-style: none; }
.quick-hint, .quick-msg { margin: 0; padding: 0 var(--space-xs); font-size: var(--text-xs); color: var(--ink-3); }
.quick-msg { color: var(--ink); font-weight: 600; }
.quick-msg:empty { display: none; }
.quick-msg:not(:empty) { margin-top: var(--space-2xs); }
.nav-row { position: relative; display: flex; align-items: center; }
.nav-row > a { flex: 1; min-width: 0; padding-inline-end: 36px; }
.quick a {
  display: flex; align-items: center; gap: var(--space-xs); justify-content: space-between;
  padding: 7px var(--space-xs); padding-inline-end: 36px; border-radius: var(--radius);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: var(--text-sm);
}
.quick a:hover { background: var(--paper-3); }
.quick a[aria-current="page"] { background: var(--surface); color: var(--brand); font-weight: 700; box-shadow: 0 0 0 1px var(--rule); }
/* The pin button sits on the right end of the row, over the link, so the link keeps the full row width. */
.nav-pin {
  position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: var(--radius);
  background: none; color: var(--ink-2); cursor: pointer; font: inherit; font-weight: 700;
}
.nav-pin::before { content: "+"; }
.nav-pin[aria-pressed="true"]::before, .nav-pin[data-unpin]::before { content: "\2212"; }
.nav-pin:hover { background: var(--paper-3); color: var(--ink); }
.nav-pin:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
/* Touch screens: a target of at least 44px. */
@media (pointer: coarse) and (min-width: 861px) {
  .nav-pin { width: 44px; height: 44px; inset-inline-end: 0; }
  .nav-row > a, .quick a { min-height: 44px; padding-inline-end: 52px; }
}
/* Phone: the pins show in the menu dialog (nav-phone.css sets their size). */
