:root{--hlp-primary:var(--main-primary);--hlp-bg:#fff;--hlp-bg-secondary:#f8fafc;--hlp-bg-editor:#1e1e2e;--hlp-text:#1f2937;--hlp-text-muted:#64748b;--hlp-text-editor:#cdd6f4;--hlp-border:#e2e8f0;--hlp-border-focus:var(--main-primary);--hlp-tab-active-bg:var(--main-primary);--hlp-tab-active-text:#fff;--hlp-tab-hover-bg:#6366f114;--hlp-toolbar-bg:#fff;--hlp-line-number-bg:#181825;--hlp-line-number-text:#6c7086;--hlp-console-bg:#1e1e2e;--hlp-console-text:#cdd6f4;--hlp-console-log:#cdd6f4;--hlp-console-warn:#f9e2af;--hlp-console-error:#f38ba8;--hlp-console-info:#89b4fa;--hlp-console-border:#313244;--hlp-resizer-bg:#e2e8f0;--hlp-resizer-hover:var(--main-primary);--hlp-badge-bg:#ef4444;--hlp-badge-text:#fff;--hlp-dropdown-bg:#fff;--hlp-dropdown-shadow:0 4px 16px #0000001f;--hlp-dropdown-hover:#f1f5f9}._hlp-container{border-radius:var(--main-radius-lg);border-style:solid;border-width:1px;border-color:var(--hlp-border);min-height:520px;box-shadow:var(--main-shadow-sm);background:var(--hlp-bg);flex-direction:column;display:flex;overflow:hidden}._hlp-main{flex:1;height:460px;min-height:0;display:flex}._hlp-main--vertical{flex-direction:column}@media (max-width:768px){._hlp-container{border-radius:var(--main-radius);min-height:400px}._hlp-main{flex-direction:column;height:520px}}._hlp-toolbar{background:var(--hlp-toolbar-bg);border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--hlp-border);flex-shrink:0;justify-content:space-between;align-items:center;gap:.5rem;padding:.375rem .5rem;display:flex}._hlp-toolbar-left{align-items:center;gap:.5rem;display:flex}._hlp-toolbar-right{align-items:center;gap:.125rem;display:flex}._hlp-tabs{background:var(--hlp-bg-secondary);border-radius:var(--main-radius);gap:.125rem;padding:.1875rem;display:flex}._hlp-tab{color:var(--hlp-text-muted);font-size:var(--main-text-sm);cursor:pointer;border-radius:calc(var(--main-radius) - 2px);background:0 0;border:none;padding:.3125rem .75rem;font-family:inherit;font-weight:500;line-height:1.4;transition:color .15s,background .15s}._hlp-tab:hover{color:var(--hlp-text);background:var(--hlp-tab-hover-bg)}._hlp-tab--active{background:var(--hlp-tab-active-bg);color:var(--hlp-tab-active-text)}._hlp-tab--active:hover{background:var(--hlp-tab-active-bg);color:var(--hlp-tab-active-text);opacity:.9}._hlp-btn{color:var(--hlp-text-muted);font-size:var(--main-text-sm);cursor:pointer;border-radius:var(--main-radius);white-space:nowrap;background:0 0;border:none;align-items:center;gap:.375rem;padding:.375rem .5rem;font-family:inherit;line-height:1;transition:color .15s,background .15s;display:inline-flex;position:relative}._hlp-btn:hover{color:var(--hlp-text);background:var(--hlp-tab-hover-bg)}._hlp-btn--sm{padding:.25rem .375rem}._hlp-btn-icon{align-items:center;display:inline-flex}._hlp-btn-icon svg{display:block}._hlp-console-badge{border-radius:var(--main-radius-full);background:var(--hlp-badge-bg);min-width:16px;height:16px;color:var(--hlp-badge-text);justify-content:center;align-items:center;padding:0 4px;font-size:10px;font-weight:600;line-height:1;display:flex;position:absolute;top:0;right:0}._hlp-template-wrap{position:relative}._hlp-template-dropdown{background:var(--hlp-dropdown-bg);border-radius:var(--main-radius);min-width:180px;box-shadow:var(--hlp-dropdown-shadow);border-style:solid;border-width:1px;border-color:var(--hlp-border);z-index:50;padding:.25rem;display:none;position:absolute;top:calc(100% + 4px);right:0}._hlp-template-dropdown--open{display:block}._hlp-template-item{width:100%;color:var(--hlp-text);font-size:var(--main-text-sm);text-align:left;cursor:pointer;border-radius:calc(var(--main-radius) - 2px);background:0 0;border:none;padding:.5rem .75rem;font-family:inherit;transition:background .15s;display:block}._hlp-template-item:hover{background:var(--hlp-dropdown-hover)}._hlp-template-item-desc{font-size:var(--main-text-xs);color:var(--hlp-text-muted);margin-top:.125rem;display:block}@media (max-width:768px){._hlp-toolbar{flex-wrap:wrap;gap:.25rem}._hlp-toolbar-right{gap:0}._hlp-btn ._hlp-btn-label{display:none}}._hlp-editor-panel{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}._hlp-editor-wrap{flex:1;min-height:0;display:flex;position:relative}._hlp-editor-cm{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}._hlp-editor-cm--hidden{display:none}._hlp-editor-cm .CodeMirror{height:auto;font-family:var(--main-font-mono);flex:1;font-size:13px;line-height:1.6}.cm-s-hlp-dark.CodeMirror{background:var(--hlp-bg-editor);color:var(--hlp-text-editor)}.cm-s-hlp-dark .CodeMirror-gutters{background:var(--hlp-line-number-bg);border-right-style:solid;border-right-width:1px;border-right-color:var(--hlp-console-border)}.cm-s-hlp-dark .CodeMirror-linenumber{color:var(--hlp-line-number-text)}.cm-s-hlp-dark .CodeMirror-cursor{border-left:2px solid #cdd6f4}.cm-s-hlp-dark .CodeMirror-selected{background:#6366f133}.cm-s-hlp-dark .CodeMirror-activeline-background{background:#ffffff0a}.cm-s-hlp-dark .CodeMirror-matchingbracket{text-decoration:underline;color:#f9e2af!important}.cm-s-hlp-dark .cm-keyword{color:#cba6f7}.cm-s-hlp-dark .cm-atom,.cm-s-hlp-dark .cm-number{color:#fab387}.cm-s-hlp-dark .cm-def{color:#89b4fa}.cm-s-hlp-dark .cm-variable{color:#cdd6f4}.cm-s-hlp-dark .cm-variable-2{color:#89dceb}.cm-s-hlp-dark .cm-variable-3,.cm-s-hlp-dark .cm-type{color:#f9e2af}.cm-s-hlp-dark .cm-property{color:#89b4fa}.cm-s-hlp-dark .cm-operator{color:#89dceb}.cm-s-hlp-dark .cm-comment{color:#6c7086;font-style:italic}.cm-s-hlp-dark .cm-string,.cm-s-hlp-dark .cm-string-2{color:#a6e3a1}.cm-s-hlp-dark .cm-meta,.cm-s-hlp-dark .cm-qualifier{color:#f9e2af}.cm-s-hlp-dark .cm-builtin{color:#f38ba8}.cm-s-hlp-dark .cm-bracket{color:#9399b2}.cm-s-hlp-dark .cm-tag{color:#f38ba8}.cm-s-hlp-dark .cm-attribute{color:#f9e2af}.cm-s-hlp-dark .cm-header{color:#89b4fa;font-weight:700}.cm-s-hlp-dark .cm-hr{color:#6c7086}.cm-s-hlp-dark .cm-link{color:#89b4fa}.cm-s-hlp-dark .cm-error{color:#f38ba8}.cm-s-hlp-dark .CodeMirror-scrollbar-filler{background:var(--hlp-bg-editor)}@media (max-width:768px){._hlp-editor-panel{min-height:200px}._hlp-editor-cm .CodeMirror{font-size:12px}}._hlp-preview-panel{background:#fff;flex:1;min-width:0;min-height:0;display:flex}._hlp-preview{background:#fff;border:none;width:100%;height:100%}._hlp-resizer{cursor:col-resize;background:var(--hlp-resizer-bg);flex-shrink:0;width:4px;transition:background .15s;position:relative}._hlp-resizer:hover,._hlp-resizer--active{background:var(--hlp-resizer-hover)}._hlp-resizer:after{content:"";position:absolute;top:0;bottom:0;left:-4px;right:-4px}._hlp-main--vertical ._hlp-resizer{cursor:row-resize;width:auto;height:4px}._hlp-main--vertical ._hlp-resizer:after{top:-4px;bottom:-4px;left:0;right:0}._hlp-fullscreen-close{display:none}._hlp-preview-panel--fullscreen{z-index:9999;background:#fff;position:fixed;top:0;bottom:0;left:0;right:0}._hlp-preview-panel--fullscreen ._hlp-preview{width:100%;height:100%}._hlp-preview-panel--fullscreen ._hlp-fullscreen-close{border-radius:var(--main-radius-full);color:#fff;cursor:pointer;z-index:10000;background:#0f172ab3;border:none;justify-content:center;align-items:center;width:36px;height:36px;transition:background .15s;display:flex;position:absolute;top:12px;right:12px;box-shadow:0 2px 8px #0003}._hlp-preview-panel--fullscreen ._hlp-fullscreen-close:hover{background:#0f172ae6}._hlp-preview-panel--fullscreen ._hlp-fullscreen-close svg{display:block}@media (max-width:768px){._hlp-resizer{cursor:row-resize;width:auto;height:4px}._hlp-resizer:after{top:-4px;bottom:-4px;left:0;right:0}._hlp-preview-panel{min-height:200px}}._hlp-console{border-top-style:solid;border-top-width:1px;border-top-color:var(--hlp-border);background:var(--hlp-console-bg);flex-direction:column;flex-shrink:0;max-height:200px;display:flex}._hlp-console-header{border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--hlp-console-border);flex-shrink:0;justify-content:space-between;align-items:center;padding:.375rem .75rem;display:flex}._hlp-console-title{font-family:var(--main-font-mono);font-size:var(--main-text-xs);color:var(--hlp-console-text);text-transform:uppercase;letter-spacing:.05em;font-weight:600}._hlp-console-actions{align-items:center;gap:.125rem;display:flex}._hlp-console-actions ._hlp-btn{color:var(--hlp-line-number-text)}._hlp-console-actions ._hlp-btn:hover{color:var(--hlp-console-text);background:#ffffff0f}._hlp-console-body{font-family:var(--main-font-mono);flex:1;padding:.25rem 0;font-size:12px;line-height:1.5;overflow-y:auto}._hlp-console-entry{border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--hlp-console-border);color:var(--hlp-console-log);align-items:flex-start;gap:.5rem;padding:.25rem .75rem;display:flex}._hlp-console-entry--warn{color:var(--hlp-console-warn);background:#f9e2af0d}._hlp-console-entry--error{color:var(--hlp-console-error);background:#f38ba80d}._hlp-console-entry--info{color:var(--hlp-console-info)}._hlp-console-icon{flex-shrink:0;align-items:center;margin-top:2px;display:flex}._hlp-console-icon svg{display:block}._hlp-console-msg{word-break:break-all;white-space:pre-wrap;flex:1}._hlp-console-empty{height:100%;color:var(--hlp-line-number-text);font-size:var(--main-text-sm);font-family:var(--main-font-mono);justify-content:center;align-items:center;padding:1.5rem;display:flex}
