.markdown-editor-shell{border:1px solid var(--color-border);border-radius:var(--r-lg);background:var(--color-bg);overflow:visible}.markdown-editor-shell .w-md-editor{background:var(--color-bg);color:var(--color-text);box-shadow:none}.markdown-editor-shell .w-md-editor-toolbar{border-bottom:1px solid var(--color-border);background:var(--color-bg-secondary);scrollbar-width:none;-webkit-overflow-scrolling:touch;flex-wrap:nowrap;align-items:center;gap:.25rem;max-width:100%;padding:.35rem;display:flex;overflow:auto hidden}.markdown-editor-shell .w-md-editor-toolbar::-webkit-scrollbar{display:none}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar{overflow:visible}.markdown-editor-shell .w-md-editor-toolbar ul{align-items:center;min-width:max-content;margin:0;padding:0;display:inline-flex}.markdown-editor-shell .w-md-editor-toolbar ul+ul{margin-left:0}.markdown-editor-shell .w-md-editor-toolbar ul,.markdown-editor-shell .w-md-editor-toolbar li{flex:none}.markdown-editor-shell .w-md-editor-toolbar li{align-items:center;display:inline-flex;position:relative}.markdown-editor-shell .w-md-editor-toolbar li>button{border-radius:var(--r-xs);min-width:36px;height:36px;color:var(--color-text-secondary);white-space:nowrap;justify-content:center;align-items:center;padding:0 .55rem;font-size:.85rem;line-height:1;display:inline-flex}.markdown-editor-shell .w-md-editor-toolbar li>button svg{width:.95rem;height:.95rem}.markdown-editor-shell .w-md-editor-toolbar li>button:hover,.markdown-editor-shell .w-md-editor-toolbar li>button:focus-visible,.markdown-editor-shell .w-md-editor-toolbar li>button.active,.markdown-editor-shell .w-md-editor-toolbar li>button[data-active=true],.markdown-editor-shell .w-md-editor-toolbar li>button[aria-pressed=true]{background:var(--color-bg-tertiary);color:var(--color-text)}.markdown-editor-command-label{letter-spacing:0;justify-content:center;min-width:1.35rem;font-weight:700;display:inline-flex}.markdown-editor-menu-item{text-align:left;grid-template-columns:2rem minmax(0,1fr);align-items:center;gap:.55rem;min-width:9rem;display:grid}.markdown-editor-menu-mark{color:var(--color-text-secondary);font-family:var(--font-mono);letter-spacing:0;justify-content:flex-start;align-items:center;font-weight:700;display:inline-flex}.markdown-editor-menu-mark svg{width:1rem;height:1rem}.markdown-editor-shell .w-md-editor-toolbar-child{z-index:30;border:1px solid var(--color-border);border-radius:var(--r-md);background:var(--color-bg);overflow:hidden;box-shadow:0 18px 45px #0f172a2e;top:calc(100% + .25rem)!important;left:0!important}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar{background:0 0;border:0;min-width:12rem;padding:.3rem;display:block}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar ul{gap:.1rem;min-width:0;display:grid}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar li,.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar li>button{width:100%}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar li>button{height:38px;color:var(--color-text);justify-content:flex-start;padding:0 .65rem;font-size:.9rem}.markdown-editor-shell .w-md-editor-content{background:var(--color-bg)}.markdown-editor-shell .w-md-editor-text,.markdown-editor-shell .w-md-editor-text-input,.markdown-editor-shell .w-md-editor-text-pre{color:var(--color-text);font-size:1rem;line-height:1.75}.markdown-editor-shell .w-md-editor-text-input{caret-color:var(--color-primary);color:#0000;-webkit-text-fill-color:transparent;background:0 0}.markdown-editor-shell .w-md-editor-text-pre>code,.markdown-editor-shell .w-md-editor-text-input{font-family:var(--font-mono)}.markdown-editor-shell .w-md-editor-text-pre>code{color:var(--color-text)}.markdown-editor-shell .w-md-editor-text-input::placeholder{color:var(--color-text-tertiary);-webkit-text-fill-color:var(--color-text-tertiary)}.markdown-editor-shell .w-md-editor-text-input::selection{background:color-mix(in srgb, var(--color-primary) 28%, transparent);color:#0000}.markdown-editor-shell .w-md-editor-preview{background:var(--color-bg);color:var(--color-text);box-shadow:inset 1px 0 0 var(--color-border)}.markdown-editor-preview-segment>:first-child,.markdown-editor-preview-details-body>:first-child{margin-top:0}.markdown-editor-preview-segment>:last-child,.markdown-editor-preview-details-body>:last-child{margin-bottom:0}.markdown-editor-preview-details{border:1px solid var(--color-border);border-radius:var(--r-md);background:var(--color-bg-secondary);margin:0 0 1rem;padding:.85rem .95rem}.markdown-editor-preview-details>summary{cursor:pointer;color:var(--color-text);font-weight:650;line-height:1.5}.markdown-editor-preview-details>summary::marker{color:var(--color-primary)}.markdown-editor-preview-details-body{border-top:1px solid var(--color-border);margin-top:.85rem;padding-top:.85rem}@media (max-width:767px){.markdown-editor-shell .w-md-editor{min-height:420px!important}.markdown-editor-shell .w-md-editor-toolbar{padding:.25rem}.markdown-editor-shell .w-md-editor-toolbar li>button{min-width:44px;height:44px;padding:0 .5rem}.markdown-editor-shell .w-md-editor-toolbar-child{max-width:calc(100vw - 2rem)}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar{min-width:min(12rem,100vw - 2.5rem)}.markdown-editor-shell .w-md-editor-toolbar-child .w-md-editor-toolbar li>button{height:44px}.markdown-editor-shell .w-md-editor-content{min-height:360px}.markdown-editor-shell .w-md-editor-text,.markdown-editor-shell .w-md-editor-text-input,.markdown-editor-shell .w-md-editor-text-pre{font-size:1rem;line-height:1.8}.markdown-editor-shell .w-md-editor-text-input,.markdown-editor-shell .w-md-editor-text-pre{padding:1rem}}
