/* --- Keyboard shortcuts cheatsheet --------------------------------------- */
.shortcuts-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 43, 73, 0.55);
}
.shortcuts-modal[hidden] {
    display: none;
}
.shortcuts-modal__card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 18px 20px;
    max-width: 420px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}
.shortcuts-modal__title {
    margin: 0 0 12px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}
.shortcuts-modal__table {
    width: 100%;
    border-collapse: collapse;
}
.shortcuts-modal__table td {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-surface);
    color: var(--color-text);
    font-size: 13.5px;
}
.shortcuts-modal__table tr:last-child td {
    border-bottom: none;
}
.shortcuts-modal__table td:last-child {
    text-align: right;
    color: var(--color-text-muted);
}
.shortcuts-modal__key {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--color-primary);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    padding: 1px 6px;
    margin-left: 4px;
}
.shortcuts-modal__close {
    margin-top: 12px;
    float: right;
}

/* Row highlight moved with j/k on the ticket list. */
tr.row-selected td {
    background: rgba(0, 161, 154, 0.10);
}
tr.row-selected td:first-child {
    box-shadow: inset 3px 0 0 var(--color-secondary);
}
