.agritech-editor-actions{scrollbar-width:none;-webkit-overflow-scrolling:touch}.agritech-editor-actions::-webkit-scrollbar{display:none}.agritech-markdown-editor{--md-bk-color:var(--ui-bg);--md-bk-color-outstand:var(--ui-bg-elevated);--md-border-color:var(--ui-border);--md-color:var(--ui-text-toned);--md-scrollbar-bg-color:color-mix(in srgb,var(--ui-text-muted) 28%,transparent);--md-scrollbar-thumb-color:color-mix(in srgb,var(--ui-text-muted) 48%,transparent);--md-theme-color:var(--ui-text-toned);--md-theme-heading-color:var(--ui-text-highlighted);--md-theme-border-color:var(--ui-border);--md-theme-border-color-inset:var(--ui-border);--md-theme-bg-color:var(--ui-bg);--md-theme-bg-color-inset:var(--ui-bg-elevated);--md-theme-link-color:var(--ui-primary);--md-theme-link-hover-color:var(--ui-primary);--md-theme-code-inline-color:var(--ui-primary);--md-theme-code-inline-bg-color:color-mix(in srgb,var(--ui-primary) 12%,transparent);--md-theme-code-block-bg-color:var(--ui-bg-elevated);--md-theme-code-before-bg-color:var(--ui-bg-elevated);--md-theme-code-block-color:var(--ui-text-toned);width:100%;max-width:100%;min-width:0;border:0}.agritech-markdown-editor,.agritech-markdown-editor .md-editor,.agritech-markdown-editor .md-editor-content,.agritech-markdown-editor .md-editor-footer,.agritech-markdown-editor .md-editor-input-wrapper,.agritech-markdown-editor .md-editor-preview,.agritech-markdown-editor .md-editor-preview-wrapper{background:var(--ui-bg);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-toolbar-wrapper{max-width:100%;overflow-x:auto;overflow-y:hidden;border-bottom-color:var(--ui-border);background:var(--ui-bg);scrollbar-width:none;-webkit-overflow-scrolling:touch}.agritech-markdown-editor .md-editor-toolbar-wrapper::-webkit-scrollbar{display:none}.agritech-markdown-editor .md-editor-toolbar{min-width:-moz-max-content;min-width:max-content;background:var(--ui-bg);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-footer-item,.agritech-markdown-editor .md-editor-toolbar-item,.agritech-markdown-editor button{color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-toolbar-item.active,.agritech-markdown-editor .md-editor-toolbar-item:hover{background:var(--ui-bg-elevated);color:var(--ui-text-highlighted)}.agritech-markdown-editor .md-editor-content,.agritech-markdown-editor .md-editor-input-wrapper,.agritech-markdown-editor .md-editor-preview-wrapper{min-width:0}.agritech-markdown-editor .cm-content{font-size:.875rem;line-height:1.7;color:var(--ui-text-toned);caret-color:var(--ui-primary)}.agritech-markdown-editor .cm-editor,.agritech-markdown-editor .cm-gutters,.agritech-markdown-editor .cm-scroller{background:var(--ui-bg);color:var(--ui-text-toned)}.agritech-markdown-editor .cm-gutters{border-color:var(--ui-border);color:var(--ui-text-muted)}.agritech-markdown-editor .cm-activeLine,.agritech-markdown-editor .cm-activeLineGutter{background:color-mix(in srgb,var(--ui-primary) 8%,transparent)}.agritech-markdown-editor .cm-focused .cm-selectionBackground,.agritech-markdown-editor .cm-selectionBackground{background:color-mix(in srgb,var(--ui-primary) 24%,transparent)}.agritech-markdown-editor .cm-line{color:var(--ui-text-toned)}.agritech-markdown-editor .cm-line .cm-header,.agritech-markdown-editor .cm-line .cm-strong{color:var(--ui-text-highlighted)}.agritech-markdown-editor .cm-line .cm-comment,.agritech-markdown-editor .cm-line .cm-meta{color:var(--ui-text-muted)}.agritech-markdown-editor .cm-line .cm-link,.agritech-markdown-editor .cm-line .cm-url{color:var(--ui-primary)}.agritech-markdown-editor .md-editor-input,.agritech-markdown-editor .md-editor-preview{color:var(--ui-text-toned)}.agritech-markdown-editor :is(.cm-content,.md-editor-preview,.md-editor-html)[dir=ltr],.agritech-markdown-editor :is(.cm-content,.md-editor-preview,.md-editor-html)[dir=rtl]{text-align:start}.agritech-markdown-editor :is(.cm-content,.md-editor-preview,.md-editor-html)[dir=ltr]{direction:ltr}.agritech-markdown-editor :is(.cm-content,.md-editor-preview,.md-editor-html)[dir=rtl]{direction:rtl}.agritech-markdown-editor .md-editor-preview h1,.agritech-markdown-editor .md-editor-preview h2,.agritech-markdown-editor .md-editor-preview h3,.agritech-markdown-editor .md-editor-preview h4{color:var(--ui-text-highlighted);letter-spacing:0}.agritech-markdown-editor .md-editor-preview li,.agritech-markdown-editor .md-editor-preview p{color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview ol{list-style:decimal;margin:.75rem 0;padding-inline-start:1.5rem}.agritech-markdown-editor .md-editor-preview ul{list-style:disc;margin:.75rem 0;padding-inline-start:1.5rem}.agritech-markdown-editor .md-editor-preview li{display:list-item;margin:.25rem 0;padding-inline-start:.25rem}.agritech-markdown-editor .md-editor-preview li>p{margin:0}.agritech-markdown-editor .md-editor-preview table{width:100%;border-color:var(--ui-border)}.agritech-markdown-editor .md-editor-preview tbody,.agritech-markdown-editor .md-editor-preview tr{background:var(--ui-bg);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview td,.agritech-markdown-editor .md-editor-preview th{background:var(--ui-bg);border-color:var(--ui-border);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview tbody tr:nth-child(2n) td,.agritech-markdown-editor .md-editor-preview th,.agritech-markdown-editor .md-editor-preview thead{background:var(--ui-bg-elevated)}.agritech-markdown-editor .md-editor-preview th{color:var(--ui-text-highlighted)}.agritech-markdown-editor .md-editor-preview blockquote{border-color:var(--ui-primary);background:color-mix(in srgb,var(--ui-primary) 8%,transparent);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview .md-editor-admonition{--md-admonition-color:var(--ui-text-toned);--md-admonition-bg-color:var(--ui-bg-elevated);--md-admonition-border-color:var(--ui-border);border-color:var(--ui-border);background:var(--ui-bg-elevated);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview .md-editor-admonition-hint,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-info,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-note,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-success,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-tip{--md-admonition-bg-color:color-mix(in srgb,var(--ui-primary) 9%,var(--ui-bg));--md-admonition-border-color:color-mix(in srgb,var(--ui-primary) 28%,var(--ui-border))}.agritech-markdown-editor .md-editor-preview .md-editor-admonition-caution,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-danger,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-error,.agritech-markdown-editor .md-editor-preview .md-editor-admonition-warning{--md-admonition-bg-color:color-mix(in srgb,var(--ui-warning) 12%,var(--ui-bg));--md-admonition-border-color:color-mix(in srgb,var(--ui-warning) 36%,var(--ui-border))}.agritech-markdown-editor .md-editor-preview .md-editor-admonition-title{color:var(--ui-text-highlighted)}.agritech-markdown-editor .md-editor-preview pre{border-color:var(--ui-border);background:var(--ui-bg-elevated);color:var(--ui-text-toned)}.agritech-markdown-editor .md-editor-preview .md-editor-echarts,.agritech-markdown-editor .md-editor-preview [class*=echarts]{min-height:320px}.agritech-markdown-editor iframe{aspect-ratio:16/9;width:100%;min-height:260px;border:0;border-radius:.5rem}.agritech-markdown-editor img{height:auto;max-height:620px;-o-object-fit:contain;object-fit:contain}@media(max-width:767px){.agritech-markdown-editor .cm-content{font-size:.8125rem;line-height:1.65}.agritech-markdown-editor .md-editor-toolbar-wrapper{padding-inline:.25rem}.agritech-markdown-editor .md-editor-footer{font-size:.75rem}.agritech-markdown-editor iframe{min-height:190px}.agritech-markdown-editor img{width:100%!important;max-width:100%}}
