/**
 * BOLEDITOR v1.0.0
 * Enterprise Rich Text Editor with AI Integration
 * 
 * @author BolEditor Team
 * @license Commercial - CodeCanyon
 * @homepage https://boleditor.com
 */

:root{--color-primary: #6366f1;--color-primary-dark: #4f46e5;--color-primary-light: #a5b4fc;--color-primary-lighter: #e0e7ff;--color-primary-rgb: 99, 102, 241;--color-accent: #8b5cf6;--color-accent-dark: #7c3aed;--color-success: #10b981;--color-success-dark: #059669;--color-success-light: #d1fae5;--color-warning: #f59e0b;--color-warning-dark: #d97706;--color-warning-light: #fef3c7;--color-danger: #ef4444;--color-danger-dark: #dc2626;--color-danger-light: #fee2e2;--color-info: #06b6d4;--color-info-dark: #0891b2;--color-info-light: #cffafe;--text-primary: #0f172a;--text-secondary: #475569;--text-tertiary: #64748b;--text-muted: #94a3b8;--text-disabled: #cbd5e1;--text-inverse: #ffffff;--text-placeholder: #94a3b8;--bg-surface: #ffffff;--bg-surface-secondary: #f8fafc;--bg-surface-tertiary: #f1f5f9;--bg-surface-hover: #f1f5f9;--bg-overlay: rgba(15, 23, 42, 0.5);--border-color: #e2e8f0;--border-color-medium: #cbd5e1;--border-color-dark: #94a3b8;--space-xs: 0.25rem;--space-sm: 0.5rem;--space: 1rem;--space-md: 1.5rem;--space-lg: 2rem;--space-xl: 3rem;--radius-xs: 0.125rem;--radius-sm: 0.25rem;--radius: 0.375rem;--radius-md: 0.5rem;--radius-lg: 0.75rem;--radius-xl: 1rem;--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);--font-family-base: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;--font-family-mono: JetBrains Mono, Fira Code, Monaco, Menlo, Ubuntu Mono, Consolas, monospace;--font-size-xs: 0.75rem;--font-size-sm: 0.875rem;--font-size-base: 1rem;--font-size-lg: 1.125rem;--font-size-xl: 1.25rem;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--transition-fast: all 0.15s ease;--transition: all 0.3s ease;--transition-slow: all 0.5s ease;--border-width: 1px;--input-bg: #ffffff;--input-border: #e2e8f0;--input-color: #0f172a}.boleditor{font-family:var(--font-family-base);font-size:var(--font-size-base);line-height:1.5;color:var(--text-primary);background:var(--bg-surface);border:var(--border-width) solid var(--border-color-medium);border-radius:var(--radius-md);box-shadow:var(--shadow-sm);overflow:hidden;transition:var(--transition)}.boleditor *{box-sizing:border-box}.boleditor:hover{box-shadow:var(--shadow-md);border-color:var(--border-color-dark)}.bol-form__group{margin-bottom:1.25rem}.bol-form__label{display:block;margin-bottom:.5rem;color:var(--text-primary);font-weight:var(--font-weight-medium);font-size:var(--font-size-sm)}.bol-form__input{width:100%;background:var(--input-bg);border:var(--border-width) solid var(--input-border);border-radius:var(--radius-sm);padding:0.625rem 0.875rem;color:var(--input-color);font-size:var(--font-size-sm);transition:var(--transition-fast);outline:none;font-family:var(--font-family-base)}.bol-form__input::placeholder{color:var(--text-placeholder)}.bol-form__input:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.bol-form__input:disabled{opacity:.6;cursor:not-allowed}textarea.bol-form__input{resize:vertical;min-height:100px}.bol-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:0.625rem 1.25rem;border:var(--border-width) solid rgba(0,0,0,0);border-radius:var(--radius-sm);font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);cursor:pointer;transition:var(--transition-fast);outline:none;text-decoration:none;white-space:nowrap}.bol-btn:disabled{opacity:.5;cursor:not-allowed}.bol-btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.bol-btn--primary{background:var(--color-primary);color:var(--text-inverse)}.bol-btn--primary:hover:not(:disabled){background:var(--color-primary-dark)}.bol-btn--primary:active:not(:disabled){transform:translateY(1px)}.bol-btn--secondary{background:var(--bg-surface-tertiary);color:var(--text-primary);border-color:var(--border-color)}.bol-btn--secondary:hover:not(:disabled){background:var(--bg-surface-secondary)}.bol-btn--secondary:active:not(:disabled){transform:translateY(1px)}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideInRight{from{opacity:0;transform:translateX(100px)}to{opacity:1;transform:translateX(0)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}@media(prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}@media print{.boleditor{border:1px solid #000;box-shadow:none;page-break-inside:avoid}.boleditor__toolbar,.boleditor__status{display:none !important}}.boleditor__toolbar{background:var(--bg-surface-secondary);border-bottom:var(--border-width) solid var(--border-color-medium);padding:0.5rem;display:flex;flex-wrap:wrap;gap:0.25rem;align-items:center}.boleditor__button-group{display:flex;gap:0.25rem;padding-right:.5rem;border-right:var(--border-width) solid var(--border-color)}.boleditor__button-group:last-child{border-right:none;padding-right:0}.boleditor__button-group--plugins{margin-left:auto}.boleditor__btn{background:rgba(0,0,0,0);border:var(--border-width) solid rgba(0,0,0,0);border-radius:var(--radius-sm);padding:0.5rem 0.5rem;color:var(--text-secondary);cursor:pointer;font-size:1rem;line-height:1;transition:var(--transition-fast);min-width:2rem;display:flex;align-items:center;justify-content:center;position:relative}.boleditor__btn:hover{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-color)}.boleditor__btn.active{background:var(--color-primary-light);color:var(--color-primary);border-color:var(--color-primary-light)}.boleditor__btn:disabled{opacity:.4;cursor:not-allowed}.boleditor__btn:focus-visible{outline:2px solid var(--color-primary);outline-offset:2px}.boleditor__btn strong,.boleditor__btn em,.boleditor__btn u,.boleditor__btn s{pointer-events:none}.boleditor__select{background:var(--input-bg);border:var(--border-width) solid var(--input-border);border-radius:var(--radius-sm);padding:.5rem;color:var(--input-color);cursor:pointer;font-size:var(--font-size-sm);transition:var(--transition-fast);outline:none}.boleditor__select:hover{border-color:var(--border-color-dark)}.boleditor__select:focus{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.boleditor__color-input{width:2.5rem;height:2rem;border:var(--border-width) solid var(--border-color);border-radius:var(--radius-sm);cursor:pointer;padding:.125rem;background:var(--bg-surface)}.boleditor__color-input::-webkit-color-swatch-wrapper{padding:0}.boleditor__color-input::-webkit-color-swatch{border:none;border-radius:calc(var(--radius-sm) - 2px)}.boleditor__color-input::-moz-color-swatch{border:none;border-radius:calc(var(--radius-sm) - 2px)}@media(max-width: 768px){.boleditor__toolbar{padding:.375rem}.boleditor__button-group{padding-right:.375rem;gap:.125rem}.boleditor__btn{padding:.375rem;min-width:1.75rem;font-size:.875rem}.boleditor__select{font-size:.75rem;padding:.375rem}.boleditor__color-input{width:2rem;height:1.75rem}}.boleditor__content{min-height:400px;padding:1.5rem;color:var(--text-primary);background:var(--input-bg);outline:none;overflow-y:auto;line-height:1.7}.boleditor__content:focus{outline:none}.boleditor__content:empty::before{content:attr(data-placeholder);color:var(--text-placeholder);pointer-events:none;position:absolute}.boleditor__content h1{font-size:2rem;font-weight:700;margin-bottom:1rem;line-height:1.2}.boleditor__content h2{font-size:1.5rem;font-weight:700;margin-bottom:.75rem;line-height:1.3}.boleditor__content h3{font-size:1.25rem;font-weight:600;margin-bottom:.5rem;line-height:1.4}.boleditor__content h4{font-size:1.125rem;font-weight:600;margin-bottom:.5rem;line-height:1.4}.boleditor__content h5{font-size:1rem;font-weight:600;margin-bottom:.5rem;line-height:1.5}.boleditor__content h6{font-size:.875rem;font-weight:600;margin-bottom:.5rem;line-height:1.5}.boleditor__content p{margin-bottom:1rem}.boleditor__content p:last-child{margin-bottom:0}.boleditor__content ul,.boleditor__content ol{margin-bottom:1rem;padding-left:2rem}.boleditor__content li{margin-bottom:.25rem}.boleditor__content a{color:var(--color-primary);text-decoration:underline}.boleditor__content a:hover{color:var(--color-primary-dark)}.boleditor__content blockquote{border-left:4px solid var(--color-primary);padding-left:1rem;margin:1rem 0;color:var(--text-secondary);font-style:italic}.boleditor__content hr{border:none;border-top:var(--border-width) solid var(--border-color);margin:1.5rem 0}.boleditor__content code{background:var(--bg-surface-tertiary);padding:.125rem .375rem;border-radius:var(--radius-xs);font-family:var(--font-family-mono);font-size:.875em}.boleditor__content pre{background:var(--bg-surface-tertiary);padding:1rem;border-radius:var(--radius);overflow-x:auto;margin-bottom:1rem}.boleditor__content pre code{background:none;padding:0}.boleditor__content img{max-width:100%;height:auto;border-radius:var(--radius);margin:1rem 0}.boleditor__content table{width:100%;border-collapse:collapse;margin:1rem 0}.boleditor__content table th,.boleditor__content table td{border:var(--border-width) solid var(--border-color);padding:.75rem;text-align:left}.boleditor__content table th{background:var(--bg-surface-secondary);font-weight:600}.boleditor__codeview-container{min-height:400px;background:var(--bg-surface);overflow:hidden}.boleditor__codeview-container[style*="display: none"]{display:none !important}.boleditor__codeview-textarea{display:none !important}.boleditor__status{background:var(--bg-surface-secondary);border-top:var(--border-width) solid var(--border-color-medium);padding:0.5rem 1rem;display:flex;justify-content:space-between;align-items:center;font-size:0.75rem;color:var(--text-secondary)}.boleditor__status>div{display:flex;align-items:center;gap:.5rem}.boleditor__status span{display:flex;align-items:center;gap:.25rem}.boleditor__status strong{color:var(--text-primary);font-weight:var(--font-weight-semibold)}.boleditor__content::selection{background:rgba(var(--color-primary-rgb), 0.25);color:inherit}.boleditor__content::-webkit-scrollbar{width:8px}.boleditor__content::-webkit-scrollbar-track{background:var(--bg-surface-secondary)}.boleditor__content::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:var(--radius)}.boleditor__content::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}.boleditor__content{scrollbar-width:thin;scrollbar-color:var(--border-color-dark) var(--bg-surface-secondary)}@media(max-width: 768px){.boleditor__content{padding:1rem;min-height:300px}.boleditor__codeview-container{min-height:300px}.boleditor__status{flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.6875rem}.boleditor__status>div{width:100%}}.bol-modal{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg-overlay);z-index:1050;align-items:center;justify-content:center;animation:fadeIn .2s ease}.bol-modal.active{display:flex}.bol-modal__dialog{background:var(--bg-surface);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-md);box-shadow:var(--shadow-xl);max-width:600px;width:90%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;animation:scaleIn .3s cubic-bezier(0.34, 1.56, 0.64, 1)}.bol-modal__dialog p,.bol-modal__dialog span,.bol-modal__dialog div,.bol-modal__dialog label,.bol-modal__dialog h1,.bol-modal__dialog h2,.bol-modal__dialog h3,.bol-modal__dialog h4,.bol-modal__dialog h5,.bol-modal__dialog h6{color:var(--text-primary)}.bol-modal__dialog input,.bol-modal__dialog textarea,.bol-modal__dialog select{color:var(--text-primary);background:var(--bg-surface);border-color:var(--border-color)}.bol-modal__dialog input::placeholder,.bol-modal__dialog textarea::placeholder,.bol-modal__dialog select::placeholder{color:var(--text-placeholder)}.bol-modal__dialog button{color:var(--text-primary)}.bol-modal__dialog button.bol-btn--primary,.bol-modal__dialog button.btn-primary{color:var(--text-inverse)}.bol-modal__dialog small,.bol-modal__dialog .text-muted,.bol-modal__dialog .text-secondary{color:var(--text-secondary)}.bol-modal__dialog i{color:currentColor}@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}.bol-modal__header{padding:1rem 1.5rem;border-bottom:var(--border-width) solid var(--border-color);display:flex;justify-content:space-between;align-items:center;background:var(--bg-surface-secondary)}.bol-modal__title{font-size:1.25rem;font-weight:var(--font-weight-semibold);color:var(--text-primary);margin:0}.bol-modal__close{background:rgba(0,0,0,0);border:none;color:var(--text-secondary);cursor:pointer;font-size:1.5rem;line-height:1;padding:.25rem;transition:var(--transition-fast);border-radius:var(--radius-sm);display:flex;align-items:center;justify-content:center;width:2rem;height:2rem}.bol-modal__close:hover{color:var(--text-primary);background:var(--bg-surface-hover)}.bol-modal__body{padding:1.5rem;overflow-y:auto;flex:1;background:var(--bg-surface-secondary)}.bol-modal__body::-webkit-scrollbar{width:8px}.bol-modal__body::-webkit-scrollbar-track{background:var(--bg-surface-secondary)}.bol-modal__body::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:var(--radius)}.bol-modal__body::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}.bol-modal__body{scrollbar-width:thin;scrollbar-color:var(--border-color-dark) var(--bg-surface-secondary)}.bol-modal__footer{padding:1rem 1.5rem;background:var(--bg-surface-secondary);border-top:var(--border-width) solid var(--border-color);display:flex;justify-content:flex-end;gap:.75rem}.bol-modal__dialog .bol-btn--secondary,.bol-modal__dialog .btn-secondary,.bol-modal__dialog button[type=button]:not(.bol-btn--primary):not(.btn-primary){color:var(--text-primary);border:1px solid var(--border-color)}.bol-modal__dialog .bol-btn--secondary:hover,.bol-modal__dialog .btn-secondary:hover,.bol-modal__dialog button[type=button]:not(.bol-btn--primary):not(.btn-primary):hover{color:var(--text-primary);border-color:var(--border-color-dark)}.bol-modal__dialog .bol-btn--primary,.bol-modal__dialog .btn-primary,.bol-modal__dialog button[type=submit]{background:var(--color-primary);color:var(--text-inverse);border:1px solid var(--color-primary)}.bol-modal__dialog .bol-btn--primary:hover,.bol-modal__dialog .btn-primary:hover,.bol-modal__dialog button[type=submit]:hover{background:var(--color-primary-dark);color:var(--text-inverse)}.bol-modal__dialog .bol-btn--danger,.bol-modal__dialog .btn-danger{background:var(--bg-surface);color:var(--color-danger);border:1px solid var(--border-color)}.bol-modal__dialog .bol-btn--danger:hover,.bol-modal__dialog .btn-danger:hover{background:var(--color-danger);color:var(--text-inverse);border-color:var(--color-danger)}.bol-modal__dialog .bol-form__label,.bol-modal__dialog label{color:var(--text-primary);font-weight:var(--font-weight-medium)}.bol-modal__dialog .bol-form__input,.bol-modal__dialog input[type=text],.bol-modal__dialog input[type=number],.bol-modal__dialog input[type=email],.bol-modal__dialog input[type=password],.bol-modal__dialog input[type=search],.bol-modal__dialog textarea,.bol-modal__dialog select{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary)}.bol-modal__dialog .bol-form__input::placeholder,.bol-modal__dialog input[type=text]::placeholder,.bol-modal__dialog input[type=number]::placeholder,.bol-modal__dialog input[type=email]::placeholder,.bol-modal__dialog input[type=password]::placeholder,.bol-modal__dialog input[type=search]::placeholder,.bol-modal__dialog textarea::placeholder,.bol-modal__dialog select::placeholder{color:var(--text-placeholder)}.bol-modal__dialog .bol-form__input:focus,.bol-modal__dialog input[type=text]:focus,.bol-modal__dialog input[type=number]:focus,.bol-modal__dialog input[type=email]:focus,.bol-modal__dialog input[type=password]:focus,.bol-modal__dialog input[type=search]:focus,.bol-modal__dialog textarea:focus,.bol-modal__dialog select:focus{border-color:var(--color-primary);background:var(--bg-surface);color:var(--text-primary)}.bol-modal__dialog .bol-form__input:disabled,.bol-modal__dialog input[type=text]:disabled,.bol-modal__dialog input[type=number]:disabled,.bol-modal__dialog input[type=email]:disabled,.bol-modal__dialog input[type=password]:disabled,.bol-modal__dialog input[type=search]:disabled,.bol-modal__dialog textarea:disabled,.bol-modal__dialog select:disabled{opacity:.5;cursor:not-allowed}.bol-modal__dialog .form-check{display:flex;align-items:center;gap:.625rem;padding:.5rem;margin:.25rem 0;cursor:pointer;border-radius:.375rem;transition:background-color .15s ease}.bol-modal__dialog .form-check:hover{background-color:var(--bg-surface-hover)}.bol-modal__dialog .form-check-input{width:20px;height:20px;margin:0;padding:0;flex-shrink:0;cursor:pointer;position:relative;appearance:none;-webkit-appearance:none;-moz-appearance:none;background-color:var(--bg-surface);border:2px solid var(--border-color);border-radius:.25rem;transition:all .15s ease}.bol-modal__dialog .form-check-input:hover:not(:disabled):not(:checked){border-color:var(--border-color-dark)}.bol-modal__dialog .form-check-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(102,126,234,.2)}.bol-modal__dialog .form-check-input:checked{background-color:#667eea;border-color:#667eea}.bol-modal__dialog .form-check-input:checked::after{content:"";position:absolute;display:block;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}.bol-modal__dialog .form-check-input[type=radio]{border-radius:50%}.bol-modal__dialog .form-check-input[type=radio]:checked{background-color:#667eea;border-color:#667eea;box-shadow:inset 0 0 0 4px var(--bg-surface)}.bol-modal__dialog .form-check-input[type=radio]:checked::after{display:none}.bol-modal__dialog .form-check-input:disabled{opacity:.5;cursor:not-allowed}.bol-modal__dialog .form-check-label{flex:1;cursor:pointer;color:var(--text-primary);font-size:.875rem;line-height:1.5;user-select:none}.bol-modal__dialog .form-check:has(.form-check-input:disabled){opacity:.6;cursor:not-allowed}.bol-modal__dialog .form-check:has(.form-check-input:disabled) .form-check-label{cursor:not-allowed}.bol-modal__dialog .form-check:has(.form-check-input:disabled):hover{background-color:rgba(0,0,0,0)}.bol-modal__dialog .bol-table-style-options,.bol-modal__dialog .bol-table-color-options{display:block}.bol-modal__dialog .bol-table-style-options .form-check,.bol-modal__dialog .bol-table-color-options .form-check{margin:.25rem 0}.bol-modal__dialog .bol-section-label,.bol-modal__dialog .bol-section-title{color:var(--text-primary);font-weight:var(--font-weight-semibold)}.bol-modal__dialog .character-count,.bol-modal__dialog .helper-text,.bol-modal__dialog .form-hint{color:var(--text-secondary);font-size:var(--font-size-sm)}.bol-modal__dialog .bol-icon-tab,.bol-modal__dialog .bol-emoji-tab,.bol-modal__dialog .bol-tab{background:var(--bg-surface);color:var(--text-secondary);border:1px solid var(--border-color)}.bol-modal__dialog .bol-icon-tab:hover,.bol-modal__dialog .bol-emoji-tab:hover,.bol-modal__dialog .bol-tab:hover{background:var(--bg-surface-hover);color:var(--text-primary)}.bol-modal__dialog .bol-icon-tab.active,.bol-modal__dialog .bol-emoji-tab.active,.bol-modal__dialog .bol-tab.active{background:var(--color-primary);color:var(--text-inverse);border-color:var(--color-primary)}.bol-modal__dialog .bol-icon-tab.active .bol-tab-count,.bol-modal__dialog .bol-emoji-tab.active .bol-tab-count,.bol-modal__dialog .bol-tab.active .bol-tab-count{background:hsla(0,0%,100%,.2);color:var(--text-inverse)}.bol-modal__dialog .bol-icon-tab .bol-tab-count,.bol-modal__dialog .bol-emoji-tab .bol-tab-count,.bol-modal__dialog .bol-tab .bol-tab-count{background:var(--bg-surface-secondary);color:var(--text-muted)}.bol-modal__dialog .bol-icon-item,.bol-modal__dialog .bol-emoji-item,.bol-modal__dialog .bol-callout-type,.bol-modal__dialog .character-item{background:var(--bg-surface);border:2px solid var(--border-color);color:var(--text-primary)}.bol-modal__dialog .bol-icon-item:hover,.bol-modal__dialog .bol-emoji-item:hover,.bol-modal__dialog .bol-callout-type:hover,.bol-modal__dialog .character-item:hover{background:var(--bg-surface-hover);border-color:var(--color-primary)}.bol-modal__dialog .bol-icon-item.selected,.bol-modal__dialog .bol-icon-item.active,.bol-modal__dialog .bol-emoji-item.selected,.bol-modal__dialog .bol-emoji-item.active,.bol-modal__dialog .bol-callout-type.selected,.bol-modal__dialog .bol-callout-type.active,.bol-modal__dialog .character-item.selected,.bol-modal__dialog .character-item.active{background:var(--color-primary-light);border-color:var(--color-primary)}.bol-modal__dialog .bol-icon-item .bol-icon-name,.bol-modal__dialog .bol-icon-item .char-name,.bol-modal__dialog .bol-icon-item .bol-callout-label,.bol-modal__dialog .bol-emoji-item .bol-icon-name,.bol-modal__dialog .bol-emoji-item .char-name,.bol-modal__dialog .bol-emoji-item .bol-callout-label,.bol-modal__dialog .bol-callout-type .bol-icon-name,.bol-modal__dialog .bol-callout-type .char-name,.bol-modal__dialog .bol-callout-type .bol-callout-label,.bol-modal__dialog .character-item .bol-icon-name,.bol-modal__dialog .character-item .char-name,.bol-modal__dialog .character-item .bol-callout-label{color:var(--text-secondary)}.bol-modal__dialog .bol-icon-item:hover .bol-icon-name,.bol-modal__dialog .bol-icon-item:hover .char-name,.bol-modal__dialog .bol-icon-item:hover .bol-callout-label,.bol-modal__dialog .bol-emoji-item:hover .bol-icon-name,.bol-modal__dialog .bol-emoji-item:hover .char-name,.bol-modal__dialog .bol-emoji-item:hover .bol-callout-label,.bol-modal__dialog .bol-callout-type:hover .bol-icon-name,.bol-modal__dialog .bol-callout-type:hover .char-name,.bol-modal__dialog .bol-callout-type:hover .bol-callout-label,.bol-modal__dialog .character-item:hover .bol-icon-name,.bol-modal__dialog .character-item:hover .char-name,.bol-modal__dialog .character-item:hover .bol-callout-label{color:var(--color-primary)}.bol-modal__dialog .bol-icon-item.selected .bol-icon-name,.bol-modal__dialog .bol-icon-item.selected .char-name,.bol-modal__dialog .bol-icon-item.active .bol-callout-label,.bol-modal__dialog .bol-emoji-item.selected .bol-icon-name,.bol-modal__dialog .bol-emoji-item.selected .char-name,.bol-modal__dialog .bol-emoji-item.active .bol-callout-label,.bol-modal__dialog .bol-callout-type.selected .bol-icon-name,.bol-modal__dialog .bol-callout-type.selected .char-name,.bol-modal__dialog .bol-callout-type.active .bol-callout-label,.bol-modal__dialog .character-item.selected .bol-icon-name,.bol-modal__dialog .character-item.selected .char-name,.bol-modal__dialog .character-item.active .bol-callout-label{color:var(--color-primary);font-weight:600}.bol-modal__dialog .bol-color-btn,.bol-modal__dialog .bol-color-option{background:var(--bg-surface);border:2px solid var(--border-color)}.bol-modal__dialog .bol-color-btn .bol-color-label,.bol-modal__dialog .bol-color-option .bol-color-label{color:var(--text-primary)}.bol-modal__dialog .bol-color-btn:hover,.bol-modal__dialog .bol-color-option:hover{background:var(--bg-surface-hover)}.bol-modal__dialog .bol-color-btn:hover .bol-color-label,.bol-modal__dialog .bol-color-option:hover .bol-color-label{color:var(--text-primary)}.bol-modal__dialog .bol-color-btn.selected,.bol-modal__dialog .bol-color-btn:has(input[type=radio]:checked),.bol-modal__dialog .bol-color-option.selected,.bol-modal__dialog .bol-color-option:has(input[type=radio]:checked){background:var(--color-primary-light);border-color:var(--color-primary)}.bol-modal__dialog .bol-color-btn.selected .bol-color-label,.bol-modal__dialog .bol-color-btn:has(input[type=radio]:checked) .bol-color-label,.bol-modal__dialog .bol-color-option.selected .bol-color-label,.bol-modal__dialog .bol-color-option:has(input[type=radio]:checked) .bol-color-label{color:var(--color-primary)}.bol-modal__dialog .bol-icon-preview,.bol-modal__dialog .bol-emoji-preview,.bol-modal__dialog .bol-callout-preview,.bol-modal__dialog .bol-table-preview,.bol-modal__dialog .character-preview{background:var(--bg-surface);border:2px dashed var(--border-color)}.bol-modal__dialog .bol-icon-preview p,.bol-modal__dialog .bol-emoji-preview p,.bol-modal__dialog .bol-callout-preview p,.bol-modal__dialog .bol-table-preview p,.bol-modal__dialog .character-preview p{color:var(--text-muted)}.bol-modal__dialog .bol-icon-preview i,.bol-modal__dialog .bol-emoji-preview i,.bol-modal__dialog .bol-callout-preview i,.bol-modal__dialog .bol-table-preview i,.bol-modal__dialog .character-preview i{color:var(--text-secondary)}.bol-modal__dialog .bol-icon-search,.bol-modal__dialog .bol-emoji-search,.bol-modal__dialog .special-characters-search{background:var(--bg-surface-secondary)}.bol-modal__dialog .bol-icon-search input,.bol-modal__dialog .bol-emoji-search input,.bol-modal__dialog .special-characters-search input{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary)}.bol-modal__dialog .bol-icon-search input::placeholder,.bol-modal__dialog .bol-emoji-search input::placeholder,.bol-modal__dialog .special-characters-search input::placeholder{color:var(--text-placeholder)}.bol-modal__dialog .bol-icon-search input:focus,.bol-modal__dialog .bol-emoji-search input:focus,.bol-modal__dialog .special-characters-search input:focus{border-color:var(--color-primary)}.bol-modal__dialog .bol-icon-search i,.bol-modal__dialog .bol-emoji-search i,.bol-modal__dialog .special-characters-search i{color:var(--text-muted)}.bol-modal__dialog .footer-actions .action-btn,.bol-modal__dialog .action-buttons-section .action-btn{color:var(--text-primary);background:var(--bg-surface);border:1px solid var(--border-color)}.bol-modal__dialog .footer-actions .action-btn:hover,.bol-modal__dialog .action-buttons-section .action-btn:hover{background:var(--bg-surface-hover);color:var(--text-primary)}.bol-modal__dialog .footer-actions .action-btn.btn-primary,.bol-modal__dialog .action-buttons-section .action-btn.btn-primary{background:var(--color-primary);color:var(--text-inverse)}.bol-modal__dialog .footer-actions .action-btn.btn-primary:hover,.bol-modal__dialog .action-buttons-section .action-btn.btn-primary:hover{background:var(--color-primary-dark);color:var(--text-inverse)}.bol-modal__dialog .footer-actions .action-btn.btn-danger,.bol-modal__dialog .action-buttons-section .action-btn.btn-danger{color:var(--color-danger)}.bol-modal__dialog .footer-actions .action-btn.btn-danger:hover,.bol-modal__dialog .action-buttons-section .action-btn.btn-danger:hover{background:var(--color-danger);color:var(--text-inverse)}@media(max-width: 768px){.bol-modal__dialog{max-width:95%;max-height:95vh}.bol-modal__header{padding:.875rem 1rem}.bol-modal__title{font-size:1.125rem}.bol-modal__body{padding:1rem}.bol-modal__footer{padding:.875rem 1rem;flex-direction:column}.bol-modal__footer .bol-btn,.bol-modal__footer button{width:100%;justify-content:center}}@media(max-width: 576px){.bol-modal__dialog{max-width:100%;max-height:100vh;width:100%;height:100%;border-radius:0}}[data-theme=dark] .bol-modal__dialog p,[data-theme=dark] .bol-modal__dialog span,[data-theme=dark] .bol-modal__dialog div,[data-theme=dark] .bol-modal__dialog label,[data-theme=dark] .bol-modal__dialog h1,[data-theme=dark] .bol-modal__dialog h2,[data-theme=dark] .bol-modal__dialog h3,[data-theme=dark] .bol-modal__dialog h4,[data-theme=dark] .bol-modal__dialog h5,[data-theme=dark] .bol-modal__dialog h6{color:var(--text-primary)}[data-theme=dark] .bol-modal__dialog input,[data-theme=dark] .bol-modal__dialog textarea,[data-theme=dark] .bol-modal__dialog select{background:var(--bg-surface);color:var(--text-primary);border-color:var(--border-color)}[data-theme=dark] .bol-modal__dialog button:not(.bol-btn--primary):not(.btn-primary){color:var(--text-primary)}[data-theme=dark] .bol-modal__dialog button:not(.bol-btn--primary):not(.btn-primary):hover{color:var(--text-primary)}@media(prefers-reduced-motion: reduce){.bol-modal,.bol-modal__dialog{animation:none;transition:none}}@media(prefers-contrast: high){.bol-modal__dialog{border-width:2px}.bol-modal__dialog input,.bol-modal__dialog textarea,.bol-modal__dialog select,.bol-modal__dialog button{border-width:2px}.bol-modal__dialog .form-check-input{border-width:3px}.bol-modal__dialog .form-check-input:checked::after{border-width:0 3px 3px 0;left:5px;top:1px}}.bol-icon-colors{display:grid;gap:1rem}.bolcodeview{position:relative;background:var(--bg-surface);overflow:hidden;box-shadow:var(--shadow-sm);font-family:var(--font-family-mono);font-size:0.8125rem;line-height:1.65;transition:var(--transition)}.bolcodeview:hover{box-shadow:var(--shadow-md);border-color:var(--border-color-dark)}.bolcodeview *{box-sizing:border-box}.bolcodeview-wrapper{position:relative;width:100%}.bolcodeview__toolbar{display:flex;align-items:center;justify-content:space-between;padding:.625rem 1rem;background:linear-gradient(180deg, var(--bg-surface-secondary) 0%, var(--bg-surface-tertiary) 100%);border-bottom:var(--border-width) solid var(--border-color-medium);gap:var(--space-sm);backdrop-filter:blur(8px)}.bolcodeview__language{display:inline-flex;align-items:center;padding:.25rem .625rem;background:var(--color-primary);color:var(--text-inverse);border-radius:var(--radius-sm);font-size:.6875rem;font-weight:var(--font-weight-bold);text-transform:uppercase;letter-spacing:.05em;box-shadow:0 1px 3px rgba(0,0,0,.12);transition:var(--transition-fast)}.bolcodeview__language:hover{transform:translateY(-1px);box-shadow:0 2px 4px rgba(0,0,0,.15)}.bolcodeview__copy-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4rem .875rem;background:var(--bg-surface);color:var(--text-secondary);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);cursor:pointer;transition:var(--transition-fast);white-space:nowrap;position:relative;overflow:hidden}.bolcodeview__copy-btn::before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:rgba(var(--color-primary-rgb), 0.1);transform:translate(-50%, -50%);transition:width .6s,height .6s}.bolcodeview__copy-btn:hover{background:var(--bg-surface-hover);color:var(--color-primary);border-color:var(--color-primary-light);transform:translateY(-1px);box-shadow:var(--shadow-xs)}.bolcodeview__copy-btn:hover::before{width:300px;height:300px}.bolcodeview__copy-btn:active{transform:translateY(0)}.bolcodeview__copy-btn.success{background:var(--color-success-light);color:var(--color-success);border-color:var(--color-success)}.bolcodeview__copy-btn.success .bolcodeview__copy-icon{animation:successPulse .5s ease}.bolcodeview__copy-btn.error{background:var(--color-danger-light);color:var(--color-danger);border-color:var(--color-danger)}.bolcodeview__copy-btn.error .bolcodeview__copy-icon{animation:shake .5s ease}.bolcodeview__copy-btn .bolcodeview__copy-icon{flex-shrink:0;width:14px;height:14px;transition:transform var(--transition-fast)}.bolcodeview__copy-btn .bolcodeview__copy-text{line-height:1;position:relative;z-index:1}@keyframes successPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.2)}}@keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}75%{transform:translateX(5px)}}.bolcodeview__container{display:flex;overflow:auto;max-height:600px;background:var(--bg-surface);align-items:flex-start;position:relative}.bolcodeview__container::-webkit-scrollbar{width:12px;height:12px}.bolcodeview__container::-webkit-scrollbar-track{background:var(--bg-surface-secondary);border-left:var(--border-width) solid var(--border-color)}.bolcodeview__container::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:var(--radius);border:2px solid var(--bg-surface-secondary);transition:background var(--transition-fast)}.bolcodeview__container::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}.bolcodeview__container{scrollbar-width:thin;scrollbar-color:var(--border-color-dark) var(--bg-surface-secondary)}.bolcodeview__line-numbers{flex-shrink:0;display:flex;flex-direction:column;padding:1rem 0;background:linear-gradient(90deg, var(--bg-surface-tertiary) 0%, var(--bg-surface-secondary) 100%);border-right:2px solid var(--border-color-medium);user-select:none;position:sticky;left:0;z-index:10}.bolcodeview__line-number{display:flex;align-items:center;justify-content:flex-end;min-height:calc(0.8125rem*1.65);padding:0 .75rem;min-width:3.5em;color:var(--text-muted);font-size:.75rem;font-weight:var(--font-weight-medium);text-align:right;line-height:calc(0.8125rem*1.65);font-variant-numeric:tabular-nums;transition:var(--transition-fast)}.bolcodeview__line-number:hover{color:var(--text-secondary);background:rgba(var(--color-primary-rgb), 0.05)}.bolcodeview__line-number--highlighted{background:rgba(var(--color-primary-rgb), 0.12);color:var(--color-primary);font-weight:var(--font-weight-bold);border-right:3px solid var(--color-primary);padding-right:calc(.75rem - 3px)}.bolcodeview__code{flex:1;min-width:0;overflow-x:auto}.bolcodeview__pre{margin:0;padding:1rem;background:rgba(0,0,0,0);color:var(--text-primary);overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.bolcodeview__code-content{display:block;margin:0;padding:0;background:rgba(0,0,0,0);color:var(--text-primary);font-family:inherit;font-size:inherit;line-height:inherit;white-space:pre;word-wrap:normal;overflow-wrap:normal;outline:none;font-feature-settings:"liga" 1,"calt" 1}.bolcodeview__code-content[contenteditable=true]{cursor:text;caret-color:var(--color-primary)}.bolcodeview__code-content[contenteditable=true]::selection{background:rgba(var(--color-primary-rgb), 0.25);color:inherit}.bolcodeview__code-content[contenteditable=true]:focus{outline:none}.bolcodeview__line{display:block;min-height:calc(0.8125rem*1.65);line-height:1.65;padding-left:.25rem;padding-right:.25rem;transition:background var(--transition-fast)}.bolcodeview__line:hover{background:rgba(var(--color-primary-rgb), 0.03)}.bolcodeview__line--highlighted{background:rgba(var(--color-primary-rgb), 0.1);border-left:3px solid var(--color-primary);padding-left:calc(var(--space-sm) - 3px);margin-left:-0.25rem;box-shadow:inset 0 0 0 1px rgba(var(--color-primary-rgb), 0.1)}.bolcodeview__line:empty::before{content:""}.bolcodeview{--syntax-comment: #6a737d;--syntax-keyword: #d73a49;--syntax-string: #032f62;--syntax-number: #005cc5;--syntax-function: #6f42c1;--syntax-operator: #d73a49;--syntax-property: #005cc5;--syntax-tag: #22863a;--syntax-attr-name: #6f42c1;--syntax-attr-value: #032f62;--syntax-selector: #6f42c1;--syntax-punctuation: #24292e;--syntax-variable: #e36209}.bolcodeview .token.comment,.bolcodeview .token.js-comment,.bolcodeview .token.css-comment,.bolcodeview .token.html-comment{color:var(--syntax-comment);font-style:italic}.bolcodeview .token.keyword,.bolcodeview .token.js-keyword,.bolcodeview .token.css-at-rule,.bolcodeview .token.css-important{color:var(--syntax-keyword);font-weight:var(--font-weight-semibold)}.bolcodeview .token.string,.bolcodeview .token.html-attr-value{color:var(--syntax-string)}.bolcodeview .token.number,.bolcodeview .token.css-unit{color:var(--syntax-number);font-weight:var(--font-weight-medium)}.bolcodeview .token.function,.bolcodeview .token.js-function-name,.bolcodeview .token.css-function{color:var(--syntax-function);font-weight:var(--font-weight-medium)}.bolcodeview .token.operator{color:var(--syntax-operator)}.bolcodeview .token.property,.bolcodeview .token.js-property,.bolcodeview .token.css-property{color:var(--syntax-property)}.bolcodeview .token.html-tag{color:var(--syntax-tag);font-weight:var(--font-weight-semibold)}.bolcodeview .token.html-attr-name{color:var(--syntax-attr-name)}.bolcodeview .token.css-selector,.bolcodeview .token.css-pseudo{color:var(--syntax-selector);font-weight:var(--font-weight-medium)}.bolcodeview .token.punctuation{color:var(--syntax-punctuation);opacity:.8}.bolcodeview .token.js-variable{color:var(--syntax-variable)}.bolcodeview .token.js-regex{color:var(--syntax-string);background:rgba(3,47,98,.05);padding:.125rem .25rem;border-radius:var(--radius-xs)}.bolcodeview .token.js-template-string{color:var(--syntax-string);background:rgba(3,47,98,.05);padding:.0625rem .125rem;border-radius:var(--radius-xs)}.bolcodeview .token.html-entity{color:var(--syntax-function);font-weight:var(--font-weight-medium)}.bolcodeview .token.html-doctype{color:var(--syntax-comment);font-weight:var(--font-weight-semibold)}.bolcodeview--editable .bolcodeview__code-content:focus{background:rgba(var(--color-primary-rgb), 0.02)}.bolcodeview--editable:focus-within{border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.bolcodeview--wrap .bolcodeview__code-content{white-space:pre-wrap;word-break:break-word}.bolcodeview--wrap .bolcodeview__line{white-space:pre-wrap;word-break:break-word}@media(max-width: 768px){.bolcodeview{font-size:.75rem;border-radius:var(--radius)}.bolcodeview__toolbar{padding:.5rem .75rem}.bolcodeview__language{font-size:.625rem;padding:.1875rem .5rem}.bolcodeview__copy-btn{padding:.3125rem .625rem;font-size:.6875rem}.bolcodeview__copy-btn .bolcodeview__copy-icon{width:12px;height:12px}.bolcodeview__line-number{padding:0 .5rem;font-size:.6875rem;min-width:3em}.bolcodeview__pre{padding:.75rem}.bolcodeview__container{max-height:400px}.bolcodeview__container::-webkit-scrollbar{width:8px;height:8px}}.bolcodeview--loading{position:relative;pointer-events:none;opacity:.6}.bolcodeview--loading::after{content:"";position:absolute;top:50%;left:50%;width:2rem;height:2rem;margin:-1rem 0 0 -1rem;border:3px solid var(--border-color);border-top-color:var(--color-primary);border-radius:50%;animation:spin .8s linear infinite}.bolcodeview__format-btn{display:inline-flex;align-items:center;gap:.375rem;padding:.4rem .875rem;background:var(--bg-surface);color:var(--text-secondary);border:var(--border-width) solid var(--border-color);border-radius:var(--radius-sm);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);cursor:pointer;transition:var(--transition-fast);white-space:nowrap;position:relative;overflow:hidden}.bolcodeview__format-btn::before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:rgba(var(--color-primary-rgb), 0.1);transform:translate(-50%, -50%);transition:width .6s,height .6s}.bolcodeview__format-btn:hover{background:var(--bg-surface-hover);color:var(--color-primary);border-color:var(--color-primary-light);transform:translateY(-1px);box-shadow:var(--shadow-xs)}.bolcodeview__format-btn:hover::before{width:300px;height:300px}.bolcodeview__format-btn:active{transform:translateY(0)}.bolcodeview__format-btn.success{background:var(--color-success-light);color:var(--color-success);border-color:var(--color-success)}.bolcodeview__format-btn.success .bolcodeview__format-icon{animation:successPulse .5s ease}.bolcodeview__format-btn.error{background:var(--color-danger-light);color:var(--color-danger);border-color:var(--color-danger)}.bolcodeview__format-btn.error .bolcodeview__format-icon{animation:shake .5s ease}.bolcodeview__format-btn .bolcodeview__format-icon{flex-shrink:0;width:14px;height:14px;transition:transform var(--transition-fast)}.bolcodeview__format-btn .bolcodeview__format-text{line-height:1;position:relative;z-index:1}.bol-tooltip{position:absolute;background:linear-gradient(135deg, #667eea 0%, #764ba2 100%);color:var(--text-inverse);padding:.5rem .75rem;border-radius:var(--radius-md);font-size:.8125rem;font-weight:var(--font-weight-medium);white-space:nowrap;pointer-events:none;z-index:1070;opacity:0;transform:translateY(-5px);transition:opacity .2s ease,transform .2s ease;box-shadow:0 4px 12px rgba(0,0,0,.15),0 2px 4px rgba(0,0,0,.1);letter-spacing:.3px}.bol-tooltip::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);width:0;height:0;border-left:6px solid rgba(0,0,0,0);border-right:6px solid rgba(0,0,0,0);border-top:6px solid #764ba2;filter:drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1))}.bol-tooltip.active{opacity:1;transform:translateY(0)}.bol-tooltip .tooltip-icon{display:inline-block;margin-right:.375rem;font-size:.875rem}.bol-tooltip .tooltip-shortcut{display:inline-block;margin-left:.5rem;padding:.125rem .375rem;background:hsla(0,0%,100%,.2);border-radius:var(--radius-xs);font-size:.6875rem;font-weight:var(--font-weight-bold);opacity:.9}.bol-tooltip.tooltip-primary{background:linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%)}.bol-tooltip.tooltip-primary::after{border-top-color:#7c3aed}.bol-tooltip.tooltip-success{background:linear-gradient(135deg, #10b981 0%, #059669 100%)}.bol-tooltip.tooltip-success::after{border-top-color:#059669}.bol-tooltip.tooltip-warning{background:linear-gradient(135deg, #f59e0b 0%, #d97706 100%)}.bol-tooltip.tooltip-warning::after{border-top-color:#d97706}.bol-tooltip.tooltip-danger{background:linear-gradient(135deg, #ef4444 0%, #dc2626 100%)}.bol-tooltip.tooltip-danger::after{border-top-color:#dc2626}.bol-tooltip.tooltip-dark{background:linear-gradient(135deg, #1f2937 0%, #111827 100%);border:var(--border-width) solid hsla(0,0%,100%,.1)}.bol-tooltip.tooltip-dark::after{border-top-color:#111827}.bol-tooltip.tooltip-light{background:var(--bg-surface);color:var(--text-primary);border:var(--border-width) solid var(--border-color);box-shadow:0 4px 12px rgba(0,0,0,.08),0 2px 4px rgba(0,0,0,.06)}.bol-tooltip.tooltip-light::after{border-top-color:var(--bg-surface)}.bol-tooltip.tooltip-bottom{transform:translateY(5px)}.bol-tooltip.tooltip-bottom.active{transform:translateY(0)}.bol-tooltip.tooltip-bottom::after{top:auto;bottom:100%;border-top:none;border-bottom:6px solid #764ba2}@media(max-width: 768px){.bol-tooltip{font-size:.75rem;padding:.375rem .625rem}.bol-tooltip .tooltip-shortcut{display:none}}@media(prefers-reduced-motion: reduce){.bol-tooltip{transition:none}}.bol-plugin-panel{background:var(--bg-surface);border:var(--border-width) solid var(--border-color);border-radius:var(--radius);box-shadow:var(--shadow-md);padding:1rem;margin-top:.5rem;max-height:400px;overflow-y:auto}.bol-plugin-panel::-webkit-scrollbar{width:8px}.bol-plugin-panel::-webkit-scrollbar-track{background:var(--bg-surface-secondary)}.bol-plugin-panel::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:var(--radius)}.bol-plugin-panel::-webkit-scrollbar-thumb:hover{background:var(--color-primary)}.bol-section-label,.bol-section-title{display:block;font-size:var(--font-size-sm);font-weight:var(--font-weight-semibold);color:var(--text-primary);margin-bottom:.75rem;text-transform:uppercase;letter-spacing:.025em}.bol-plugin-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));gap:.75rem}.bol-plugin-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;border:2px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:var(--transition-fast);color:var(--text-primary)}.bol-plugin-item:hover{border-color:var(--color-primary);background:var(--bg-surface-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.bol-plugin-item.selected,.bol-plugin-item.active{border-color:var(--color-primary);background:var(--color-primary-light);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.2)}.bol-modal__dialog{background:var(--bg-surface)}.bol-modal__dialog .bol-modal__header{background:var(--bg-surface);border-bottom:1px solid var(--border-color)}.bol-modal__dialog .bol-modal__body{background:var(--bg-surface-secondary)}.bol-modal__dialog .bol-modal__footer{background:var(--bg-surface);border-top:1px solid var(--border-color)}.ai-prompt-examples{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:.75rem;margin-bottom:1rem}.ai-prompt-example{background:var(--bg-surface-secondary);border:1px solid var(--border-color);border-radius:var(--radius);padding:.75rem;cursor:pointer;transition:all .3s cubic-bezier(0.4, 0, 0.2, 1);font-size:.875rem}.ai-prompt-example strong{display:block;margin-bottom:.25rem;color:var(--text-primary);font-weight:600}.ai-prompt-example span{color:var(--text-secondary);font-size:.75rem}.ai-prompt-example:hover{background:var(--bg-surface-hover);border-color:var(--color-primary);transform:translateY(-2px);box-shadow:var(--shadow-md)}.ai-prompt-example:active{transform:translateY(0)}.ai-generating-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--bg-overlay);z-index:2000;display:none;align-items:center;justify-content:center;backdrop-filter:blur(4px);animation:fadeIn .3s ease}.ai-generating-overlay.active{display:flex}.ai-generating-content{background:var(--bg-surface);border:1px solid var(--border-color);border-radius:var(--radius-lg);padding:2rem;text-align:center;box-shadow:var(--shadow-xl);max-width:400px;animation:scaleIn .3s cubic-bezier(0.34, 1.56, 0.64, 1)}.ai-loader{width:60px;height:60px;border:4px solid var(--border-color);border-top-color:var(--color-primary);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 1rem}.ai-generating-text{font-size:1.125rem;font-weight:600;color:var(--text-primary);margin-bottom:.5rem}.ai-generating-subtext{font-size:.875rem;color:var(--text-secondary)}.ai-notification{position:fixed;top:20px;right:20px;padding:1rem 1.5rem;border-radius:var(--radius-md);box-shadow:var(--shadow-lg);z-index:9999;font-weight:500;max-width:400px;animation:slideInRight .3s ease}.ai-notification.ai-notification--success{background:var(--color-success);color:var(--text-inverse)}.ai-notification.ai-notification--error{background:var(--color-danger);color:var(--text-inverse)}.ai-notification.ai-notification--info{background:var(--color-info);color:var(--text-inverse)}.bol-icon-search,.bol-emoji-search{position:relative;padding:1rem 1.5rem;border-bottom:1px solid var(--border-color);background:var(--bg-surface-secondary)}.bol-icon-search i,.bol-emoji-search i{position:absolute;left:2rem;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:1.25rem;pointer-events:none}.bol-icon-search input,.bol-emoji-search input{width:100%;padding:.875rem 1rem .875rem 2.75rem;border:1px solid var(--border-color);border-radius:var(--radius);font-size:1rem;background:var(--bg-surface);color:var(--text-primary);transition:all .2s ease}.bol-icon-search input::placeholder,.bol-emoji-search input::placeholder{color:var(--text-placeholder)}.bol-icon-search input:focus,.bol-emoji-search input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.bol-icon-tabs,.bol-emoji-tabs{display:flex;gap:.625rem;padding:1.25rem 1.5rem;border-bottom:1px solid var(--border-color);background:var(--bg-surface-secondary);overflow-x:auto;overflow-y:hidden;min-height:70px;align-items:center;scroll-behavior:smooth}.bol-icon-tabs::-webkit-scrollbar,.bol-emoji-tabs::-webkit-scrollbar{height:6px}.bol-icon-tabs::-webkit-scrollbar-track,.bol-emoji-tabs::-webkit-scrollbar-track{background:var(--bg-surface-tertiary);border-radius:3px}.bol-icon-tabs::-webkit-scrollbar-thumb,.bol-emoji-tabs::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:3px}.bol-icon-tabs::-webkit-scrollbar-thumb:hover,.bol-emoji-tabs::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.bol-icon-tab,.bol-emoji-tab{display:flex;align-items:center;gap:.625rem;padding:.75rem 1.25rem;border:1px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius-sm);font-size:.9375rem;font-weight:500;color:var(--text-secondary);cursor:pointer;transition:all .2s ease;white-space:nowrap;flex-shrink:0;min-height:42px}.bol-icon-tab .bol-tab-count,.bol-emoji-tab .bol-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 .5rem;background:var(--bg-surface-secondary);color:var(--text-muted);font-size:.8125rem;font-weight:600;border-radius:11px;transition:all .2s ease}.bol-icon-tab:hover,.bol-emoji-tab:hover{background:var(--bg-surface-hover);border-color:var(--border-color-dark);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.bol-icon-tab.active,.bol-emoji-tab.active{background:var(--color-primary);border-color:var(--color-primary);color:var(--text-inverse);box-shadow:0 2px 8px rgba(var(--color-primary-rgb), 0.3)}.bol-icon-tab.active .bol-tab-count,.bol-emoji-tab.active .bol-tab-count{background:hsla(0,0%,100%,.2);color:var(--text-inverse)}.bol-icon-body,.bol-emoji-body{padding:1.5rem;max-height:400px;overflow-y:auto;background:var(--bg-surface-secondary)}.bol-icon-body::-webkit-scrollbar,.bol-emoji-body::-webkit-scrollbar{width:8px}.bol-icon-body::-webkit-scrollbar-track,.bol-emoji-body::-webkit-scrollbar-track{background:var(--bg-surface-secondary);border-radius:4px}.bol-icon-body::-webkit-scrollbar-thumb,.bol-emoji-body::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:4px}.bol-icon-body::-webkit-scrollbar-thumb:hover,.bol-emoji-body::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.bol-icon-grid,.bol-emoji-grid{display:none;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));gap:.75rem}.bol-icon-grid.active,.bol-emoji-grid.active{display:grid}.bol-emoji-grid{grid-template-columns:repeat(auto-fill, minmax(50px, 1fr));gap:.5rem}.bol-icon-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1rem;border:2px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:all .2s ease}.bol-icon-item i{font-size:2rem;color:var(--text-secondary);transition:all .2s ease}.bol-icon-item .bol-icon-name{font-size:.75rem;color:var(--text-muted);text-align:center;line-height:1.2;transition:color .2s ease;word-break:break-word}.bol-icon-item:hover{border-color:var(--color-primary);background:var(--bg-surface-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.bol-icon-item:hover i{color:var(--color-primary);transform:scale(1.1)}.bol-icon-item:hover .bol-icon-name{color:var(--color-primary)}.bol-icon-item.selected{border-color:var(--color-primary);background:var(--color-primary-light);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.2)}.bol-icon-item.selected i{color:var(--color-primary);transform:scale(1.15)}.bol-icon-item.selected .bol-icon-name{color:var(--color-primary);font-weight:600}.bol-emoji-item{display:flex;align-items:center;justify-content:center;padding:.75rem;border:2px solid rgba(0,0,0,0);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:all .2s ease;font-size:1.75rem;aspect-ratio:1}.bol-emoji-item:hover{background:var(--bg-surface-hover);border-color:var(--color-primary);transform:scale(1.1);box-shadow:var(--shadow-md)}.bol-emoji-item.selected{background:var(--color-primary-light);border-color:var(--color-primary);transform:scale(1.15);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.2)}.bol-no-icons,.bol-no-results,.bol-no-emojis{padding:2rem;text-align:center;color:var(--text-muted);font-size:.9375rem;grid-column:1/-1}.bol-icon-footer,.bol-emoji-footer{padding:1.5rem;border-top:1px solid var(--border-color);background:var(--bg-surface-secondary)}.bol-icon-footer{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem}.bol-color-btn{display:flex;align-items:center;gap:.5rem;padding:.5rem .875rem;border:2px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:all .2s ease;font-size:.875rem;color:var(--text-secondary)}.bol-color-btn .bol-color-preview{width:20px;height:20px;border-radius:50%;border:2px solid var(--border-color);flex-shrink:0;transition:transform .2s ease}.bol-color-btn .bol-color-label{font-weight:500;white-space:nowrap;color:var(--text-primary)}.bol-color-btn:hover{border-color:var(--color-primary);background:var(--bg-surface-hover);transform:translateY(-1px);box-shadow:var(--shadow-sm)}.bol-color-btn:hover .bol-color-preview{transform:scale(1.1)}.bol-color-btn.selected{border-color:var(--color-primary);background:var(--color-primary-light);color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.bol-color-btn.selected .bol-color-preview{transform:scale(1.15);border-color:var(--color-primary)}.bol-color-btn.selected .bol-color-label{font-weight:600;color:var(--color-primary)}.bol-icon-preview-section .bol-icon-preview,.bol-icon-preview-section .bol-emoji-preview,.bol-emoji-preview-section .bol-icon-preview,.bol-emoji-preview-section .bol-emoji-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;padding:1.5rem;border:2px dashed var(--border-color);background:var(--bg-surface);border-radius:var(--radius);min-height:120px}.bol-icon-preview-section .bol-icon-preview i,.bol-icon-preview-section .bol-emoji-preview i,.bol-emoji-preview-section .bol-icon-preview i,.bol-emoji-preview-section .bol-emoji-preview i{font-size:3rem;color:var(--text-secondary);transition:all .3s ease}.bol-icon-preview-section .bol-icon-preview .bol-emoji-preview-char,.bol-icon-preview-section .bol-emoji-preview .bol-emoji-preview-char,.bol-emoji-preview-section .bol-icon-preview .bol-emoji-preview-char,.bol-emoji-preview-section .bol-emoji-preview .bol-emoji-preview-char{font-size:3rem;line-height:1}.bol-icon-preview-section .bol-icon-preview p,.bol-icon-preview-section .bol-emoji-preview p,.bol-emoji-preview-section .bol-icon-preview p,.bol-emoji-preview-section .bol-emoji-preview p{margin:0;font-size:.875rem;color:var(--text-muted);text-align:center;font-weight:500}.bol-emoji-preview-section{display:flex;align-items:center;justify-content:center}.bol-emoji-preview-section .bol-emoji-preview{display:inline-flex;flex-direction:row;gap:1rem;padding:1.5rem}#iconPreview,#emojiPreview{animation:iconFloat 3s ease-in-out infinite}@keyframes iconFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}.bol-callout-container{display:flex;flex-direction:column;gap:1.5rem}.bol-callout-types{display:grid;grid-template-columns:repeat(auto-fit, minmax(120px, 1fr));gap:.75rem;padding:1rem;background:var(--bg-surface-secondary);border-radius:var(--radius)}.bol-callout-type{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;border:2px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:all .2s ease}.bol-callout-type .bol-callout-icon{font-size:2rem;line-height:1}.bol-callout-type .bol-callout-label{font-size:.875rem;font-weight:500;color:var(--text-secondary)}.bol-callout-type:hover{border-color:var(--color-primary);background:var(--bg-surface-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.bol-callout-type.active{border-color:var(--color-primary);background:var(--color-primary-light);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.2)}.bol-callout-type.active .bol-callout-label{color:var(--color-primary);font-weight:600}.bol-callout-form{display:flex;flex-direction:column;gap:1rem}.bol-callout-preview-section .bol-callout-preview{padding:1rem;background:var(--bg-surface);border-radius:var(--radius);border:2px dashed var(--border-color)}#calloutPreview .alert{animation:iconFloat 3s ease-in-out infinite}#calloutMessage,#calloutTitle,#tableRows,#tableCols{background:var(--bg-surface);border:1px solid var(--border-color);color:var(--text-primary)}#calloutMessage::placeholder,#calloutTitle::placeholder,#tableRows::placeholder,#tableCols::placeholder{color:var(--text-placeholder)}#calloutMessage:focus,#calloutTitle:focus,#tableRows:focus,#tableCols:focus{border-color:var(--color-primary);outline:none;box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.bol-table-container{display:flex;flex-direction:column;gap:1.5rem}.bol-table-dimensions{padding:1rem;background:var(--bg-surface-secondary);border-radius:var(--radius)}.bol-table-header-options{padding:1rem;background:var(--bg-surface-secondary);border-radius:var(--radius)}.bol-table-style-options{padding:1rem;background:var(--bg-surface-secondary);border-radius:var(--radius)}.bol-table-style-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(200px, 1fr));gap:.75rem}.bol-table-color-options{padding:1rem;background:var(--bg-surface-secondary);border-radius:var(--radius)}.bol-table-colors{display:grid;grid-template-columns:repeat(auto-fill, minmax(120px, 1fr));gap:.75rem}.bol-color-option{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem;border:2px solid var(--border-color);background:var(--bg-surface);border-radius:var(--radius);cursor:pointer;transition:all .2s ease}.bol-color-option input[type=radio]{position:absolute;opacity:0;pointer-events:none}.bol-color-option .bol-color-preview{width:40px;height:40px;border-radius:50%;border:2px solid var(--border-color);transition:transform .2s ease}.bol-color-option .bol-color-label{font-size:.8125rem;font-weight:500;color:var(--text-secondary);text-align:center}.bol-color-option:hover{border-color:var(--color-primary);background:var(--bg-surface-hover);transform:translateY(-2px);box-shadow:var(--shadow-md)}.bol-color-option:hover .bol-color-preview{transform:scale(1.1)}.bol-color-option input[type=radio]:checked+.bol-color-preview{border-color:var(--color-primary);border-width:3px;transform:scale(1.15);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.2)}.bol-color-option input[type=radio]:checked~.bol-color-label{color:var(--color-primary);font-weight:600}.bol-color-option:has(input[type=radio]:checked){border-color:var(--color-primary);background:var(--color-primary-light)}.bol-color-default{background:linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%)}.bol-color-dark{background:linear-gradient(135deg, #212529 0%, #495057 100%)}.bol-color-primary{background:linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%)}.bol-color-success{background:linear-gradient(135deg, #198754 0%, #146c43 100%)}.bol-color-warning{background:linear-gradient(135deg, #ffc107 0%, #ffb300 100%)}.bol-color-danger{background:linear-gradient(135deg, #dc3545 0%, #bb2d3b 100%)}.bol-table-preview-section .bol-table-preview{padding:1rem;background:var(--bg-surface);border-radius:var(--radius);border:2px dashed var(--border-color);overflow-x:auto;max-height:400px;overflow-y:auto}.bol-table-preview-section .bol-table-preview table{margin-bottom:0;width:100%}.bol-table-preview-section .bol-table-preview::-webkit-scrollbar{width:8px;height:8px}.bol-table-preview-section .bol-table-preview::-webkit-scrollbar-track{background:var(--bg-surface-secondary);border-radius:4px}.bol-table-preview-section .bol-table-preview::-webkit-scrollbar-thumb{background:var(--border-color-dark);border-radius:4px}.bol-table-preview-section .bol-table-preview::-webkit-scrollbar-thumb:hover{background:var(--text-tertiary)}.special-characters-modal{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;display:none;align-items:center;justify-content:center}.special-characters-modal.active{display:flex}.special-characters-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--bg-overlay);backdrop-filter:blur(4px);animation:fadeIn .2s ease}.special-characters-content{position:relative;width:90%;max-width:1000px;height:85vh;max-height:700px;background:var(--bg-surface);border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);display:flex;flex-direction:column;animation:slideUp .3s ease;overflow:hidden}.special-characters-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border-color);background:var(--bg-surface-secondary)}.special-characters-header h3{margin:0;font-size:1.25rem;font-weight:600;color:var(--text-primary)}.special-characters-close{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:rgba(0,0,0,0);border-radius:var(--radius);cursor:pointer;color:var(--text-secondary);transition:all .2s ease}.special-characters-close:hover{background:var(--bg-surface-hover);color:var(--text-primary)}.special-characters-close i{font-size:1.25rem}.special-characters-search{padding:16px 24px;border-bottom:1px solid var(--border-color);background:var(--bg-surface-secondary)}.search-input-wrapper{position:relative;align-items:center}.search-input-wrapper .dropdown-header{color:var(--text-secondary)}.search-input-wrapper i.bi-search{position:absolute;left:12px;top:10px;color:var(--text-secondary);font-size:1rem;pointer-events:none}.search-input-wrapper .search-input{width:100%;padding:10px 40px 10px 40px;border:1px solid var(--border-color);border-radius:var(--radius-md);font-size:.95rem;color:var(--text-primary);background:var(--bg-surface);transition:all .2s ease}.search-input-wrapper .search-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.search-input-wrapper .search-input::placeholder{color:var(--text-placeholder)}.search-input-wrapper .clear-search{position:absolute;right:8px;display:none;align-items:center;justify-content:center;width:24px;height:24px;border:none;background:rgba(0,0,0,0);border-radius:var(--radius-sm);cursor:pointer;color:var(--text-secondary);transition:all .2s ease}.search-input-wrapper .clear-search:hover{background:var(--bg-surface-hover);color:var(--text-primary)}.special-characters-body{display:flex;flex:1;overflow:hidden}.special-characters-sidebar{width:240px;border-right:1px solid var(--border-color);background:var(--bg-surface-secondary);overflow-y:auto}.category-list{padding:12px}.category-list hr{margin:8px 0;border:none;border-top:1px solid var(--border-color)}.category-btn{display:flex;align-items:center;gap:12px;width:100%;padding:10px 12px;margin-bottom:4px;border:none;background:rgba(0,0,0,0);border-radius:var(--radius);font-size:.9rem;color:var(--text-primary);cursor:pointer;transition:all .2s ease;text-align:left}.category-btn i{font-size:1.1rem;color:var(--text-secondary);flex-shrink:0}.category-btn span{flex:1}.category-btn:hover{background:var(--bg-surface-hover)}.category-btn.active{background:var(--color-primary);color:var(--text-inverse);font-weight:500}.category-btn.active i{color:var(--text-inverse)}.special-characters-main{flex:1;display:flex;flex-direction:column;overflow:hidden}.characters-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--border-color);background:var(--bg-surface-secondary)}.characters-header h4{margin:0;font-size:1rem;font-weight:600;color:var(--text-primary)}.characters-header .character-count{font-size:.875rem;color:var(--text-secondary)}.characters-grid{flex:1;display:grid;grid-template-columns:repeat(auto-fill, minmax(80px, 1fr));gap:8px;padding:16px;overflow-y:auto;background:var(--bg-surface-secondary)}.character-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;padding:8px 6px;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface);cursor:pointer;transition:all .2s ease;overflow:hidden}.character-item .char{font-size:1.5rem;margin-bottom:2px;color:var(--text-primary);flex-shrink:0}.character-item .char-name{font-size:.65rem;color:var(--text-secondary);text-align:center;line-height:1.1;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-break:break-word}.character-item:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.character-item:hover .char-name{-webkit-line-clamp:unset;overflow:visible;position:relative;z-index:10}.character-item.selected{border-color:var(--color-primary);background:var(--color-primary-light);box-shadow:0 0 0 2px rgba(var(--color-primary-rgb), 0.2)}.character-item.selected .char{font-weight:600}.character-item-alt{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:80px;max-height:90px;padding:6px;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface);cursor:pointer;transition:all .2s ease}.character-item-alt .char{font-size:1.5rem;margin-bottom:2px;color:var(--text-primary)}.character-item-alt .char-name{font-size:.6rem;color:var(--text-secondary);text-align:center;line-height:1.1;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.special-characters-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--border-color);background:var(--bg-surface-secondary)}.character-preview{display:flex;align-items:center;gap:16px;flex:1}.character-preview .preview-char{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border:1px solid var(--border-color);border-radius:var(--radius-md);background:var(--bg-surface);font-size:1.5rem;color:var(--text-primary)}.character-preview .preview-info{display:flex;flex-direction:column;gap:2px}.character-preview .preview-info .preview-name{font-size:.95rem;font-weight:500;color:var(--text-primary)}.character-preview .preview-info .preview-code{font-size:.8rem;color:var(--text-secondary);font-family:var(--font-family-mono)}.text-stats-counter{display:flex;align-items:center;gap:16px;margin-left:auto;padding:0 16px;border-left:1px solid var(--border-color)}.stats-count{display:flex;align-items:center;gap:6px;font-size:.875rem;color:var(--text-secondary)}.stats-count i{font-size:1rem;color:var(--color-primary)}.stats-count .count-value{font-weight:600;color:var(--text-primary);min-width:24px;text-align:right}.stats-count .count-label{font-size:.75rem;color:var(--text-secondary)}.text-stats-dashboard{padding:24px;max-height:70vh;overflow-y:auto}.stats-section{margin-bottom:32px}.stats-section:last-child{margin-bottom:0}.stats-section-title{margin:0 0 16px 0;font-size:1.125rem;font-weight:600;color:var(--text-primary);display:flex;align-items:center;gap:8px}.stats-section-title::before{content:"";width:4px;height:20px;background:var(--color-primary);border-radius:2px}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));gap:16px}.stat-card{display:flex;align-items:center;gap:16px;padding:20px;background:var(--bg-surface-secondary);border:1px solid var(--border-color);border-radius:var(--radius-lg);transition:all .2s ease}.stat-card:hover{border-color:var(--color-primary);box-shadow:var(--shadow-md);transform:translateY(-2px)}.stat-icon{font-size:2rem;color:var(--color-primary);flex-shrink:0}.stat-content{flex:1;display:flex;flex-direction:column;gap:4px}.stat-value{font-size:1.75rem;font-weight:700;color:var(--text-primary);line-height:1.2}.stat-label{font-size:.875rem;color:var(--text-secondary);font-weight:500}.find-replace-container{padding:24px;max-width:600px;margin:0 auto}.find-replace-section{margin-bottom:20px}.find-replace-section:last-child{margin-bottom:0}.section-label{display:flex;align-items:center;gap:8px;margin-bottom:10px;font-size:.95rem;font-weight:600;color:var(--text-primary)}.section-label i{font-size:1.1rem;color:var(--color-primary)}.input-wrapper{position:relative;display:block;align-items:center}.find-input,.replace-input{width:100%;padding:12px 40px 12px 16px;border:2px solid var(--border-color);border-radius:var(--radius-md);font-size:.95rem;color:var(--text-primary);background:var(--bg-surface);transition:all .2s ease}.find-input:focus,.replace-input:focus{outline:none;border-color:var(--color-primary);box-shadow:0 0 0 3px rgba(var(--color-primary-rgb), 0.1)}.find-input::placeholder,.replace-input::placeholder{color:var(--text-placeholder)}.clear-input-btn{position:absolute;right:8px;display:flex;align-items:center;justify-content:center;width:28px;height:28px;border:none;background:rgba(0,0,0,0);border-radius:var(--radius);cursor:pointer;color:var(--text-secondary);transition:all .2s ease}.clear-input-btn:hover{background:var(--bg-surface-hover);color:var(--text-primary)}.clear-input-btn i{font-size:1rem}.options-grid{display:flex;flex-wrap:wrap;gap:16px}.option-item{display:flex;align-items:center;gap:8px;cursor:pointer;user-select:none}.option-item input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--color-primary)}.option-item span{font-size:.9rem;color:var(--text-primary)}.match-info-section{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:var(--bg-surface-secondary);border:1px solid var(--border-color);border-radius:var(--radius-md)}.match-counter{display:flex;align-items:center;gap:8px;font-size:.95rem;font-weight:600;color:var(--text-primary)}.match-counter i{font-size:1.1rem;color:var(--color-primary)}@media(max-width: 768px){.bol-icon-search,.bol-emoji-search{padding:.75rem 1rem}.bol-icon-search input,.bol-emoji-search input{padding:.75rem 1rem .75rem 2.5rem}.bol-icon-search i,.bol-emoji-search i{left:1.5rem}.bol-icon-tabs,.bol-emoji-tabs{padding:1rem;min-height:60px;gap:.5rem}.bol-icon-tab,.bol-emoji-tab{padding:.625rem 1rem;font-size:.875rem;min-height:38px}.bol-icon-tab .bol-tab-count,.bol-emoji-tab .bol-tab-count{min-width:20px;height:20px;font-size:.75rem}.bol-icon-body,.bol-emoji-body{padding:1rem}.bol-icon-grid{grid-template-columns:repeat(auto-fill, minmax(80px, 1fr));gap:.5rem}.bol-emoji-grid{grid-template-columns:repeat(auto-fill, minmax(45px, 1fr));gap:.375rem}.bol-icon-item{padding:.75rem}.bol-icon-item i{font-size:1.5rem}.bol-icon-item .bol-icon-name{font-size:.6875rem}.bol-emoji-item{padding:.5rem;font-size:1.5rem}.bol-icon-footer,.bol-emoji-footer{grid-template-columns:1fr;gap:1rem;padding:1rem}.bol-color-btn{padding:.375rem .625rem;font-size:.8125rem}.bol-color-btn .bol-color-preview{width:18px;height:18px}.bol-icon-preview-section .bol-icon-preview,.bol-icon-preview-section .bol-emoji-preview,.bol-emoji-preview-section .bol-icon-preview,.bol-emoji-preview-section .bol-emoji-preview{padding:1rem;min-height:100px}.bol-icon-preview-section .bol-icon-preview i,.bol-icon-preview-section .bol-emoji-preview i,.bol-emoji-preview-section .bol-icon-preview i,.bol-emoji-preview-section .bol-emoji-preview i{font-size:2.5rem}.bol-icon-preview-section .bol-icon-preview .bol-emoji-preview-char,.bol-icon-preview-section .bol-emoji-preview .bol-emoji-preview-char,.bol-emoji-preview-section .bol-icon-preview .bol-emoji-preview-char,.bol-emoji-preview-section .bol-emoji-preview .bol-emoji-preview-char{font-size:2.5rem}.bol-icon-preview-section .bol-icon-preview p,.bol-icon-preview-section .bol-emoji-preview p,.bol-emoji-preview-section .bol-icon-preview p,.bol-emoji-preview-section .bol-emoji-preview p{font-size:.8125rem}.bol-callout-types{grid-template-columns:repeat(auto-fit, minmax(100px, 1fr));gap:.5rem}.bol-callout-type{padding:.75rem}.bol-callout-type .bol-callout-icon{font-size:1.5rem}.bol-callout-type .bol-callout-label{font-size:.8125rem}.bol-table-style-grid{grid-template-columns:1fr}.bol-table-colors{grid-template-columns:repeat(auto-fill, minmax(100px, 1fr))}.bol-color-option{padding:.5rem}.bol-color-option .bol-color-preview{width:35px;height:35px}.bol-color-option .bol-color-label{font-size:.75rem}.special-characters-content{width:95%;height:90vh;max-height:none}.special-characters-sidebar{display:none}.characters-grid{grid-template-columns:repeat(auto-fill, minmax(70px, 1fr));gap:6px;padding:12px}.special-characters-footer{flex-direction:column;gap:12px}}@media(max-width: 480px){.bol-icon-tabs,.bol-emoji-tabs{padding:.875rem .75rem;gap:.375rem}.bol-icon-tab,.bol-emoji-tab{padding:.5rem .875rem;font-size:.8125rem}.bol-icon-tab .bol-tab-count,.bol-emoji-tab .bol-tab-count{min-width:18px;height:18px;padding:0 .25rem;font-size:.6875rem}.bol-icon-grid{grid-template-columns:repeat(auto-fill, minmax(70px, 1fr))}.bol-emoji-grid{grid-template-columns:repeat(auto-fill, minmax(40px, 1fr))}.bol-emoji-item{font-size:1.25rem}.bol-callout-types{grid-template-columns:repeat(2, 1fr)}.bol-table-colors{grid-template-columns:repeat(2, 1fr)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{opacity:0;transform:translateY(40px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes scaleIn{from{opacity:0;transform:scale(0.9)}to{opacity:1;transform:scale(1)}}@keyframes slideInRight{from{opacity:0;transform:translateX(100px)}to{opacity:1;transform:translateX(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{0%,100%{opacity:1}50%{opacity:.5}}@keyframes glowPulse{0%,100%{opacity:0;transform:translate(-50%, -50%) scale(1)}50%{opacity:1;transform:translate(-50%, -50%) scale(1.2)}}.boleditor__button-group--plugins [data-plugin=aiContentGenerator]{background:linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%) !important;border:none;color:var(--text-inverse);animation:pulse 2s infinite}.boleditor__button-group--plugins [data-plugin=aiContentGenerator]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(var(--color-primary-rgb), 0.4)}@media(prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important}}@media print{.ai-generating-overlay,.ai-notification,.special-characters-modal{display:none !important}}.provider-selector{display:flex;gap:1rem;margin-bottom:1rem}@media(max-width: 768px){.provider-selector{flex-direction:column}}.provider-btn{flex:1;display:flex;flex-direction:column;align-items:center;padding:1.25rem 1rem;background:#fff;border:2px solid #e5e7eb;border-radius:12px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.provider-btn::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg, #6366f1, #8b5cf6);transform:scaleX(0);transition:transform .3s ease}.provider-btn:hover{border-color:#6366f1;box-shadow:0 4px 6px -1px rgba(0,0,0,.1);transform:translateY(-2px)}.provider-btn.active{border-color:#6366f1;background:linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));box-shadow:0 0 0 3px rgba(99,102,241,.1)}.provider-btn.active::before{transform:scaleX(1)}.provider-btn.active .provider-name{color:#6366f1;font-weight:600}.provider-btn .provider-icon{font-size:2rem;margin-bottom:.5rem;transition:transform .3s ease}.provider-btn:hover .provider-icon{transform:scale(1.1)}.provider-btn .provider-name{font-size:1rem;font-weight:500;color:#111827;margin-bottom:.25rem;transition:all .3s ease}.provider-btn .provider-badge{font-size:.75rem;color:#6b7280;background:#f9fafb;padding:.125rem .5rem;border-radius:9999px;font-weight:500}.advanced-toggle{width:100%;display:flex;align-items:center;gap:.5rem;padding:.75rem 1rem;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;font-weight:500;color:#111827;cursor:pointer;transition:all .3s ease}.advanced-toggle:hover{background:rgb(239.82,242.35,244.88);border-color:hsl(220,13.0434782609%,80.9803921569%)}.advanced-toggle .toggle-icon{font-size:.875rem;transition:transform .3s ease;display:inline-block}.advanced-toggle[aria-expanded=true] .toggle-icon{transform:rotate(90deg)}.advanced-settings{margin-top:1rem;padding:1.5rem;background:linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));border:1px solid rgba(99,102,241,.1);border-radius:12px;animation:slideDown .3s ease}@keyframes slideDown{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.advanced-settings .bol-form__group{margin-bottom:1.25rem}.advanced-settings .bol-form__group:last-child{margin-bottom:0}.bol-form__range{width:100%;height:6px;border-radius:3px;background:linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);outline:none;appearance:none;cursor:pointer;position:relative}.bol-form__range::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #6366f1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:all .3s ease}.bol-form__range::-webkit-slider-thumb:hover{transform:scale(1.1);box-shadow:0 4px 12px rgba(99,102,241,.4)}.bol-form__range::-webkit-slider-thumb:active{transform:scale(0.95)}.bol-form__range::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:#fff;border:3px solid #6366f1;cursor:pointer;box-shadow:0 2px 8px rgba(0,0,0,.15);transition:all .3s ease}.bol-form__range::-moz-range-thumb:hover{transform:scale(1.1);box-shadow:0 4px 12px rgba(99,102,241,.4)}.range-value{display:inline-block;margin-left:.75rem;padding:.25rem .75rem;background:#6366f1;color:#fff;border-radius:6px;font-size:.875rem;font-weight:600;min-width:3rem;text-align:center;box-shadow:0 1px 2px 0 rgba(0,0,0,.05)}.help-text{font-size:.8125rem;color:#6b7280;font-weight:400;margin-left:.25rem}.ai-info-box{background:linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));border-left:4px solid #6366f1;padding:1rem 1.25rem;border-radius:8px;font-size:.875rem;color:#6b7280;margin-top:1.5rem}.ai-info-box strong{color:#111827;font-weight:600}.ai-info-box small{opacity:.8}.ai-generate-btn{background:linear-gradient(135deg, #6366f1, #8b5cf6);border:none;color:#fff;padding:.75rem 2rem;border-radius:10px;font-weight:600;font-size:1rem;display:flex;align-items:center;gap:.5rem;transition:all .3s ease;box-shadow:0 4px 14px rgba(99,102,241,.3);position:relative;overflow:hidden}.ai-generate-btn::before{content:"";position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);transition:left .5s}.ai-generate-btn:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(99,102,241,.4)}.ai-generate-btn:hover::before{left:100%}.ai-generate-btn:active{transform:translateY(0)}.ai-generate-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.ai-generate-btn .btn-icon{font-size:1.25rem;animation:pulse 2s ease-in-out infinite}@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.1)}}@media(max-width: 768px){.advanced-settings{padding:1rem}.provider-btn{padding:1rem .75rem}.provider-btn .provider-icon{font-size:1.5rem}.ai-generate-btn{width:100%;justify-content:center}}[data-plugin=textStatistics]{display:none !important}[data-theme=dark] .provider-btn{background:#1f2937;border-color:#374151}[data-theme=dark] .provider-btn.active{background:linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15))}[data-theme=dark] .provider-btn .provider-name{color:#f9fafb}[data-theme=dark] .provider-btn .provider-badge{background:#374151 !important;color:#9ca3af !important}[data-theme=dark] .advanced-toggle{background:#1f2937;border-color:#374151;color:#f9fafb}[data-theme=dark] .advanced-toggle:hover{background:#111827}[data-theme=dark] .advanced-settings{background:linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));border-color:rgba(99,102,241,.2)}[data-theme=dark] .ai-info-box{background:linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));color:#d1d5db}[data-theme=dark] .ai-info-box strong{color:#f9fafb}.stats-more-btn{border:none;outline:none;background:rgba(0,0,0,0)}.stats-more-btn i{color:var(--primary)}.character-preview,.characters-grid{padding:1.5rem}.favorite-btn{border:none !important;outline:none !important;background:rgba(0,0,0,0) !important}.special-characters-main .no-results{padding:1.5rem;display:block;color:var(--text-secondary);text-align:center}.special-characters-main .no-results i{color:var(--primary);margin-bottom:.5rem}[data-theme=dark]{--text-primary: #f1f5f9 !important;--text-secondary: #cbd5e1 !important;--text-tertiary: #94a3b8 !important;--text-muted: #64748b !important;--text-disabled: #475569 !important;--text-inverse: #0f172a !important;--text-placeholder: #64748b !important;--bg-surface: #0f172a !important;--bg-surface-secondary: #1e293b !important;--bg-surface-tertiary: #334155 !important;--bg-surface-hover: #475569 !important;--bg-overlay: rgba(0, 0, 0, 0.7) !important;--border-color: #334155 !important;--border-color-medium: #475569 !important;--border-color-dark: #64748b !important;--input-bg: #0f172a !important;--input-border: #334155 !important;--input-color: #f1f5f9 !important}[data-theme=dark] .bolcodeview{--syntax-comment: #8b949e;--syntax-keyword: #ff7b72;--syntax-string: #a5d6ff;--syntax-number: #79c0ff;--syntax-function: #d2a8ff;--syntax-operator: #ff7b72;--syntax-property: #79c0ff;--syntax-tag: #7ee787;--syntax-attr-name: #d2a8ff;--syntax-attr-value: #a5d6ff;--syntax-selector: #d2a8ff;--syntax-punctuation: #c9d1d9;--syntax-variable: #ffa657}[data-theme=dark] .bolcodeview .token.js-regex{background:rgba(165,214,255,.1)}[data-theme=dark] .bolcodeview .token.js-template-string{background:rgba(165,214,255,.1)}[data-theme=dark]{--shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.4), 0 1px 2px -1px rgba(0, 0, 0, 0.4);--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -2px rgba(0, 0, 0, 0.5);--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6), 0 4px 6px -4px rgba(0, 0, 0, 0.6);--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 10px -6px rgba(0, 0, 0, 0.7)}@media(prefers-color-scheme: dark){[data-theme=auto],:root:not([data-theme]){--text-primary: #f1f5f9 !important;--text-secondary: #cbd5e1 !important;--text-tertiary: #94a3b8 !important;--text-muted: #64748b !important;--text-disabled: #475569 !important;--text-inverse: #0f172a !important;--text-placeholder: #64748b !important;--bg-surface: #0f172a !important;--bg-surface-secondary: #1e293b !important;--bg-surface-tertiary: #334155 !important;--bg-surface-hover: #475569 !important;--bg-overlay: rgba(0, 0, 0, 0.7) !important;--border-color: #334155 !important;--border-color-medium: #475569 !important;--border-color-dark: #64748b !important;--input-bg: #0f172a !important;--input-border: #334155 !important;--input-color: #f1f5f9 !important}}.boleditor,.boleditor *,.bol-modal__dialog,.bol-modal__dialog *{transition:background-color .3s ease,color .3s ease,border-color .3s ease}@media(prefers-contrast: high){.boleditor{border-width:2px}.boleditor .boleditor__toolbar{border-bottom-width:2px}.boleditor .boleditor__status{border-top-width:2px}.boleditor .boleditor__btn{border-width:2px}.boleditor .bolcodeview__line-numbers{border-right-width:2px}.boleditor .token{font-weight:var(--font-weight-semibold) !important}}[dir=rtl] .boleditor__toolbar{direction:rtl}[dir=rtl] .boleditor__button-group{border-right:none;border-left:var(--border-width) solid var(--border-color);padding-right:0;padding-left:.5rem}[dir=rtl] .boleditor__button-group:last-child{border-left:none;padding-left:0}[dir=rtl] .boleditor__button-group--plugins{margin-left:0;margin-right:auto}[dir=rtl] .boleditor__content{direction:rtl;text-align:right}[dir=rtl] .boleditor__content ul,[dir=rtl] .boleditor__content ol{padding-left:0;padding-right:2rem}[dir=rtl] .boleditor__content blockquote{border-left:none;border-right:4px solid var(--color-primary);padding-left:0;padding-right:1rem}[dir=rtl] .boleditor__status{direction:rtl}[dir=rtl] .bol-tooltip .tooltip-icon{margin-right:0;margin-left:.375rem}[dir=rtl] .bol-tooltip .tooltip-shortcut{margin-left:0;margin-right:.5rem}[dir=rtl] .bol-modal__header{direction:rtl}[dir=rtl] .bol-modal__body{direction:rtl;text-align:right}[dir=rtl] .bol-modal__footer{direction:rtl;justify-content:flex-start}[dir=rtl] .bol-form__label{text-align:right}[dir=rtl] .bol-form__input{direction:rtl;text-align:right}[dir=rtl] .bolcodeview__toolbar{direction:rtl}[dir=rtl] .bolcodeview__line-numbers{border-right:none;border-left:2px solid var(--border-color-medium);right:0;left:auto}[dir=rtl] .bolcodeview__line-number{text-align:left;justify-content:flex-start}[dir=rtl] .bol-plugin-panel{direction:rtl;text-align:right}.ltr-only{direction:ltr !important;text-align:left !important}.rtl-only{direction:rtl !important;text-align:right !important}@supports(margin-inline-start: 0){.boleditor__button-group{border-inline-end:var(--border-width) solid var(--border-color);padding-inline-end:.5rem}.boleditor__button-group:last-child{border-inline-end:none;padding-inline-end:0}.boleditor__content ul,.boleditor__content ol{padding-inline-start:2rem}.boleditor__content blockquote{border-inline-start:4px solid var(--color-primary);padding-inline-start:1rem}}