:root{--ink:#1e293b;--ink-muted:#64748b;--bg:#fff;--surface:#f8fafc;--rule:#e2e8f0;--accent:#0e7490;--accent-hover:#155e75;--accent-ink:#fff;--accent-light:#ecfeff;--measure:60ch;--font-body:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-6:24px;--space-8:32px;--space-12:48px;--space-16:64px;scrollbar-color:var(--rule) transparent;caret-color:var(--accent);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--ink:#f1f5f9;--ink-muted:#94a3b8;--bg:#0f172a;--surface:#1e293b;--rule:#334155;--accent:#22d3ee;--accent-hover:#06b6d4;--accent-ink:#0f172a;--accent-light:#164e63}}*,:before,:after{box-sizing:border-box}html{overflow-x:clip}body{font-family:var(--font-body);-webkit-font-smoothing:antialiased;color:var(--ink);background:var(--bg);margin:0;line-height:1.5}.screen{min-height:100vh}p{text-wrap:pretty}h1,h2,h3{text-wrap:balance;line-height:1.2}h1{margin:0 0 var(--space-6) 0;font-size:2rem;font-weight:700}h2{margin:var(--space-8) 0 var(--space-4) 0;font-size:1.5rem;font-weight:600}h3{margin:var(--space-6) 0 var(--space-3) 0;font-size:1.125rem;font-weight:600}::selection{background:var(--accent);color:var(--accent-ink)}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}a{color:var(--accent);text-underline-offset:.18em;transition:color .15s ease-out}a:hover{color:var(--accent-hover)}.num{font-variant-numeric:tabular-nums}button,[role=button],summary,select,input[type=checkbox],input[type=radio]{min-height:44px}button{cursor:pointer;min-width:44px;font-family:inherit}input,select,textarea{font:inherit;font-size:max(1rem,16px)}img,video,canvas,svg{max-width:100%;height:auto}pre{overflow-x:auto}@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}button,a{transition:all .15s ease-out}}.converter{background:var(--bg);flex-direction:column;min-height:100vh;display:flex}.converter-header{padding:var(--space-6);background:var(--surface);border-bottom:1px solid var(--rule);justify-content:space-between;align-items:center;gap:var(--space-4);display:flex}.converter-title{color:var(--ink);margin:0;font-size:1.5rem;font-weight:600}.copy-button{padding:0 var(--space-6);background:var(--accent);height:44px;color:var(--accent-ink);white-space:nowrap;border:none;border-radius:6px;font-size:.875rem;font-weight:600}.copy-button:hover{background:var(--accent-hover)}.copy-button:active{transform:translateY(1px)}.converter-panes{flex:1;grid-template-columns:1fr 1fr;display:grid;overflow:hidden}.pane{border-right:1px solid var(--rule);flex-direction:column;display:flex;overflow:hidden}.pane:last-child{border-right:none}.pane-label{padding:var(--space-4) var(--space-6);background:var(--surface);border-bottom:1px solid var(--rule);color:var(--ink-muted);text-transform:uppercase;letter-spacing:.025em;font-size:.875rem;font-weight:600}.markdown-input{padding:var(--space-6);background:var(--bg);color:var(--ink);resize:none;tab-size:2;border:none;flex:1;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.875rem;line-height:1.6}.markdown-input:focus{background:var(--bg);outline:none}.markdown-input::placeholder{color:var(--ink-muted)}.html-preview{padding:var(--space-6);background:var(--bg);flex:1;overflow-y:auto}.html-preview h1{margin-top:0;font-size:2rem}.html-preview h2{padding-bottom:var(--space-2);border-bottom:1px solid var(--rule);font-size:1.5rem}.html-preview h3{font-size:1.125rem}.html-preview p{margin:var(--space-4) 0;line-height:1.6}.html-preview ul,.html-preview ol{margin:var(--space-4) 0;padding-left:var(--space-6)}.html-preview li{margin:var(--space-2) 0}.html-preview code{padding:2px var(--space-2);background:var(--surface);border:1px solid var(--rule);color:var(--accent);border-radius:3px;font-family:SF Mono,Monaco,Cascadia Code,Roboto Mono,Consolas,Courier New,monospace;font-size:.875em}.html-preview pre{margin:var(--space-6) 0;padding:var(--space-4);background:var(--surface);border:1px solid var(--rule);border-radius:6px;overflow-x:auto}.html-preview pre code{color:var(--ink);background:0 0;border:none;padding:0;font-size:.875rem}.html-preview blockquote{margin:var(--space-6) 0;padding:var(--space-3) var(--space-4);border-left:1px solid var(--accent);background:var(--accent-light);color:var(--ink)}.html-preview hr{margin:var(--space-8) 0;border:none;border-top:1px solid var(--rule)}.html-preview img{margin:var(--space-6) 0;border:1px solid var(--rule);border-radius:6px}.html-preview a{font-weight:500}.html-preview strong{color:var(--ink);font-weight:600}@media (width<=768px){.converter-panes{grid-template-rows:1fr 1fr;grid-template-columns:1fr}.pane{border-right:none;border-bottom:1px solid var(--rule)}.pane:last-child{border-bottom:none}.converter-header{flex-direction:column;align-items:stretch}.copy-button{width:100%}}@media (width<=480px){.converter-header{padding:var(--space-4)}.converter-title{font-size:1.25rem}.markdown-input,.html-preview{padding:var(--space-4)}body,.container,[class*=container],section,header,footer,nav,main,article{padding-inline:max(1rem,16px)}}
