#modal.module-editor-dialog{width:min(1140px,calc(100vw - 36px));max-width:1140px;padding:0;max-height:92vh;border-radius:20px;overflow:auto}.module-editor-dialog .modal-heading{padding:22px 26px;margin:0;position:sticky;top:0;background:var(--surface);z-index:3}.module-editor-dialog #modal-body{padding:0}.module-editor-dialog .form-grid{display:block}.me-workspace{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.me-settings{padding:25px 27px;min-width:0}.me-settings>label{display:block;margin-top:22px;font-size:13px;font-weight:600}.me-settings>label>input:not([type=checkbox]),.me-settings>label>select,.me-settings>label>textarea{display:block;width:100%;margin-top:8px;font-size:14px;padding:11px 12px;border:1px solid var(--input-border);background:var(--surface);color:var(--text);border-radius:9px}.me-settings>label>textarea{resize:vertical;min-height:130px;line-height:1.8;white-space:pre-wrap}.me-settings label>small{display:block;color:var(--secondary);font-size:11px;font-weight:400;line-height:1.7;margin-top:7px}.me-settings>.studio-enable-row{display:flex;margin-top:0;font-size:13px}.me-settings>.studio-enable-row input{accent-color:var(--blue);width:19px;height:19px}.me-help{margin:20px 0;border:1px solid var(--border);border-radius:9px;padding:12px 14px;background:var(--hover);font-size:12px}.me-help summary{font-weight:600;cursor:pointer}.me-help p{font-size:12px;color:var(--secondary);line-height:1.8;margin:10px 0 0}.me-help pre{font-size:11px;overflow-wrap:anywhere;white-space:pre-wrap;max-height:250px;overflow:auto}.me-toolbar{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px}.me-toolbar button{background:var(--hover);border:1px solid var(--border);border-radius:6px;font-size:11px;min-height:30px;min-width:32px;padding:4px 8px;color:var(--text)}.me-toolbar button:hover{background:var(--blue-soft);color:var(--blue)}.me-settings label.me-text-field>textarea{margin-top:7px}.me-runtime-note{font-size:11px;color:var(--secondary);line-height:1.8;margin-top:18px}.me-preview{border-left:1px solid var(--border);padding:26px;background:var(--hover);min-width:0;align-self:start;position:sticky;top:96px;min-height:450px;border-radius:0 0 15px 0}.me-preview-head{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:14px}.me-preview-head>span{font-size:10px;color:var(--secondary);border:1px solid var(--border);padding:3px 7px;border-radius:5px}.me-preview-note{font-size:12px;color:var(--secondary);line-height:1.8;margin:12px 0 23px}.me-discord{display:flex;gap:11px;border:1px solid var(--border);padding:17px;border-radius:12px;background:var(--surface)}.me-avatar{height:32px;width:32px;display:grid;place-items:center;flex-shrink:0;background:#5865f2;color:white;font-size:13px;border-radius:10px}.me-discord>div{flex:1;min-width:0}.me-author{font-size:12px}.me-author small{font-size:8px;background:#5865f2;color:white;border-radius:3px;padding:2px 4px;margin-left:4px}.me-message-text{font-size:13px;line-height:1.8;overflow-wrap:anywhere;white-space:pre-wrap;margin:8px 0 0}.me-embed{border-left:4px solid #5865f2;border-radius:6px;padding:13px 15px;background:var(--hover);margin-top:10px;overflow-wrap:anywhere}.me-embed h4{font-size:14px;margin:0 0 9px;line-height:1.6}.me-embed p{font-size:12px;line-height:1.8;margin:0}.me-embed footer{font-size:10px;color:var(--secondary);margin-top:13px}.me-level-stats{display:flex;gap:35px;font-size:10px;color:var(--secondary);margin-top:14px}.me-level-stats strong{display:block;font-size:14px;color:var(--text)}.me-config-summary{margin-top:24px}.me-config-summary h3{font-size:12px;font-weight:600;margin-bottom:12px}.me-config-summary dl>div{display:flex;justify-content:space-between;gap:20px;padding:9px 0;border-bottom:1px solid var(--border);font-size:11px}.me-config-summary dt{color:var(--secondary)}.me-config-summary dd{margin:0;text-align:right;overflow-wrap:anywhere;max-width:50%}.me-safe-note{font-size:11px;color:var(--secondary);line-height:1.8;display:flex;align-items:flex-start;gap:7px;margin-top:24px}.me-safe-note .icon{height:15px;width:15px;margin-top:3px}.module-editor-dialog .form-actions{margin:0;border-top:1px solid var(--border);padding:16px 25px;position:sticky;bottom:0;background:var(--surface);z-index:3}.module-editor-dialog .form-error{padding-inline:25px;font-size:12px}.module-editor-dialog #modal-form{margin:0}.module-editor-dialog .form-actions .button{min-height:40px;font-size:12px}
@media(max-width:750px){#modal.module-editor-dialog{width:calc(100vw - 20px);max-height:94vh;border-radius:15px}.me-workspace{grid-template-columns:1fr}.me-preview{position:static;border-left:0;border-top:1px solid var(--border);min-height:0;padding:22px}.me-settings{padding:21px}.module-editor-dialog .modal-heading{padding:17px 21px}.me-settings>label>input:not([type=checkbox]),.me-settings>label>select,.me-settings>label>textarea{font-size:16px}.me-toolbar button{min-height:36px;padding:6px 9px}.me-config-summary dl>div{font-size:12px}.module-editor-dialog .form-actions{padding:14px 20px}.me-preview-note{font-size:12px}}
#modal.module-editor-dialog{inset:0;margin:auto;height:fit-content;max-height:92vh;width:min(1140px,calc(100vw - 36px))}
