/* Help overlay — keyboard shortcuts modal triggered by ? key.
   Extends .bn-overlay / .bn-modal / .bn-modal-close from atoms/modal.css.
   See focus.js for the JavaScript that creates and toggles this overlay. */

/* Help modal width override (wider than default for 3-column layout) */
.help-modal {
    max-width: 600px;
}

.help-modal h2 {
    font-size: 1.25rem;
}

.help-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--bn-space-lg);
}

@media (max-width: 500px) {
    .help-columns {
        grid-template-columns: 1fr;
    }
}

.help-section h3 {
    margin: 0 0 var(--bn-space-sm) 0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bn-colour-muted);
}

.help-section dl {
    margin: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--bn-space-xs) var(--bn-space-sm);
    align-items: baseline;
}

.help-section dt {
    text-align: right;
}

.help-section dd {
    margin: 0;
    color: var(--bn-colour-text);
    font-size: 0.875rem;
}

.help-modal kbd {
    display: inline-block;
    padding: 0.15em 0.4em;
    font-family: var(--bn-font-mono);
    font-size: 0.75rem;
    line-height: 1;
    color: var(--bn-colour-text);
    background: var(--bn-colour-badge-bg);
    border: 1px solid var(--bn-colour-border);
    border-radius: var(--bn-radius-sm);
    box-shadow: 0 1px 0 var(--bn-colour-border);
}
