/* Reuse the existing tile grid and theme variables. */
.msf-shortcut-controls{grid-column:1/-1;display:flex;justify-content:flex-end;margin-top:0}
.msf-shortcut-controls[hidden]{display:none!important}
.msf-shortcut-edit{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:var(--msf-muted,#aab4c2);font:500 12px/1.4 Outfit,system-ui,sans-serif;padding:8px 0;min-height:36px;cursor:pointer}
.msf-shortcut-edit svg{width:15px;height:15px}
[data-shortcuts] .msf-home-tool{position:relative;overflow:hidden;text-decoration:none}
html body [data-shortcuts] .msf-home-tool .msf-home-new{position:absolute;z-index:2;top:12px;right:-28px;width:104px;max-width:none;padding:0;transform:rotate(45deg);background:#c81e32!important;color:#fff!important;font:800 11px/22px Outfit,system-ui,sans-serif;letter-spacing:.07em;text-align:center;text-transform:uppercase;pointer-events:none}
[data-shortcuts] .msf-tool-icon svg{width:21px;height:21px;flex-shrink:0}
.msf-shortcut-dialog{box-sizing:border-box;margin:auto;width:min(680px,calc(100vw - 28px));max-height:calc(100dvh - 32px);overflow:auto;padding:26px;border:1px solid var(--msf-line,#39414d);border-radius:16px;background:var(--msf-surface,#191c22);color:var(--msf-text,#edf0f5);font:14px/1.5 Outfit,system-ui,sans-serif;box-shadow:0 24px 90px #0008}
.msf-shortcut-dialog::backdrop{background:#090c13b8}
.msf-shortcut-dialog *{box-sizing:border-box}
.msf-shortcut-dialog-head{display:flex;gap:20px;justify-content:space-between;align-items:center}
.msf-shortcut-dialog h2{font-size:23px;line-height:1.2;margin:0;font-weight:650}
.msf-shortcut-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:7px;border:0;border-radius:6px;background:transparent;color:inherit;cursor:pointer}
.msf-shortcut-close svg{width:20px;height:20px}
.msf-shortcut-dialog>p{margin:9px 0 23px;color:var(--msf-muted,#aab4c2);font-size:13px}
.msf-shortcut-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.msf-shortcut-field{min-width:0}
.msf-shortcut-field label{display:block;font-size:12px;font-weight:600;margin-bottom:7px}
.msf-shortcut-field select{font:inherit;width:100%;min-height:44px;max-width:100%;padding:10px 30px 10px 12px;border:1px solid var(--msf-line,#46505e);border-radius:7px;background:var(--msf-raised,#252b35);color:inherit;text-overflow:ellipsis}
.msf-shortcut-preview{position:relative;margin-top:9px;padding:14px 12px 14px 52px;border:1px solid var(--msf-line,#39414d);border-radius:8px;min-height:91px;display:flex;flex-direction:column;gap:3px}
.msf-shortcut-preview .msf-tool-icon{position:absolute;left:13px;top:16px;display:grid;place-items:center;width:32px;height:32px;margin:0;padding:0;color:var(--msf-text,#edf0f5)}
.msf-shortcut-preview .msf-tool-icon svg{width:23px;height:23px}
.msf-shortcut-preview strong{font-size:13px;font-weight:600;line-height:1.35}
.msf-shortcut-preview .msf-shortcut-subtitle{color:var(--msf-muted,#aab4c2);font-size:11px;line-height:1.5}
.msf-shortcut-status{font-size:12px;color:var(--msf-muted,#aab4c2);margin:16px 0;min-height:18px}
.msf-shortcut-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.msf-shortcut-actions button{font:600 12px/1.4 Outfit,system-ui,sans-serif;min-height:42px;padding:10px 15px;border:1px solid var(--msf-line,#46505e);border-radius:7px;background:var(--msf-raised,#252b35);color:var(--msf-text,#edf0f5);cursor:pointer}
.msf-shortcut-actions .msf-shortcut-defaults{margin-right:auto;background:transparent}
.msf-shortcut-actions .msf-shortcut-save{background:#cf3046;border-color:#ef4a60;color:#fff}
.msf-shortcut-dialog button,.msf-shortcut-edit{transition:transform 150ms cubic-bezier(.23,1,.32,1),background 150ms ease}
.msf-shortcut-dialog button:active,.msf-shortcut-edit:active{transform:scale(.97)}
.msf-shortcut-dialog :focus-visible,.msf-shortcut-edit:focus-visible{outline:2px solid var(--msf-accent,#ff7a8c);outline-offset:3px}
.msf-shortcut-dialog button:disabled{opacity:.6;cursor:wait}
.msf-shortcuts-created{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%;margin:30px 0 20px}
.msf-shortcuts-created .msf-home-tool{display:flex;flex-direction:column;gap:7px;text-align:left;justify-content:center;padding:20px;border:1px solid #343944;border-radius:12px;background:#191c22;color:#edf0f5;font-family:Outfit,system-ui,sans-serif;cursor:pointer}
.msf-shortcuts-created .msf-home-tool strong{font-size:14px}
.msf-shortcuts-created .msf-shortcut-subtitle{font-size:12px;color:#a5adbb}
@media(max-width:720px){.msf-shortcuts-created{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.msf-shortcut-dialog{padding:19px}.msf-shortcut-dialog h2{font-size:20px}.msf-shortcut-fields{grid-template-columns:1fr;gap:14px}.msf-shortcut-preview{min-height:70px}.msf-shortcut-actions{gap:8px}.msf-shortcut-actions .msf-shortcut-defaults{flex-basis:100%;margin-right:0}.msf-shortcut-actions button:not(.msf-shortcut-defaults){flex:1}}
@media(prefers-reduced-motion:reduce){.msf-shortcut-dialog button,.msf-shortcut-edit{transition:none}.msf-shortcut-dialog button:active,.msf-shortcut-edit:active{transform:none}}
