.tc-toolbar{border:1px solid #6b537c;border-radius:12px;padding:16px 20px;background:#2b2037;display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:20px 0}.tc-toolbar p{margin:0;flex:1;min-width:220px;font-size:13px}.tc-toolbar button{min-width:145px}.tc-editors{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start}.tc-page textarea.tc-text{height:370px;min-height:260px;font:15px/1.8 ui-monospace,Consolas,monospace;tab-size:4;unicode-bidi:plaintext}.tc-page .tc-editors label{margin:0}.tc-page .tc-editors h2{margin-bottom:12px}.tc-page .tc-editors .nf-panel{margin:0}.tc-page .tc-meta{min-height:24px;margin:10px 0;color:#cfbce0;font-size:12px}.tc-page .tc-editor-actions{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.tc-rule{border:1px solid #665073;padding:18px;border-radius:12px;background:#181321;margin:14px 0}.tc-rule-head{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap}.tc-rule-head h3{margin:0}.tc-rule-head button{min-height:36px;padding:7px 12px}.tc-rule-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 180px;gap:16px;align-items:start}.tc-page .tc-rule textarea{height:76px;min-height:76px;font:14px/1.5 ui-monospace,Consolas,monospace}.tc-page .tc-rule select{margin-top:8px}.tc-page .tc-checks{display:flex;gap:18px;flex-wrap:wrap}.tc-page .tc-checks label,.tc-page .tc-rule-head label{display:flex;gap:9px;align-items:center;margin:10px 0;font-weight:400}.tc-page input[type=checkbox]{width:18px;height:18px;min-height:18px;accent-color:#c49cec}.tc-cleanup-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px 16px}.tc-page .tc-cleanup-grid label{display:flex;gap:10px;align-items:flex-start;margin:6px 0;font-weight:400}.tc-page .tc-cleanup-grid input{flex-shrink:0;margin-top:3px}.tc-page .tc-highlight{height:260px;overflow:auto;white-space:pre-wrap;unicode-bidi:plaintext;padding:18px;background:#15101f;border:1px solid #6d527d;border-radius:10px;font:14px/1.8 ui-monospace,Consolas,monospace;overflow-wrap:anywhere}.tc-highlight mark{background:#684b1d;color:#fff1c9;padding:0 2px;border-radius:3px}.tc-page .tc-results{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px}.tc-page .tc-results .nf-panel{margin:0}.tc-page .tc-stats{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.tc-stats span{padding:8px 12px;background:#17111f;border:1px solid #6a4f7d;border-radius:8px;font-size:13px}.tc-page .tc-rule-note{margin:4px 0 0;font-size:12px}.tc-page .tc-steps{padding-left:22px;font-size:14px}.tc-page .tc-steps li{margin:8px 0}.tc-page .tc-summary-top{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;align-items:center}.tc-page .tc-summary-top h2{margin:0}.tc-page .tc-inline{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.tc-page .tc-inline label{margin:0;min-width:200px}.tc-page .tc-jump{scroll-margin-top:110px}.tc-page [hidden]{display:none!important}.tc-page .tc-top-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.tc-page .tc-runbar{position:sticky;top:95px;z-index:3;box-shadow:0 8px 24px #0004}.tc-page .tc-shortcuts{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.tc-page .tc-help{font-size:13px}.tc-page .tc-output{background:#161120}@media(max-width:1100px){.tc-cleanup-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-rule-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 150px}.tc-page .tc-rule{padding:16px}}@media(max-width:850px){.tc-editors,.tc-page .tc-results{grid-template-columns:minmax(0,1fr)}.tc-rule-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.tc-rule-fields>label:last-child{grid-column:1/-1}.tc-page textarea.tc-text{height:250px;min-height:220px}.tc-page .tc-runbar{position:static}.tc-toolbar p{min-width:0;flex-basis:100%}.tc-page .tc-jump{scroll-margin-top:90px}.tc-page .tc-checks{gap:8px 16px}}@media(max-width:450px){.tc-rule-fields{grid-template-columns:minmax(0,1fr);gap:0}.tc-cleanup-grid{grid-template-columns:minmax(0,1fr)}.tc-rule-head h3{font-size:16px}.tc-page .tc-highlight{height:220px}.tc-page .tc-toolbar{padding:16px}}
.tc-page .tc-jump{scroll-margin-top:200px}.tc-page .tc-editors{margin-bottom:24px}.tc-page #tcStatus{margin:24px 0}.tc-page .tc-results{margin-top:24px}@media(max-width:850px){.tc-page .tc-jump{scroll-margin-top:90px}}
@media(max-width:850px){.tc-page .tc-runbar{position:sticky;top:82px;padding:12px;gap:10px}.tc-page .tc-runbar p{display:none}.tc-page .tc-runbar #tcCancel{min-width:70px}.tc-page .tc-runbar #tcCancel:disabled{display:none}.tc-page .tc-jump{scroll-margin-top:180px}}
