.loading-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.75rem;min-height:180px;padding:1.5rem}.loading-panel .spinner{width:28px;height:28px;border-width:3px}.loading-panel-text{margin:0;font-size:.9rem;color:#64748b;font-weight:500}.profile-gate-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.5rem 1rem;background:rgba(15,23,42,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);overflow-y:auto}.profile-gate-card{width:100%;max-width:540px;background:#ffffff;border-radius:16px;box-shadow:0 24px 48px -12px #0f172a59;padding:1.75rem;margin:auto}.profile-gate-title{margin:0 0 .375rem;font-size:1.25rem;font-weight:700;color:#1e293b}.profile-gate-subtitle{margin:0 0 1.5rem;font-size:.875rem;color:#64748b;line-height:1.45}.layout-container{display:flex;height:100vh;width:100vw;background-color:var(--bg-color);color:var(--text-color);overflow:hidden}.sidebar{width:260px;background-color:#fff;display:flex;flex-direction:column;padding:.75rem 0 1.5rem;flex-shrink:0}.sidebar-footer-row{display:flex;align-items:center;gap:.75rem}.sidebar-actions-col{display:flex;flex-direction:column;align-items:center;justify-content:center;flex-shrink:0;gap:2px;align-self:center}.sidebar-avatar-btn{width:38px;height:38px;border-radius:50%;border:2px solid #e5e7eb;flex-shrink:0;cursor:pointer;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:border-color .2s ease;padding:0;background-size:cover;background-position:center}.sidebar-avatar-btn:hover{border-color:#1e3a5f}.sidebar-avatar-initials{color:#fff;font-size:.8125rem;font-weight:700;line-height:1}.sidebar-header{padding:0 1.5rem 1.5rem;border-bottom:1px solid var(--border-color);margin-bottom:1.5rem;flex-shrink:0}.sidebar-header h2{margin:0;font-size:1.25rem;font-weight:700;color:#1e3a5f}.sidebar-nav{display:flex;flex-direction:column;gap:.5rem;padding:0 1rem;flex-grow:1;overflow-y:auto;min-height:0}.sidebar-nav::-webkit-scrollbar{width:6px}.sidebar-nav::-webkit-scrollbar-thumb{background-color:#94a3b866;border-radius:3px}.sidebar-nav::-webkit-scrollbar-thumb:hover{background-color:#94a3b8b3}.sidebar-nav::-webkit-scrollbar-track{background:transparent}.nav-link{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:8px;color:#475569;text-decoration:none;font-weight:500;transition:all .2s ease;border:none;background:none;font-family:inherit;font-size:1rem;cursor:pointer;text-align:left}.nav-link:hover{background-color:#f1f5f9;color:#1e3a5f}.nav-link.active{background-color:#1e3a5f1a;color:#1e3a5f}.sidebar-footer{padding:.875rem 1rem;border-top:1px solid var(--border-color);margin-top:auto;display:flex;flex-direction:column-reverse;justify-content:center;gap:.5rem;flex-shrink:0;background-color:#fff}.sidebar-account-actions{display:flex;flex-direction:column;gap:.25rem;padding-top:.5rem;border-top:1px solid var(--border-color)}.account-action-btn{display:flex;align-items:center;gap:.625rem;width:100%;min-height:38px;padding:.5rem .625rem;border:1px solid transparent;border-radius:8px;background:transparent;cursor:pointer;font-size:.8125rem;font-weight:500;color:#1e293b;text-align:left;transition:background-color .12s ease,border-color .12s ease}.account-action-btn svg{flex-shrink:0;display:block}.account-action-btn span{display:flex;align-items:center;line-height:1.2}.account-action-btn:hover{background-color:#f1f5f9;border-color:#e2e8f0}.account-action-btn--danger{color:#dc2626}.account-action-btn--danger:hover{background-color:#fef2f2;border-color:#fecaca}.main-content{flex-grow:1;overflow-y:auto;padding:2rem}.sidebar-section{display:flex;flex-direction:column;gap:.5rem}.sidebar-section+.sidebar-section{margin-top:.75rem}.sidebar-section-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;padding:.3rem .5rem;border:none;background:transparent;cursor:pointer;font-size:.6875rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8;border-radius:6px;transition:background-color .12s ease,color .12s ease}.sidebar-section-toggle:hover{background-color:#f1f5f9;color:#64748b}.sidebar-section-chevron{flex-shrink:0;transition:transform .2s ease}.sidebar-section-toggle:not(.open) .sidebar-section-chevron{transform:rotate(-90deg)}.app-select{position:relative;font-family:inherit}.app-select-trigger{width:100%;display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem .75rem;border:1px solid var(--border-color);border-radius:6px;background-color:var(--panel-bg);color:var(--text-color);font-family:inherit;font-size:.875rem;font-weight:400;cursor:pointer;outline:none;box-shadow:0 1px 2px #0000000d;text-align:left;box-sizing:border-box;line-height:1.4}.app-select-trigger:focus,.app-select--open .app-select-trigger{border-color:var(--primary-color)}.app-select--disabled .app-select-trigger{background-color:#f1f5f9;color:#94a3b8;cursor:not-allowed}.app-select-value{flex:1}.app-select-value--placeholder{color:#94a3b8}.app-select-chevron{width:1em;height:1em;flex-shrink:0;color:#475569;transition:transform .15s}.app-select--open .app-select-chevron{transform:rotate(180deg)}.app-select-list{margin:0;padding:.25rem 0;list-style:none;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:6px;box-shadow:0 8px 16px -4px #0f172a1f;max-height:240px;overflow-y:auto}.app-select-option{padding:.5rem .75rem;font-size:.875rem;font-weight:400;color:var(--text-color);cursor:pointer;text-align:left}.app-select-option:hover,.app-select-option--active{background:#f1f5f9}.app-select--sm .app-select-trigger{padding:.35rem .55rem;font-size:.78rem;font-weight:400;color:#475569}.app-select--sm .app-select-option{padding:.4rem .6rem;font-size:.78rem}.app-select-empty{padding:.5rem .75rem;font-size:.875rem;color:#94a3b8;text-align:center}.dashboard-container{display:flex;flex-direction:column;gap:1.5rem}.dashboard-header{display:flex;justify-content:space-between;align-items:center}.filters{display:flex;gap:1rem}.filters .filter-select,.filters .filter-select-wrap{width:250px}.filters .filter-date-input{border:1px solid #e5e7eb;border-radius:8px;padding:.55rem .75rem;font-size:.875rem;color:#1e3a5f;background-color:#fff;font-family:inherit;outline:none;transition:border-color .15s}.filters .filter-date-input:focus{border-color:#1aa1ad}.metric-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem}.metric-header h3{margin-bottom:0!important}.metric-subtext{font-size:.8rem;color:#94a3b8;margin-top:.5rem;display:block}.charts-grid{display:grid;grid-template-columns:2fr 1fr;gap:1.5rem;margin-top:.5rem}@media (max-width: 1024px){.charts-grid{grid-template-columns:1fr}}.chart-card{background-color:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;box-shadow:0 4px 6px -1px #0000000d}.chart-card h3{margin-bottom:1.5rem;font-size:1.1rem}.chart-wrapper{height:300px;width:100%}.clickable-card{cursor:pointer;transition:all .2s cubic-bezier(.4,0,.2,1);border:2px solid transparent}.clickable-card:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-color:#e2e8f0}.clickable-card.active{border-color:#1aa1ad;background-color:#e6f6f7;box-shadow:0 0 0 3px #1aa1ad26}.chart-clickable-wrapper .recharts-surface{cursor:pointer!important}.active-filter-badge{display:inline-flex;align-items:center;gap:.4rem;padding:.3rem .8rem;background-color:#dbeafe;color:#1e3a8a;border-radius:9999px;font-size:.85rem;font-weight:500;border:1px solid #bfdbfe;box-shadow:0 1px 2px #0000000d}.active-filter-badge button{background:transparent;border:none;color:#1e3a8a;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:.1rem;border-radius:50%;transition:background-color .2s}.active-filter-badge button:hover{background-color:#bfdbfe}.btn-clear-filters{background-color:#fff;border:1px solid #d1d5db;color:#4b5563;padding:.3rem .8rem;border-radius:9999px;font-size:.85rem;cursor:pointer;transition:all .2s}.btn-clear-filters:hover{background-color:#f3f4f6;color:#111827}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem}.btn-primary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background-color:var(--primary-color);color:#fff;border:none;padding:.55rem 1.1rem;min-width:160px;border-radius:8px;font-weight:500;font-size:.875rem;cursor:pointer;transition:background-color .2s ease,transform .1s ease;font-family:inherit;line-height:1.2;white-space:nowrap}.btn-primary:active{transform:scale(.96)}.btn-primary:hover:not(:disabled){background-color:var(--primary-color-hover)}.btn-primary:disabled{background-color:#cbd5e1;color:#fff;cursor:not-allowed;transform:none}.btn-secondary{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background-color:var(--panel-bg, #fff);color:#64748b;border:1px solid #cbd5e1;padding:.55rem 1.1rem;min-width:160px;border-radius:8px;font-weight:500;font-size:.875rem;cursor:pointer;transition:all .2s ease;font-family:inherit;line-height:1.2;white-space:nowrap}.btn-secondary:hover:not(:disabled){background-color:#f1f5f9;color:#1e3a5f}.btn-secondary:disabled{opacity:.45;cursor:not-allowed}.table-container{overflow-x:auto;margin:0 -1.5rem -1.5rem}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th,.data-table td{padding:.6rem .7rem;border-bottom:1px solid #e2e8f0;border-right:1px solid #f1f5f9}.data-table td{font-size:.78rem;height:3.4rem;vertical-align:middle}.data-table th:last-child,.data-table td:last-child{border-right:none}.data-table tbody tr:hover td{background-color:#f8fafc}.data-table th{color:#475569;font-weight:600;font-size:.85rem;background-color:#f8fafc;text-align:center;border-top:1px solid #e2e8f0}.col-filter{display:block;width:100%;margin-top:.5rem;padding:.4rem 1.8rem .4rem .6rem;border:1px solid var(--border-color);border-radius:6px;font-family:inherit;font-size:.78rem;font-weight:400;background-color:var(--panel-bg);color:var(--text-color);outline:none;cursor:pointer;box-shadow:0 1px 2px #0000000d;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .5rem center;background-size:.85em;box-sizing:border-box}.col-filter:focus{border-color:var(--primary-color)}.col-filter--plain{background-image:none;padding-right:.6rem}.col-filter option{padding:4px;font-weight:400}.data-table tbody tr:last-child td{border-bottom:none}.data-table tbody tr:hover{background-color:#f8fafc}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;color:#1e3a5f;font-size:.85em;font-weight:500}.badge{display:inline-flex;align-items:center;padding:.25rem .75rem;border-radius:9999px;font-size:.75rem;font-weight:600}.badge-active{background-color:#10b98126;color:#059669}.badge-available{background-color:#f59e0b26;color:#d97706}.badge-inactive{background-color:#64748b26;color:#64748b}.action-buttons{display:flex;gap:.5rem}.btn-icon{background:none;border:none;color:#64748b;cursor:pointer;padding:.35rem;border-radius:6px;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.btn-icon:hover{background-color:#e2e8f0;color:#1e3a5f}.btn-icon.danger:hover{background-color:#fee2e2;color:#ef4444}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}.form-control{padding:.75rem;border:1px solid #cbd5e1;border-radius:6px;font-family:inherit;font-size:.95rem;outline:none;transition:border-color .2s}.form-control:focus{border-color:var(--primary-color)}.form-control:disabled{background-color:#f1f5f9;color:#94a3b8;cursor:not-allowed}.spinner{width:36px;height:36px;border:4px solid #e5e7eb;border-top-color:var(--primary-color, #3b82f6);border-radius:50%;animation:spin .75s linear infinite}.bulk-bar{display:flex;flex-direction:column;gap:.75rem}.bulk-bar-count{font-weight:600;color:#374151}.bulk-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:.75rem}@media (min-width: 700px){.bulk-fields{grid-template-columns:repeat(3,1fr)}}.bulk-fields>*{min-width:0}.bulk-fields .col-filter,.bulk-fields .app-select-trigger{height:34px;margin:0;box-sizing:border-box}.bulk-fields .app-select-value{white-space:nowrap;overflow:hidden}.bulk-actions{display:flex;flex-wrap:wrap;gap:.75rem}.bulk-actions .btn-primary,.bulk-actions .bulk-delete{flex:0 1 auto;min-width:150px;height:36px;display:inline-flex;align-items:center;justify-content:center;gap:.3rem}.bulk-delete{background:#ef4444;color:#fff;border:none;border-radius:6px;cursor:pointer;font-weight:600}.bulk-delete:hover{background:#dc2626}/*!
 * Quill Editor v1.3.7
 * https://quilljs.com/
 * Copyright (c) 2014, Jason Chen
 * Copyright (c) 2013, salesforce.com
 */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:none;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor p,.ql-editor ol,.ql-editor ul,.ql-editor pre,.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"•"}.ql-editor ul[data-checked=true],.ql-editor ul[data-checked=false]{pointer-events:none}.ql-editor ul[data-checked=true]>li *,.ql-editor ul[data-checked=false]>li *{pointer-events:all}.ql-editor ul[data-checked=true]>li:before,.ql-editor ul[data-checked=false]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"☑"}.ql-editor ul[data-checked=false]>li:before{content:"☐"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:#0009;content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow.ql-toolbar:after,.ql-snow .ql-toolbar:after{clear:both;content:"";display:table}.ql-snow.ql-toolbar button,.ql-snow .ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow.ql-toolbar button svg,.ql-snow .ql-toolbar button svg{float:left;height:100%}.ql-snow.ql-toolbar button:active:hover,.ql-snow .ql-toolbar button:active:hover{outline:none}.ql-snow.ql-toolbar input.ql-image[type=file],.ql-snow .ql-toolbar input.ql-image[type=file]{display:none}.ql-snow.ql-toolbar button:hover,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar button:focus,.ql-snow .ql-toolbar button:focus,.ql-snow.ql-toolbar button.ql-active,.ql-snow .ql-toolbar button.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item.ql-selected{color:#06c}.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill{fill:#06c}.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter{stroke:#06c}@media (pointer: coarse){.ql-snow.ql-toolbar button:hover:not(.ql-active),.ql-snow .ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-thin,.ql-snow .ql-stroke.ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-label:before,.ql-snow .ql-picker.ql-header .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-label:before,.ql-snow .ql-picker.ql-font .ql-picker-item:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-label:before,.ql-snow .ql-picker.ql-size .ql-picker-item:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:#0003 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0px}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0px;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}.noticias-container{padding:1.5rem}.editor-grid{display:grid;grid-template-columns:1fr 1fr;gap:2rem}@media (max-width: 1024px){.editor-grid{grid-template-columns:1fr}}.editor-section,.preview-section{display:flex;flex-direction:column;height:100%;min-height:480px;min-width:0}.editor-section h3,.preview-section h3{margin-top:0;margin-bottom:.35rem;font-size:1.15rem;color:#1e3a5f}.editor-hint{font-size:.85rem;color:#4b5563;margin-bottom:.5rem}.quill-wrapper{background-color:transparent;flex:1;display:flex;flex-direction:column;min-height:0}.quill-editor{flex:1;display:flex;flex-direction:column;min-height:0}.quill-editor .ql-toolbar.ql-snow{border:.5px solid #e5e7eb;border-top:1px solid #e5e7eb;border-bottom:none;border-radius:0;background-color:#f8fafc;font-family:Segoe UI,sans-serif;font-size:.8rem;padding:.4rem .75rem}.quill-editor .ql-container.ql-snow{flex:1;border:.5px solid #e5e7eb;border-top:none;border-bottom-left-radius:8px;border-bottom-right-radius:8px;font-family:Segoe UI,sans-serif;font-size:.85rem;color:#111827;background-color:#fff;overflow-y:auto}.quill-editor .ql-container.ql-snow:focus-within{background-color:#f8fafc}.quill-editor .ql-editor{min-height:300px;padding:1.25rem 1.5rem;line-height:1.2}.quill-editor .ql-editor p{margin-bottom:0!important}.quill-editor .ql-editor.ql-blank:before{font-style:italic;color:#94a3b8;font-size:.85rem}.quill-editor .ql-insertEmoji{display:inline-flex;align-items:center;justify-content:center}.quill-editor .ql-insertEmoji:after{content:"😀";font-size:1.1rem;line-height:1}.preview-box{border:none;border-radius:0;background-color:#1e3a5f;display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.preview-content-box{padding:1.5rem;flex-grow:1;overflow-x:hidden;overflow-y:auto;background-color:#1e3a5f}.console-wrapper{color:#e5e7eb;font-family:Segoe UI,Consolas,monospace;font-size:11px;line-height:1.2}.console-separator{color:#4b5563;letter-spacing:1px;margin:.5rem 0;overflow:hidden;white-space:nowrap}.console-body{display:flex;flex-direction:column;gap:0}.console-prefix{color:#e5e7eb;font-weight:400;margin-bottom:.1rem}.html-console-preview{display:flex;flex-direction:column}.preview-content-box *{color:#e5e7eb!important;font-family:Segoe UI,sans-serif!important;background-color:transparent!important;margin:0}.html-console-preview p{margin:0!important}.html-console-preview ul,.html-console-preview ol{margin:0 0 .5rem 1.2rem!important;padding:0}.html-console-preview li{margin-bottom:0!important;list-style-type:disc}.html-console-preview strong,.html-console-preview b{font-weight:700!important}.html-console-preview em,.html-console-preview i{font-style:italic!important}.html-console-preview u{text-decoration:underline!important}.console-text{white-space:pre-wrap;word-break:break-all}.preview-content-box img{max-width:100%}.noticias-page-wrapper{display:flex;flex-direction:column;gap:1.5rem}.noticias-header{display:flex;justify-content:space-between;align-items:center;background-color:transparent;padding:0;margin-bottom:0}.premium-card{border-radius:12px;box-shadow:0 10px 15px -3px #00000008,0 4px 6px -2px #00000005;border:1px solid #f1f5f9}.section-header{display:flex;align-items:center;gap:16px;margin-bottom:.5rem;min-height:0}.title-input{width:100%;padding:1rem 1.25rem;font-size:1.1rem;font-weight:600;color:#1e3a5f;border:1px solid var(--border-color);border-bottom:none;border-top-left-radius:8px;border-top-right-radius:8px;outline:none;font-family:inherit;background-color:#fff;box-sizing:border-box}.title-input:focus{background-color:#f8fafc}.empty-preview{display:flex;align-items:center;justify-content:center;height:100%;color:#94a3b8;font-style:italic;font-size:.95rem}.custom-scrollbar::-webkit-scrollbar{width:6px}.custom-scrollbar::-webkit-scrollbar-track{background:transparent}.custom-scrollbar::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:10px}.empty-state{text-align:center;padding:3rem;color:#64748b;font-size:1.1rem;background-color:#f8fafc;border-radius:8px;border:1px dashed #cbd5e1}.configuracion-page-wrapper{display:flex;flex-direction:column;gap:1.5rem}.configuracion-header{display:flex;justify-content:space-between;align-items:center;background-color:transparent;padding:0;margin-bottom:0}.configuracion-container{padding:1.5rem}.editor-grid{display:flex;flex-direction:column}.editor-section{display:flex;flex-direction:column;min-height:480px}.editor-section h3{margin-top:0;margin-bottom:.35rem;font-size:1.15rem;color:#1e3a5f}.section-header{margin-bottom:.5rem;min-height:0}.config-editor-content{display:flex;flex-direction:column;gap:1rem;flex:1}.config-type-selector{display:flex;gap:.5rem;border-bottom:1px solid #e5e7eb;padding-bottom:1rem;margin-bottom:.5rem}.type-btn{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.6rem 1rem;border:1px solid #e2e8f0;background:white;border-radius:8px;font-weight:500;color:#64748b;cursor:pointer;transition:all .2s;white-space:nowrap}.type-btn-equal{flex:1}.type-btn:hover{background:#f8fafc;color:#334155}.type-btn.active{background:#e6f6f7;border-color:#1aa1ad;color:#137b85}.action-icon-btn{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;border:1px solid #e2e8f0;background:white;border-radius:8px;color:#64748b;cursor:pointer;transition:all .2s;flex-shrink:0}.action-icon-btn:hover{background:#f8fafc;border-color:#94a3b8;color:#334155}.action-icon-btn.danger{color:#ef4444}.action-icon-btn.danger:hover{background:#fef2f2;border-color:#fca5a5}.form-group{display:flex;flex-direction:column;gap:.4rem}.form-group label{font-size:.85rem;font-weight:600;color:#475569;text-transform:uppercase;letter-spacing:.5px}.config-textarea{flex:1;width:100%;padding:.85rem 1rem;font-size:.85rem;font-family:monospace;color:#1e3a5f;border:1px solid #e5e7eb;border-radius:8px;outline:none;background-color:#fff;box-sizing:border-box;resize:none;min-height:250px;transition:border-color .2s,box-shadow .2s}.config-textarea:focus{background-color:#f8fafc;border-color:#1aa1ad;box-shadow:0 0 0 3px #1aa1ad26}.success-badge{display:flex;align-items:center;gap:.4rem;color:#059669;background-color:#d1fae5;padding:.5rem 1rem;border-radius:9999px;font-size:.85rem;font-weight:600;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.premium-card{border-radius:12px;box-shadow:0 10px 15px -3px #00000008,0 4px 6px -2px #00000005;border:1px solid #f1f5f9;background:white}.slide-in{animation:slideIn .2s ease-out}@keyframes slideIn{0%{opacity:0;transform:translate(-10px)}to{opacity:1;transform:translate(0)}}.drop-zone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.5rem;padding:1.5rem;border:2px dashed #cbd5e1;border-radius:10px;background:#f8fafc;cursor:pointer;transition:all .2s}.drop-zone:hover{border-color:#93c5fd;background:#eff6ff}.drop-zone-active{border-color:#1aa1ad;background:#e6f6f7}.drop-zone-text{font-size:.85rem;color:#64748b;text-align:center}.logo-row{display:flex;gap:1rem;align-items:stretch}.logo-row .drop-zone{flex:1}.logo-preview{display:flex;align-items:center;justify-content:center;padding:.75rem;background:#ffffff;border-radius:8px;border:1px solid #e5e7eb;width:120px;min-width:120px}.logo-preview img{max-width:100px;max-height:100px;object-fit:contain;border-radius:6px}.logo-preview-empty{flex-direction:column;gap:.5rem;color:#94a3b8;font-size:.75rem;background:#ffffff}.version-bump-badge{display:inline-flex;align-items:center;margin-left:.5rem;padding:2px 8px;background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;border-radius:999px;font-size:.7rem;font-weight:600;letter-spacing:.02em;animation:bump-pulse .4s ease-out}@keyframes bump-pulse{0%{transform:scale(.85);opacity:0}60%{transform:scale(1.05);opacity:1}to{transform:scale(1);opacity:1}}.tc-msg{display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;border-radius:8px;font-size:.85rem;margin-bottom:1rem}.tc-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.tc-info{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.tc-filter-row td{padding:.4rem 1.5rem;background-color:#f8fafc;border-bottom:1px solid var(--border-color)}.tc-th-inner{display:inline-flex;align-items:center;gap:.3rem;justify-content:center}.data-table tr.tc-row-dirty{background:#fffbeb}.data-table tr.tc-row-dirty:hover{background:#fef3c7}.tc-bot-cell{display:flex;flex-direction:column;gap:.15rem;min-width:0;font-size:.85rem}.tc-bot-id{font-size:.7rem;color:#94a3b8}.tc-combobox{position:relative}.tc-combobox .app-input{padding-right:2.2rem;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .6rem center;background-size:1em}.tc-combobox-list{position:absolute;top:calc(100% + 4px);left:0;right:0;margin:0;padding:.25rem 0;list-style:none;background:var(--panel-bg);border:1px solid var(--border-color);border-radius:6px;box-shadow:0 8px 16px -4px #0f172a1f;max-height:220px;overflow-y:auto;z-index:50}.tc-combobox-option{padding:.45rem .75rem;font-size:.875rem;font-weight:400;color:var(--text-color);cursor:pointer;text-align:left}.tc-combobox-option:hover{background:#f1f5f9}.module-selection-page{min-height:100vh;background-color:var(--kapi-bg);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:2rem 1.5rem}.module-selection-header{text-align:center;margin-bottom:2.5rem}.module-selection-header h1{font-size:1.625rem;font-weight:700;color:var(--kapi-text);margin:0 0 .375rem}.module-selection-header p{font-size:.9375rem;color:var(--kapi-text-muted);margin:0}.module-selection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,280px));justify-content:center;gap:1.5rem;width:100%;max-width:960px}.module-tile{background-color:var(--kapi-surface);border:1.5px solid var(--kapi-border);border-radius:var(--kapi-radius-tile);padding:2.5rem 2rem;box-shadow:var(--kapi-shadow-tile);cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:1.125rem;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;font-family:inherit;outline:none}.module-tile:hover{transform:translateY(-4px);box-shadow:var(--kapi-shadow-tile-hover)}.module-tile:focus-visible{outline:3px solid var(--kapi-teal);outline-offset:3px}.module-tile--konnect:hover{border-color:var(--kapi-konnect)}.module-tile--check:hover{border-color:var(--kapi-check-accent)}.module-tile--admin:hover{border-color:#7c3aed}.module-tile-icon{width:64px;height:64px;border-radius:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:transform .2s ease}.module-tile:hover .module-tile-icon{transform:scale(1.08)}.module-tile-icon--konnect{background-color:var(--kapi-konnect-soft);color:var(--kapi-konnect)}.module-tile-icon--check{background-color:var(--kapi-check-soft);color:var(--kapi-check)}.module-tile-icon--admin{background-color:#7c3aed1a;color:#7c3aed}.module-tile-body{text-align:center}.module-tile-title{font-size:1rem;font-weight:700;color:var(--kapi-text);margin:0 0 .25rem;letter-spacing:.01em}.module-tile-subtitle{font-size:.8125rem;color:var(--kapi-text-muted);margin:0}.module-tile-enter{font-size:.75rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;opacity:0;transition:opacity .2s ease}.module-tile--konnect .module-tile-enter{color:var(--kapi-konnect)}.module-tile--check .module-tile-enter{color:var(--kapi-check-accent)}.module-tile--admin .module-tile-enter{color:#7c3aed}.module-tile:hover .module-tile-enter{opacity:1}.module-selection-logo{margin-bottom:2rem;text-align:center}.module-selection-empty{font-size:.9375rem;color:var(--kapi-text-muted);text-align:center;max-width:360px;line-height:1.5}.module-selection-logo img{width:260px;max-width:100%;height:auto;display:inline-block;mix-blend-mode:multiply}@media (max-width: 520px){.module-selection-grid{grid-template-columns:1fr;max-width:320px}.module-tile{padding:2rem 1.5rem}}.bot-assign-root{display:flex;flex-direction:column;gap:1rem}.bot-assign-user-row{width:320px}.bot-assign-checklist{display:flex;flex-direction:column;gap:1.25rem}.bot-assign-category{display:flex;flex-direction:column;border:1px solid var(--kapi-border);border-radius:10px;overflow:hidden}.bot-assign-cat-header{display:flex;align-items:center;gap:.6rem;padding:.65rem 1rem;background:#f1f5f9;cursor:pointer;-webkit-user-select:none;user-select:none}.bot-assign-cat-header input[type=checkbox]{accent-color:var(--kapi-navy);width:15px;height:15px;flex-shrink:0;cursor:pointer}.bot-assign-cat-label{font-size:.82rem;font-weight:700;color:var(--kapi-navy);text-transform:none;letter-spacing:0;padding-bottom:0;border-bottom:none}.bot-assign-bots{display:grid;grid-template-columns:repeat(3,1fr);padding:.5rem 0;background:var(--kapi-surface);border-top:1px solid var(--kapi-border)}.bot-assign-bot-row{display:flex;align-items:center;gap:.6rem;padding:.45rem 1rem;cursor:pointer;font-size:.85rem;color:var(--kapi-text);transition:background .1s;-webkit-user-select:none;user-select:none}.bot-assign-bot-row:hover{background:#f1f5f9}.bot-assign-bot-row input[type=checkbox]{accent-color:var(--kapi-navy);width:14px;height:14px;flex-shrink:0;cursor:pointer}.bot-assign-empty{padding:.5rem 1rem;font-size:.8rem;color:var(--kapi-text-muted)}.bot-assign-footer{display:flex;justify-content:flex-end;padding-top:.5rem}.admin-tabs{display:flex;gap:4px}.admin-tabs--centered{justify-content:center}.admin-tab{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;width:200px;white-space:nowrap;padding:.5rem 1.25rem;border:1px solid transparent;border-radius:6px;background:transparent;color:#64748b;font-family:inherit;font-size:.875rem;font-weight:600;cursor:pointer;transition:all .15s}.admin-tab:hover:not(.active){color:#1e2a52;background:rgba(30,42,82,.04)}.admin-tab.active{background:rgba(30,42,82,.08);color:#1e2a52;border-color:#1e2a52;box-shadow:0 1px 3px #1e2a521f}.admin-msg-row{margin-bottom:1rem}.admin-alert{display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;border-radius:8px;font-size:.85rem}.admin-alert-error{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.admin-alert-success{background:#d1fae5;color:#065f46;border:1px solid #a7f3d0}.admin-form-card{margin-bottom:1rem;padding:1.5rem}.admin-form{display:flex;flex-direction:column;gap:1rem}.admin-form-actions{display:flex;justify-content:flex-end;gap:.75rem}.admin-company-cell{display:inline-flex;align-items:center;gap:.5rem;color:#1e3a5f;font-weight:500}.admin-user-cell{display:flex;align-items:center;gap:.75rem}.admin-avatar{width:36px;height:36px;border-radius:50%;background:var(--primary-color);color:#fff;display:flex;align-items:center;justify-content:center;font-size:.78rem;font-weight:700;flex-shrink:0}.admin-user-info{display:flex;flex-direction:column;min-width:0}.admin-user-name{font-weight:500;color:#1e3a5f;font-size:.9rem}.admin-user-email{font-size:.75rem;color:#94a3b8}.admin-tags{display:flex;flex-wrap:wrap;gap:.5rem}.admin-tag{display:inline-flex;align-items:center;gap:.4rem;background:#f8fafc;border:1px solid var(--border-color);border-radius:6px;padding:.3rem .5rem;font-size:.8rem;color:#1e3a5f;width:210px;flex-shrink:0}.admin-tag-name{flex:1;min-width:0}.admin-shield-btn{background:none;border:none;cursor:pointer;color:#cbd5e1;padding:.3rem;border-radius:6px;display:inline-flex;align-items:center;justify-content:center;transition:color .15s,background-color .15s}.admin-shield-btn:hover:not(:disabled){color:#1aa1ad;background-color:#e6f6f7}.admin-shield-btn.active{color:#6ba023}.admin-shield-btn.active:hover:not(:disabled){color:#dc2626;background-color:#fef2f2}.admin-shield-btn:disabled{opacity:.4;cursor:not-allowed}.admin-tag-remove{background:none;border:none;cursor:pointer;color:#94a3b8;padding:0;display:inline-flex;margin-left:.15rem}.admin-tag-remove:hover:not(:disabled){color:#ef4444}.admin-tag-remove:disabled{opacity:.4;cursor:not-allowed}.kc-mode-toggle{display:inline-flex;background-color:var(--bg-color);border-radius:8px;padding:3px;gap:2px}.kc-mode-btn{padding:.4rem 1rem;min-width:90px;border:none;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;font-family:inherit;background:transparent;color:#64748b;transition:background-color .15s ease,color .15s ease}.kc-mode-btn--active{background-color:var(--panel-bg);color:var(--primary-color);font-weight:600;box-shadow:0 1px 3px #00000014}.admin-credit-input{flex:1;min-width:0;box-sizing:border-box;border:1px solid var(--border-color);border-radius:6px;padding:.4rem 1.3rem .4rem .6rem;font-size:.85rem;font-family:inherit;color:var(--text-color);background-color:var(--panel-bg);outline:none;text-align:right}.admin-credit-input:focus{border-color:var(--primary-color)}.admin-assign-row{display:flex;gap:.5rem;align-items:center}.admin-assign-row .app-select{flex:1;min-width:0}.admin-module-access{display:flex;flex-direction:column;gap:.3rem}.admin-module-check{display:flex;align-items:center;gap:.4rem;font-size:.8rem;color:#1e3a5f;cursor:pointer;-webkit-user-select:none;user-select:none}.admin-module-check input[type=checkbox]{accent-color:#1e3a5f;cursor:pointer}.admin-module-check--disabled{cursor:default;opacity:.6}.admin-module-check--disabled input[type=checkbox]{cursor:not-allowed}.admin-floating-action{display:flex;justify-content:flex-end;margin-top:1rem}:root{--kapi-navy: #1E2A52;--kapi-navy-dark: #16203f;--kapi-lime: #8CC63F;--kapi-lime-dark: #74a830;--kapi-teal: #1AA1AD;--kapi-teal-dark: #14808a;--kapi-konnect: #1AA1AD;--kapi-konnect-soft: rgba(26, 161, 173, .1);--kapi-check: #1E2A52;--kapi-check-soft: rgba(30, 42, 82, .08);--kapi-check-accent: #8CC63F;--kapi-bg: #f6f8fa;--kapi-surface: #ffffff;--kapi-border: #e5e7eb;--kapi-text: #111827;--kapi-text-muted: #64748b;--kapi-danger: #ef4444;--kapi-warn: #f59e0b;--kapi-ok: #16a34a;--kapi-radius-tile: 16px;--kapi-shadow-tile: 0 1px 3px rgba(0, 0, 0, .06);--kapi-shadow-tile-hover: 0 10px 28px rgba(0, 0, 0, .12)}:root{--primary-color: #1e3a5f;--primary-color-hover: #142840;--bg-color: #f9fafb;--panel-bg: #ffffff;--text-color: #111827;--border-color: #e5e7eb;--accent-color: #4b5563}body,button,input,select,textarea{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:14px;color:var(--text-color)}body{background-color:var(--bg-color)}select option{background-color:var(--panel-bg);color:var(--text-color)}.app-input{padding:.5rem .75rem;border:1px solid var(--border-color);border-radius:6px;font-family:inherit;font-size:.875rem;background-color:var(--panel-bg);color:var(--text-color);outline:none;box-shadow:0 1px 2px #0000000d;width:100%;box-sizing:border-box}.app-input:focus{border-color:var(--primary-color)}.app-input:disabled{background-color:#f1f5f9;color:#94a3b8;cursor:not-allowed}.app-input-num{text-align:right;font-variant-numeric:tabular-nums}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0f172a66;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background-color:var(--panel-bg);border-radius:12px;width:100%;max-width:500px;box-shadow:0 20px 25px -5px #0000001a,0 10px 10px -5px #0000000a;overflow:hidden}.modal-header{padding:1.5rem;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.modal-header h2{margin:0;font-size:1.1rem;color:#1e3a5f}.modal-body{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.modal-footer{padding:1rem 1.5rem;border-top:1px solid var(--border-color);background-color:#f8fafc;display:flex;justify-content:flex-end;gap:1rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-group label{font-size:.85rem;font-weight:600;color:#475569}.form-row{display:flex;gap:1rem}.form-row .form-group{flex:1}.form-group .filter-select{width:100%}*{scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}*::-webkit-scrollbar{width:6px;height:6px}*::-webkit-scrollbar-track{background:transparent}*::-webkit-scrollbar-thumb{background-color:#cbd5e1;border-radius:3px}*::-webkit-scrollbar-thumb:hover{background-color:#94a3b8}h1,h2,h3,h4{margin:0;font-weight:600;color:#1e3a5f}.filter-select,.form-control select{padding:.5rem 2.2rem .5rem .75rem;font-family:inherit;font-size:.875rem;border-radius:6px;border:1px solid var(--border-color);background-color:var(--panel-bg);color:var(--text-color);outline:none;cursor:pointer;box-shadow:0 1px 2px #0000000d;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .6rem center;background-size:1em}.filter-select:focus,.form-control select:focus{border-color:var(--primary-color)}.metrics-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem}.metric-card,.card{background-color:var(--panel-bg);border:1px solid var(--border-color);border-radius:12px;padding:1.5rem;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f;transition:transform .2s ease,box-shadow .2s ease}.metric-card:hover{transform:translateY(-2px);box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d;border-color:#3b82f64d}.metric-card h3{font-size:1rem;color:#64748b;margin-bottom:.5rem}.metric-value{font-size:2.5rem;font-weight:700;color:var(--primary-color);margin:0}.metric-card--teal .metric-value{color:#1aa1ad}.metric-card--teal .metric-header svg{color:#1aa1ad!important}.metric-card--navy .metric-value{color:#1e2a52}.metric-card--navy .metric-header svg{color:#1e2a52!important}.metric-card--lime .metric-value{color:#8cc63f}.metric-card--lime .metric-header svg{color:#8cc63f!important}.spinner{width:36px;height:36px;border:4px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.icon-spin{animation:spin .75s linear infinite}.kc-rerun-progress-wrap{display:inline-flex;align-items:center;gap:.5rem;flex:1;min-width:80px;max-width:160px}.kc-rerun-progress-bar{flex:1;height:6px;background-color:#e5e7eb;border-radius:9999px;overflow:hidden;position:relative}.kc-rerun-progress-fill{height:100%;background-color:#1aa1ad;border-radius:9999px;transition:width .4s ease}.kc-rerun-progress-label{font-size:.7rem;font-weight:600;color:#1aa1ad;min-width:2.5rem;text-align:right;flex-shrink:0}.auth-card{background:#ffffff;border-radius:16px;border:1.5px solid #e5e7eb;box-shadow:0 2px 12px -2px #00000012;transition:border-color .2s ease,box-shadow .2s ease}.auth-card:focus-within{border-color:#1e3a5f;box-shadow:0 4px 16px -4px #00000024}.auth-card-inner{display:flex;align-items:center;height:68px;padding:0 1rem;gap:.875rem}.auth-card-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:10px;background:#f3f4f6;color:#9ca3af;flex-shrink:0;transition:background-color .2s ease,color .2s ease}.auth-card:focus-within .auth-card-icon{background:#1e3a5f;color:#fff}.auth-card-body{flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0}.auth-card-label{display:block;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#9ca3af;margin-bottom:3px;transition:color .2s ease;line-height:1}.auth-card:focus-within .auth-card-label{color:#1e3a5f}.auth-card-input{width:100%;background:transparent;border:none;outline:none;font-size:15px;font-weight:600;color:#1e3a5f;font-family:inherit;padding:0;line-height:1.3}.auth-card-input::placeholder{color:#d1d5db;font-weight:400}.auth-card-input:disabled{color:#94a3b8}
