/* kwatch dashboard: list tools. The search shortcuts hint and the
   Previous / Next bar on an issue page. Tokens come from app.css. */

/* Search shortcuts: a closed line under the search box. */
.shint { margin-top: 6px; font-size: var(--t-micro); color: var(--text-muted); }
.shint > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 28px; cursor: pointer; list-style: none; }
.shint > summary::-webkit-details-marker { display: none; }
.shint > summary::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); margin: 0 2px; }
.shint[open] > summary::before { transform: rotate(45deg); }
.shint > summary:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.shint ul { margin: 4px 0 4px; padding: 0 0 0 18px; display: grid; gap: 4px; }
.shint code { font-size: var(--t-micro); padding: 0 5px; border: 1px solid var(--line); border-radius: var(--radius-chip); background: var(--surface); color: var(--text); white-space: nowrap; }

.shint-more { margin: 0 0 0 18px; min-height: 28px; font-size: var(--t-micro); color: var(--text-muted); }

/* Previous / Next through the list an issue was opened from. */
.incnav { display: flex; align-items: center; gap: 8px; padding: var(--space-5) var(--space-6) 0; max-width: var(--max-app); width: 100%; }
.incnav:not([hidden]) + .content { padding-top: 14px; }
/* On the issue page the bar sits in the row of "← Issues". */
.d-nav .incnav { padding: 0; width: auto; max-width: none; margin-left: auto; }
.incnav .btn { min-height: 32px; display: inline-flex; align-items: center; text-decoration: none; }
.incnav .btn[aria-disabled="true"] { opacity: .4; pointer-events: none; }

@media (max-width: 700px) {
  .incnav { padding: var(--space-4) var(--space-4) 0; }
  .incnav .pager-pos { flex: 1; text-align: center; }
}
