.text-corrector-container{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;max-width:1200px;margin:0 auto;background:#f8fafc;border-radius:12px;overflow:hidden;box-shadow:0 4px 6px -1px rgb(0 0 0 / .1);transition:all 0.3s ease}.text-corrector-container[data-theme="dark"]{background:#1f2937;color:#f9fafb}.tc-header{background:linear-gradient(135deg,#3b82f6 0%,#1d4ed8 100%);color:#fff;padding:1.5rem}.tc-header-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem}.tc-title-section{display:flex;align-items:center;gap:1rem}.tc-logo{width:48px;height:48px;background:rgb(255 255 255 / .2);border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff}.tc-title{font-size:1.5rem;font-weight:700;margin:0;line-height:1.2}.tc-subtitle{font-size:.875rem;opacity:.9;margin:.25rem 0 0 0}.tc-header-actions{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.tc-error-summary{display:flex;align-items:center;gap:.5rem}.tc-error-count{background:rgb(239 68 68 / .9);color:#fff;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}.tc-btn{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:none;border-radius:8px;font-size:.875rem;font-weight:500;cursor:pointer;transition:all 0.2s ease;text-decoration:none}.tc-btn-primary{background:rgb(255 255 255 / .2);color:#fff;backdrop-filter:blur(10px)}.tc-btn-primary:hover{background:rgb(255 255 255 / .3);transform:translateY(-1px)}.tc-btn-secondary{background:rgb(255 255 255 / .1);color:#fff}.tc-btn-secondary:hover{background:rgb(255 255 255 / .2)}.tc-btn-icon{padding:.5rem;background:rgb(255 255 255 / .1);color:#fff}.tc-btn-icon:hover{background:rgb(255 255 255 / .2)}.tc-main{display:grid;grid-template-columns:1fr 320px;gap:1.5rem;padding:1.5rem;min-height:600px}@media (max-width:768px){.tc-main{grid-template-columns:1fr;gap:1rem;padding:1rem}}.tc-editor-section{display:flex;flex-direction:column}.tc-editor-container{background:#fff;border-radius:12px;box-shadow:0 1px 3px rgb(0 0 0 / .1);overflow:hidden;flex:1}.text-corrector-container[data-theme="dark"] .tc-editor-container{background:#374151}.tc-editor-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb}.text-corrector-container[data-theme="dark"] .tc-editor-header{border-bottom-color:#4b5563}.tc-editor-header h2{font-size:1.125rem;font-weight:600;margin:0;color:#111827}.text-corrector-container[data-theme="dark"] .tc-editor-header h2{color:#f9fafb}.tc-text-stats{display:flex;gap:1rem;font-size:.875rem;color:#6b7280}.text-corrector-container[data-theme="dark"] .tc-text-stats{color:#9ca3af}.tc-editor-wrapper{position:relative;flex:1}.tc-textarea{width:100%;min-height:400px;padding:1.5rem;border:none;outline:none;font-size:1rem;line-height:1.6;font-family:inherit;resize:vertical;background:#fff0;color:#111827}.text-corrector-container[data-theme="dark"] .tc-textarea{color:#f9fafb}.tc-textarea::placeholder{color:#9ca3af}.tc-error-overlay{position:absolute;top:0;left:0;right:0;bottom:0;padding:1.5rem;pointer-events:none;font-size:1rem;line-height:1.6;font-family:inherit;white-space:pre-wrap;overflow:auto}.tc-sidebar{display:flex;flex-direction:column;gap:1rem}.tc-panel{background:#fff;border-radius:12px;box-shadow:0 1px 3px rgb(0 0 0 / .1);overflow:hidden}.text-corrector-container[data-theme="dark"] .tc-panel{background:#374151}.tc-panel-header{display:flex;justify-content:space-between;align-items:center;padding:1rem 1.5rem;border-bottom:1px solid #e5e7eb;background:#f9fafb}.text-corrector-container[data-theme="dark"] .tc-panel-header{background:#4b5563;border-bottom-color:#6b7280}.tc-panel-header h3{font-size:1rem;font-weight:600;margin:0;color:#111827}.text-corrector-container[data-theme="dark"] .tc-panel-header h3{color:#f9fafb}.tc-panel-content{padding:1.5rem}.tc-badge{background:#3b82f6;color:#fff;padding:.25rem .5rem;border-radius:9999px;font-size:.75rem;font-weight:600}.tc-stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}.tc-stat-item{text-align:center;padding:1rem;background:#f3f4f6;border-radius:8px}.text-corrector-container[data-theme="dark"] .tc-stat-item{background:#4b5563}.tc-stat-label{font-size:.75rem;color:#6b7280;margin-bottom:.25rem}.text-corrector-container[data-theme="dark"] .tc-stat-label{color:#9ca3af}.tc-stat-value{font-size:1.25rem;font-weight:700;color:#111827}.text-corrector-container[data-theme="dark"] .tc-stat-value{color:#f9fafb}.tc-readability{padding:1rem;background:#f3f4f6;border-radius:8px}.text-corrector-container[data-theme="dark"] .tc-readability{background:#4b5563}.tc-readability-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.875rem;font-weight:500}.tc-readability-bar{height:8px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:.5rem}.text-corrector-container[data-theme="dark"] .tc-readability-bar{background:#6b7280}.tc-readability-fill{height:100%;background:linear-gradient(90deg,#ef4444 0%,#f59e0b 50%,#10b981 100%);transition:width 0.3s ease}.tc-readability-level{font-size:.75rem;color:#6b7280;text-align:center}.text-corrector-container[data-theme="dark"] .tc-readability-level{color:#9ca3af}.tc-errors-list{max-height:300px;overflow-y:auto}.tc-no-errors{text-align:center;padding:2rem 1rem;color:#6b7280}.text-corrector-container[data-theme="dark"] .tc-no-errors{color:#9ca3af}.tc-no-errors svg{color:#10b981;margin-bottom:1rem}.tc-no-errors p{font-weight:600;margin:0 0 .5rem 0;color:#111827}.text-corrector-container[data-theme="dark"] .tc-no-errors p{color:#f9fafb}.tc-error-item{padding:1rem;border-left:4px solid #ef4444;background:#fef2f2;margin-bottom:.5rem;border-radius:0 8px 8px 0;cursor:pointer;transition:all 0.2s ease}.tc-error-item:hover{background:#fee2e2;transform:translateX(2px)}.tc-error-item.warning{border-left-color:#f59e0b;background:#fffbeb}.tc-error-item.warning:hover{background:#fef3c7}.tc-error-item.suggestion{border-left-color:#3b82f6;background:#eff6ff}.tc-error-item.suggestion:hover{background:#dbeafe}.text-corrector-container[data-theme="dark"] .tc-error-item{background:rgb(239 68 68 / .1)}.text-corrector-container[data-theme="dark"] .tc-error-item:hover{background:rgb(239 68 68 / .2)}.tc-error-category{font-size:.75rem;font-weight:600;color:#ef4444;margin-bottom:.25rem}.tc-error-message{font-size:.875rem;color:#111827;margin-bottom:.5rem}.text-corrector-container[data-theme="dark"] .tc-error-message{color:#f9fafb}.tc-error-suggestion{font-size:.75rem;color:#10b981;font-weight:500}.tc-setting-group{margin-bottom:1rem}.tc-setting-group label{display:block;font-size:.875rem;font-weight:500;color:#374151;margin-bottom:.5rem}.text-corrector-container[data-theme="dark"] .tc-setting-group label{color:#d1d5db}.tc-select{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.875rem;background:#fff;color:#111827}.text-corrector-container[data-theme="dark"] .tc-select{background:#4b5563;border-color:#6b7280;color:#f9fafb}.tc-checkbox-label{display:flex!important;align-items:center;gap:.5rem;cursor:pointer;margin-bottom:0!important}.tc-checkbox-label input[type="checkbox"]{display:none}.tc-checkmark{width:18px;height:18px;border:2px solid #d1d5db;border-radius:4px;position:relative;transition:all 0.2s ease}.tc-checkbox-label input[type="checkbox"]:checked+.tc-checkmark{background:#3b82f6;border-color:#3b82f6}.tc-checkbox-label input[type="checkbox"]:checked+.tc-checkmark::after{content:'';position:absolute;left:5px;top:2px;width:4px;height:8px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.tc-error-highlight{background:rgb(239 68 68 / .2);border-bottom:2px solid #ef4444;border-radius:2px;cursor:pointer;position:relative}.tc-error-highlight.warning{background:rgb(245 158 11 / .2);border-bottom-color:#f59e0b}.tc-error-highlight.suggestion{background:rgb(59 130 246 / .2);border-bottom-color:#3b82f6}.tc-error-highlight:hover{opacity:.8}.tc-suggestion-popup{position:fixed;z-index:1000;background:#fff;border-radius:8px;box-shadow:0 10px 25px rgb(0 0 0 / .15);border:1px solid #e5e7eb;max-width:300px;animation:fadeIn 0.2s ease}.text-corrector-container[data-theme="dark"] .tc-suggestion-popup{background:#374151;border-color:#4b5563}@keyframes fadeIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.tc-suggestion-content{padding:1rem}.tc-suggestion-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.tc-suggestion-category{font-size:.75rem;font-weight:600;color:#3b82f6;text-transform:uppercase}.tc-suggestion-close{background:none;border:none;font-size:1.25rem;cursor:pointer;color:#6b7280;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.tc-suggestion-close:hover{color:#374151}.tc-suggestion-message{font-size:.875rem;color:#374151;margin-bottom:1rem;line-height:1.5}.text-corrector-container[data-theme="dark"] .tc-suggestion-message{color:#d1d5db}.tc-suggestion-actions{display:flex;gap:.5rem}.tc-suggestion-actions .tc-btn{flex:1;justify-content:center;font-size:.75rem;padding:.5rem .75rem}.text-corrector-container[data-theme="dark"] .tc-btn-primary{background:#3b82f6;color:#fff}.text-corrector-container[data-theme="dark"] .tc-btn-primary:hover{background:#2563eb}.text-corrector-container[data-theme="dark"] .tc-btn-secondary{background:#4b5563;color:#d1d5db}.text-corrector-container[data-theme="dark"] .tc-btn-secondary:hover{background:#6b7280}.text-corrector-container[data-theme="dark"] .tc-sun-icon{display:none}.text-corrector-container[data-theme="dark"] .tc-moon-icon{display:block!important}@media (max-width:768px){.tc-header-content{flex-direction:column;align-items:flex-start}.tc-header-actions{width:100%;justify-content:space-between}.tc-stats-grid{grid-template-columns:1fr;gap:.5rem}.tc-main{padding:1rem}.tc-textarea{min-height:300px}}.tc-loading{opacity:.6;pointer-events:none}.tc-loading::after{content:'';position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;border:2px solid #3b82f6;border-top-color:#fff0;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}