.ui-modal.shortcut-manager,.ui-modal.shortcut-editor{border:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14);background:var(--theme-surface-0);width:min(640px,100% - 48px);max-width:none;max-height:calc(100dvh - 48px);color:var(--theme-text-primary);border-radius:20px;flex-direction:column;margin:auto;padding:0;display:flex;overflow:hidden}.shortcut-manager.ui-modal{height:min(640px,100dvh - 48px)}.shortcut-manager>.ui-modal-header,.shortcut-editor>.ui-modal-header{border-bottom:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14);flex:none;align-items:center;gap:12px;min-height:72px;margin:0;padding:12px 24px}.shortcut-manager>.ui-modal-header h1,.shortcut-editor>.ui-modal-header h1{letter-spacing:normal;font-size:20px;font-weight:700;line-height:1.4}.shortcut-manager-count{color:var(--theme-text-secondary);white-space:nowrap;font-size:14px}.shortcut-manager>.ui-modal-header .ui-modal-close,.shortcut-editor>.ui-modal-header .ui-modal-close{flex:0 0 44px;width:44px;height:44px;min-height:44px;margin-left:auto;padding:10px;position:static}.shortcut-manager-scroll{scrollbar-width:thin;flex:1;min-height:0;padding:8px 24px;overflow:auto}.shortcut-managed-row{gap:12px;padding:20px 0;display:flex}.shortcut-managed-row+.shortcut-managed-row{border-top:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14)}.shortcut-managed-open{min-width:0;color:inherit;text-align:left;font:inherit;cursor:pointer;overflow-wrap:anywhere;background:0 0;border:0;flex:1;padding:0}.shortcut-managed-open strong{align-items:center;gap:6px;font-size:16px;font-weight:600;line-height:1.5;display:flex}.shortcut-managed-open>span{margin-top:4px;font-size:14px;line-height:1.5;display:block}.shortcut-managed-open p{color:var(--theme-text-secondary);-webkit-line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin:6px 0 0;font-size:14px;line-height:1.5;display:-webkit-box;overflow:hidden}.shortcut-manager .shortcut-managed-more{width:44px;height:44px;min-height:44px;color:var(--theme-text-secondary);background:0 0;border:0;padding:10px}.ui-action-menu.shortcut-managed-menu>button:last-child{border-top:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14);border-radius:0;margin-top:4px}.shortcut-manager .shortcut-manager-add{border-radius:12px;flex:none;min-height:48px;margin:16px 24px 24px;font-size:16px;position:static}.shortcut-manager-empty{text-align:center;margin:48px 0}.shortcut-manager-empty,.shortcut-manager-error{color:var(--theme-text-secondary);font-size:16px;line-height:1.5}.shortcut-manager-error p{margin:16px 0 12px}.shortcut-editor form{flex-direction:column;min-height:0;display:flex}.shortcut-editor-fields{scrollbar-width:thin;min-height:0;padding:24px;overflow-y:auto}.shortcut-edit-field{margin-bottom:24px}.shortcut-edit-field .ui-field-label{margin-bottom:8px;font-size:16px;font-weight:600;line-height:24px}.shortcut-counted-input{position:relative}.shortcut-editor .shortcut-counted-input input{height:48px;min-height:48px;padding:12px 60px 12px 16px;font-size:16px;line-height:24px}.shortcut-editor .shortcut-counted-input.has-prefix input{padding-left:28px}.shortcut-input-prefix{pointer-events:none;font-size:16px;line-height:24px;position:absolute;top:12px;left:16px}.shortcut-input-count{color:var(--theme-text-secondary);pointer-events:none;font-size:14px;line-height:20px;position:absolute;top:14px;right:12px}.shortcut-editor .ui-textarea-frame{--textarea-height:168px;--textarea-radius:12px;font-size:16px;line-height:1.5}.shortcut-editor .ui-textarea-footer{color:var(--theme-text-secondary);justify-content:flex-end;font-size:14px;line-height:20px}.shortcut-publish-choice{cursor:pointer;align-items:flex-start;gap:12px;margin:0 -8px;padding:8px;font-size:16px;line-height:24px;display:flex}.shortcut-publish-choice .ui-checkbox{flex:none;margin-top:2px}.shortcut-publish-choice small{color:var(--theme-text-secondary);margin-top:4px;font-size:14px;line-height:21px;display:block}.shortcut-editor form>footer{background:var(--theme-surface-0);border-top:1px solid rgb(var(--theme-line-rgb,255 255 255) / .14);flex:none;grid-template-columns:1fr 1fr;gap:12px;padding:16px 24px;display:grid}.shortcut-editor form>footer .ui-button{border-radius:12px;min-height:48px;font-size:16px}.shortcut-editor [role=alert]{color:var(--theme-error-text);font-size:14px;line-height:1.5}@media (max-width:767px){.ui-modal.shortcut-manager,.ui-modal.shortcut-editor{border-radius:20px 20px 0 0;width:100%;max-height:calc(100dvh - 16px);margin:auto 0 0}.shortcut-manager.ui-modal{height:min(640px,100dvh - 16px)}.shortcut-manager>.ui-modal-header,.shortcut-editor>.ui-modal-header,.shortcut-manager-scroll{padding-inline:16px}.shortcut-manager .shortcut-manager-add{margin:16px 16px max(16px, env(safe-area-inset-bottom))}.shortcut-editor-fields{padding:20px 16px}.shortcut-editor form>footer{padding:16px 16px max(16px, env(safe-area-inset-bottom))}}
