.editor-shortcuts{--legend-surface:var(--color-surface);--legend-key:var(--color-background);--legend-hover:var(--color-surface-elevated);--legend-ink:var(--color-foreground);--legend-secondary:var(--color-foreground-secondary);--legend-border:var(--color-border);--legend-key-border:var(--color-border-strong);width:100%;min-width:0;color:var(--legend-ink);font-family:var(--font-sans),sans-serif;font-size:12px;line-height:1.5}.editor-shortcuts *,.editor-shortcuts :before,.editor-shortcuts :after{box-sizing:border-box}.editor-shortcuts__panel{border:1px solid var(--legend-border);background:var(--legend-surface);border-radius:14px;overflow:hidden;container-type:inline-size}.editor-shortcuts__toggle{width:100%;min-height:44px;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;justify-content:space-between;align-items:center;gap:16px;padding:7px 14px;transition:background-color .15s ease-out;display:flex}.editor-shortcuts__toggle:hover{background:var(--legend-hover)}.editor-shortcuts__toggle:active{background:var(--legend-key)}.editor-shortcuts__toggle:focus-visible{outline:2px solid var(--color-accent);outline-offset:-3px}.editor-shortcuts__heading,.editor-shortcuts__disclosure,.editor-shortcuts__note{align-items:center;gap:8px;display:flex}.editor-shortcuts__heading{min-width:0;font-weight:600}.editor-shortcuts__icon{border:1px solid var(--legend-border);background:var(--legend-key);width:28px;height:28px;color:var(--legend-secondary);border-radius:8px;flex-shrink:0;place-items:center;display:grid}.editor-shortcuts__disclosure{color:var(--legend-secondary);flex-shrink:0;gap:5px;font-size:11px}.editor-shortcuts__disclosure svg{transition:transform .15s ease-out}.editor-shortcuts[data-expanded=true] .editor-shortcuts__disclosure svg{transform:rotate(180deg)}.editor-shortcuts__body{border-top:1px solid var(--legend-border);overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--legend-key-border)transparent;max-height:min(32vh,260px);overflow-y:auto}.editor-shortcuts__body[hidden]{display:none}.editor-shortcuts[data-presentation=dialog] .editor-shortcuts__panel{border:0;border-radius:0}.editor-shortcuts[data-presentation=dialog] .editor-shortcuts__body{max-height:none;overflow:visible}.editor-shortcuts__groups{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:14px 16px;display:grid}.editor-shortcuts__group{min-width:0}.editor-shortcuts__group h3{color:var(--legend-secondary);letter-spacing:.1em;text-transform:uppercase;margin:0 0 8px;font-size:10px;font-weight:600}.editor-shortcuts__group dl{flex-direction:column;gap:7px;margin:0;display:flex}.editor-shortcuts__row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;min-height:24px;display:flex}.editor-shortcuts__row dt{color:var(--legend-secondary)}.editor-shortcuts__row dd{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px;margin:0 0 0 auto;display:flex}.editor-shortcuts__chord{flex-shrink:0;align-items:center;gap:3px;display:inline-flex}.editor-shortcuts kbd{border:1px solid var(--legend-key-border);background:var(--legend-key);min-width:23px;height:23px;color:var(--legend-ink);font-family:var(--font-mono),monospace;white-space:nowrap;border-bottom-width:2px;border-radius:5px;justify-content:center;align-items:center;padding:0 5px;font-size:10px;font-weight:500;line-height:1;display:inline-flex}.editor-shortcuts__or{color:var(--legend-secondary);font-size:10px}.editor-shortcuts__footer{border-top:1px solid var(--legend-border);color:var(--legend-secondary);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 16px;padding:10px 16px;font-size:11px;display:flex}.editor-shortcuts__note{flex-wrap:wrap;gap:6px}.editor-shortcuts:not([data-mode=drawing]){--legend-surface:var(--color-p-gray-900);--legend-key:var(--color-p-gray-950);--legend-hover:var(--color-p-gray-750);--legend-ink:var(--color-p-gray-100);--legend-secondary:var(--color-p-gray-250);--legend-border:var(--color-p-gray-550);--legend-key-border:var(--color-p-gray-450);z-index:3;flex-shrink:0;width:calc(100% - 32px);max-width:840px;height:44px;margin:12px auto 0;position:relative}.editor-shortcuts:not([data-mode=drawing]) .editor-shortcuts__panel{position:absolute;inset:auto 0 0}.editor-shortcuts[data-mode=crop] .editor-shortcuts__groups{grid-template-columns:repeat(2,minmax(0,1fr))}@container (width<=620px){.editor-shortcuts__groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.editor-shortcuts__group:last-child:nth-child(3){grid-column:1/-1}}@container (width<=300px){.editor-shortcuts__groups,.editor-shortcuts[data-mode=crop] .editor-shortcuts__groups{grid-template-columns:minmax(0,1fr)}}@media (prefers-reduced-motion:reduce){.editor-shortcuts__toggle,.editor-shortcuts__disclosure svg{transition:none}}