.mg-mod{background:hsl(var(--module-surface));border:1px solid color-mix(in srgb, hsl(var(--module-border)) 55%, transparent);border-radius:2px;flex-direction:column;transition:border-color .18s cubic-bezier(.2,.6,.2,1),box-shadow .18s cubic-bezier(.2,.6,.2,1);display:flex;position:relative;overflow:hidden}.mg-mod:hover{border-color:hsl(var(--module-border))}.mg-mod.is-dragging{z-index:6;border-color:hsl(var(--module-interactive));box-shadow:0 0 0 1px hsl(var(--module-interactive)), 0 12px 32px #0009}.mg-mod.is-locked{border-color:hsl(var(--warning))}.mg-mod.is-detached{border-style:dashed;border-color:hsl(var(--module-interactive));background:color-mix(in srgb, hsl(var(--module-surface)) 72%, transparent)}.mg-mod-head{border-bottom:1px solid hsl(var(--module-border));background:hsl(var(--module-surface));letter-spacing:0;text-transform:none;min-width:0;height:36px;color:hsl(var(--module-text));-webkit-user-select:none;user-select:none;flex:none;align-items:center;gap:6px;padding:0 7px 0 0;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:10px;font-weight:600;display:flex}.mg-mod-head-no-handle{padding-left:10px}.mg-mod-title{text-overflow:ellipsis;white-space:nowrap;flex:auto;min-width:0;overflow:hidden}.mg-mod-title-stack{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.mg-mod-title-main,.mg-mod-scent{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.mg-mod-scent{color:color-mix(in srgb, hsl(var(--module-text-muted)) 70%, transparent);letter-spacing:0;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:9px;font-weight:500;line-height:1.2}.mg-handle{width:40px;height:100%;color:color-mix(in srgb, hsl(var(--module-text-muted)) 70%, transparent);cursor:grab;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex}.mg-handle:hover{color:hsl(var(--module-interactive));background:color-mix(in srgb, hsl(var(--module-interactive)) 22%, transparent)}.mg-handle:active{cursor:grabbing}.mg-handle.is-locked-glyph{cursor:not-allowed;color:hsl(var(--warning))}.mg-handle.is-locked-glyph:hover{color:hsl(var(--warning));background:0 0}.mg-mod-tools{height:100%;color:color-mix(in srgb, hsl(var(--module-text-muted)) 70%, transparent);align-items:center;gap:2px;margin-left:auto;display:flex}.mg-tool-btn{width:36px;min-width:36px;height:100%;color:color-mix(in srgb, hsl(var(--module-text-muted)) 70%, transparent);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:11px;display:inline-flex}.mg-tool-btn:hover{background:color-mix(in srgb, hsl(var(--module-surface)) 90%, hsl(var(--module-text)) 10%);color:hsl(var(--module-text))}.mg-tool-btn:focus-visible{box-shadow:inset 0 0 0 2px hsl(var(--ring)), inset 0 0 0 6px color-mix(in srgb, hsl(var(--ring)) 20%, transparent);outline:none}.mg-mod-body{flex:auto;min-height:0;padding:10px;overflow:auto}.mg-mod.is-collapsed .mg-mod-body{display:none}.mg-mod[data-kind=embed]>.mg-mod-body{padding:0}.mg-mod-body[data-zoom-exempt=true]{overflow:hidden}.mg-detached-placeholder{min-height:100%;color:hsl(var(--module-text-muted));flex-direction:column;justify-content:center;align-items:flex-start;gap:8px;display:flex}.mg-detached-placeholder p{color:hsl(var(--module-text));margin:0;font-family:IBM Plex Sans,system-ui,-apple-system,sans-serif;font-size:12px;line-height:1.4}.mg-resize{cursor:nwse-resize;width:12px;height:12px;color:color-mix(in srgb, hsl(var(--module-text-muted)) 70%, transparent);text-align:center;font-family:IBM Plex Mono,ui-monospace,Menlo,monospace;font-size:10px;line-height:12px;position:absolute;bottom:0;right:0}.mg-mod.is-collapsed .mg-resize{pointer-events:none}.mg-mod-body::-webkit-scrollbar{width:6px;height:6px}.mg-mod-body::-webkit-scrollbar-thumb{background:hsl(var(--module-border));border-radius:3px}.mg-mod-body::-webkit-scrollbar-track{background:0 0}
