:root{--tc-primary:var(--main-primary);--tc-primary-hover:var(--main-primary-hover);--tc-text:#1f2937;--tc-text-muted:#6b7280;--tc-bg:#fff;--tc-bg-hover:#f9fafb;--tc-border:#e5e7eb;--tc-border-focus:var(--main-primary);--tc-radius:var(--main-radius);--tc-radius-lg:var(--main-radius-lg);--tc-shadow:0 1px 3px #0000001a;--tc-shadow-lg:0 4px 12px #0000001a;--tc-transition:.2s ease}._tc-container{flex-direction:column;gap:1.25rem;max-width:1200px;margin:0 auto;display:flex}._tc-main{grid-template-columns:1fr 24px 1fr;align-items:stretch;gap:.5rem;display:grid}._tc-arrow{color:var(--tc-text-muted);flex-shrink:0;justify-content:center;align-items:center;width:24px;display:flex}._tc-arrow svg{opacity:.4;width:16px;height:16px}body.app-fullscreen-mode ._tc-container{flex-direction:column;max-width:100%;height:100%;display:flex}body.app-fullscreen-mode ._tc-main{flex:1;min-height:0}body.app-fullscreen-mode ._tc-panel{flex-direction:column;height:100%;display:flex}body.app-fullscreen-mode ._tc-textarea{flex:1;min-height:400px;max-height:none}body.app-fullscreen-mode ._tc-options-card,body.app-fullscreen-mode ._tc-regex-section{flex-shrink:0}@media (max-width:768px){._tc-container{padding-left:1rem;padding-right:1rem}._tc-main{grid-template-columns:1fr;gap:.75rem}._tc-arrow{display:none}body.app-fullscreen-mode ._tc-textarea{min-height:250px}}._tc-options-card{background:var(--tc-bg);border-radius:var(--tc-radius-lg);box-shadow:var(--tc-shadow);flex-direction:column;gap:1.25rem;padding:1.25rem;display:flex}._tc-presets{border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--tc-border);flex-wrap:wrap;gap:.5rem;padding-bottom:1rem;display:flex}._tc-preset{border-style:solid;border-width:1px;border-color:var(--tc-border);border-radius:var(--tc-radius-lg);color:var(--tc-text);cursor:pointer;transition:all var(--tc-transition);background:0 0;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;display:inline-flex}._tc-preset:hover{border-color:var(--tc-primary);color:var(--tc-primary)}._tc-preset.active{background:var(--tc-primary);border-color:var(--tc-primary);color:#fff}._tc-preset svg{flex-shrink:0;width:16px;height:16px}._tc-options-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem;display:grid}._tc-option-group{flex-direction:column;gap:.75rem;display:flex}._tc-option-group-title{text-transform:uppercase;letter-spacing:.05em;color:var(--tc-text-muted);border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--tc-border);padding-bottom:.5rem;font-size:.75rem;font-weight:600}._tc-option-items{flex-direction:column;gap:.5rem;display:flex}._tc-checkbox{cursor:pointer;color:var(--tc-text);-webkit-user-select:none;user-select:none;align-items:center;gap:.625rem;font-size:.875rem;display:flex}._tc-checkbox input{opacity:0;cursor:pointer;width:0;height:0;position:absolute}._tc-checkmark{background:var(--tc-bg);border-style:solid;border-width:2px;border-color:var(--tc-border);width:18px;height:18px;transition:all var(--tc-transition);border-radius:4px;flex-shrink:0;position:relative}._tc-checkbox:hover ._tc-checkmark{border-color:var(--tc-primary)}._tc-checkbox input:checked~._tc-checkmark{background:var(--tc-primary);border-color:var(--tc-primary)}._tc-checkmark:after{content:"";border:2px solid #fff;border-width:0 2px 2px 0;width:5px;height:9px;display:none;position:absolute;top:2px;left:5px;transform:rotate(45deg)}._tc-checkbox input:checked~._tc-checkmark:after{display:block}@media (max-width:1024px){._tc-options-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){._tc-options-card{padding:1rem}._tc-presets{gap:.375rem}._tc-preset{padding:.375rem .75rem;font-size:.8125rem}._tc-preset span{display:none}._tc-preset svg{width:18px;height:18px}._tc-options-grid{grid-template-columns:1fr}}._tc-panel{background:var(--tc-bg);border-radius:var(--tc-radius-lg);box-shadow:var(--tc-shadow);flex-direction:column;display:flex;overflow:hidden}._tc-panel-header{background:var(--tc-bg-hover);border-bottom-style:solid;border-bottom-width:1px;border-bottom-color:var(--tc-border);justify-content:space-between;align-items:center;padding:.625rem 1rem;display:flex;position:relative}._tc-panel-title-group{align-items:center;gap:.5rem;display:flex}._tc-panel-title-group svg{opacity:.6;width:14px;height:14px}._tc-panel-indicator{border-radius:2px;width:3px;height:18px;margin-right:.25rem}._tc-header-input{background:linear-gradient(to right, #6366f114, var(--tc-bg-hover))}._tc-header-input ._tc-panel-indicator{background:var(--tc-primary)}._tc-header-input svg{color:var(--tc-primary)}._tc-header-output{background:linear-gradient(to right, #10b98114, var(--tc-bg-hover))}._tc-header-output ._tc-panel-indicator{background:#10b981}._tc-header-output svg{color:#10b981}._tc-panel-title{color:var(--tc-text);text-transform:uppercase;letter-spacing:.03em;font-size:.8125rem;font-weight:600}._tc-panel-actions{gap:.25rem;display:flex}._tc-panel-footer{border-top-style:solid;border-top-width:1px;border-top-color:var(--tc-border);background:var(--tc-bg-hover);justify-content:flex-end;align-items:center;padding:.5rem 1rem;display:flex}._tc-stats{align-items:center;gap:.75rem;display:flex}._tc-stat{align-items:baseline;gap:.25rem;display:flex}._tc-stat-value{color:var(--tc-text);font-size:.875rem;font-weight:600}._tc-stat-label{color:var(--tc-text-muted);font-size:.75rem}._tc-stat-divider{background:var(--tc-border);width:1px;height:12px}._tc-btn-icon{border-radius:var(--tc-radius);width:32px;height:32px;color:var(--tc-text-muted);cursor:pointer;transition:all var(--tc-transition);background:0 0;border:none;justify-content:center;align-items:center;display:flex}._tc-btn-icon:hover:not(:disabled){background:var(--tc-bg-hover);color:var(--tc-primary)}._tc-btn-icon:disabled{opacity:.4;cursor:not-allowed}._tc-btn-icon svg{width:16px;height:16px}._tc-textarea{min-height:200px;color:var(--tc-text);resize:none;background:0 0;border:none;flex:1;padding:1rem;font-family:inherit;font-size:.9375rem;line-height:1.6}._tc-textarea:focus{outline:none}._tc-textarea::placeholder{color:var(--tc-text-muted);opacity:.7}._tc-textarea[readonly]{cursor:default}@media (max-width:768px){._tc-textarea{min-height:150px}._tc-panel-footer{justify-content:center}}._tc-regex-section{flex-direction:column;align-items:center;display:flex}._tc-regex-toggle{background:var(--tc-bg);border-style:solid;border-width:1px;border-color:var(--tc-border);border-radius:var(--tc-radius-lg);color:var(--tc-text-muted);cursor:pointer;transition:all var(--tc-transition);align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;display:inline-flex}._tc-regex-toggle:hover,._tc-regex-toggle.active{border-color:var(--tc-primary);color:var(--tc-primary)}._tc-regex-toggle.active svg:last-child{transform:rotate(180deg)}._tc-regex-toggle svg{width:16px;height:16px;transition:transform var(--tc-transition)}._tc-regex-toggle svg:last-child{width:12px;height:12px}._tc-regex-panel{background:var(--tc-bg);border-radius:var(--tc-radius-lg);width:100%;box-shadow:var(--tc-shadow);flex-direction:column;gap:1rem;margin-top:1rem;padding:1.25rem;display:none}._tc-regex-panel.active{display:flex}._tc-regex-presets{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}._tc-regex-presets-label{color:var(--tc-text-muted);margin-right:.25rem;font-size:.8125rem}._tc-regex-preset-btns{flex-wrap:wrap;gap:.375rem;display:flex}._tc-regex-preset-btn{border-style:solid;border-width:1px;border-color:var(--tc-border);border-radius:var(--tc-radius);color:var(--tc-text);cursor:pointer;transition:all var(--tc-transition);background:0 0;padding:.25rem .625rem;font-size:.75rem;font-weight:500}._tc-regex-preset-btn:hover{border-color:var(--tc-primary);color:var(--tc-primary);background:#6366f10d}._tc-regex-input-row{align-items:stretch;gap:.75rem;display:flex}._tc-regex-input-wrapper{background:var(--tc-bg-hover);border-style:solid;border-width:1px;border-color:var(--tc-border);border-radius:var(--tc-radius);flex:1;align-items:center;display:flex;overflow:hidden}._tc-regex-input-wrapper:focus-within{border-color:var(--tc-primary)}._tc-regex-slash{color:var(--tc-text-muted);font-family:var(--main-font-mono);-webkit-user-select:none;user-select:none;padding:0 .5rem;font-size:.9375rem}._tc-regex-input{color:var(--tc-text);font-family:var(--main-font-mono);background:0 0;border:none;flex:1;padding:.625rem 0;font-size:.875rem}._tc-regex-input:focus{outline:none}._tc-regex-flags{width:3rem;color:var(--tc-text);font-family:var(--main-font-mono);text-align:center;background:0 0;border:none;padding:.625rem .5rem;font-size:.875rem}._tc-regex-flags:focus{outline:none}._tc-regex-replace{background:var(--tc-bg-hover);border-style:solid;border-width:1px;border-color:var(--tc-border);border-radius:var(--tc-radius);width:200px;color:var(--tc-text);padding:.625rem .75rem;font-size:.875rem}._tc-regex-replace:focus{border-color:var(--tc-primary);outline:none}._tc-regex-apply{background:var(--tc-primary);border-radius:var(--tc-radius);color:#fff;cursor:pointer;transition:opacity var(--tc-transition);border:none;align-items:center;gap:.375rem;padding:.625rem 1rem;font-size:.875rem;font-weight:500;display:inline-flex}._tc-regex-apply:hover{opacity:.9}._tc-regex-apply svg{width:14px;height:14px}._tc-regex-help{margin-top:.5rem}._tc-regex-help summary{color:var(--tc-text-muted);cursor:pointer;-webkit-user-select:none;user-select:none;align-items:center;gap:.375rem;padding:.375rem 0;font-size:.8125rem;display:inline-flex}._tc-regex-help summary:hover{color:var(--tc-primary)}._tc-regex-help summary svg{width:14px;height:14px}._tc-regex-help-content{background:var(--tc-bg-hover);border-radius:var(--tc-radius);margin-top:.75rem;padding:1rem}._tc-regex-help-grid{grid-template-columns:repeat(4,1fr);gap:1.5rem;display:grid}._tc-regex-help-group{color:var(--tc-text);font-size:.8125rem;line-height:1.8}._tc-regex-help-title{color:var(--tc-text);margin-bottom:.375rem;font-weight:600}._tc-regex-help-group code{background:var(--tc-bg);min-width:2.5rem;font-family:var(--main-font-mono);color:var(--tc-primary);border-radius:3px;margin-right:.25rem;padding:.125rem .375rem;font-size:.75rem;display:inline-block}@media (max-width:1024px){._tc-regex-help-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:768px){._tc-regex-input-row{flex-direction:column}._tc-regex-replace{width:100%}}@media (max-width:640px){._tc-regex-help-grid{grid-template-columns:1fr}}
