.text-cleaner-tool{gap:18px;display:grid}.text-cleaner-header{border:1px solid var(--color-border);background:var(--color-surface);border-radius:17px;justify-content:space-between;align-items:flex-start;gap:14px;padding:18px;display:flex}.text-cleaner-header>div:first-child,.text-cleaner-find-card header>div,.text-cleaner-length-card header>div,.text-cleaner-history-card header>div{align-items:flex-start;gap:9px;display:flex}.text-cleaner-header svg,.text-cleaner-find-card header svg,.text-cleaner-length-card header svg,.text-cleaner-history-card header svg{color:var(--color-primary)}.text-cleaner-header h2,.text-cleaner-find-card h2,.text-cleaner-length-card h2,.text-cleaner-history-card h2{margin:0;font-size:18px}.text-cleaner-header p,.text-cleaner-find-card p,.text-cleaner-length-card p,.text-cleaner-history-card p{color:var(--color-text-secondary);margin:4px 0 0;font-size:11px;line-height:1.55}.text-cleaner-header-actions{flex-wrap:wrap;gap:7px;display:flex}.text-cleaner-header-actions button,.text-cleaner-quick-actions button,.text-cleaner-editor header button,.text-cleaner-editor footer button,.text-cleaner-find-card button,.text-cleaner-length-card button,.text-cleaner-history-card button{border:1px solid var(--color-border);min-height:39px;color:var(--color-text);cursor:pointer;background:#fff;border-radius:9px;justify-content:center;align-items:center;gap:7px;padding-inline:11px;font-weight:700;display:inline-flex}.text-cleaner-quick-actions{border:1px solid var(--color-border);background:#f8f9fc;border-radius:14px;flex-wrap:wrap;gap:8px;padding:13px;display:flex}.text-cleaner-quick-actions button:first-child{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.text-cleaner-quick-actions button:disabled,.text-cleaner-editor footer button:disabled,.text-cleaner-history-card button:disabled{opacity:.45;cursor:default}.text-cleaner-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.text-cleaner-editor{border:1px solid var(--color-border);background:var(--color-surface);border-radius:17px;grid-template-rows:auto minmax(0,1fr) auto;min-height:560px;padding:0;display:grid;overflow:hidden}.text-cleaner-editor.is-dragging{border-color:var(--color-primary);box-shadow:0 0 0 3px var(--color-primary-soft)}.text-cleaner-editor>header{border-bottom:1px solid var(--color-border);background:#f8f9fc;justify-content:space-between;align-items:center;gap:10px;padding:11px 13px;display:flex}.text-cleaner-editor>header>div{align-items:center;gap:8px;font-weight:750;display:flex}.text-cleaner-editor>header svg{color:var(--color-primary)}.text-cleaner-editor>header button{width:34px;min-height:34px;padding:0}.text-cleaner-editor textarea{resize:none;width:100%;height:100%;min-height:470px;color:var(--color-text);background:#fff;border:0;outline:0;padding:17px;font:15px/1.75 system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.text-cleaner-editor:nth-child(2) textarea{color:#e3e9f4;background:#101522;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace}.text-cleaner-editor>footer{border-top:1px solid var(--color-border);background:#f8f9fc;justify-content:space-between;align-items:center;gap:9px;padding:9px 12px;display:flex}.text-cleaner-editor>footer>span{color:var(--color-text-secondary);font-size:10px}.text-cleaner-operation-sections{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.text-cleaner-operation-sections>article{border:1px solid var(--color-border);background:var(--color-surface);border-radius:15px;padding:16px}.text-cleaner-operation-sections h2{margin:0 0 11px;font-size:17px}.text-cleaner-operation-sections article>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.text-cleaner-operation-sections article>div>button{border:1px solid var(--color-border);cursor:pointer;text-align:left;background:#f8f9fc;border-radius:10px;padding:11px;display:block}.text-cleaner-operation-sections article>div>button:hover{border-color:var(--color-primary);background:var(--color-primary-soft)}.text-cleaner-operation-sections strong,.text-cleaner-operation-sections small{display:block}.text-cleaner-operation-sections small{color:var(--color-text-secondary);margin-top:4px;line-height:1.45}.text-cleaner-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.text-cleaner-find-card,.text-cleaner-length-card,.text-cleaner-history-card{border:1px solid var(--color-border);background:var(--color-surface);border-radius:17px;padding:18px}.text-cleaner-find-card>header,.text-cleaner-length-card>header{margin-bottom:14px}.text-cleaner-find-card>label,.text-cleaner-length-card>label{gap:6px;margin-top:10px;display:grid}.text-cleaner-find-card label>span,.text-cleaner-length-card label>span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px;font-weight:700}.text-cleaner-find-card input,.text-cleaner-length-card input{border:1px solid var(--color-border);border-radius:9px;min-height:41px;padding-inline:10px}.text-cleaner-checkboxes{flex-wrap:wrap;gap:14px;margin:12px 0;display:flex}.text-cleaner-checkboxes label{align-items:center;gap:7px;display:flex}.text-cleaner-checkboxes input{width:18px;height:18px;accent-color:var(--color-primary)}.text-cleaner-find-card>button,.text-cleaner-length-card>button{border-color:var(--color-primary);background:var(--color-primary);color:#fff;margin-top:12px}.text-cleaner-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}.text-cleaner-stats-grid article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:10px;padding:12px}.text-cleaner-stats-grid span,.text-cleaner-stats-grid strong{display:block}.text-cleaner-stats-grid span{color:var(--color-text-secondary);text-transform:uppercase;font-size:9px}.text-cleaner-stats-grid strong{margin-top:5px;font-size:17px}.text-cleaner-history-card>header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.text-cleaner-history-card>div{gap:8px;display:grid}.text-cleaner-history-card>div>article{border:1px solid var(--color-border);background:#f8f9fc;border-radius:10px;grid-template-columns:180px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px;display:grid}.text-cleaner-history-card article strong,.text-cleaner-history-card article small{display:block}.text-cleaner-history-card article small{color:var(--color-text-secondary);margin-top:4px}.text-cleaner-history-card article p{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.text-cleaner-history-card article>div:last-child{gap:6px;display:flex}.text-cleaner-history-card article>div:last-child button:last-child{width:38px;padding:0}.text-cleaner-empty-note{border:1px dashed var(--color-border);color:var(--color-text-secondary);text-align:center;border-radius:10px;padding:20px}.text-cleaner-status{color:#267452;background:#eefaf4;border:1px solid #bde3cf;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px;padding:13px;display:grid}.text-cleaner-status span{color:var(--color-text-secondary);font-size:11px}.text-cleaner-privacy{color:var(--color-text-secondary);justify-content:center;align-items:center;gap:8px;font-size:11px;display:flex}.text-cleaner-privacy svg{color:#267452}@media (width<=1050px){.text-cleaner-operation-sections article>div{grid-template-columns:1fr}.text-cleaner-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=900px){.text-cleaner-header{flex-direction:column;align-items:stretch}.text-cleaner-header-actions button{flex:1}.text-cleaner-editor-grid,.text-cleaner-operation-sections,.text-cleaner-tools-grid,.text-cleaner-history-card>div>article{grid-template-columns:1fr}.text-cleaner-history-card article p{white-space:normal}.text-cleaner-history-card article>div:last-child{justify-content:flex-end}}@media (width<=650px){.text-cleaner-quick-actions{display:grid}.text-cleaner-editor>footer{flex-direction:column;align-items:stretch}.text-cleaner-editor>footer button{width:100%}.text-cleaner-history-card>header{flex-direction:column;align-items:stretch}.text-cleaner-stats-grid{grid-template-columns:1fr 1fr}}
