/* ── Shortcut reference modal ─────────────────────────────────────────────── */
.shortcut-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.shortcut-modal-overlay.open { display: flex; }

.shortcut-modal {
  background: var(--bg-el);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  min-width: 320px;
  max-width: 460px;
  width: 90vw;
}

.shortcut-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.shortcut-modal-header h3 {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-1);
}

.shortcut-table {
  width: 100%;
  border-collapse: collapse;
}
.shortcut-table tr {
  border-bottom: 1px solid var(--border);
}
.shortcut-table tr:last-child { border-bottom: none; }
.shortcut-table td {
  padding: 9px 4px;
  font-size: .8rem;
  color: var(--text-2);
  vertical-align: middle;
}
.shortcut-table td:first-child {
  text-align: right;
  padding-right: 16px;
  white-space: nowrap;
}

kbd {
  display: inline-block;
  padding: 2px 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-1);
  line-height: 1.4;
}

/* ── Global search banner ─────────────────────────────────────────────────── */
.global-search-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  flex-shrink: 0;
  background: rgba(88,166,255,.07);
  border-bottom: 1px solid rgba(88,166,255,.18);
  font-size: .8rem;
  color: var(--text-2);
}
.global-search-banner.hidden { display: none; }
.global-search-banner svg { flex-shrink: 0; opacity: .6; }
.global-search-banner strong { color: var(--text-1); font-weight: 500; }

.btn-link {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-link:hover { opacity: .8; }
