/* Keyboard shortcuts dialog (shortcuts-help.js); the frame comes from .web-dialog. */
.hn-shortcuts-dialog {width:min(640px,calc(100vw - 32px))}
.hn-shortcuts-dialog h2 {margin-bottom:4px;outline:none}
.hn-shortcuts-dialog h3 {margin:18px 0 4px;font-size:13px;font-weight:600;color:var(--theme-muted,#58645b)}
.hn-shortcuts-dialog dl {margin:0}
/* One key-column width for every row keeps the descriptions aligned; long alternatives wrap. */
.hn-shortcut {display:grid;grid-template-columns:15.5em 1fr;gap:16px;align-items:center;padding:6px 0;border-bottom:1px solid var(--theme-border,#e1e5df)}
.hn-shortcut dt {line-height:2}
.hn-shortcut:last-child {border-bottom:0}
.hn-shortcut dt,.hn-shortcut dd {margin:0}
.hn-shortcut dd {font-size:13px}
.hn-key-combo {display:inline-flex;align-items:center;gap:3px;white-space:nowrap}
.hn-shortcut kbd {display:inline-block;min-width:1.7em;box-sizing:border-box;padding:1px 6px;border:1px solid var(--theme-border,#cfd6cc);border-bottom-width:2px;border-radius:6px;
  background:var(--theme-raised,#f5f6f7);color:var(--theme-ink,#26362b);font:600 12px/1.6 var(--ui-font,inherit);text-align:center}
.hn-key-sep,.hn-key-or {color:var(--theme-muted,#58645b);font-size:12px}
.hn-key-or {margin:0 6px}
.hn-key-mouse {font-size:12px;color:var(--theme-ink,#26362b)}
.hn-shortcuts-note {margin:16px 0 0;font-size:13px}
body.hn-mobile .hn-shortcuts-menu-item {display:none!important}
@media (max-width:520px) {.hn-shortcut {grid-template-columns:1fr;gap:4px}}
