#fth-md-html,#fth-md-html *{box-sizing:border-box}#fth-md-html{--mth-orange:#f47721;--mth-navy:#17243b;--mth-text:#283447;--mth-muted:#64748b;--mth-border:#dce3eb;width:100%;max-width:100%;margin-inline:auto;color:var(--mth-text);font-family:inherit}#fth-md-html .fth-mth__top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px}#fth-md-html h2{margin:0 0 6px;color:var(--mth-navy);font-size:22px;line-height:1.35}#fth-md-html .fth-mth__top p{margin:0;color:var(--mth-muted);font-size:14px}#fth-md-html .fth-mth__badge{flex-shrink:0;padding:7px 12px;border-radius:30px;background:#fff1e7;color:#b94d08;font-size:12px;font-weight:700}#fth-md-html .fth-mth__actions,#fth-md-html .fth-mth__footer,#fth-md-html .fth-mth__footer-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}#fth-md-html .fth-mth__actions{margin-bottom:16px}#fth-md-html .fth-mth__btn{min-height:42px;display:inline-flex;justify-content:center;align-items:center;padding:10px 16px;border:1px solid var(--mth-border);border-radius:8px;font:inherit;font-size:13px;font-weight:650;line-height:1.3;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}#fth-md-html .fth-mth__btn:hover{transform:translateY(-1px)}#fth-md-html .fth-mth__btn:focus-visible,#fth-md-html textarea:focus-visible,#fth-md-html input:focus-visible{outline:3px solid rgb(244 119 33 / .25);outline-offset:2px}#fth-md-html .fth-mth__btn--light{background:#fff;color:var(--mth-navy)}#fth-md-html .fth-mth__btn--light:hover{border-color:var(--mth-orange);background:#fffaf6}#fth-md-html .fth-mth__btn--primary{border-color:var(--mth-orange);background:var(--mth-orange);color:#fff}#fth-md-html .fth-mth__btn--primary:hover{background:#df6413}#fth-md-html .fth-mth__file-label{position:relative;overflow:hidden}#fth-md-html .fth-mth__file-label input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}#fth-md-html .fth-mth__settings{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:16px;padding:12px 14px;border:1px solid var(--mth-border);border-radius:8px;background:#f8fafc}#fth-md-html .fth-mth__check{display:flex;align-items:center;gap:9px;color:var(--mth-text);font-size:13px;cursor:pointer}#fth-md-html .fth-mth__check input{width:16px;height:16px;accent-color:var(--mth-orange)}#fth-md-html .fth-mth__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#fth-md-html .fth-mth__panel,#fth-md-html .fth-mth__output-panel{min-width:0;overflow:hidden;border:1px solid var(--mth-border);border-radius:10px;background:#fff}#fth-md-html .fth-mth__panel-head{min-height:44px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid var(--mth-border);background:#f8fafc}#fth-md-html .fth-mth__panel-head label,#fth-md-html .fth-mth__panel-head>span:first-child{color:var(--mth-navy);font-size:13px;font-weight:750}#fth-md-html .fth-mth__panel-head span:last-child{color:var(--mth-muted);font-size:11px}#fth-md-html textarea{display:block;width:100%;min-height:330px;padding:15px;resize:vertical;border:0;border-radius:0;outline:none;background:#fff;color:#263449;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:13px;line-height:1.65;tab-size:2}#fth-md-html textarea:focus-visible{outline:2px solid var(--mth-orange);outline-offset:-2px}#fth-md-html .fth-mth__preview{min-height:330px;max-height:520px;overflow:auto;padding:16px;color:#263449;font-size:14px;line-height:1.7;overflow-wrap:anywhere}#fth-md-html .fth-mth__preview>:first-child{margin-top:0}#fth-md-html .fth-mth__preview>:last-child{margin-bottom:0}#fth-md-html .fth-mth__preview h1,#fth-md-html .fth-mth__preview h2,#fth-md-html .fth-mth__preview h3,#fth-md-html .fth-mth__preview h4,#fth-md-html .fth-mth__preview h5,#fth-md-html .fth-mth__preview h6{margin:1.2em 0 .55em;color:var(--mth-navy);line-height:1.35}#fth-md-html .fth-mth__preview h1{font-size:1.7em}#fth-md-html .fth-mth__preview h2{font-size:1.45em}#fth-md-html .fth-mth__preview h3{font-size:1.2em}#fth-md-html .fth-mth__preview p{margin:0 0 1em}#fth-md-html .fth-mth__preview a{color:#b94d08;text-decoration:underline}#fth-md-html .fth-mth__preview pre{overflow:auto;padding:12px;border-radius:7px;background:#f1f5f9;font-size:12px}#fth-md-html .fth-mth__preview code{padding:2px 4px;border-radius:4px;background:#f1f5f9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em}#fth-md-html .fth-mth__preview pre code{padding:0;background:#fff0}#fth-md-html .fth-mth__preview blockquote{margin:1em 0;padding:8px 14px;border-left:3px solid var(--mth-orange);background:#fff8f2}#fth-md-html .fth-mth__preview table{width:100%;border-collapse:collapse;font-size:13px}#fth-md-html .fth-mth__preview th,#fth-md-html .fth-mth__preview td{padding:8px;border:1px solid var(--mth-border);text-align:left}#fth-md-html .fth-mth__preview th{background:#f8fafc}#fth-md-html .fth-mth__preview img{max-width:100%;height:auto}#fth-md-html .fth-mth__preview hr{border:0;border-top:1px solid var(--mth-border)}#fth-md-html .fth-mth__preview .fth-mth__placeholder{color:var(--mth-muted)}#fth-md-html .fth-mth__output-panel{margin-top:16px}#fth-md-html .fth-mth__output-panel textarea{min-height:220px}#fth-md-html .fth-mth__footer{justify-content:space-between;margin-top:16px}#fth-md-html .fth-mth__status{min-height:22px;margin-top:12px;color:#256b45;font-size:13px}#fth-md-html .fth-mth__status.is-error{color:#b42318}#fth-md-html .fth-mth__note{margin-top:6px;color:var(--mth-muted);font-size:12px;line-height:1.6}@media (max-width:700px){#fth-md-html .fth-mth__grid{grid-template-columns:1fr}#fth-md-html .fth-mth__top{flex-direction:column}#fth-md-html .fth-mth__footer{align-items:stretch;flex-direction:column}#fth-md-html .fth-mth__footer>*,#fth-md-html .fth-mth__footer-actions{width:100%}#fth-md-html .fth-mth__footer-actions .fth-mth__btn{flex:1}#fth-md-html .fth-mth__settings{flex-direction:column;gap:12px}}