/**
 * S-Cloud — Shortcuts cheatsheet CSS (v2.2.34)
 */
.sc-cheatsheet-overlay {
    position: fixed; inset: 0;
    background: rgba(20,14,30,.5);
    z-index: 1090;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    animation: scCheatFadeIn .15s ease-out;
}
@keyframes scCheatFadeIn { from { opacity: 0; } to { opacity: 1; } }

.sc-cheatsheet-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
    width: 100%;
    max-width: 580px;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: scCheatSlideUp .2s cubic-bezier(.42,0,.58,1);
}
@keyframes scCheatSlideUp { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.sc-cheatsheet-head {
    padding: 16px 20px;
    border-bottom: 1px solid #eef0f3;
    display: flex; justify-content: space-between; align-items: center;
    background: linear-gradient(135deg, #5C2D91 0%, #7A4183 100%);
    color: #fff;
}
.sc-cheatsheet-head h5 { color: #fff; font-weight: 700; }
.sc-cheatsheet-close {
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 6px;
    font-size: 1.3rem;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease;
}
.sc-cheatsheet-close:hover { background: rgba(255,255,255,.28); }

.sc-cheatsheet-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
}

.sc-cheatsheet-section { margin-bottom: 20px; }
.sc-cheatsheet-section:last-child { margin-bottom: 0; }
.sc-cheatsheet-section h6 {
    font-size: .72rem;
    text-transform: uppercase;
    color: #7C3AED;
    letter-spacing: .05em;
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f3f4f6;
}

.sc-cheatsheet-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 6px 0;
    font-size: .88rem;
}
.sc-cheatsheet-keys {
    flex-shrink: 0;
    color: #6b7280;
    font-size: .75rem;
    min-width: 130px;
}
.sc-cheatsheet-keys kbd {
    font-family: ui-monospace,SFMono-Regular,Menlo,monospace;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: .72rem;
    color: #1f2937;
    box-shadow: 0 1px 0 #d1d5db;
    margin: 0 1px;
}
.sc-cheatsheet-label {
    flex: 1;
    text-align: right;
    color: #1f2937;
    font-weight: 500;
}

@media (max-width: 576px) {
    .sc-cheatsheet-row { flex-direction: column; align-items: flex-start; gap: 4px; }
    .sc-cheatsheet-label { text-align: left; }
}
