.RedditCommentFormatterTool-module__bnSLDa__wrapper{max-width:1100px;margin:0 auto}.RedditCommentFormatterTool-module__bnSLDa__editorLayout{grid-template-columns:1fr 1fr;align-items:start;gap:24px;display:grid}@media (max-width:768px){.RedditCommentFormatterTool-module__bnSLDa__editorLayout{grid-template-columns:1fr}}.RedditCommentFormatterTool-module__bnSLDa__editorPanel{flex-direction:column;gap:12px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__editorLabel{color:var(--color-text-secondary);text-transform:uppercase;letter-spacing:.04em;font-size:.8rem;font-weight:600}.RedditCommentFormatterTool-module__bnSLDa__toolbar{border-bottom:1px solid var(--color-border);flex-wrap:wrap;gap:4px;padding-bottom:12px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__toolbarBtn{border:1px solid var(--color-border);min-width:32px;height:32px;font-size:14px;font-family:var(--font-dm-mono),monospace;cursor:pointer;background:var(--color-surface);color:var(--color-text-secondary);border-radius:6px;justify-content:center;align-items:center;padding:0 8px;transition:border-color .15s,color .15s;display:inline-flex}.RedditCommentFormatterTool-module__bnSLDa__toolbarBtn:hover{color:#6366f1;border-color:#6366f1}.RedditCommentFormatterTool-module__bnSLDa__toolbarBtnBold{font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__toolbarBtnItalic{font-style:italic}.RedditCommentFormatterTool-module__bnSLDa__toolbarBtnStrike{text-decoration:line-through}.RedditCommentFormatterTool-module__bnSLDa__editorTextarea{width:100%;min-height:400px;font-family:var(--font-dm-mono),monospace;border:1.5px solid var(--color-border);background:var(--color-surface);color:var(--color-text-primary);resize:vertical;border-radius:8px;padding:16px;font-size:14px;line-height:1.6;transition:border-color .2s}.RedditCommentFormatterTool-module__bnSLDa__editorTextarea:focus{border-color:#6366f1;outline:none}.RedditCommentFormatterTool-module__bnSLDa__statsBar{background:var(--color-surface-2);font-size:.75rem;font-family:var(--font-dm-mono),monospace;color:var(--color-text-muted);border-radius:8px;flex-wrap:wrap;gap:16px;padding:10px 14px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__statsBar span{white-space:nowrap}.RedditCommentFormatterTool-module__bnSLDa__statValue{color:var(--color-text-secondary);font-weight:600}.RedditCommentFormatterTool-module__bnSLDa__buttonRow{flex-wrap:wrap;gap:10px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__loadExampleBtn{background:var(--color-surface-2);border:1px solid var(--color-border);cursor:pointer;color:var(--color-text-secondary);border-radius:8px;align-items:center;gap:6px;padding:10px 18px;font-size:.8rem;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.RedditCommentFormatterTool-module__bnSLDa__loadExampleBtn:hover{background:var(--color-border-subtle);border-color:#6366f1}.RedditCommentFormatterTool-module__bnSLDa__clearBtn{background:var(--color-surface-2);border:1px solid var(--color-border);cursor:pointer;color:var(--color-text-secondary);border-radius:8px;align-items:center;gap:6px;padding:10px 18px;font-size:.8rem;font-weight:600;transition:background .15s,border-color .15s;display:inline-flex}.RedditCommentFormatterTool-module__bnSLDa__clearBtn:hover{background:var(--color-border-subtle);color:#e53e3e;border-color:#e53e3e}.RedditCommentFormatterTool-module__bnSLDa__previewPanel{border:1px solid var(--color-border);border-radius:12px;max-height:calc(100vh - 100px);position:sticky;top:88px;overflow:hidden auto}@media (max-width:768px){.RedditCommentFormatterTool-module__bnSLDa__previewPanel{max-height:none;position:static;overflow-y:visible}}.RedditCommentFormatterTool-module__bnSLDa__previewPanel::-webkit-scrollbar{width:3px}.RedditCommentFormatterTool-module__bnSLDa__previewPanel::-webkit-scrollbar-track{background:0 0}.RedditCommentFormatterTool-module__bnSLDa__previewPanel::-webkit-scrollbar-thumb{background:var(--color-border);border-radius:999px}.RedditCommentFormatterTool-module__bnSLDa__previewToggle{border-bottom:1px solid var(--color-border);background:var(--color-surface-2);align-items:center;gap:0;padding:10px 16px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__previewToggleLabel{text-transform:uppercase;letter-spacing:.04em;color:var(--color-text-muted);margin-right:12px;font-size:.75rem;font-weight:600}.RedditCommentFormatterTool-module__bnSLDa__toggleBtn{border:1px solid var(--color-border);background:var(--color-surface);color:var(--color-text-muted);cursor:pointer;padding:6px 14px;font-size:.75rem;font-weight:600;transition:all .15s}.RedditCommentFormatterTool-module__bnSLDa__toggleBtn:first-of-type{border-radius:6px 0 0 6px}.RedditCommentFormatterTool-module__bnSLDa__toggleBtn:last-of-type{border-radius:0 6px 6px 0}.RedditCommentFormatterTool-module__bnSLDa__toggleBtnActive{color:#fff;background:#6366f1;border-color:#6366f1}.RedditCommentFormatterTool-module__bnSLDa__previewContent{background:#fff;border-left:4px solid #d1d5db;min-height:200px;padding:20px}.RedditCommentFormatterTool-module__bnSLDa__previewContentNew{color:#1a1a1b;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5}.RedditCommentFormatterTool-module__bnSLDa__previewContentOld{color:#222;font-family:Verdana,Geneva,sans-serif;font-size:13px;line-height:1.5}.RedditCommentFormatterTool-module__bnSLDa__previewPlaceholder{color:#999;font-size:.85rem;font-style:italic}.RedditCommentFormatterTool-module__bnSLDa__previewContent h1{border-bottom:1px solid #edeff1;margin:0 0 12px;padding-bottom:6px;font-size:1.6em;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent h2{margin:20px 0 8px;font-size:1.3em;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent h3{margin:16px 0 6px;font-size:1.1em;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent h4,.RedditCommentFormatterTool-module__bnSLDa__previewContent h5,.RedditCommentFormatterTool-module__bnSLDa__previewContent h6{margin:14px 0 4px;font-size:1em;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent p{margin:0 0 10px}.RedditCommentFormatterTool-module__bnSLDa__previewContent strong{font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent em{font-style:italic}.RedditCommentFormatterTool-module__bnSLDa__previewContent del{text-decoration:line-through}.RedditCommentFormatterTool-module__bnSLDa__previewContent sup{vertical-align:super;font-size:.8em}.RedditCommentFormatterTool-module__bnSLDa__previewContent code{font-family:var(--font-dm-mono),"Courier New",monospace;background:#f6f7f8;border-radius:3px;padding:2px 4px;font-size:.9em}.RedditCommentFormatterTool-module__bnSLDa__previewContent pre{background:#f6f7f8;border-radius:6px;margin:8px 0;padding:16px;overflow-x:auto}.RedditCommentFormatterTool-module__bnSLDa__previewContent pre code{background:0 0;border-radius:0;padding:0;font-size:13px;line-height:1.5}.RedditCommentFormatterTool-module__bnSLDa__previewContent blockquote{color:var(--color-text-secondary);border-left:4px solid #d1d5db;margin:8px 0;padding-left:12px}.RedditCommentFormatterTool-module__bnSLDa__previewContent a{color:#0079d3;text-decoration:none}.RedditCommentFormatterTool-module__bnSLDa__previewContent a:hover{text-decoration:underline}.RedditCommentFormatterTool-module__bnSLDa__previewContent table{border-collapse:collapse;width:100%;margin:8px 0}.RedditCommentFormatterTool-module__bnSLDa__previewContent th,.RedditCommentFormatterTool-module__bnSLDa__previewContent td{text-align:left;border:1px solid #d1d5db;padding:8px 12px}.RedditCommentFormatterTool-module__bnSLDa__previewContent th{background:#f6f7f8;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__previewContent tbody tr:nth-child(2n){background:#fafbfc}.RedditCommentFormatterTool-module__bnSLDa__previewContent hr{border:none;border-top:1px solid var(--color-border);margin:16px 0}.RedditCommentFormatterTool-module__bnSLDa__previewContent ul,.RedditCommentFormatterTool-module__bnSLDa__previewContent ol{margin:8px 0;padding-left:24px}.RedditCommentFormatterTool-module__bnSLDa__previewContent li{margin-bottom:4px}.RedditCommentFormatterTool-module__bnSLDa__previewContent .RedditCommentFormatterTool-module__bnSLDa__spoiler{color:#0000;cursor:pointer;-webkit-user-select:none;user-select:none;background:#545452;border-radius:2px;padding:0 4px;transition:color .15s,background .15s}.RedditCommentFormatterTool-module__bnSLDa__previewContent .RedditCommentFormatterTool-module__bnSLDa__spoiler.RedditCommentFormatterTool-module__bnSLDa__revealed{color:#fff;background:#545452}.RedditCommentFormatterTool-module__bnSLDa__previewContentNew .RedditCommentFormatterTool-module__bnSLDa__spoiler.RedditCommentFormatterTool-module__bnSLDa__revealed{color:inherit;background:0 0}.RedditCommentFormatterTool-module__bnSLDa__previewContentOld .RedditCommentFormatterTool-module__bnSLDa__spoiler.RedditCommentFormatterTool-module__bnSLDa__revealed{color:#fff;background:#545452}.RedditCommentFormatterTool-module__bnSLDa__rawSection{border:1px solid var(--color-border);border-radius:12px;margin-top:24px;overflow:hidden}.RedditCommentFormatterTool-module__bnSLDa__rawToggle{background:var(--color-surface-2);cursor:pointer;width:100%;color:var(--color-text-secondary);border:none;justify-content:space-between;align-items:center;padding:14px 18px;font-size:.8rem;font-weight:600;transition:background .15s;display:flex}.RedditCommentFormatterTool-module__bnSLDa__rawToggle:hover{background:var(--color-border-subtle)}.RedditCommentFormatterTool-module__bnSLDa__rawToggleIcon{color:var(--color-text-muted);font-size:.75rem;transition:transform .2s}.RedditCommentFormatterTool-module__bnSLDa__rawToggleIconOpen{transform:rotate(180deg)}.RedditCommentFormatterTool-module__bnSLDa__rawBody{background:var(--color-surface);padding:16px}.RedditCommentFormatterTool-module__bnSLDa__rawPre{font-family:var(--font-dm-mono),monospace;white-space:pre-wrap;word-break:break-word;color:var(--color-text-primary);max-height:300px;margin:0 0 12px;font-size:13px;line-height:1.6;overflow-y:auto}.RedditCommentFormatterTool-module__bnSLDa__copyBtn{color:#fff;cursor:pointer;background:#6366f1;border:none;border-radius:8px;align-items:center;gap:6px;padding:8px 16px;font-size:.78rem;font-weight:600;transition:opacity .15s;display:inline-flex}.RedditCommentFormatterTool-module__bnSLDa__copyBtn:hover{opacity:.85}.RedditCommentFormatterTool-module__bnSLDa__copyBtn:disabled{opacity:.4;cursor:not-allowed}.RedditCommentFormatterTool-module__bnSLDa__referenceSection{border:1px solid var(--color-border);border-radius:12px;margin-top:32px;overflow:hidden}.RedditCommentFormatterTool-module__bnSLDa__referenceToggle{background:var(--color-surface-2);cursor:pointer;width:100%;color:var(--color-text-primary);border:none;justify-content:space-between;align-items:center;padding:16px 18px;font-size:.85rem;font-weight:700;transition:background .15s;display:flex}.RedditCommentFormatterTool-module__bnSLDa__referenceToggle:hover{background:var(--color-border-subtle)}.RedditCommentFormatterTool-module__bnSLDa__referenceBody{padding:20px}.RedditCommentFormatterTool-module__bnSLDa__referenceGrid{grid-template-columns:1fr 1fr;gap:10px 24px;display:grid}@media (max-width:600px){.RedditCommentFormatterTool-module__bnSLDa__referenceGrid{grid-template-columns:1fr}}.RedditCommentFormatterTool-module__bnSLDa__referenceRow{background:var(--color-surface);border:1px solid var(--color-border-subtle);border-radius:6px;align-items:center;gap:12px;padding:8px 12px;display:flex}.RedditCommentFormatterTool-module__bnSLDa__refSyntax{font-family:var(--font-dm-mono),monospace;color:#6366f1;white-space:nowrap;flex-shrink:0;min-width:110px;font-size:.78rem}.RedditCommentFormatterTool-module__bnSLDa__refArrow{color:var(--color-text-muted);flex-shrink:0;font-size:.75rem}.RedditCommentFormatterTool-module__bnSLDa__refResult{color:var(--color-text-primary);font-size:.82rem}.RedditCommentFormatterTool-module__bnSLDa__differencesSection{margin-top:24px}.RedditCommentFormatterTool-module__bnSLDa__differencesTitle{color:var(--color-text-primary);margin-bottom:14px;font-size:.9rem;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__differencesGrid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}@media (max-width:600px){.RedditCommentFormatterTool-module__bnSLDa__differencesGrid{grid-template-columns:1fr}}.RedditCommentFormatterTool-module__bnSLDa__diffCard{background:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:18px}.RedditCommentFormatterTool-module__bnSLDa__diffCardTitle{color:var(--color-text-primary);margin-bottom:6px;font-size:.82rem;font-weight:700}.RedditCommentFormatterTool-module__bnSLDa__diffCardBody{color:var(--color-text-muted);font-size:.75rem;line-height:1.6}.RedditCommentFormatterTool-module__bnSLDa__diffCardCode{font-family:var(--font-dm-mono),monospace;background:#f6f7f8;border-radius:3px;padding:1px 4px;font-size:.72rem;display:inline}
