/* Keyboard shortcuts (Philip 5 Nov 2026): the key labels shown while Shift is
   held, the "?" card and the quick-jump box. Nothing here is drawn until used. */
.qx-sc-key {
  position: fixed; z-index: 2147483000; pointer-events: none;
  padding: 0 5px; border-radius: 4px; line-height: 16px; height: 16px;
  font: 600 0.68rem/16px var(--font-body, inherit);
  color: var(--ink-soft, #5c6b90); background: var(--surface-2, #f0f2f8);
  border: 1px solid var(--line, rgba(24,52,132,0.25));
}
.qx-sc-flash { animation: qx-sc-flash 1.4s ease-out 1; }
@keyframes qx-sc-flash {
  0%, 60% { outline: 2px solid var(--accent, #1a52d0); outline-offset: 3px; background-color: var(--accent-soft, rgba(47,107,255,0.1)); }
  100% { outline: 2px solid transparent; outline-offset: 3px; }
}
.qx-sc-back {
  position: fixed; inset: 0; z-index: 2147483001; display: flex;
  align-items: flex-start; justify-content: center; padding: calc(14 * var(--vh, 1vh)) 16px 16px;
  background: rgba(13, 26, 58, 0.35);
}
.qx-sc-back.qx-centre { align-items: center; padding-top: 16px; }
.qx-sc-card {
  width: 100%; max-width: 520px; max-height: calc(80 * var(--vh, 1vh)); overflow: auto; box-sizing: border-box;
  background: var(--surface-card, #fff); color: var(--ink, #213055);
  border: 1px solid var(--line, rgba(24,52,132,0.25)); border-radius: 14px;
  box-shadow: var(--shadow-hover, 0 8px 32px rgba(18,41,111,0.11)); padding: 18px 20px;
}
.qx-sc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; font-size: 0.88rem; }
.qx-sc-cols h2 { grid-column: auto; margin: 0 0 6px; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft, #5c6b90); }
.qx-sc-row { display: flex; gap: 10px; align-items: baseline; margin: 3px 0; }
.qx-sc-row kbd {
  flex: 0 0 auto; min-width: 54px; font: 600 0.74rem/1.5 inherit; text-align: center;
  padding: 0 6px; border-radius: 4px; background: var(--surface-2, #f0f2f8); border: 1px solid var(--line, rgba(24,52,132,0.25));
}
@media (max-width: 480px) { .qx-sc-cols { grid-template-columns: 1fr; } }
.qx-sc-card input {
  width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; padding: 10px 12px;
  border: 1px solid var(--line-strong, rgba(24,52,132,0.35)); border-radius: 10px;
  background: var(--surface-card, #fff); color: var(--ink, #213055);
}
.qx-sc-card input:focus-visible { outline: 2px solid var(--accent, #1a52d0); outline-offset: 1px; }
.qx-sc-list { list-style: none; margin: 8px 0 0; padding: 0; }
.qx-sc-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.qx-sc-list li small { color: var(--ink-soft, #5c6b90); white-space: nowrap; }
.qx-sc-list li[aria-selected="true"] { background: var(--accent-soft, rgba(47,107,255,0.1)); }
.qx-sc-none { margin: 10px 4px 2px; color: var(--ink-soft, #5c6b90); font-size: 0.88rem; }
