.custom-list{list-style-type:none;padding:0;margin:0}.custom-list-item{background-color:#fff;color:#000;border:2px solid #7e57c2;border-radius:20px;padding:10px 20px;margin:10px 0;font-size:12px;text-align:start;cursor:pointer;transition:background-color .3s,color .3s}.custom-list-item:hover,.custom-list-item.selected-question{background-color:#7e57c2;color:#fff}.custom-scrollbar{width:15%;max-height:625px;margin-left:0;padding-right:10px}@media (max-width: 768px){.custom-scrollbar{width:40%!important}}.custom-scrollbar-inner{overflow-y:auto;max-height:100%}.custom-scrollbar::-webkit-scrollbar{width:8px;background-color:#f0f0f0}.add-question-btn{position:sticky;top:0;z-index:10}.custom-scrollbar::-webkit-scrollbar-thumb{background-color:#8a2be2;border-radius:10px}.custom-scrollbar::-webkit-scrollbar-thumb:hover{background-color:#6a0dad}.custom-scrollbar::-webkit-scrollbar-track:hover{background-color:#e0e0e0}.sidebar{width:250px;background-color:#fff;color:#000;padding:20px;box-sizing:border-box;border-right:1px solid #ddd}.sidebar h2{font-size:24px;margin-bottom:20px;color:#2c3e50}.sidebar ul{list-style-type:none;padding:0}.sidebar ul li{margin:10px 0}.sidebar ul li a{text-decoration:none;color:#2c3e50;border:2px solid #2c3e50;border-radius:25px;padding:10px;display:block;transition:background-color .3s ease,color .3s ease}.sidebar ul li a:hover{background-color:#2c3e50;color:#fff}@media (max-width: 768px){.sidebar{width:100%;margin-bottom:20px}.sidebar ul{display:flex;flex-wrap:wrap}.sidebar ul li{flex:1 1 calc(50% - 20px);margin:10px}}.page-with-sidebar{display:flex;flex-direction:row;height:calc(100vh - 80px)}.page-with-sidebar.no-navbar{height:100vh}.main-content{width:85%;flex-grow:1;padding:20px;box-sizing:border-box;background-color:#f9f9f9}.question-label-wrapper{position:relative;display:inline-block;max-width:100%}.question-tooltip{position:absolute;left:100;top:50%;transform:translateY(-50%);background:#111827;color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;line-height:1.4;white-space:normal;max-width:280px;z-index:9999;opacity:0;pointer-events:none;transition:opacity .2s ease}.question-label-wrapper:hover .question-tooltip{opacity:1}.variable-row.nest-hover{background-color:#f0f7ff!important;border-bottom:2px solid #4a90e2;border-radius:6px 6px 0 0;position:relative;z-index:1}.rows-column .variable-row.nest-hover{border-bottom-color:#7c5cbc;background-color:#f5f0ff!important}.nest-drop-zone{display:flex;align-items:center;gap:5px;padding:4px 8px;margin:0 4px 4px;background:linear-gradient(135deg,#e8f4fd,#dbeafe);border:1px dashed #4a90e2;border-top:none;border-radius:0 0 5px 5px;font-size:10px;font-weight:500;color:#2563eb;cursor:pointer;animation:nestZoneIn .18s ease-out;-webkit-user-select:none;user-select:none}.rows-column .nest-drop-zone{background:linear-gradient(135deg,#f5f0ff,#ede9fe);border-color:#7c5cbc;color:#6d28d9}.nest-drop-zone strong{font-weight:700}.nest-drop-icon{font-size:11px;flex-shrink:0;opacity:.75}@keyframes nestZoneIn{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}.data-container{display:flex;flex-direction:column;background-color:#f5f5f5;height:100%;overflow:hidden;gap:12px;padding:12px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.data-left-panel{width:100%;flex-shrink:0}.dropzones-row{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;align-items:stretch;width:100%}.actions-column,.filters-column,.rows-column,.columns-column{background:#fff;border-radius:10px;overflow:visible;box-shadow:0 1px 2px #0000000f;border:1px solid #e8e8e8;transition:all .2s ease;display:flex;flex-direction:column;min-width:0}.actions-column{border-color:#e8e8e8}.filters-column{border-color:#e8f0fe}.rows-column{border-color:#f5f0ff}.columns-column{border-color:#e8f0fe}.actions-column:hover,.filters-column:hover,.rows-column:hover,.columns-column:hover{box-shadow:0 2px 8px #0000001a;border-color:#d0d0d0}.filters-column.drag-over,.columns-column.drag-over{border-color:#4a90e2;background-color:#f8fbff;box-shadow:0 2px 8px #4a90e233}.rows-column.drag-over{border-color:#7c5cbc;background-color:#faf8ff;box-shadow:0 2px 8px #7c5cbc33}.dropzone-header{display:flex;justify-content:center;align-items:center;gap:6px;color:#fff;font-size:11px;font-weight:700;letter-spacing:.6px;padding:8px 6px;min-height:36px;border-radius:9px 9px 0 0;flex-shrink:0}.actions-header-bg{background:linear-gradient(135deg,#6c757d,#495057)}.filters-header-bg,.columns-header-bg{background:linear-gradient(135deg,#5b7ee6,#4a90e2)}.rows-header-bg{background:linear-gradient(135deg,#8b6bc7,#7c5cbc)}.filter-header-icon{font-size:10px}.banner-hint{font-size:8px;opacity:.8;margin-left:4px;font-weight:400}.dropzone-body{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:0;max-height:320px;padding:4px 0}.dropzone-body::-webkit-scrollbar{width:5px}.dropzone-body::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.dropzone-body::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.dropzone-body::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.actions-body{padding:6px;flex:1;display:flex;flex-direction:column;gap:6px}.actions-row-2col{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.history-toggle-btn,.reset-btn,.generate-crosstab-btn,.include-missing-toggle{width:100%;margin:0}.history-toggle-btn{display:flex;align-items:center;justify-content:center;gap:5px;padding:7px 5px;background:#f0f4ff;border:1px solid #c7d4f5;border-radius:7px;color:#3b5bdb;font-size:12px;font-weight:500;cursor:pointer;transition:all .2s ease}.history-toggle-btn:hover{background:#dce8ff;transform:translateY(-1px)}.generate-crosstab-btn{padding:8px 12px;background:linear-gradient(135deg,#00d084,#00b872);color:#fff;border:none;border-radius:7px;font-size:12px;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:all .2s ease}.generate-crosstab-btn:hover:not(.disabled){background:linear-gradient(135deg,#00b872,#009960);transform:translateY(-1px);box-shadow:0 2px 8px #00d0844d}.generate-crosstab-btn.disabled{background:#ccc;cursor:not-allowed;opacity:.6}.reset-btn{display:flex;align-items:center;justify-content:center;gap:6px;padding:7px 12px;background:#f1f5f9;color:#64748b;border:1px solid #cbd5e1;border-radius:7px;cursor:pointer;font-size:12px;font-weight:500;transition:all .2s}.reset-btn:hover{background:#fee2e2;color:#dc2626;border-color:#fca5a5}.include-missing-toggle{display:flex;align-items:center;justify-content:center;gap:6px;font-size:11px;font-weight:500;color:#555;cursor:pointer;padding:7px 10px;background:#f8f9fa;border-radius:7px;border:1px solid #e9ecef;transition:all .2s;-webkit-user-select:none;user-select:none}.include-missing-toggle:hover{background:#e9ecef;transform:translateY(-1px)}.include-missing-toggle input[type=checkbox]{accent-color:#4f6ef7;width:14px;height:14px;cursor:pointer;margin:0}.empty-dropzone{padding:24px 12px;text-align:center;color:#aaa;font-size:11px;font-style:italic;background-color:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;flex:1;min-height:100px}.empty-icon{font-size:26px;color:#ccc;opacity:.6}.empty-dropzone p{margin:0}.variable-row{display:flex;justify-content:space-between;align-items:center;padding:7px 10px;border-bottom:1px solid #f5f5f5;background:#fff;transition:background .15s,border-color .15s;position:relative;font-size:11px}.variable-row:last-child{border-bottom:none}.variable-row:hover{background-color:#f9fbff}.rows-column .variable-row:hover{background-color:#faf8ff}.variable-row.nested{border-left:3px solid #7c5cbc;background-color:#faf8ff;border-radius:5px;margin-left:10px;width:calc(100% - 10px)}.columns-column .variable-row.nested{border-left-color:#4a90e2;background-color:#f0f7ff}.nest-indicator{color:#bbb;font-weight:400;margin-right:5px;font-size:10px}.variable-name{font-size:11px;font-weight:600;color:#7c5cbc;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.columns-column .variable-name{color:#4a90e2}.filters-column .variable-name{color:#5b7ee6}.remove-x{background:none;border:none;color:#ff6b6b;font-size:16px;font-weight:700;cursor:pointer;padding:0;width:22px;height:22px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;flex-shrink:0}.remove-x:hover{color:#fff;background-color:#ff6b6b;transform:scale(1.05)}.filter-variable-row{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:6px 10px;border-radius:5px;margin:3px 6px;background:#f8f9fa;transition:all .2s ease}.filter-variable-row:hover{background:#f1f3f4}.column-actions{display:flex;gap:4px;align-items:center}.data-right-panel{width:100%;min-width:0;min-height:0;flex:1;display:flex;flex-direction:column;background:#fff;border-radius:12px;padding:14px;box-shadow:0 1px 6px #0000000f;overflow:auto}.crosstab-results-container{width:100%;height:100%}.crosstab-tabs-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:14px;border-bottom:1px solid #eef2f6;padding-bottom:6px}.crosstab-tabs{display:flex;gap:6px;flex-wrap:wrap;flex:1}.save-history-btn{flex-shrink:0;padding:5px 14px;background:#1976d2;color:#fff;border:none;border-radius:16px;cursor:pointer;font-size:11px;font-weight:600;transition:background .2s;white-space:nowrap;align-self:center}.save-history-btn:hover:not(:disabled){background:#1565c0}.save-history-btn.saved{background:#388e3c;cursor:default}.crosstab-tab{padding:5px 14px;background:#f5f5f5;border:none;border-radius:16px;cursor:pointer;font-size:11px;font-weight:500;transition:all .2s;color:#666}.crosstab-tab:hover{background:#e0e0e0;transform:translateY(-1px)}.crosstab-tab.active{background:linear-gradient(135deg,#4a90e2,#5b7ee6);color:#fff}.crosstab-header{margin-bottom:8px;padding-bottom:4px;border-bottom:1px solid #eef2f6}.crosstab-header{margin:0;color:#333;font-size:13px;font-weight:600}.vs-text{color:#999;font-weight:400;margin:0 6px;font-size:11px}.crosstab-result{flex:1;overflow:auto;padding:2px}.no-crosstab-message{text-align:center;padding:40px 24px;color:#888;background:#fafbfc;border-radius:12px;border:1px dashed #e0e4e8;width:100%}.no-crosstab-message p{margin:0;font-size:12px}.loading-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;height:250px;color:#666}.spinner{border:3px solid #f3f3f3;border-top:3px solid #4a90e2;border-radius:50%;width:32px;height:32px;animation:spin 1s linear infinite;margin-bottom:12px}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.error-message{background:#ffebee;color:#c62828;padding:10px 14px;border-radius:8px;margin-bottom:14px;border-left:3px solid #c62828;font-size:12px}.history-overlay{position:fixed;top:64px;right:0;bottom:0;left:0;background:#0000004d;z-index:1250}.history-panel{position:fixed;top:64px;right:-380px;width:380px;height:calc(100vh - 64px);background:#fff;border-left:1px solid #e0e0e0;box-shadow:-2px 0 20px #0000001f;z-index:1251;display:flex;flex-direction:column;transition:right .25s ease;overflow:hidden}.history-panel.open{right:0}.history-panel-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #eee;background:#fafafa}.history-panel-header h3{margin:0;font-size:14px;font-weight:600;color:#222}.history-header-actions{display:flex;align-items:center;gap:8px}.history-clear-all-btn{display:flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-weight:500;background:#fff1f0;color:#d4380d;border:1px solid #ffccc7;border-radius:4px;cursor:pointer;transition:background .15s,border-color .15s}.history-clear-all-btn:hover{background:#ffd8bf;border-color:#ff7a45}.history-close-btn{background:none;border:none;font-size:20px;cursor:pointer;color:#888;line-height:1;transition:color .2s}.history-close-btn:hover{color:#333}.history-panel-tabs{display:flex;border-bottom:1px solid #eee}.history-tab-btn{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;padding:9px;background:none;border:none;font-size:12px;color:#666;cursor:pointer;border-bottom:2px solid transparent;transition:all .15s}.history-tab-btn:hover{background:#f5f5f5}.history-tab-btn.active{color:#3b5bdb;border-bottom-color:#3b5bdb;font-weight:600}.history-panel-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px}.history-loading,.history-empty{color:#999;font-size:12px;text-align:center;padding:30px 16px}.history-card{background:#f9fafc;border:1px solid #e4e8f0;border-radius:10px;padding:10px 12px;transition:box-shadow .15s}.history-card:hover{box-shadow:0 2px 8px #00000014}.history-card-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:6px}.history-card-name{font-size:13px;font-weight:600;color:#1a1a2e;flex:1;word-break:break-word}.history-card-actions{display:flex;gap:4px;flex-shrink:0;margin-left:8px}.history-icon-btn{background:none;border:none;cursor:pointer;color:#888;font-size:11px;padding:3px;border-radius:5px;transition:all .1s}.history-icon-btn:hover{background:#eee;color:#333}.history-icon-btn.danger:hover{background:#fff0f0;color:#e03131}.history-icon-btn.ok:hover{background:#e8f5e9;color:#2e7d32}.history-icon-btn.cancel:hover{background:#fff0f0;color:#c62828}.history-card-meta{font-size:10px;color:#999;margin-bottom:4px}.colleague-email{color:#6a6ef5;font-weight:500;font-size:11px}.history-card-detail{font-size:11px;color:#555;margin-bottom:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-card-detail strong{color:#333}.history-rename-row{display:flex;gap:5px;align-items:center;flex:1}.history-rename-input{flex:1;padding:4px 8px;border:1px solid #bbb;border-radius:5px;font-size:12px}.history-card-footer{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.history-action-btn{display:flex;align-items:center;gap:5px;padding:5px 10px;border-radius:6px;border:none;font-size:10px;cursor:pointer;font-weight:500;transition:opacity .15s}.history-action-btn:hover{opacity:.85}.history-action-btn.primary{background:#3b5bdb;color:#fff}.history-action-btn.secondary{background:#e8eaf6;color:#3b5bdb}.history-action-btn.compare{background:#0ca678;color:#fff}.compare-mode-banner{display:flex;justify-content:space-between;align-items:center;background:#e6fcf5;border:1px solid #63e6be;border-radius:8px;padding:8px 12px;margin-bottom:12px;font-size:12px;color:#087f5b}.compare-exit-btn{background:#0ca678;color:#fff;border:none;border-radius:5px;padding:4px 12px;font-size:11px;cursor:pointer;transition:background .2s}.compare-exit-btn:hover{background:#099268}.compare-container{display:flex;gap:14px;align-items:flex-start}.compare-pane{flex:1;min-width:0;border:1px solid #dee2e6;border-radius:10px;overflow:hidden}.compare-pane-label{background:#f1f3f5;padding:8px 12px;font-size:12px;font-weight:600;color:#495057;border-bottom:1px solid #dee2e6}@media (max-width: 1000px){.dropzones-row{grid-template-columns:repeat(2,1fr);gap:10px}}@media (max-width: 640px){.data-container{padding:8px;gap:10px}.dropzones-row{grid-template-columns:1fr;gap:10px}.data-right-panel{padding:12px}.compare-container{flex-direction:column}.history-panel{width:100%;right:-100%}}.crosstab-warnings{display:flex;flex-direction:column;gap:4px;margin-bottom:8px}.crosstab-warning-item{background:#fff8e1;border:1px solid #f9a825;border-radius:6px;color:#7a5f00;font-size:11.5px;line-height:1.4;padding:6px 10px}.crosstab-tab.loading{color:#aaa!important;cursor:default;pointer-events:none;font-style:italic}.crosstab-loading-slot{display:flex;align-items:center;justify-content:center;min-height:120px;color:#888;font-size:14px}.crosstab-tab-error{background:#fff5f5!important;color:#e53935!important}.crosstab-tab-error:hover{background:#ffebee!important}.crosstab-row-error-panel{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:48px 32px;text-align:center;background:#fff5f5;border:1px solid #ffcdd2;border-radius:8px;margin-top:12px}.crosstab-row-error-icon{font-size:36px;color:#e53935}.crosstab-row-error-msg{font-size:14px;font-weight:500;color:#c62828;max-width:520px;line-height:1.5}.crosstab-row-error-hint{font-size:12px;color:#888}.data-display-area{width:100%;height:100%;padding:16px;background-color:#f8f9fb;overflow:auto}.data-content{display:flex;flex-direction:column;gap:24px}.table-wrapper{background:#fff;border-radius:12px;padding:16px;box-shadow:0 4px 14px #0000000f;overflow-x:auto}.table-wrapper h3{margin-bottom:12px;font-size:16px;font-weight:600;color:#1f2937}.table-wrapper table{width:100%;border-collapse:collapse;font-size:14px;color:#111827}.table-wrapper thead th{background-color:#f1f5f9;font-weight:600;padding:10px 12px;text-align:left;border-bottom:2px solid #e5e7eb;white-space:nowrap}.table-wrapper tbody td{padding:8px 12px;border-bottom:1px solid #e5e7eb;white-space:nowrap}.table-wrapper tbody tr:nth-child(2n){background-color:#fafafa}.table-wrapper tbody tr:hover{background-color:#eef2ff}.table-wrapper td.numeric,.table-wrapper th.numeric{text-align:right;font-variant-numeric:tabular-nums}.table-wrapper tr.total-row{font-weight:600;background-color:#e0e7ff}.table-scroll{max-width:100%;overflow-x:auto}.table-wrapper thead th{position:sticky;top:0;z-index:2}@media (max-width: 768px){.table-wrapper{padding:12px}.table-wrapper table{font-size:13px}}.table-component{width:100%;background:#fff;border-radius:12px;box-shadow:0 4px 6px #00000012;overflow:hidden;border:1px solid #e2e8f0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.table-component .button-group{display:flex;gap:6px;padding:8px 12px;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-bottom:2px solid #e2e8f0;flex-wrap:wrap;align-items:center}.sort-dropdown{position:relative}.sort-dropdown select{padding:4px 28px 4px 12px;font-size:.7rem;font-weight:500;border-radius:8px;border:1px solid #cbd5e0;background:#fff;color:#1a202c;cursor:pointer;height:28px;line-height:1;transition:all .2s ease}.sort-dropdown select:hover{border-color:#667eea;box-shadow:0 2px 4px #667eea1a}.sort-dropdown:after{content:"▼";position:absolute;right:10px;top:50%;transform:translateY(-50%);font-size:.55rem;color:#4a5568;pointer-events:none}.table-component .button-group button{padding:4px 12px;border:none;border-radius:8px;font-weight:600;font-size:.7rem;cursor:pointer;height:28px;display:inline-flex;align-items:center;gap:4px;transition:all .2s ease;letter-spacing:.3px}.table-component .button-group .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 4px #667eea33}.table-component .button-group .btn-primary:hover{transform:translateY(-1px);box-shadow:0 4px 8px #667eea4d}.table-component .button-group .btn-secondary{background:linear-gradient(135deg,#48bb78,#38a169);color:#fff;box-shadow:0 2px 4px #48bb7833}.table-component .button-group .btn-secondary:hover{transform:translateY(-1px);box-shadow:0 4px 8px #48bb784d}.table-component .button-group .btn-success{background:linear-gradient(135deg,#4299e1,#3182ce);color:#fff;box-shadow:0 2px 4px #4299e133}.table-component .button-group .btn-success:hover{transform:translateY(-1px);box-shadow:0 4px 8px #4299e14d}.table-component .button-group .btn-info{background:linear-gradient(135deg,#ed8936,#dd6b20);color:#fff;box-shadow:0 2px 4px #ed893633}.table-component .button-group .btn-info:hover{transform:translateY(-1px);box-shadow:0 4px 8px #ed89364d}.table-component .table-container{width:100%;overflow-x:auto;overflow-y:auto;background:#fff;max-height:calc(100vh - 100px);min-height:400px}.table-component table{width:max-content;min-width:100%;border-collapse:collapse;font-size:.75rem}.table-component thead{position:sticky;top:0;z-index:20;background:linear-gradient(135deg,#667eea,#764ba2)}.table-component thead th{padding:10px 8px;text-align:center;font-weight:700;font-size:.7rem;color:#fff;border-right:1px solid rgba(255,255,255,.2);border-bottom:2px solid rgba(255,255,255,.3);letter-spacing:.5px;background:linear-gradient(135deg,#667eea,#764ba2);white-space:nowrap}.table-component thead th:first-child{position:sticky;left:0;z-index:30;background:linear-gradient(135deg,#667eea,#764ba2);min-width:200px;width:200px;text-align:left;padding-left:12px}.table-component thead th:not(:first-child){min-width:110px;width:auto}.table-component thead th[data-col-index="0"],.table-component thead .total-column-header{background:linear-gradient(135deg,#5a67d8,#6b46a0)!important;font-weight:800;font-size:.75rem}.table-component thead tr:first-child th{background:linear-gradient(135deg,#5a67d8,#6b46a0);white-space:normal!important;word-wrap:break-word!important;word-break:break-word!important;line-height:1.3;min-width:100px;max-width:150px;padding:8px 4px!important;font-size:.65rem!important}.table-component thead th[colspan]{background:linear-gradient(135deg,#5a67d8,#6b46a0);font-size:.65rem;padding:8px 4px;font-weight:700;text-align:center;white-space:normal!important;word-wrap:break-word!important;word-break:break-word!important;line-height:1.3;vertical-align:middle}.table-component thead .group-header{background:linear-gradient(135deg,#5a67d8,#6b46a0);white-space:normal!important;word-wrap:break-word!important;word-break:break-word!important;line-height:1.3;vertical-align:middle}.table-component thead tr:last-child th{white-space:nowrap;min-width:110px!important;padding:6px 4px;font-size:.6rem}.table-component thead tr:last-child th:hover{overflow:visible;position:relative;z-index:10}.table-component thead tr:last-child th:hover:after{content:attr(title);position:absolute;background:#1a202c;color:#fff;padding:4px 8px;border-radius:4px;font-size:.7rem;white-space:nowrap;top:100%;left:50%;transform:translate(-50%);z-index:100;box-shadow:0 2px 4px #0003}.table-component .header-letter{font-size:.6rem;opacity:.85;margin-top:3px;font-weight:500}.table-component tbody tr{border-bottom:1px solid #edf2f7;transition:background .2s ease}.table-component tbody tr:hover{background:#f7fafc}.table-component tbody td{padding:8px;color:#2d3748;border-right:1px solid #edf2f7;text-align:center;font-size:.75rem;font-weight:500;white-space:nowrap}.table-component tbody td:first-child{position:sticky;left:0;background:#fff;font-weight:700;text-align:left;border-right:2px solid #e2e8f0;min-width:200px;width:200px;padding-left:12px;font-size:.75rem;white-space:normal;word-break:break-word}.table-component tbody tr:hover td:first-child{background:#f7fafc}.table-component tbody td:not(:first-child){min-width:110px!important;width:auto}.table-component .statement-label{font-weight:700!important;color:#1a202c}.table-component tbody .total-column-data{background:linear-gradient(135deg,#f3e5f5,#e9d8fd)!important;font-weight:700;color:#6b46a0}.table-component tbody tr:first-child{background:linear-gradient(135deg,#f1f5f9,#e2e8f0);font-weight:700}.table-component tbody tr:first-child td:first-child{background:linear-gradient(135deg,#f1f5f9,#e2e8f0)}.table-component .sig-test-row{background:linear-gradient(135deg,#faf5ff,#f3e8ff)}.table-component .sig-test-label{font-style:italic;color:#667eea;font-size:.7rem;font-weight:600;padding:6px 12px!important}.table-component .sig-test-significant{font-weight:800;color:#c0392b;font-size:.75rem;letter-spacing:.5px;background:#c0392b0d}.table-component .sig-test-normal{font-weight:600;color:#764ba2;font-size:.7rem}.table-component .chart-container{padding:24px;height:calc(100vh - 90px);min-height:400px;background:linear-gradient(135deg,#fff,#f8fafc)}.table-component .table-container::-webkit-scrollbar{width:8px;height:8px}.table-component .table-container::-webkit-scrollbar-track{background:#f1f1f1;border-radius:10px}.table-component .table-container::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:10px}.table-component .table-container::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#5a67d8,#6b46a0)}@media (max-width: 768px){.table-component .button-group{gap:4px;padding:6px 8px}.table-component .button-group button{padding:3px 8px;font-size:.65rem;height:24px}.sort-dropdown select{padding:3px 24px 3px 8px;font-size:.65rem;height:24px}.table-component thead th:first-child,.table-component tbody td:first-child{min-width:160px;width:160px}.table-component thead th:not(:first-child),.table-component tbody td:not(:first-child){min-width:70px}.table-component thead tr:last-child th{min-width:70px;font-size:.55rem;padding:4px 2px}.table-component thead th,.table-component tbody td{padding:6px 4px;font-size:.7rem}}@media print{.table-component .button-group{display:none}.table-component .table-container{height:auto;overflow:visible}.table-component thead,.table-component tbody td:first-child{position:static}}.hover-dropdown{padding-top:0;position:relative;display:inline-block}.hover-text{cursor:pointer;padding:6px 12px;font-size:14px;background-color:#fff;color:#000;border:2px solid #7e57c2;border-radius:20px;transition:background-color .3s,color .3s}.hover-text:hover{background-color:#7e57c2;color:#fff}.dropdown-menu{display:none;position:absolute;background-color:#fff;min-width:160px;box-shadow:0 8px 16px #0003;z-index:1;overflow-y:auto;max-height:200px;border-radius:8px}.hover-dropdown:hover .dropdown-menu{display:block}.dropdown-item{padding:12px 16px;cursor:pointer;color:#000;text-align:left;text-decoration:none;display:block;border-bottom:1px solid #ddd}.dropdown-item:hover{background-color:#f1f1f1}.action-container{display:flex;align-items:center;margin-bottom:10px;gap:10px}.save-list-btn{padding:8px 15px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.save-list-btn:hover{background-color:#0056b3}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #00000026;width:90%;max-width:500px;max-height:80vh;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px;border-bottom:1px solid #e0e0e0}.modal-header h2{margin:0;font-size:18px;font-weight:600}.modal-close{background:none;border:none;font-size:28px;cursor:pointer;color:#999;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center}.modal-close:hover{color:#333}.modal-body{flex:1;overflow-y:auto;padding:20px}.value-controls{display:flex;gap:10px;margin-bottom:16px;align-items:center;flex-wrap:wrap}.control-btn{padding:8px 12px;border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:14px;transition:all .2s}.control-btn:hover{background:#f5f5f5;border-color:#999}.selection-count{font-size:14px;color:#666;margin-left:auto}.values-list{display:flex;flex-direction:column;gap:8px}.value-item{display:flex;align-items:center;gap:10px;padding:10px;border-radius:4px;cursor:pointer;transition:background .2s}.value-item:hover{background:#f9f9f9}.value-item input[type=checkbox]{cursor:pointer;width:18px;height:18px}.value-label{display:flex;flex-direction:column;gap:2px}.value-label strong{font-size:14px}.value-label small{font-size:12px;color:#999}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:16px 20px;border-top:1px solid #e0e0e0}.btn-cancel,.btn-confirm{padding:10px 20px;border-radius:4px;border:none;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s}.btn-cancel{background:#f0f0f0;color:#333}.btn-cancel:hover{background:#e0e0e0}.btn-confirm{background:#06c;color:#fff}.btn-confirm:hover:not(:disabled){background:#0052a3}.btn-confirm:disabled{background:#ccc;cursor:not-allowed}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Inter,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;background-color:#f8fafc}html,body{width:100%}#root{min-height:100vh;width:100%}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:#f1f5f9}::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#94a3b8}
