:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{width:100%;height:100vh}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}@media(prefers-color-scheme:light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.llm-modal-overlay{position:fixed;inset:0;background-color:#000000bf;display:flex;align-items:center;justify-content:center;z-index:1000;padding:2rem}.llm-modal-content{background-color:#1a1a1a;border-radius:8px;width:90%;max-width:1200px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 20px #00000080}.llm-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #333}.llm-modal-header h2{margin:0;color:#ffffffde}.llm-modal-close{background:none;border:none;color:#ffffffde;font-size:2rem;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.llm-modal-close:hover{background-color:#333}.llm-modal-tabs{display:flex;border-bottom:1px solid #333;padding:0 1.5rem}.llm-modal-tab{background:none;border:none;color:#fff9;padding:1rem 1.5rem;cursor:pointer;border-bottom:2px solid transparent;transition:all .2s;font-size:1rem}.llm-modal-tab:hover{color:#ffffffde}.llm-modal-tab.active{color:#646cff;border-bottom-color:#646cff}.llm-modal-body{flex:1;overflow-y:auto;padding:1.5rem}.llm-modal-error{padding:1rem;background-color:#ff6b6b20;color:#ff6b6b;border-radius:4px;border:1px solid #ff6b6b40;margin-bottom:1rem}.llm-parsed-content{font-family:Courier New,monospace;font-size:.9rem;line-height:1.6;color:#ffffffde}.llm-raw-content{font-family:Courier New,monospace;font-size:.9rem;line-height:1.6}.llm-raw-text{margin:0;padding:1rem;background-color:#0a0a0a;border:1px solid #333;border-radius:4px;color:#ffffffde;white-space:pre-wrap;word-wrap:break-word;max-height:70vh;overflow-y:auto}.llm-modal-empty{padding:2rem;text-align:center;color:#fff9}.json-object,.json-array,.json-object-item,.json-array-item{margin:.25rem 0}.json-key{color:#9cdcfe;font-weight:500}.json-string{color:#ce9178}.json-number{color:#b5cea8}.json-boolean{color:#569cd6}.json-null{color:gray;font-style:italic}.json-bracket{color:#ffffffde;font-weight:700}.json-colon{color:#fff9;margin:0 .5rem}.json-comma{color:#fff9}.json-empty{color:#fff6;font-style:italic}@media(prefers-color-scheme:light){.llm-modal-content{background-color:#fff}.llm-modal-header{border-bottom-color:#ddd}.llm-modal-header h2,.llm-modal-close{color:#213547}.llm-modal-close:hover{background-color:#f5f5f5}.llm-modal-tabs{border-bottom-color:#ddd}.llm-modal-tab{color:#666}.llm-modal-tab:hover{color:#213547}.llm-modal-tab.active{color:#646cff;border-bottom-color:#646cff}.llm-parsed-content{color:#213547}.llm-raw-text{background-color:#f5f5f5;border-color:#ddd;color:#213547}.llm-modal-empty{color:#666}.json-key{color:#0451a5}.json-string{color:#0a3069}.json-number{color:#098658}.json-boolean{color:#0451a5}.json-null{color:gray}.json-bracket{color:#213547}.json-colon,.json-comma{color:#666}.json-empty{color:#999}}.search-page{display:flex;flex-direction:column;height:100vh;width:100%;max-width:100%;margin:0;padding:0}.search-header{padding:2rem;background-color:#1a1a1a;border-bottom:1px solid #333;display:flex;flex-direction:column;align-items:center;gap:1rem}.search-form{width:100%;max-width:600px}.search-input-wrapper{display:flex;gap:.5rem;width:100%}.search-input{flex:1;padding:.75rem 1rem;border-radius:24px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:1rem;outline:none;transition:border-color .2s,box-shadow .2s}.search-input:focus{border-color:#646cff;box-shadow:0 0 0 3px #646cff1a}.search-button{padding:.75rem 2rem;border-radius:24px;border:1px solid #646cff;background-color:#646cff;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s,border-color .2s}.search-button:hover{background-color:#535bf2;border-color:#535bf2}.search-button:active{background-color:#4a52d4}.search-info{color:#fff9;font-size:.9rem}.search-content{display:flex;flex:1;overflow:hidden}.search-facets-panel{width:300px;border-right:1px solid #333;overflow-y:auto;background-color:#1a1a1a;padding:1.5rem}.search-results-panel{flex:1;overflow-y:auto;background-color:#242424;padding:2rem}.search-empty{flex:1;display:flex;align-items:center;justify-content:center;color:#fff9;font-size:1.1rem}.search-results{max-width:100%}.results-header{margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #333}.results-count{color:#fff9;font-size:.9rem}.results-list{display:flex;flex-direction:column;gap:1rem}.search-result-item{padding:1.5rem;background-color:#2a2a2a;border-radius:8px;border:1px solid #333;cursor:pointer;transition:background-color .2s,border-color .2s}.search-result-item:hover{background-color:#333;border-color:#555}.result-title{margin:0 0 .5rem;color:#ffffffde;font-size:1.1rem;font-weight:500}.result-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.result-tags .tag{display:inline-block;padding:.25rem .5rem;background-color:#646cff30;color:#646cff;border-radius:4px;font-size:.75rem;font-weight:500}.result-meta{display:flex;gap:1rem;font-size:.85rem;color:#fff9;margin-top:.5rem}.results-pagination{display:flex;align-items:center;justify-content:center;gap:1rem;margin-top:2rem;padding-top:2rem;border-top:1px solid #333}.pagination-button{padding:.5rem 1rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:.9rem;cursor:pointer;transition:background-color .2s,border-color .2s}.pagination-button:hover:not(:disabled){background-color:#333;border-color:#646cff}.pagination-button:disabled{opacity:.5;cursor:not-allowed}.pagination-info{color:#fff9;font-size:.9rem}.facets{height:100%;display:flex;flex-direction:column}.facets-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid #333}.facets-header h3{margin:0;color:#ffffffde;font-size:1.2rem}.clear-facets-button{padding:.25rem .75rem;border-radius:4px;border:1px solid #555;background-color:transparent;color:#fff9;font-size:.85rem;cursor:pointer;transition:color .2s,border-color .2s}.clear-facets-button:hover{color:#ffffffde;border-color:#646cff}.selected-facets{margin-bottom:1.5rem;padding-bottom:1.5rem;border-bottom:1px solid #333}.selected-facets h4{margin:0 0 .75rem;color:#ffffffde;font-size:.9rem;font-weight:500}.selected-facet{display:inline-flex;align-items:center;gap:.5rem;padding:.375rem .75rem;margin:.25rem;background-color:#646cff30;border:1px solid #646cff50;border-radius:4px;font-size:.85rem}.selected-facet .facet-label{color:#646cff}.remove-facet-button{background:none;border:none;color:#646cff;font-size:1.2rem;line-height:1;cursor:pointer;padding:0;width:1.2rem;height:1.2rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.remove-facet-button:hover{color:#ffffffde}.facets-list{flex:1;overflow-y:auto}.facet-group{margin-bottom:1.5rem}.facet-group-title{margin:0 0 .75rem;color:#ffffffde;font-size:1rem;font-weight:500}.facet-values{list-style:none;padding:0;margin:0}.facet-value{margin-bottom:.5rem}.facet-checkbox{display:flex;align-items:center;gap:.5rem;cursor:pointer;padding:.25rem 0;color:#ffffffde;font-size:.9rem}.facet-checkbox input[type=checkbox]{cursor:pointer;width:1rem;height:1rem}.facet-label-text{flex:1}.facet-count{color:#ffffff80;font-size:.85rem}.facets-empty{color:#fff9;font-size:.9rem;text-align:center;padding:2rem}@media(prefers-color-scheme:light){.search-header{background-color:#f5f5f5;border-bottom-color:#ddd}.search-input{background-color:#fff;border-color:#ddd;color:#213547}.search-input:focus{border-color:#646cff}.search-info{color:#666}.search-facets-panel{background-color:#f5f5f5;border-right-color:#ddd}.search-results-panel{background-color:#fff}.search-result-item{background-color:#f5f5f5;border-color:#ddd}.search-result-item:hover{background-color:#e9e9e9;border-color:#ccc}.result-title{color:#213547}.result-tags .tag{background-color:#646cff20;color:#646cff}.result-meta{color:#666}.results-header{border-bottom-color:#ddd}.results-count{color:#666}.results-pagination{border-top-color:#ddd}.pagination-button{background-color:#fff;border-color:#ddd;color:#213547}.pagination-button:hover:not(:disabled){background-color:#f5f5f5;border-color:#646cff}.pagination-info{color:#666}.facets-header{border-bottom-color:#ddd}.facets-header h3{color:#213547}.clear-facets-button{border-color:#ddd;color:#666}.clear-facets-button:hover{color:#213547;border-color:#646cff}.selected-facets{border-bottom-color:#ddd}.selected-facets h4{color:#213547}.selected-facet{background-color:#646cff20;border-color:#646cff50}.selected-facet .facet-label,.remove-facet-button{color:#646cff}.remove-facet-button:hover,.facet-group-title,.facet-checkbox{color:#213547}.facet-count{color:#999}.facets-empty,.search-empty{color:#666}}.landing-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:calc(100vh - 80px);padding:2rem}.landing-search-container{width:100%;max-width:800px;margin:0 auto}.landing-search-form{width:100%}.landing-search-wrapper{display:flex;gap:.5rem;width:100%}.landing-search-input{flex:1;padding:1rem 1.5rem;font-size:1.1rem;border:2px solid #ddd;border-radius:4px;outline:none;transition:border-color .2s}.landing-search-input:focus{border-color:#646cff}.landing-search-button{padding:1rem 2rem;font-size:1.1rem;background-color:#646cff;color:#fff;border:none;border-radius:4px;cursor:pointer;transition:background-color .2s;white-space:nowrap}.landing-search-button:hover{background-color:#5568d3}.landing-search-button:active{background-color:#4a5bc4}.llm-page{display:flex;flex-direction:column;height:calc(100vh - 80px);padding:2rem;background-color:#242424;color:#ffffffde}.admin-submenu{display:flex;gap:1rem;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #333}.admin-submenu-button{padding:.5rem 1.5rem;background-color:#333;color:#ffffffde;border:1px solid #555;border-radius:4px;cursor:pointer;font-size:1rem;transition:all .2s}.admin-submenu-button:hover{background-color:#444;border-color:#666}.admin-submenu-button.active{background-color:#646cff;border-color:#646cff;color:#fff}.llm-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #333}.llm-header h2{margin:0 0 .5rem;color:#ffffffde}.llm-item-info{color:#ffffffb3;font-size:.9rem}.llm-warning{color:orange;font-size:.9rem;padding:.75rem;background-color:#ffa50020;border-radius:4px;border:1px solid #ffa50040}.llm-content{max-width:800px;margin:0 auto}.llm-form{display:flex;flex-direction:column;gap:1rem}.llm-form-group{display:flex;flex-direction:column;gap:.5rem}.llm-form-group label{font-weight:500;color:#ffffffde;font-size:.9rem}.llm-form-group select,.llm-form-group textarea{padding:.75rem;border-radius:4px;border:1px solid #555;background-color:#1a1a1a;color:#ffffffde;font-size:1rem;font-family:inherit;resize:vertical}.llm-form-group select:focus,.llm-form-group textarea:focus{outline:2px solid #646cff;border-color:#646cff}.llm-form-group textarea:disabled,.llm-form-group select:disabled{opacity:.5;cursor:not-allowed}.llm-insert-text-button{margin-top:.5rem;padding:.5rem 1rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:.9rem;cursor:pointer;transition:background-color .2s,border-color .2s}.llm-insert-text-button:hover:not(:disabled){background-color:#333;border-color:#646cff}.llm-insert-text-button:disabled{opacity:.5;cursor:not-allowed}.llm-save-button{padding:.75rem 1.5rem;border-radius:4px;border:none;background-color:#646cff;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s}.llm-save-button:hover:not(:disabled){background-color:#5568d3}.llm-save-button:disabled{opacity:.5;cursor:not-allowed}.llm-description{color:#ffffffb3;font-size:.9rem;margin:.5rem 0 0}.llm-saved-indicator{color:#4caf50;font-size:.9rem;margin-top:.5rem;padding:.5rem;background-color:#4caf5020;border-radius:4px;border:1px solid #4caf5040}.llm-hint{color:#fff9;font-size:.85rem;margin-top:.25rem;font-style:italic}.llm-section{margin:2rem 0;padding:1.5rem;background-color:#1a1a1a;border-radius:8px;border:1px solid #333}.llm-section h3{margin:0 0 1rem;color:#ffffffde;font-size:1.25rem}.llm-section-content{display:flex;flex-direction:column;gap:1rem}.llm-tags-status{padding:1rem;background-color:#2a2a2a;border-radius:4px;border:1px solid #333}.llm-status-info{color:#ffffffde}.llm-status-message{margin-top:.5rem;color:#fff9;font-size:.9rem}.llm-refresh-button{padding:.75rem 1.5rem;border-radius:4px;border:none;background-color:#646cff;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s;align-self:flex-start}.llm-refresh-button:hover:not(:disabled){background-color:#5568d3}.llm-refresh-button:disabled{opacity:.5;cursor:not-allowed}.llm-previous-requests{border-top:1px solid #333;padding-top:1rem}.llm-previous-requests h3{margin:0 0 1rem;font-size:1.1rem;color:#ffffffde}.llm-requests-list{display:flex;flex-direction:column;gap:.5rem}.llm-request-item{padding:.75rem;border-radius:4px;border:1px solid #555;background-color:#1a1a1a;cursor:pointer;transition:background-color .2s,border-color .2s}.llm-request-item:hover{background-color:#2a2a2a;border-color:#646cff}.llm-request-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.5rem;font-size:.85rem}.llm-request-date{color:#fff9}.llm-request-model{color:#646cff;font-weight:500}.llm-request-preview{color:#ffffffb3;font-size:.9rem;line-height:1.4}.llm-error{padding:1rem;background-color:#ff6b6b20;color:#ff6b6b;border-radius:4px;border:1px solid #ff6b6b40}.llm-response-section{display:flex;flex-direction:column;gap:.5rem;flex:1}.llm-response-section label{font-weight:500;color:#ffffffde}.llm-response{flex:1;padding:1rem;border-radius:4px;border:1px solid #555;background-color:#1a1a1a;color:#ffffffde;font-size:.95rem;font-family:Courier New,monospace;line-height:1.6;resize:none}.llm-extracted-text{border-top:1px solid #333;padding-top:1rem}.llm-extracted-text details{cursor:pointer}.llm-extracted-text summary{padding:.75rem;background-color:#1a1a1a;border-radius:4px;border:1px solid #555;color:#ffffffde;font-weight:500;margin-bottom:.5rem}.llm-extracted-text summary:hover{background-color:#2a2a2a}.llm-extracted-text-content{padding:1rem;background-color:#1a1a1a;border-radius:4px;border:1px solid #555;color:#ffffffde;font-family:Courier New,monospace;font-size:.85rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;max-height:400px;overflow-y:auto}@media(prefers-color-scheme:light){.llm-page{background-color:#f9f9f9;color:#213547}.llm-header{border-bottom-color:#ddd}.llm-header h2{color:#213547}.llm-item-info{color:#666}.llm-warning{background-color:#ffa50020;border-color:#ffa50040}.llm-form-group label{color:#213547}.llm-form-group select,.llm-form-group textarea,.llm-response{background-color:#fff;color:#213547;border-color:#ccc}.llm-request-item{background-color:#fff;border-color:#ddd}.llm-request-item:hover{background-color:#f5f5f5}.llm-extracted-text summary{background-color:#fff;border-color:#ddd;color:#213547}.llm-extracted-text summary:hover{background-color:#f5f5f5}.llm-extracted-text-content{background-color:#fff;border-color:#ddd;color:#213547}.llm-section{background-color:#fff;border-color:#ddd}.llm-section h3{color:#213547}.llm-tags-status{background-color:#f5f5f5;border-color:#ddd}.llm-status-info{color:#213547}.llm-status-message{color:#666}}.llm-item-selector{margin-bottom:2rem;padding:1rem;background-color:#1a1a1a;border-radius:4px;border:1px solid #333}.llm-search-form{display:flex;gap:.5rem;margin-bottom:1rem}.llm-search-input{flex:1;padding:.75rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:1rem}.llm-search-input:focus{outline:2px solid #646cff;border-color:#646cff}.llm-search-button{padding:.75rem 1.5rem;border-radius:4px;border:none;background-color:#646cff;color:#fff;font-size:1rem;font-weight:600;cursor:pointer;transition:background-color .2s}.llm-search-button:hover:not(:disabled){background-color:#5568d3}.llm-search-button:disabled{opacity:.5;cursor:not-allowed}.llm-search-results{margin-top:1rem}.llm-search-results h3{margin:0 0 .75rem;font-size:1rem;color:#ffffffde}.llm-results-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.llm-result-item{padding:.75rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;cursor:pointer;transition:background-color .2s,border-color .2s}.llm-result-item:hover{background-color:#333;border-color:#646cff}.llm-result-item.selected{background-color:#646cff20;border-color:#646cff}.llm-result-title{font-weight:500;color:#ffffffde;margin-bottom:.25rem}.llm-result-id{font-size:.85rem;color:#fff9}@media(prefers-color-scheme:light){.llm-item-selector{background-color:#fff;border-color:#ddd}.llm-search-input{background-color:#fff;color:#213547;border-color:#ccc}.llm-search-results h3{color:#213547}.llm-result-item{background-color:#f5f5f5;border-color:#ddd}.llm-result-item:hover{background-color:#e9e9e9}.llm-result-item.selected{background-color:#646cff10;border-color:#646cff}.llm-result-title{color:#213547}.llm-result-id{color:#666}}.document-tracker{padding:16px;width:100%;height:100vh;margin:0;display:flex;flex-direction:column;overflow:hidden;box-sizing:border-box}.document-tracker-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;flex-wrap:wrap;gap:15px;flex-shrink:0}.document-tracker-header h1{margin:0;font-size:24px}.document-tracker-actions{display:flex;gap:10px}.btn-refresh,.btn-select-all,.btn-bulk-run{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s}.btn-refresh{background-color:#e8f5e9;color:#2e7d32}.btn-refresh:hover:not(:disabled){background-color:#c8e6c9}.btn-select-all{background-color:#f0f0f0;color:#333}.btn-select-all:hover:not(:disabled){background-color:#e0e0e0}.btn-bulk-run{background-color:#007bff;color:#fff}.btn-bulk-run:hover:not(:disabled){background-color:#0056b3}.btn-refresh:disabled,.btn-select-all:disabled,.btn-bulk-run:disabled{opacity:.6;cursor:not-allowed}.btn-bulk-add-tags{padding:10px 20px;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s;background-color:#28a745;color:#fff}.btn-bulk-add-tags:hover:not(:disabled){background-color:#218838}.btn-bulk-add-tags:disabled{opacity:.6;cursor:not-allowed}.document-tracker-error{padding:8px 12px;background-color:#fee;border:1px solid #fcc;border-radius:4px;color:#c33;margin-bottom:12px;flex-shrink:0;font-size:13px}.document-tracker-loading{text-align:center;padding:40px;font-size:18px;color:#666}.document-tracker-filters{display:flex;gap:16px;margin-bottom:12px;padding:8px 12px;background-color:#f0f0f0;border-radius:4px;flex-shrink:0;align-items:center}.document-tracker-filters label{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;color:#333}.filter-select{padding:6px 12px;border:1px solid #ddd;border-radius:4px;background-color:#fff;color:#333;font-size:13px;cursor:pointer;transition:border-color .2s}.filter-select:hover{border-color:#646cff}.filter-select:focus{outline:none;border-color:#646cff;box-shadow:0 0 0 2px #646cff33}.document-tracker-stats{display:flex;gap:20px;margin-bottom:12px;padding:8px 12px;background-color:#f8f9fa;border-radius:4px;font-size:13px;flex-shrink:0}.document-tracker-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-bottom:12px;padding:8px 12px;flex-shrink:0}.btn-pagination{padding:8px 16px;border:1px solid #ddd;border-radius:4px;background-color:#fff;color:#333;font-size:13px;cursor:pointer;transition:all .2s}.btn-pagination:hover:not(:disabled){background-color:#f8f9fa;border-color:#646cff}.btn-pagination:disabled{opacity:.5;cursor:not-allowed}.pagination-info{font-size:13px;color:#666}.document-tracker-table-container{flex:1;overflow:auto;border:1px solid #ddd;border-radius:4px;min-height:0}.document-tracker-table{width:100%;border-collapse:collapse;background-color:#fff;table-layout:auto}.document-tracker-table thead{background-color:#f8f9fa;position:sticky;top:0;z-index:10}.document-tracker-table th{padding:8px 10px;text-align:left;font-weight:600;border-bottom:2px solid #ddd;font-size:13px}.document-tracker-table td{padding:8px 10px;border-bottom:1px solid #eee;font-size:13px;vertical-align:top}.document-tracker-table tbody tr:hover{background-color:#f8f9fa}.document-tracker-table tbody tr.has-run{background-color:#f0f9ff}.document-tracker-table tbody tr.has-run:hover{background-color:#e0f2fe}.col-checkbox{width:40px;text-align:center}.col-checkbox input[type=checkbox]{cursor:pointer}.col-title{min-width:180px;max-width:250px;font-weight:500;font-size:13px}.col-description{min-width:500px;width:40%;color:#666;font-size:13px;line-height:1.5;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.doc-description-llm,.doc-description-drupal{margin-bottom:6px}.doc-description-llm strong,.doc-description-drupal strong{color:#333;font-weight:600;font-size:12px}.col-tags{min-width:200px;max-width:280px;font-size:12px}.doc-tags-container{display:flex;flex-direction:column;gap:8px}.doc-tags-before,.doc-tags-current,.doc-tags-recommended{display:flex;flex-wrap:wrap;gap:6px;align-items:center;margin-bottom:6px}.doc-tags-label{font-size:10px;font-weight:600;color:#666;text-transform:uppercase;margin-right:4px;min-width:60px}.doc-tag{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500;white-space:nowrap;position:relative}.doc-tag-before{background-color:#fff3cd;color:#856404;border:1px solid #ffeaa7;opacity:.8}.doc-tag-current{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.tag-delete-btn{background:none;border:none;color:inherit;cursor:pointer;font-size:16px;font-weight:700;line-height:1;padding:0;margin:0 0 0 4px;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;opacity:.7}.tag-delete-btn:hover{opacity:1;background-color:#0000001a;transform:scale(1.2)}.doc-tag-current .tag-delete-btn:hover{background-color:#15572433}.doc-tags-input-container{position:relative;margin-top:4px}.doc-tag-input{width:100%;max-width:200px;padding:4px 8px;border:1px solid #ddd;border-radius:4px;font-size:12px;font-family:inherit}.doc-tag-input:focus{outline:none;border-color:#646cff;box-shadow:0 0 0 2px #646cff1a}.doc-tag-autocomplete{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 2px 8px #00000026;max-height:200px;overflow-y:auto;z-index:1000;margin-top:2px}.doc-tag-suggestion{padding:8px 12px;cursor:pointer;font-size:12px;border-bottom:1px solid #f0f0f0}.doc-tag-suggestion:last-child{border-bottom:none}.doc-tag-suggestion:hover{background-color:#f5f5f5}.doc-tag-suggestion:active{background-color:#e0e0e0}.doc-title-link{color:#646cff;text-decoration:none;cursor:pointer}.doc-title-link:hover{text-decoration:underline;color:#535bf2}.doc-tag-recommended{background-color:#fff3cd;color:#856404;border:1px solid #ffeaa7}.doc-tag-clickable{cursor:pointer;transition:all .2s}.doc-tag-clickable:hover{background-color:#28a745;color:#fff;border-color:#28a745;transform:scale(1.05)}.doc-tag-already-tagged{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb;opacity:.7}.col-repository,.col-file{min-width:120px;max-width:180px;color:#666;font-size:12px}.col-file.file-clickable{cursor:pointer;-webkit-user-select:none;user-select:none;transition:background-color .2s,color .2s}.col-file.file-clickable:hover{background-color:#e3f2fd;color:#1976d2;font-weight:500}.doc-tags-revert-container{margin-top:8px}.doc-tags-revert-button{padding:4px 8px;background:#dc3545;color:#fff;border:none;border-radius:4px;font-size:11px;cursor:pointer;transition:background .2s}.doc-tags-revert-button:hover{background:#c82333}.col-status{width:80px;min-width:80px;text-align:center;font-size:12px}.col-runs{width:60px;min-width:60px;text-align:center;font-size:12px}.col-last-run{width:100px;min-width:100px;color:#666;font-size:12px}.status-badge{display:inline-block;padding:4px 8px;border-radius:12px;font-size:12px;font-weight:500}.status-complete{background-color:#d4edda;color:#155724}.status-pending{background-color:#fff3cd;color:#856404}.document-tracker-empty{text-align:center;padding:40px;color:#999}@media(prefers-color-scheme:light){.document-tracker{color:#333}}@media(prefers-color-scheme:dark){.document-tracker{color:#e0e0e0}.document-tracker-table{background-color:#1e1e1e;color:#e0e0e0}.document-tracker-table thead{background-color:#2d2d2d}.document-tracker-table th{border-bottom-color:#444}.document-tracker-table td{border-bottom-color:#333}.document-tracker-table tbody tr:hover{background-color:#2d2d2d}.document-tracker-table tbody tr.has-run{background-color:#1a3a4a}.document-tracker-table tbody tr.has-run:hover{background-color:#1e4a5a}.document-tracker-stats{background-color:#2d2d2d}.btn-refresh{background-color:#2d4d2d;color:#81c784}.btn-refresh:hover:not(:disabled){background-color:#3d5d3d}.btn-select-all{background-color:#3d3d3d;color:#e0e0e0}.btn-select-all:hover:not(:disabled){background-color:#4d4d4d}.document-tracker-error{background-color:#3a1a1a;border-color:#5a2a2a;color:#ff6b6b}.col-repository,.col-file,.col-last-run{color:#aaa}.col-file.file-clickable:hover{background-color:#1e3a5a;color:#64b5f6}}.timeline-page{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}.timeline-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.timeline-actions{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.timeline-filter{display:flex;align-items:center;gap:.5rem}.timeline-filter label{font-size:.9rem;color:#374151;font-weight:500}.timeline-filter select{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;background:#fff;color:#111827;cursor:pointer}.timeline-filter select:disabled{opacity:.6;cursor:not-allowed}.timeline-button{padding:.5rem 1rem;border-radius:6px;border:none;cursor:pointer;font-size:.95rem}.timeline-button.primary{background-color:#2563eb;color:#fff}.timeline-button.secondary{background-color:#e5e7eb;color:#111827}.timeline-button:disabled{opacity:.6;cursor:not-allowed}.timeline-error{padding:.75rem 1rem;border-radius:6px;background:#fee2e2;color:#991b1b}.timeline-summary{padding:.5rem .75rem;border-radius:6px;background:#ecfdf5;color:#065f46;font-size:.9rem}.timeline-list{display:flex;flex-direction:column;gap:1rem}.timeline-empty{padding:2rem;text-align:center;color:#6b7280;background:#f9fafb;border-radius:8px}.timeline-item{display:grid;grid-template-columns:150px 1fr;gap:1.5rem;padding:1rem;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 1px 2px #00000008}.timeline-date{font-weight:600;color:#1f2937}.timeline-content{display:flex;flex-direction:column;gap:.5rem}.timeline-title-row{display:flex;align-items:center;gap:.5rem}.timeline-chip{padding:.2rem .5rem;border-radius:999px;background:#e0e7ff;color:#1d4ed8;font-size:.75rem;font-weight:600}.timeline-description{margin:0;color:#374151}.timeline-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.85rem;color:#6b7280}.timeline-tags{font-size:.85rem;color:#374151;display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.timeline-tag-badge{display:inline-block;padding:.25rem .5rem;background:#f3f4f6;border:1px solid #e5e7eb;border-radius:4px;font-size:.75rem;color:#4b5563}.timeline-link{background:none;border:none;color:#2563eb;text-decoration:underline;cursor:pointer;padding:0;font-size:inherit;font-family:inherit}.timeline-link:hover{color:#1d4ed8;text-decoration:none}.timeline-link:active{color:#1e40af}.article-manager{display:flex;flex-wrap:wrap;gap:24px;padding:24px;background:#f7f9fc;min-height:100%;box-sizing:border-box}.article-sidebar{flex:0 0 33%;max-width:33%;background:#fff;border:1px solid #e0e6f1;border-radius:12px;padding:16px;display:flex;flex-direction:column;gap:12px;box-shadow:0 8px 24px #0f172a0f;transition:opacity .3s,transform .3s}.article-sidebar.hidden{display:none}.article-manager.editing-mode{padding:0;gap:0}.article-manager.editing-mode .article-content{flex:1;width:100%;max-width:100%;margin:0;border-radius:0;height:100vh;display:flex;flex-direction:column;padding:0}.article-manager.editing-mode .article-content-header{padding:16px 24px;background:#fff;border-bottom:1px solid #e4e8f5;flex-shrink:0}.article-manager.editing-mode .article-tab-bar{padding:0 24px;background:#fff;border-bottom:1px solid #e4e8f5;flex-shrink:0}.article-sidebar h2{margin:0 0 4px;font-size:1.1rem}.article-sidebar label{font-size:.85rem;font-weight:600;margin-top:8px}.article-sidebar select,.article-sidebar input{border:1px solid #cfd8ea;border-radius:8px;padding:8px;font-size:.95rem}.article-run-button{margin-top:8px;background:#2157ff;color:#fff;border:none;border-radius:8px;padding:10px;font-weight:600;cursor:pointer}.article-run-button:disabled{opacity:.6;cursor:not-allowed}.article-progress{margin-top:12px;padding:16px;background:#f9fbff;border:1px solid #e4e8f5;border-radius:8px;font-size:.9rem}.article-progress-header{margin-bottom:12px}.article-progress-stage{font-weight:600;color:#2157ff;display:block}.article-progress-bar-container{position:relative;background:#e4e8f5;border-radius:8px;height:32px;margin-bottom:8px;overflow:hidden}.article-progress-bar{position:absolute;top:0;left:0;height:100%;background:linear-gradient(90deg,#2157ff,#4a7cff);transition:width .3s ease;border-radius:8px}.article-progress-text{position:relative;z-index:1;padding:6px 12px;font-size:.85rem;font-weight:600;color:#1d3b8b;text-align:center;line-height:20px}.article-progress-changes{color:#116033;font-weight:500}.article-progress-message{margin-top:8px;color:#555d78;font-size:.85rem;line-height:1.4}.article-progress-document{margin-top:8px;padding-top:8px;border-top:1px solid #e4e8f5;font-size:.85rem;color:#6b7390}.article-progress-document strong{color:#1d3b8b;font-weight:600}.article-progress-decision{color:#2157ff;font-weight:500}.article-run-controls{margin-top:12px;padding:12px;background:#f9fbff;border:1px solid #e4e8f5;border-radius:8px;display:flex;gap:12px;align-items:center}.article-pause-button,.article-resume-button{background:#ff6b35;color:#fff;border:none;border-radius:6px;padding:6px 12px;font-weight:600;cursor:pointer;font-size:.85rem}.article-resume-button{background:#2157ff}.article-resume-button:disabled{opacity:.5;cursor:not-allowed}.article-run-id{font-size:.8rem;color:#6b7390;font-weight:500}.article-run-status{text-transform:capitalize;color:#2157ff;font-weight:600}.article-documents-list{margin-top:16px;border-top:1px solid #e4e8f5;padding-top:12px}.article-documents-header{font-size:.9rem;font-weight:600;color:#6b7390;margin-bottom:8px}.article-documents-items{display:flex;flex-direction:column;gap:6px;max-height:400px;overflow-y:auto}.article-document-item{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e4e8f5;border-radius:6px;background:#fff;transition:all .2s}.article-document-item.processing{border-color:#2157ff;background:#eef2ff}.article-document-item.completed{border-color:#10b981;background:#ecfdf5}.article-document-item.skipped{border-color:#f59e0b;background:#fffbeb}.article-document-item.error{border-color:#ef4444;background:#fef2f2}.article-document-drag-handle{cursor:grab;color:#9ca3af;font-size:1.2rem;line-height:1;-webkit-user-select:none;user-select:none}.article-document-drag-handle:active{cursor:grabbing}.article-document-content{flex:1;min-width:0}.article-document-title{font-weight:500;font-size:.9rem;color:#1d3b8b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.article-document-status{font-size:.75rem;color:#6b7390;margin-top:2px;text-transform:capitalize}.article-document-actions{display:flex;gap:4px;align-items:center}.article-document-reprocess,.article-document-move{background:transparent;border:1px solid #cfd8ea;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:.9rem;color:#6b7390;line-height:1;min-width:28px;height:28px;display:flex;align-items:center;justify-content:center}.article-document-reprocess:hover,.article-document-move:hover{background:#f3f4f6;border-color:#9ca3af}.article-reload-button{background:transparent;border:1px solid #cfd8ea;border-radius:8px;padding:8px;font-weight:500;cursor:pointer}.article-reload-button.ghost{border-color:transparent;color:#2157ff}.article-list{margin-top:16px;border-top:1px solid #e4e8f5;padding-top:12px;display:flex;flex-direction:column;gap:6px}.article-list-header{font-size:.9rem;font-weight:600;color:#6b7390}.article-list-item{text-align:left;border:1px solid transparent;border-radius:8px;padding:10px;cursor:pointer;background:transparent}.article-list-item.active{border-color:#2157ff;background:#eef2ff}.article-title{display:block;font-weight:600}.article-meta{font-size:.8rem;color:#6b7390}.article-content{flex:1 1 600px;background:#fff;border:1px solid #e0e6f1;border-radius:12px;padding:24px;box-shadow:0 8px 24px #0f172a0a}.article-content-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;gap:12px}.article-content-header-actions{display:flex;gap:8px;align-items:center}.article-clear-button{background:#ef4444;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.article-clear-button:hover:not(:disabled){background:#dc2626;transform:translateY(-1px);box-shadow:0 2px 4px #ef44444d}.article-clear-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.article-agent-button{background:#10b981;color:#fff;border:none;padding:8px 16px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.article-agent-button:hover:not(:disabled){background:#059669;transform:translateY(-1px);box-shadow:0 2px 4px #10b9814d}.article-agent-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.article-sectioning-preview{margin-top:24px;padding:20px;background:#f0fdf4;border:2px solid #10b981;border-radius:10px}.article-sectioning-reasoning{margin:16px 0;padding:12px;background:#fff;border-left:3px solid #10b981;border-radius:4px;font-size:.9rem;line-height:1.6}.article-sectioning-list{margin:16px 0;padding:12px;background:#fff;border-radius:4px;font-size:.9rem}.article-sectioning-list ul{margin:8px 0 0;padding-left:20px}.article-sectioning-list li{margin:8px 0;line-height:1.6}.article-section-review-section{margin-top:24px;padding:20px;background:#fff;border:1px solid #e4e8f5;border-radius:10px}.article-section-review-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.article-section-review-button{background:#f0f9ff;color:#0369a1;border:1px solid #bae6fd;padding:8px 16px;border-radius:6px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s}.article-section-review-button:hover:not(:disabled){background:#e0f2fe;border-color:#7dd3fc;transform:translateY(-1px);box-shadow:0 2px 4px #0369a133}.article-section-review-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.article-tag-badge{display:inline-block;background:#e4ecff;color:#1d3b8b;padding:4px 10px;border-radius:999px;font-size:.8rem;margin-top:4px}.article-error{background:#ffe5e5;color:#912121;border:1px solid #fecaca;padding:12px;border-radius:8px;margin-bottom:12px}.article-message{background:#e4ffef;color:#116033;border:1px solid #b3f0c8;padding:12px;border-radius:8px;margin-bottom:12px}.article-body{border:1px solid #e4e8f5;border-radius:10px;padding:16px;background:#fdfdff;line-height:1.6}.article-body h2.article-heading{font-size:1.5rem;font-weight:600;color:#1a1d2e;margin-top:32px;margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid #e4e8f5}.article-body h2.article-heading:first-child{margin-top:0}.article-body p{margin:12px 0}.article-tab-bar{display:flex;gap:12px;border-bottom:1px solid #e4e8f5;margin:24px 0 16px}.article-tab-button{background:none;border:none;padding:8px 16px;cursor:pointer;color:#6b7280;font-weight:500;border-bottom:2px solid transparent;transition:color .2s ease,border-color .2s ease}.article-tab-button.active{color:#1f2937;border-bottom-color:#4f46e5}.article-tab-button:focus-visible{outline:2px solid #4f46e5;outline-offset:2px}.article-tab-placeholder{padding:32px;background:#f9fafb;border:1px dashed #d5d9eb;border-radius:10px;color:#4b5563;margin-bottom:32px}.article-body-index{font-weight:600;color:#2157ff;margin-right:8px}.article-empty-body{border:1px dashed #cfd8ea;border-radius:10px;padding:16px;color:#6b7390;font-style:italic}.article-references{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.article-reference-card{border:1px solid #e4e8f5;border-radius:10px;padding:12px;background:#f9fbff}.article-reference-title{font-weight:600;margin-bottom:4px}.article-reference-citation{font-size:.85rem;color:#555d78}.article-reference-note{margin-top:6px;font-size:.85rem;color:#6b7390}.article-table{width:100%;border-collapse:collapse;margin-top:12px;font-size:.9rem}.article-table th,.article-table td{border:1px solid #e4e8f5;padding:8px 10px;text-align:left}.article-table th{background:#f5f7ff}.article-link-button{background:none;border:none;color:#2157ff;font-weight:600;cursor:pointer;padding:0}.article-placeholder,.article-loading{border:1px dashed #d3daf0;border-radius:10px;padding:24px;text-align:center;color:#6b7390}.article-version-preview{border:1px solid #e4e8f5;border-radius:10px;padding:16px;background:#f4f6ff}.article-version-header{display:flex;justify-content:space-between;align-items:center}.article-footnote-ref{font-size:.75em;vertical-align:super;line-height:0;margin-left:2px}.article-footnote-link{color:#2157ff;text-decoration:none;font-weight:600}.article-footnote-link:hover{text-decoration:underline}.article-footnotes{margin-top:32px;padding-top:24px;border-top:2px solid #e4e8f5}.article-footnotes h4{margin:0 0 16px;font-size:1.1rem;color:#1a1d2e}.article-footnotes-list{list-style:none;padding:0;margin:0;counter-reset:footnote-counter}.article-footnote-item{display:flex;margin-bottom:12px;padding-left:24px;position:relative;counter-increment:footnote-counter}.article-footnote-number{position:absolute;left:0;font-weight:600;color:#2157ff}.article-footnote-content{flex:1;line-height:1.6;color:#4a5568}.article-footnote-note{color:#6b7390;font-style:italic}.article-review-response{margin-top:24px;border:1px solid #e4e8f5;border-radius:10px;padding:20px;background:#f9fafb}.article-review-response-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:12px;border-bottom:1px solid #e4e8f5}.article-review-response-meta{font-size:.9rem;color:#6b7390;font-weight:400;margin-left:8px}.article-review-prompt,.article-review-response-content{margin-bottom:20px}.article-review-prompt h4,.article-review-response-content h4{margin:0 0 12px;font-size:1rem;color:#1a1d2e}.article-review-text{background:#fff;border:1px solid #e4e8f5;border-radius:6px;padding:16px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem;line-height:1.6;color:#1a1d2e;white-space:pre-wrap;word-wrap:break-word;overflow-x:auto;max-height:500px;overflow-y:auto}.article-documents-list-main{margin-top:16px}.article-documents-list-main .article-documents-header{font-weight:600;color:#1a1d2e;margin-bottom:12px;font-size:.95rem}.article-documents-list-main .article-documents-items{display:flex;flex-direction:column;gap:8px}.article-documents-list-main .article-document-item{background:#fff;border:1px solid #e4e8f5;border-radius:8px;padding:12px 16px}.article-tag-documents-sidebar{margin-top:24px;margin-bottom:24px;padding-top:24px;border-top:1px solid #e4e8f5}.article-tag-documents-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.article-tag-documents-header h3{margin:0;font-size:1rem;font-weight:600;color:#1a1d2e}.article-refresh-button{background:none;border:none;color:#2157ff;font-size:1.2rem;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background-color .2s}.article-refresh-button:hover:not(:disabled){background-color:#f4f6ff}.article-refresh-button:disabled{opacity:.5;cursor:not-allowed}.article-tag-documents-list{display:flex;flex-direction:column;gap:8px;max-height:400px;overflow-y:auto}.article-tag-document-item{display:flex;align-items:center;gap:8px;padding:10px 12px;background:#fff;border:1px solid #e4e8f5;border-radius:6px;transition:all .2s}.article-tag-document-item:hover{border-color:#2157ff;box-shadow:0 2px 4px #2157ff1a}.article-tag-document-item.processing{border-color:#2157ff;background:#f4f6ff}.article-tag-document-item.completed{border-color:#10b981;background:#f0fdf4}.article-tag-document-item.skipped{border-color:#f59e0b;background:#fffbeb}.article-tag-document-item.error{border-color:#ef4444;background:#fef2f2}.article-tag-document-content{flex:1;min-width:0}.article-tag-document-title{font-size:.9rem;font-weight:500;color:#1a1d2e;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-bottom:4px}.article-tag-document-status{font-size:.75rem;color:#6b7390;text-transform:capitalize}.article-tag-document-move{background:none;border:1px solid #e4e8f5;color:#6b7390;font-size:.9rem;cursor:pointer;padding:4px 8px;border-radius:4px;transition:all .2s;flex-shrink:0}.article-tag-document-move:hover:not(:disabled){background-color:#f4f6ff;border-color:#2157ff;color:#2157ff}.article-tag-document-move:disabled{opacity:.3;cursor:not-allowed}.article-loading-small,.article-empty-small{padding:12px;text-align:center;color:#6b7390;font-size:.85rem}.article-prompts-form{display:flex;flex-direction:column;gap:20px}.article-prompt-group{display:flex;flex-direction:column;gap:8px}.article-prompt-group label{font-weight:600;color:#1a1d2e;font-size:.95rem}.article-prompt-textarea{width:100%;padding:12px;border:1px solid #e4e8f5;border-radius:6px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.85rem;line-height:1.6;color:#1a1d2e;resize:vertical;transition:border-color .2s}.article-prompt-textarea:focus{outline:none;border-color:#2157ff;box-shadow:0 0 0 3px #2157ff1a}.article-prompt-hint{font-size:.8rem;color:#6b7390;line-height:1.5}.article-save-prompts-button{align-self:flex-start;background:#2157ff;color:#fff;border:none;padding:10px 20px;border-radius:6px;font-size:.9rem;font-weight:500;cursor:pointer;transition:all .2s}.article-save-prompts-button:hover:not(:disabled){background:#1a46d9;transform:translateY(-1px);box-shadow:0 2px 4px #2157ff4d}.article-save-prompts-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.article-collapsible-section{margin-bottom:24px}.article-section-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:0;padding:12px 16px;background:#f9fafb;border:1px solid #e4e8f5;border-radius:8px;cursor:pointer;transition:background-color .2s}.article-section-header:hover{background:#f4f6ff}.article-section-header h3{margin:0;font-size:1rem;font-weight:600;color:#1a1d2e}.article-collapse-button{background:none;border:none;font-size:.9rem;color:#6b7390;cursor:pointer;padding:4px 8px;border-radius:4px;transition:color .2s;flex-shrink:0}.article-collapse-button:hover{color:#2157ff;background:#2157ff1a}.article-section-content{margin-top:12px;padding:16px;background:#fff;border:1px solid #e4e8f5;border-radius:0 0 8px 8px;border-top:none}.article-changes-list{display:flex;flex-direction:column;gap:24px}.article-change-item{border:1px solid #e4e8f5;border-radius:8px;padding:16px;background:#fff}.article-change-header{margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #e4e8f5}.article-change-meta{font-size:.85rem;color:#6b7390;font-weight:400;text-transform:capitalize}.article-change-diff{display:grid;grid-template-columns:1fr 1fr;gap:16px}.article-change-before,.article-change-after{display:flex;flex-direction:column}.article-change-before h4,.article-change-after h4{margin:0 0 12px;font-size:.9rem;font-weight:600;color:#1a1d2e}.article-change-text{padding:12px;border-radius:6px;font-size:.9rem;line-height:1.6;max-height:400px;overflow-y:auto}.article-change-text.deleted{background:#fef2f2;border:1px solid #fecaca;color:#991b1b}.article-change-text.deleted p{text-decoration:line-through;opacity:.7}.article-change-text.added{background:#f0fdf4;border:1px solid #bbf7d0;color:#166534}.article-change-text.added p{font-weight:500}.article-change-empty{font-style:italic;opacity:.6}@media(max-width:1024px){.article-manager{flex-direction:column}.article-sidebar,.article-content{flex:1 1 auto}.article-change-diff{grid-template-columns:1fr}}.article-version-actions{display:flex;gap:8px;flex-wrap:wrap}.article-revert-button{color:#dc2626!important}.article-revert-button:hover:not(:disabled){color:#b91c1c!important;text-decoration:underline}.article-version-changes{margin-top:24px;padding:20px;background:#f9fafb;border:1px solid #e4e8f5;border-radius:10px}.article-diff-view{position:relative}.article-diff-view p{padding:8px 12px;margin:8px 0;border-radius:4px;line-height:1.8}.article-diff-new-para{background-color:#d1fae5;border-left:3px solid #10b981}.article-diff-insert{background-color:#d1fae5;color:#065f46;padding:2px 4px;border-radius:3px;font-weight:500}.article-diff-delete{background-color:#fee2e2;color:#991b1b;text-decoration:line-through;padding:2px 4px;border-radius:3px;opacity:.8}.html-rendered-content{line-height:1.6;font-size:1rem}.html-rendered-content p{margin:0 0 16px}.html-rendered-content h1,.html-rendered-content h2,.html-rendered-content h3,.html-rendered-content h4,.html-rendered-content h5,.html-rendered-content h6{margin:24px 0 12px;font-weight:600;color:#1a1d2e}.html-rendered-content h1{font-size:2rem}.html-rendered-content h2{font-size:1.5rem}.html-rendered-content h3{font-size:1.25rem}.html-rendered-content sup{font-size:.75em;vertical-align:super}.html-rendered-content sup a{color:#2157ff;text-decoration:none;font-weight:600}.html-rendered-content sup a:hover{text-decoration:underline}.draft-wizard-overlay{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.draft-wizard-modal{background:#fff;border-radius:12px;box-shadow:0 4px 20px #00000026;width:90%;max-width:700px;max-height:90vh;display:flex;flex-direction:column;overflow:hidden}.draft-wizard-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #e4e8f5}.draft-wizard-header h2{margin:0;font-size:1.5rem;color:#1a1d2e}.draft-wizard-close{background:none;border:none;font-size:28px;color:#6b7390;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background .2s}.draft-wizard-close:hover{background:#f0f2f7}.draft-wizard-content{padding:24px;overflow-y:auto;flex:1}.draft-wizard-step{display:flex;flex-direction:column;gap:20px}.draft-wizard-step h3{margin:0 0 12px;font-size:1.2rem;color:#1a1d2e}.draft-wizard-reasoning{background:#f9fafb;border-left:3px solid #2157ff;padding:12px 16px;margin:0;color:#4a5568;font-size:.95rem;line-height:1.6}.draft-wizard-section{display:flex;flex-direction:column;gap:12px}.draft-wizard-section label{display:flex;flex-direction:column;gap:8px}.draft-wizard-section strong{color:#1a1d2e;font-size:.95rem}.draft-wizard-textarea{width:100%;padding:12px;border:1px solid #e4e8f5;border-radius:6px;font-family:inherit;font-size:.95rem;line-height:1.5;resize:vertical;min-height:80px}.draft-wizard-textarea:focus{outline:none;border-color:#2157ff;box-shadow:0 0 0 3px #2157ff1a}.draft-wizard-headings{display:flex;flex-direction:column;gap:12px}.draft-wizard-heading-item{display:flex;gap:8px;align-items:center}.draft-wizard-heading-input{flex:1;padding:10px 12px;border:1px solid #e4e8f5;border-radius:6px;font-size:.95rem}.draft-wizard-heading-input:focus{outline:none;border-color:#2157ff;box-shadow:0 0 0 3px #2157ff1a}.draft-wizard-remove{padding:8px 16px;background:#fee;color:#c33;border:1px solid #fcc;border-radius:6px;cursor:pointer;font-size:.9rem;transition:background .2s}.draft-wizard-remove:hover{background:#fdd}.draft-wizard-add{padding:10px 16px;background:#f0f2f7;color:#2157ff;border:1px solid #e4e8f5;border-radius:6px;cursor:pointer;font-size:.95rem;transition:background .2s;align-self:flex-start}.draft-wizard-add:hover{background:#e4e8f5}.draft-wizard-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:8px;padding-top:20px;border-top:1px solid #e4e8f5}.draft-wizard-submit{padding:12px 24px;background:#2157ff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:1rem;font-weight:500;transition:background .2s}.draft-wizard-submit:hover:not(:disabled){background:#1a47d9}.draft-wizard-submit:disabled{background:#ccc;cursor:not-allowed}.draft-wizard-cancel{padding:12px 24px;background:#fff;color:#6b7390;border:1px solid #e4e8f5;border-radius:6px;cursor:pointer;font-size:1rem;transition:background .2s}.draft-wizard-cancel:hover:not(:disabled){background:#f9fafb}.draft-wizard-cancel:disabled{opacity:.5;cursor:not-allowed}.draft-wizard-progress{padding:12px;background:#f0f7ff;border:1px solid #b3d9ff;border-radius:6px;color:#06c;font-size:.95rem}.draft-wizard-spinner{text-align:center;font-size:2rem;padding:20px}.draft-wizard-error{padding:12px;background:#fee;border:1px solid #fcc;border-radius:6px;color:#c33;font-size:.95rem}.draft-wizard-success{padding:12px;background:#efe;border:1px solid #cfc;border-radius:6px;color:#3c3;font-size:1rem;font-weight:500;text-align:center}.rich-text-editor{display:flex;flex-direction:column;border:1px solid #e4e8f5;border-radius:6px;overflow:hidden;background:#fff;height:100%;flex:1}.rich-text-editor-toolbar{display:flex;align-items:center;gap:4px;padding:8px 12px;background:#f9fafb;border-bottom:1px solid #e4e8f5;flex-wrap:wrap}.rich-text-editor-toolbar-button{padding:6px 12px;background:#fff;border:1px solid #e4e8f5;border-radius:4px;cursor:pointer;font-size:.9rem;font-weight:500;color:#1a1d2e;transition:all .2s;min-width:32px;text-align:center}.rich-text-editor-toolbar-button:hover{background:#f0f2f7;border-color:#2157ff;color:#2157ff}.rich-text-editor-toolbar-button:active{background:#e4e8f5}.rich-text-editor-toolbar-separator{width:1px;height:20px;background:#e4e8f5;margin:0 4px}.rich-text-editor-content{flex:1;padding:24px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:1rem;line-height:1.6;color:#1a1d2e;outline:none;overflow-y:auto;min-height:500px}.rich-text-editor-content:empty:before{content:attr(data-placeholder);color:#9ca3af;pointer-events:none}.rich-text-editor-content h1{font-size:2rem;font-weight:600;margin:24px 0 12px;color:#1a1d2e}.rich-text-editor-content h2{font-size:1.5rem;font-weight:600;margin:20px 0 10px;color:#1a1d2e}.rich-text-editor-content h3{font-size:1.25rem;font-weight:600;margin:16px 0 8px;color:#1a1d2e}.rich-text-editor-content p{margin:0 0 16px}.rich-text-editor-content ul,.rich-text-editor-content ol{margin:16px 0;padding-left:24px}.rich-text-editor-content li{margin:8px 0}.rich-text-editor-content a{color:#2157ff;text-decoration:underline}.rich-text-editor-content img{max-width:100%;height:auto;margin:16px 0}.rich-text-editor-content code{background:#f0f2f7;padding:2px 6px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9em}.rich-text-editor-content pre{background:#f9fafb;border:1px solid #e4e8f5;border-radius:6px;padding:12px;overflow:auto;margin:16px 0}.rich-text-editor-content pre code{background:none;padding:0}.rich-text-editor-content blockquote{border-left:4px solid #2157ff;padding-left:16px;margin:16px 0;color:#6b7390;font-style:italic}.front-page-view{padding:24px;max-width:1200px;margin:0 auto}.front-page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.front-page-header h1{margin:0;font-size:2rem;color:#1a1d2e;font-weight:600}.front-page-refresh-button{padding:8px 16px;background:#2157ff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:16px;font-weight:500}.front-page-refresh-button:hover{background:#1a47d9}.front-page-loading,.front-page-error,.front-page-empty{text-align:center;padding:48px;color:#6b7280;font-size:1.1rem}.front-page-error{color:#dc2626}.front-page-articles{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.front-page-article-card{background:#fff;border:1px solid #e4e8f5;border-radius:8px;padding:24px;cursor:pointer;transition:all .2s ease;box-shadow:0 1px 3px #0000001a}.front-page-article-card:hover{border-color:#2157ff;box-shadow:0 4px 12px #2157ff26;transform:translateY(-2px)}.front-page-article-title{margin:0 0 12px;font-size:1.5rem;color:#1a1d2e;font-weight:600;line-height:1.3}.front-page-article-excerpt{margin:0 0 16px;color:#4b5563;line-height:1.6;font-size:1rem}.front-page-article-excerpt-placeholder{margin:0 0 16px;color:#9ca3af;font-style:italic;line-height:1.6;font-size:1rem}.front-page-article-meta{display:flex;justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #e4e8f5;font-size:.875rem;color:#6b7280}.front-page-article-tag{font-weight:500;color:#2157ff}.front-page-article-date{color:#9ca3af}.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}.article-view{min-height:calc(100vh - 80px);background:#f5f7fa;padding:2rem}.article-view-container{max-width:900px;margin:0 auto}.article-view-loading,.article-view-error{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a}.article-view-error h2{color:#dc3545;margin-bottom:1rem}.article-view-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;gap:1rem}.article-view-back-button{background:#1a1a1a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.article-view-back-button:hover{background:#333}.article-view-edit-actions{display:flex;gap:.75rem}.article-view-edit-button,.article-view-save-button,.article-view-cancel-button{padding:.75rem 1.5rem;border:none;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.article-view-edit-button{background:#28a745;color:#fff}.article-view-edit-button:hover{background:#218838}.article-view-save-button{background:#2157ff;color:#fff}.article-view-save-button:hover:not(:disabled){background:#1a47d9}.article-view-save-button:disabled{opacity:.6;cursor:not-allowed}.article-view-cancel-button{background:#6c757d;color:#fff}.article-view-cancel-button:hover:not(:disabled){background:#5a6268}.article-view-cancel-button:disabled{opacity:.6;cursor:not-allowed}.article-view-editor-container{margin-top:1rem}.article-view-editor{background:#fff;border-radius:6px}.article-view-editor .ql-container{min-height:500px;font-size:1rem;font-family:inherit;line-height:1.6}.article-view-editor .ql-editor{min-height:500px}.article-view-editor .ql-toolbar{border-top-left-radius:6px;border-top-right-radius:6px;border-bottom:1px solid #e4e8f5}.article-view-editor .ql-container{border-bottom-left-radius:6px;border-bottom-right-radius:6px}.article-view-content{background:#fff;border-radius:8px;padding:3rem;box-shadow:0 2px 8px #0000001a}.article-view-header{margin-bottom:2rem;padding-bottom:1.5rem;border-bottom:2px solid #e4e8f5}.article-view-title{font-size:2.5rem;font-weight:700;color:#1a1a1a;margin-bottom:1rem;line-height:1.2}.article-view-image-container{margin:2rem 0;width:100%;border-radius:8px;overflow:hidden;box-shadow:0 4px 12px #0000001a}.article-view-image{width:100%;height:auto;display:block;object-fit:cover}.article-view-meta{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.article-view-tag{color:#666;font-weight:600;font-size:1rem;padding:.5rem 1rem;background:#f0f4ff;border-radius:6px}.article-view-date{color:#666;font-size:.95rem}.article-view-body,.article-view-body .html-rendered-content{line-height:1.8;font-size:1.1rem;color:#333}.article-view-body .html-rendered-content p{margin:0 0 16px}.article-view-body .html-rendered-content h1,.article-view-body .html-rendered-content h2,.article-view-body .html-rendered-content h3,.article-view-body .html-rendered-content h4,.article-view-body .html-rendered-content h5,.article-view-body .html-rendered-content h6{margin:24px 0 12px;font-weight:600;color:#1a1a1a}.article-view-body .html-rendered-content h2{font-size:1.5rem}.article-view-body .html-rendered-content sup{font-size:.75em;vertical-align:super}.article-view-body .html-rendered-content sup a{color:#2157ff;text-decoration:none;font-weight:600}.article-view-body .html-rendered-content sup a:hover{text-decoration:underline}.article-view-empty{color:#999;font-style:italic;text-align:center;padding:3rem;background:#f8f9fa;border-radius:8px;border:1px dashed #dee2e6}.article-view-empty p{margin:.5rem 0}.article-view-references{margin-top:3rem;padding-top:2rem;border-top:2px solid #e4e8f5}.article-view-references-title{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin-bottom:1.5rem}.article-view-references-list{list-style:none;padding:0;margin:0}.article-view-reference-item{display:flex;gap:.75rem;margin-bottom:1rem;padding-left:0}.article-view-reference-number{font-weight:600;color:#666;min-width:2rem}.article-view-reference-content{flex:1;line-height:1.6}.article-view-reference-note{color:#666;font-style:italic}@media(max-width:768px){.article-view{padding:1rem}.article-view-content{padding:1.5rem}.article-view-title{font-size:1.75rem}.article-view-meta{flex-direction:column;align-items:flex-start}}.article-search-results{min-height:calc(100vh - 80px);background:#f5f7fa;padding:2rem}.article-search-header{max-width:1200px;margin:0 auto 2rem;position:relative}.article-search-back-button{background:#1a1a1a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;margin-bottom:1rem;transition:background .2s}.article-search-back-button:hover{background:#333}.article-search-title{font-size:2rem;font-weight:700;color:#1a1a1a;margin-bottom:.5rem}.article-search-query{font-size:1.1rem;color:#666}.article-search-loading,.article-search-error,.article-search-empty{text-align:center;padding:3rem;background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;max-width:1200px;margin:0 auto}.article-search-error{color:#dc3545}.article-search-stats{max-width:1200px;margin:0 auto 1.5rem;color:#666;font-size:.95rem}.article-search-list{max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}.article-search-item{background:#fff;border-radius:8px;padding:1.5rem;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s;display:flex;gap:1.5rem}.article-search-item:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.article-search-item-image{flex-shrink:0;width:200px;height:150px;border-radius:6px;overflow:hidden;background:#f0f0f0}.article-search-item-image img{width:100%;height:100%;object-fit:cover}.article-search-item-content{flex:1;display:flex;flex-direction:column;gap:.75rem}.article-search-item-title{font-size:1.5rem;font-weight:600;color:#1a1a1a;margin:0}.article-search-item-excerpt{color:#666;line-height:1.6;margin:0;flex:1}.article-search-item-meta{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.article-search-item-tag{color:#666;font-weight:600;font-size:.9rem;padding:.4rem .8rem;background:#f5f5f5;border-radius:4px}.article-search-item-date{color:#999;font-size:.9rem}.article-search-pagination{max-width:1200px;margin:2rem auto 0;display:flex;justify-content:center;align-items:center;gap:1rem;padding:1.5rem}.article-search-pagination-button{padding:.75rem 1.5rem;border:2px solid #666;background:#fff;color:#666;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:all .2s}.article-search-pagination-button:hover:not(:disabled){background:#1a1a1a;color:#fff}.article-search-pagination-button:disabled{opacity:.5;cursor:not-allowed}.article-search-pagination-info{color:#666;font-size:.95rem}@media(max-width:768px){.article-search-results{padding:1rem}.article-search-item{flex-direction:column}.article-search-item-image{width:100%;height:200px}}.manual-preprocess-modal{position:fixed;inset:0;background:#000000b3;display:flex;align-items:center;justify-content:center;z-index:10000;padding:10px}.manual-preprocess-modal-content{background:#fff;border-radius:8px;max-width:1800px;width:98vw;max-height:98vh;display:flex;flex-direction:column;box-shadow:0 4px 20px #0000004d}.manual-preprocess-header{padding:20px 24px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center}.manual-preprocess-header h2{margin:0;font-size:24px;color:#333}.manual-preprocess-header .close-button{background:none;border:none;font-size:32px;color:#999;cursor:pointer;padding:0;width:32px;height:32px;line-height:1;transition:color .2s}.manual-preprocess-header .close-button:hover{color:#333}.manual-preprocess-header .close-button:disabled{opacity:.5;cursor:not-allowed}.manual-preprocess-body{padding:24px;overflow-y:auto;flex:1}.manual-preprocess-body-split{display:flex;gap:20px;flex:1;overflow:hidden}.manual-preprocess-left{flex:0 0 400px;overflow-y:auto;padding:20px;border-right:1px solid #e0e0e0}.manual-preprocess-right{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column}.manual-preprocess-right h3{margin:0 0 16px;font-size:18px;color:#333}.image-info{margin-bottom:20px;padding:12px;background:#f5f5f5;border-radius:4px}.image-info p{margin:8px 0;font-size:14px}.image-info .hint{color:#666;font-style:italic;font-size:13px}.applied-steps{margin-top:8px;padding:8px;background:#e8f4f8;border-left:3px solid #4a90e2;font-size:12px;color:#333;border-radius:2px}.image-preview{flex:1;padding:16px;background:#fff;border:1px solid #ddd;border-radius:4px;text-align:center;display:flex;align-items:center;justify-content:center;overflow:auto}.image-preview img{max-width:100%;max-height:100%;object-fit:contain;border:1px solid #e0e0e0;border-radius:2px}.image-preview.loading{color:#999;font-style:italic}.error-message{background:#fee;color:#c00;padding:12px;border-radius:4px;margin-bottom:16px;border:1px solid #fcc}.preprocessing-steps h3{margin:0 0 16px;font-size:18px;color:#333}.step-group{margin-bottom:16px;padding:14px;background:#fafafa;border-radius:4px;border:1px solid #e0e0e0}.step-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.step-name{font-weight:500;font-size:14px;color:#333;flex:1}.apply-step-button{padding:4px 12px;background:#4a90e2;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background .2s;min-width:50px}.apply-step-button:hover:not(:disabled){background:#357abd}.apply-step-button:disabled{background:#ccc;cursor:not-allowed}.step-description{margin:0 0 8px;font-size:13px;color:#666;line-height:1.4}.step-params-details{margin-top:8px}.step-params-details summary{cursor:pointer;font-size:12px;color:#4a90e2;padding:4px 0;-webkit-user-select:none;user-select:none}.step-params-details summary:hover{color:#357abd}.step-params{margin:8px 0 0;padding:10px;background:#fff;border-radius:4px;border:1px solid #ddd}.step-params label{display:block;font-size:12px;color:#555;margin-bottom:8px}.step-params input[type=number]{width:80px;margin-left:8px;padding:4px 6px;border:1px solid #ccc;border-radius:3px;font-size:12px}.manual-preprocess-footer{padding:16px 24px;border-top:1px solid #e0e0e0;display:flex;gap:12px;justify-content:flex-end;background:#fafafa}.process-button,.reset-button,.undo-button,.cancel-button{padding:10px 20px;border-radius:4px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;border:none}.process-button{background:#28a745;color:#fff}.process-button:hover:not(:disabled){background:#218838}.process-button:disabled{background:#ccc;cursor:not-allowed}.undo-button{background:#6c757d;color:#fff}.undo-button:hover:not(:disabled){background:#5a6268}.undo-button:disabled{background:#e0e0e0;color:#999;cursor:not-allowed}.reset-button{background:#ffc107;color:#333}.reset-button:hover:not(:disabled){background:#e0a800}.reset-button:disabled{background:#e0e0e0;color:#999;cursor:not-allowed}.cancel-button{background:#fff;color:#666;border:1px solid #ccc}.cancel-button:hover:not(:disabled){background:#f5f5f5}.cancel-button:disabled{opacity:.5;cursor:not-allowed}.ocr-results{margin-top:20px;padding:15px;background:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0}.ocr-results h4{margin:0 0 10px;color:#333;font-size:16px}.ocr-confidence{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:14px}.confidence-badge{padding:2px 8px;border-radius:4px;font-size:12px;font-weight:600}.confidence-badge.high{background:#d4edda;color:#155724}.confidence-badge.medium{background:#fff3cd;color:#856404}.confidence-badge.low{background:#f8d7da;color:#721c24}.ocr-text-container{margin-top:10px}.ocr-text{margin-top:5px;padding:10px;background:#fff;border:1px solid #ddd;border-radius:4px;max-height:300px;overflow-y:auto;font-family:Courier New,monospace;font-size:13px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word}.default-value{color:#888;font-size:.9em;font-weight:400;font-style:italic}.param-label{display:inline-block;margin-bottom:4px}.recommended-pipeline{margin-bottom:20px;padding:15px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px;text-align:center}.recommended-pipeline-button{width:100%;padding:12px 20px;background:#fff;color:#667eea;border:none;border-radius:6px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s;box-shadow:0 2px 4px #0000001a}.recommended-pipeline-button:hover:not(:disabled){background:#f8f9fa;transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.recommended-pipeline-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.pipeline-description{margin:10px 0 0;color:#fff;font-size:13px;font-weight:500}.files-manager{padding:10px;width:100%;max-width:100%;margin:0;height:calc(100vh - 100px);display:flex;flex-direction:column;box-sizing:border-box}.upload-info{background-color:#e7f3ff;border:1px solid #b3d9ff;border-radius:4px;padding:12px;margin-bottom:15px;font-size:13px}.upload-info p{margin:6px 0;color:#004085}.upload-info code{background-color:#0000001a;padding:2px 6px;border-radius:3px;font-family:monospace;font-size:12px}.files-drop-zone{border:2px dashed #ccc;border-radius:8px;padding:40px;text-align:center;margin-bottom:20px;background-color:#fafafa;transition:all .3s ease;cursor:pointer}.files-drop-zone:hover{border-color:#007bff;background-color:#f0f7ff}.files-drop-zone.dragging{border-color:#007bff;background-color:#e7f3ff;border-style:solid;transform:scale(1.02)}.drop-zone-message{pointer-events:none}.drop-zone-message p{margin:8px 0;color:#666;font-size:16px}.drop-zone-message p:first-child{font-size:18px;font-weight:500;color:#333}.drop-zone-hint{font-size:14px!important;color:#999!important}.selected-files-preview{margin-bottom:20px;padding:15px;background-color:#f8f9fa;border-radius:4px;border:1px solid #e0e0e0}.upload-destination{margin-bottom:10px;padding:8px;background-color:#fff3cd;border:1px solid #ffc107;border-radius:4px;font-size:13px}.upload-destination code{background-color:#0000001a;padding:2px 6px;border-radius:3px;font-family:monospace;font-size:12px}.upload-warning{display:block;margin-top:4px;color:#856404;font-size:12px}.selected-files-preview h3{margin:0 0 10px;font-size:16px;color:#333}.selected-files-list{list-style:none;padding:0;margin:10px 0;max-height:200px;overflow-y:auto}.selected-file-item{display:flex;align-items:center;gap:10px;padding:8px;background-color:#fff;margin-bottom:4px;border-radius:4px;border:1px solid #e0e0e0}.file-icon{font-size:16px}.file-path{flex:1;font-family:monospace;font-size:13px;color:#333;word-break:break-all}.file-size{font-size:12px;color:#666;white-space:nowrap}.files-manager-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:10px;border-bottom:2px solid #e0e0e0}.files-manager-header h2{margin:0;color:#333}.document-boundary-help{font-size:12px;color:#666;margin-top:4px;font-style:italic}.files-manager-actions,.file-upload-section{display:flex;gap:10px;align-items:center}.file-input{padding:8px;border:1px solid #ccc;border-radius:4px;font-size:14px}.upload-button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.upload-button:hover:not(:disabled){background-color:#0056b3}.upload-button:disabled{background-color:#ccc;cursor:not-allowed}.process-button{padding:8px 16px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.process-button:hover{background-color:#218838}.processing-status-link{padding:8px 16px;background-color:#6f42c1;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;text-decoration:none;display:inline-block;margin-right:8px;transition:background-color .2s}.processing-status-link:hover{background-color:#5a32a3;color:#fff;text-decoration:none}.process-folder-button{padding:8px 16px;background-color:#17a2b8;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.process-folder-button:hover{background-color:#138496}.file-checkbox{margin-right:4px;cursor:pointer;width:16px;height:16px;flex-shrink:0}.files-select-all{padding:10px 16px;background-color:#f8f9fa;border-bottom:1px solid #e0e0e0;display:flex;align-items:center}.files-select-all label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:#333}.files-select-all input[type=checkbox]{width:18px;height:18px;cursor:pointer}.process-dialog-form{margin:20px 0}.process-dialog-form label{display:block;margin-bottom:15px;color:#333;font-size:14px}.process-input{width:100%;padding:8px;margin-top:5px;border:1px solid #ccc;border-radius:4px;font-size:14px;box-sizing:border-box}.process-dialog-form small{display:block;margin-top:4px;color:#666;font-size:12px}.process-progress{padding:12px;background-color:#e7f3ff;border:1px solid #b3d9ff;border-radius:4px;margin-bottom:15px;color:#004085;font-size:14px}.modal-button-primary{background-color:#28a745!important;color:#fff}.modal-button-primary:hover{background-color:#218838!important}.files-manager-error{padding:12px;background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:4px;margin-bottom:15px}.files-manager-message{padding:12px;background-color:#d4edda;color:#155724;border:1px solid #c3e6cb;border-radius:4px;margin-bottom:15px}.files-manager-breadcrumb{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;padding:8px 12px;background-color:#f8f9fa;border-radius:4px;flex-wrap:wrap}.breadcrumb-actions{margin-left:auto}.create-folder-button{padding:6px 12px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.create-folder-button:hover{background-color:#218838}.create-folder-dialog{margin-bottom:15px;padding:15px;background-color:#f8f9fa;border-radius:4px;border:1px solid #dee2e6;display:flex;gap:10px;align-items:center}.folder-name-input{flex:1;padding:8px;border:1px solid #ccc;border-radius:4px;font-size:14px}.folder-dialog-actions{display:flex;gap:8px}.dialog-button{padding:6px 12px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.dialog-button{background-color:#007bff;color:#fff}.dialog-button:hover{background-color:#0056b3}.breadcrumb-item{background:none;border:none;color:#007bff;cursor:pointer;padding:4px 8px;font-size:14px;text-decoration:none}.breadcrumb-item:hover{text-decoration:underline}.breadcrumb-separator{color:#666;margin:0 4px}.files-manager-loading{text-align:center;padding:40px;color:#666}.files-manager-split{display:flex;gap:10px;flex:1;min-height:0;overflow:hidden}.files-manager-left{flex:0 0 40%;min-width:0;display:flex;flex-direction:column;overflow:hidden}.files-manager-right{flex:0 0 60%;min-width:0;display:flex;flex-direction:column;background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}.files-manager-content{background-color:#fff;border:1px solid #e0e0e0;border-radius:4px;overflow:hidden;flex:1;min-height:0;display:flex;flex-direction:column}.files-list{display:flex;flex-direction:column;overflow-y:auto;flex:1}.files-list-virtual{flex:1;overflow-x:hidden}.files-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;border-bottom:1px solid #e0e0e0;transition:background-color .2s}.files-item:last-child{border-bottom:none}.files-item:hover{background-color:#f8f9fa}.files-item.selected{background-color:#e7f3ff;border-left:3px solid #007bff}.files-item.row-selected{background-color:#e7f3ff}.files-item.focused{background-color:#fff3cd;border-left:3px solid #ffc107}.files-item.document-start{border-top:2px solid #28a745}.document-boundary-control{display:flex;align-items:center;justify-content:center;padding:2px 0;position:relative;min-height:24px}.document-boundary-button{background:transparent;border:none;border-radius:0;width:100%;height:24px;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:12px;transition:all .2s;flex-shrink:0;padding:0;margin:0;position:relative}.document-boundary-line{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:1px;background-color:#d0d0d0;transition:background-color .2s;z-index:1}.document-boundary-plus{position:relative;z-index:2;background-color:#fff;padding:0 8px;font-size:10px;transition:transform .2s}.document-boundary-button:hover .document-boundary-line{background-color:#999}.document-boundary-button:hover .document-boundary-plus{transform:scale(1.2)}.document-boundary-button.active .document-boundary-line{background-color:#000;height:2px}.document-boundary-button.active .document-boundary-plus{transform:scale(1.3)}.document-boundary-button.double .document-boundary-line{background:linear-gradient(to right,#dc3545 0% 50%,#28a745 50% 100%);height:3px}.document-boundary-button.double .document-boundary-plus{background:linear-gradient(to bottom,#dc3545 0% 50%,#28a745 50% 100%);color:#fff;padding:2px 4px;border-radius:3px;font-weight:700}.document-boundary-indicator{position:absolute;left:50px;background:#d4edda;color:#155724;padding:2px 8px;border-radius:4px;font-size:12px;white-space:nowrap}.document-start-badge{color:#28a745;font-size:14px;margin-left:4px}.files-item.range-start{border-top:2px solid #007bff}.files-item.range-end{border-bottom:2px solid #007bff}.files-item.range-double{border-top:3px solid #dc3545;border-bottom:3px solid #28a745;box-shadow:0 0 6px #007bff4d}.range-start-badge,.range-end-badge{display:inline-block;background-color:#007bff;color:#fff;font-size:11px;padding:2px 6px;border-radius:3px;margin-left:6px;font-weight:500}.range-start-badge{background-color:#28a745}.range-end-badge{background-color:#dc3545}.range-double-badge{display:inline-block;background:linear-gradient(to right,#dc3545 0% 50%,#28a745 50% 100%);color:#fff;font-size:11px;padding:2px 6px;border-radius:3px;margin-left:6px;font-weight:500;border:1px solid #666}.ocr-status-badge{display:inline-block;font-size:11px;padding:2px 6px;border-radius:3px;margin-left:6px;font-weight:500}.ocr-status-badge.ocr-yes{background-color:#28a745;color:#fff}.ocr-status-badge.ocr-no{background-color:#ffc107;color:#000}.files-item{cursor:pointer}.files-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0}.files-item-icon{font-size:20px;flex-shrink:0}.files-item-thumbnail{width:100px;height:100px;object-fit:cover;border-radius:4px;border:1px solid #e0e0e0;flex-shrink:0;background-color:#f5f5f5}.files-item-name{flex:1;min-width:0;text-align:left;background:none;border:none;color:#333;cursor:pointer;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.files-item-name:hover{color:#007bff;text-decoration:underline}.files-item-size{color:#666;font-size:12px;min-width:70px;text-align:right;flex-shrink:0}.files-item-date{color:#666;font-size:12px;min-width:110px;text-align:right;flex-shrink:0}.files-item-actions{display:flex;gap:8px;align-items:center;flex-shrink:0}.files-item-download,.files-item-delete,.files-item-process,.files-item-rotate{background:none;border:none;cursor:pointer;font-size:18px;padding:4px 8px;transition:transform .2s}.files-item-download:hover,.files-item-delete:hover,.files-item-process:hover,.files-item-rotate:hover{transform:scale(1.2)}.files-item-process{color:#28a745}.files-empty{padding:40px;text-align:center;color:#666}.llm-recommended{border-left:3px solid #28a745}.llm-keywords-container{display:flex;flex-wrap:wrap;gap:4px;margin-left:8px;align-items:center}.llm-keyword-tag{background-color:#28a745;color:#fff;padding:2px 8px;border-radius:12px;font-size:11px;white-space:nowrap;display:inline-block}.files-manager-modal{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.files-manager-modal-content{background-color:#fff;border-radius:8px;max-width:600px;max-height:90vh;width:90%;box-shadow:0 4px 6px #0000001a;display:flex;flex-direction:column;overflow:hidden}.files-manager-modal-content.scrollable{max-height:90vh}.files-manager-modal-header{padding:24px 24px 16px;border-bottom:1px solid #e0e0e0;flex-shrink:0}.files-manager-modal-header h3{margin:0;color:#333}.files-manager-modal-body{padding:16px 24px;overflow-y:auto;flex:1;min-height:0}.files-manager-modal-footer{padding:16px 24px;border-top:1px solid #e0e0e0;flex-shrink:0}.files-manager-modal-content h3{margin:0 0 12px;color:#333}.files-manager-modal-content p{margin:0 0 20px;color:#666}.files-manager-modal-actions{display:flex;gap:10px;justify-content:flex-end}.modal-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.modal-button{background-color:#6c757d;color:#fff}.modal-button:hover{background-color:#5a6268}.modal-button-danger{background-color:#dc3545;color:#fff}.modal-button-danger:hover{background-color:#c82333}.file-preview{display:flex;flex-direction:column;height:100%;overflow:hidden}.preview-header{display:flex;justify-content:space-between;align-items:center;padding:15px;border-bottom:1px solid #e0e0e0;background-color:#f8f9fa}.preview-header h3{margin:0;font-size:16px;color:#333;word-break:break-all}.close-preview{background:none;border:none;font-size:24px;cursor:pointer;color:#666;padding:0;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.close-preview:hover{background-color:#e0e0e0}.preview-content{flex:1;overflow:auto;padding:0;flex-direction:column;display:flex;align-items:center;justify-content:center;background-color:#f5f5f5}.preview-image-container{position:relative;display:flex;flex-direction:column;align-items:stretch;width:100%;height:100%}.preview-image{width:100%;height:auto;object-fit:contain;border-radius:4px;box-shadow:0 2px 8px #0000001a}.preview-actions{margin-top:10px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.preview-actions-top{margin-bottom:15px;display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:10px;background:#f8f9fa;border-radius:6px;border:1px solid #e0e0e0}.rotate-button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.rotate-button:hover{background-color:#0056b3}.manual-preprocess-button{padding:8px 16px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.manual-preprocess-button:hover{background-color:#218838}.pipeline-reprocess-button{padding:8px 16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:600;transition:all .2s;box-shadow:0 2px 4px #0000001a}.pipeline-reprocess-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 4px 8px #00000026}.pipeline-reprocess-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.preview-iframe{width:100%;height:100%;min-height:600px;border:none;flex:1}.preview-info{text-align:center;color:#666}.preview-info p{margin:10px 0}.preview-note{margin-top:20px!important;font-style:italic;color:#999}.download-button{margin-top:20px;padding:10px 20px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.download-button:hover{background-color:#0056b3}.preview-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;color:#999;text-align:center;padding:40px}.preview-placeholder p{margin:10px 0}.preview-hint{font-size:14px;color:#bbb}.floating-action-menu{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background-color:#fff;border:2px solid #007bff;border-radius:8px;box-shadow:0 4px 12px #00000026;z-index:1000;min-width:300px;animation:slideUp .3s ease-out}@keyframes slideUp{0%{opacity:0;transform:translate(-50%) translateY(20px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.floating-action-menu-header{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background-color:#007bff;color:#fff;border-radius:6px 6px 0 0;font-weight:500}.floating-action-close{background:none;border:none;color:#fff;font-size:24px;cursor:pointer;padding:0;width:24px;height:24px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s}.floating-action-close:hover{background-color:#fff3}.floating-action-menu-actions{display:flex;gap:8px;padding:12px;flex-wrap:wrap}.floating-action-button{flex:1;min-width:100px;padding:10px 16px;border:1px solid #dee2e6;border-radius:4px;background-color:#fff;color:#333;cursor:pointer;font-size:14px;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:6px}.floating-action-button:hover{background-color:#f8f9fa;border-color:#007bff;color:#007bff}.floating-action-button-primary{background-color:#28a745;color:#fff;border-color:#28a745}.floating-action-button-primary:hover{background-color:#218838;border-color:#218838;color:#fff}.floating-action-button-danger{background-color:#dc3545;color:#fff;border-color:#dc3545}.floating-action-button-danger:hover{background-color:#c82333;border-color:#c82333;color:#fff}.floating-action-button-secondary{background-color:#6c757d;color:#fff;border-color:#6c757d}.floating-action-button-secondary:hover{background-color:#5a6268;border-color:#5a6268;color:#fff}@media(max-width:768px){.files-manager{height:auto}.files-manager-split{flex-direction:column}.files-manager-right{min-height:400px}.files-manager-header{flex-direction:column;align-items:flex-start;gap:15px}.files-item-content{flex-wrap:wrap}.files-item-size,.files-item-date{min-width:auto;width:100%;text-align:left;margin-top:4px}.floating-action-menu{left:10px;right:10px;transform:none;min-width:auto}}.processing-status-container{padding:20px;max-width:1400px;margin:0 auto}.processing-status-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.processing-status-header h2{margin:0;font-size:24px;color:#333}.refresh-button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.refresh-button:hover:not(:disabled){background-color:#0056b3}.refresh-button:disabled{background-color:#ccc;cursor:not-allowed}.empty-state{padding:40px;text-align:center;color:#666;background-color:#f8f9fa;border-radius:4px}.empty-state code{background-color:#e9ecef;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace}.processing-status-table-wrapper{overflow-x:auto;border:1px solid #dee2e6;border-radius:4px}.processing-status-table{width:90%;margin:0 auto;border-collapse:collapse;background-color:#fff}.processing-status-table thead{background-color:#f8f9fa}.processing-status-table th{padding:12px;text-align:left;font-weight:600;color:#495057;border-bottom:2px solid #dee2e6;white-space:nowrap}.processing-status-table td{padding:12px;border-bottom:1px solid #dee2e6;color:#333}.processing-status-table tbody tr:hover{background-color:#f8f9fa}.processing-status-table tbody tr:last-child td{border-bottom:none}.folder-name{font-weight:500;color:#007bff}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:600;text-transform:uppercase}.status-badge.uploaded{background-color:#fff3cd;color:#856404}.status-badge.processed{background-color:#d4edda;color:#155724}.status-badge.processing{background-color:#cce5ff;color:#004085}.status-badge.submitted{background-color:#fff3cd;color:#856404}.status-badge.failed{background-color:#f8d7da;color:#721c24}.status-badge.cancelled{background-color:#e2e3e5;color:#383d41}.error-cell{max-width:200px;font-size:12px}.error-text{color:#dc3545;word-break:break-word}.process-progress-message{padding:12px;background-color:#d1ecf1;color:#0c5460;border:1px solid #bee5eb;border-radius:4px;margin-bottom:20px;text-align:center}.process-button{padding:6px 12px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.process-button:hover:not(:disabled){background-color:#218838}.process-button:disabled{background-color:#ccc;cursor:not-allowed;opacity:.6}.action-buttons{display:flex;gap:8px;align-items:center}.view-files-link{display:inline-block;padding:6px 10px;background-color:#28a745;color:#fff;text-decoration:none;border-radius:4px;font-size:16px;transition:background-color .2s;line-height:1}.view-files-link:hover{background-color:#218838;color:#fff;text-decoration:none}.preprocess-button{background-color:#17a2b8;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;font-size:13px}.preprocess-button:hover:not(:disabled){background-color:#138496}.preprocess-button:disabled{background-color:#6c757d;cursor:not-allowed}.preprocessing-status-badge{font-size:12px;margin-left:8px}.preprocessing-submitted{color:#ffc107}.preprocessing-processing{color:#007bff}.preprocessing-completed{color:#28a745}.preprocessing-failed{color:#dc3545}.cancel-button{padding:6px 12px;background-color:#dc3545;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s}.cancel-button:hover{background-color:#c82333}.clear-runs-button{padding:6px 12px;background-color:#ffc107;color:#212529;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:background-color .2s;font-weight:500}.clear-runs-button:hover{background-color:#e0a800}.expand-button{background:none;border:none;cursor:pointer;padding:0 8px 0 0;font-size:12px;color:#666;vertical-align:middle}.expand-button:hover{color:#333}.folder-row{background-color:#fff}.folder-row:hover,.job-row{background-color:#f8f9fa}.job-row:hover{background-color:#e9ecef}.job-indent{padding-left:40px!important;font-size:13px;color:#666}.job-label{font-weight:500;color:#495057;margin-right:8px}.job-count{font-size:12px;color:#666;font-weight:400;margin-left:8px}.archive-header-row{background-color:#e9ecef;border-top:2px solid #dee2e6}.archive-header-row:hover{background-color:#e9ecef}.archive-header{padding:12px!important;font-size:16px;background-color:#e9ecef;border-bottom:2px solid #dee2e6}.archive-header strong{color:#495057;font-size:16px}.archive-expand-button{font-size:14px!important;margin-right:8px;color:#495057!important}.archive-expand-button:hover{color:#212529!important}.archive-folder-count{font-size:14px;color:#6c757d;font-weight:400;margin-left:8px}.pipeline-config{max-width:1200px;margin:0 auto;padding:20px}.pipeline-config-header{margin-bottom:30px}.pipeline-config-header h2{margin:0 0 10px;color:#333}.pipeline-config-header p{margin:0;color:#666;font-size:14px}.pipeline-message{padding:12px 16px;border-radius:4px;margin-bottom:20px;font-weight:500}.pipeline-message.success{background-color:#d4edda;color:#155724;border:1px solid #c3e6cb}.pipeline-message.error{background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.pipeline-config-content{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.pipeline-section{padding:24px;border-bottom:1px solid #e0e0e0}.pipeline-section:last-child{border-bottom:none}.pipeline-section h3{margin:0 0 8px;color:#333;font-size:18px}.section-description{margin:0 0 20px;color:#666;font-size:14px}.pipeline-steps{display:flex;flex-direction:column;gap:12px}.pipeline-step{display:flex;align-items:flex-start;gap:12px;padding:12px;border:1px solid #e0e0e0;border-radius:6px;cursor:pointer;transition:all .2s}.pipeline-step:hover{background-color:#f8f9fa;border-color:#007bff}.pipeline-step input[type=checkbox]{margin-top:3px;width:18px;height:18px;cursor:pointer}.step-info{display:flex;flex-direction:column;gap:4px;flex:1}.step-info strong{color:#333;font-size:14px}.step-description{color:#666;font-size:13px}.pipeline-params{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px}.param-group{border:1px solid #e0e0e0;border-radius:6px;padding:16px}.param-group h4{margin:0 0 12px;color:#333;font-size:15px}.param-group label{display:flex;flex-direction:column;gap:6px;margin-bottom:12px}.param-group label:last-child{margin-bottom:0}.param-group label span{font-size:13px;color:#555;font-weight:500}.param-group input{padding:8px 10px;border:1px solid #ddd;border-radius:4px;font-size:14px;font-family:Courier New,monospace}.param-group input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.pipeline-config-actions{display:flex;gap:12px;justify-content:flex-end;padding:20px 24px;background-color:#f8f9fa;border-top:1px solid #e0e0e0}.button-primary,.button-secondary{padding:10px 20px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.button-primary{background-color:#007bff;color:#fff}.button-primary:hover:not(:disabled){background-color:#0056b3}.button-primary:disabled{background-color:#ccc;cursor:not-allowed}.button-secondary{background-color:#6c757d;color:#fff}.button-secondary:hover{background-color:#5a6268}.pipeline-config-note{margin-top:20px;padding:16px;background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;font-size:14px;color:#856404}.pipeline-config-note strong{display:block;margin-bottom:6px}.file-review-container{padding:20px;max-width:100%;height:calc(100vh - 80px);display:flex;flex-direction:column}.file-review-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.header-actions{display:flex;gap:10px;align-items:center}.file-review-header h2{margin:0;font-size:24px;color:#333}.refresh-button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.refresh-button:hover{background-color:#0056b3}.error-message{padding:12px;background-color:#f8d7da;color:#721c24;border:1px solid #f5c6cb;border-radius:4px;margin-bottom:20px}.file-review-content{display:flex;flex:1;gap:20px;overflow:hidden}.file-review-sidebar{width:300px;border:1px solid #dee2e6;border-radius:4px;padding:16px;background-color:#fff;overflow-y:auto;display:flex;flex-direction:column}.sidebar-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.sidebar-header h3{margin:0;font-size:18px;color:#333}.selection-controls{display:flex;align-items:center}.select-all-checkbox{display:flex;align-items:center;gap:5px;font-size:13px;cursor:pointer}.empty-state{padding:20px;text-align:center;color:#666}.folders-list{display:flex;flex-direction:column;gap:16px}.folder-group{border-bottom:1px solid #e9ecef;padding-bottom:16px}.folder-group:last-child{border-bottom:none}.folder-name-header{font-weight:600;color:#495057;margin-bottom:8px;font-size:14px}.folder-name-header-button{width:100%;display:flex;align-items:center;gap:8px;padding:8px 12px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;font-weight:600;color:#495057;font-size:14px;text-align:left;transition:all .2s;margin-bottom:8px}.folder-name-header-button:hover{background-color:#e9ecef;border-color:#adb5bd}.folder-expand-icon{font-size:12px;color:#666;width:16px;text-align:center}.folder-name-text{flex:1}.folder-job-count{font-size:12px;color:#6c757d;font-weight:400}.jobs-list{display:flex;flex-direction:column;gap:4px}.job-item{padding:8px 12px;text-align:left;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;cursor:pointer;transition:all .2s}.job-item:hover{background-color:#e9ecef;border-color:#adb5bd}.job-item.selected{background-color:#007bff;color:#fff;border-color:#007bff}.job-name{font-size:13px;font-weight:500;margin-bottom:4px;word-break:break-word}.job-meta{font-size:11px;opacity:.7;display:flex;flex-direction:column;gap:2px}.version-badge{display:inline-block;background-color:#007bff;color:#fff;padding:2px 6px;border-radius:3px;font-size:10px;font-weight:600;margin-right:4px}.job-item.selected .version-badge{background-color:#ffffff4d}.job-date{display:block;margin-top:2px}.job-item-wrapper{margin-bottom:4px}.job-item-wrapper.selected{background-color:#e7f3ff;border-radius:4px;padding:4px}.job-item-row{display:flex;align-items:center;gap:8px}.job-checkbox{cursor:pointer;flex-shrink:0}.job-item.active{background-color:#007bff;color:#fff}.job-item.active .job-name,.job-item.active .job-meta{color:#fff}.enrichment-badge{display:inline-block;padding:2px 6px;background-color:#d4edda;color:#155724;border-radius:10px;font-size:10px;font-weight:500;margin-left:5px}.version-selector{margin-top:8px;padding:8px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;font-size:12px}.version-selector label{display:block;margin-bottom:4px;font-weight:500;color:#495057}.version-selector select{width:100%;padding:4px 8px;border:1px solid #ced4da;border-radius:4px;font-size:12px;background-color:#fff}.enrichment-version-selector{margin-top:8px;padding:8px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;font-size:12px}.enrichment-version-selector label{display:block;margin-bottom:4px;font-weight:500;color:#495057}.enrichment-version-selector select{width:100%;padding:4px 8px;border:1px solid #ced4da;border-radius:4px;font-size:12px;background-color:#fff}.enrichment-section{border-top:1px solid #dee2e6;background-color:#f8f9fa}.enrichment-content{padding:16px;background-color:#fff}.enrichment-tags{margin-bottom:16px}.enrichment-tags h4,.enrichment-description h4{margin:0 0 8px;font-size:14px;font-weight:600;color:#333}.enrichment-description p{margin:0;font-size:13px;line-height:1.6;color:#333;white-space:pre-wrap}.tag-badge{display:inline-block;padding:4px 10px;background-color:#e7f3ff;color:#06c;border-radius:12px;font-size:12px;font-weight:500}.file-review-main{flex:1;display:flex;flex-direction:column;border:1px solid #dee2e6;border-radius:4px;background-color:#fff;overflow:hidden}.file-header{padding:16px 20px;border-bottom:1px solid #dee2e6;background-color:#f8f9fa}.file-name{margin:0 0 4px;font-size:18px;font-weight:600;color:#212529;word-break:break-word}.file-meta{font-size:12px;color:#6c757d;display:flex;flex-wrap:wrap;gap:12px;align-items:center}.run-number{font-weight:600;color:#007bff}.processed-date{color:#6c757d}.file-path{font-family:Courier New,monospace;font-size:11px;color:#868e96;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pdf-viewer-container{flex:1;min-height:0;border-bottom:1px solid #dee2e6}.pdf-viewer{width:100%;height:100%;border:none}.pdf-loading{display:flex;align-items:center;justify-content:center;height:100%;color:#666}.pdf-error{display:flex;align-items:center;justify-content:center;height:100%;color:#dc3545;padding:20px;text-align:center}.no-selection{display:flex;align-items:center;justify-content:center;height:100%;color:#666;font-size:16px}.extracted-text-section{border-top:1px solid #dee2e6;background-color:#f8f9fa}.text-toggle-button{width:100%;padding:12px 16px;background-color:#e9ecef;border:none;border-bottom:1px solid #dee2e6;cursor:pointer;text-align:left;font-size:14px;font-weight:500;color:#495057;display:flex;align-items:center;gap:8px;transition:background-color .2s}.text-toggle-button:hover:not(:disabled){background-color:#dee2e6}.text-toggle-button:disabled{cursor:not-allowed;opacity:.6}.toggle-icon{font-size:12px;width:16px;text-align:center}.toggle-label{flex:1}.text-length{font-weight:400;color:#6c757d;font-size:12px}.extracted-text-content{max-height:300px;overflow-y:auto;padding:16px;background-color:#fff}.extracted-text-content pre{margin:0;font-family:Courier New,monospace;font-size:12px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;color:#333}.extracted-text-empty{padding:16px;text-align:center;color:#6c757d;font-size:13px;font-style:italic}.loading{padding:40px;text-align:center;color:#666}.enrich-page{padding:20px;max-width:1400px;margin:0 auto}.enrich-page-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #e0e0e0}.enrich-page-header h2{margin:0;font-size:24px;color:#333}.enrich-controls{display:flex;gap:15px;align-items:center}.enrich-controls label{display:flex;align-items:center;gap:8px;font-size:14px}.enrich-controls select{padding:6px 10px;border:1px solid #ccc;border-radius:4px;font-size:14px}.enrich-controls button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px}.enrich-controls button:hover{background-color:#0056b3}.enrich-page-content{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden;padding:20px}.selection-controls{margin-bottom:15px;padding-bottom:10px;border-bottom:1px solid #e0e0e0}.select-all-checkbox{display:flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}.select-all-checkbox input[type=checkbox]{cursor:pointer}.bulk-enrich-button{padding:8px 16px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;font-weight:500}.bulk-enrich-button:hover:not(:disabled){background-color:#218838}.bulk-enrich-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.enrich-table{width:100%;border-collapse:collapse}.enrich-table thead{background-color:#f8f9fa}.enrich-table th{padding:12px;text-align:left;font-weight:600;color:#333;border-bottom:2px solid #dee2e6;font-size:14px}.checkbox-cell{width:40px;text-align:center}.checkbox-cell input[type=checkbox]{cursor:pointer}.row-selected{background-color:#e7f3ff!important}.enrich-table td{padding:12px;border-bottom:1px solid #e9ecef;font-size:14px}.enrich-table tbody tr:hover{background-color:#f8f9fa}.enrich-table tbody tr.enriched{background-color:#f0f9ff}.enrich-table tbody tr.enriched:hover{background-color:#e0f2fe}.document-name{font-weight:500;color:#333;max-width:300px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.folder-name{color:#666;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.run-number{text-align:center;color:#666}.completed-at{color:#666;white-space:nowrap}.enrichment-status{min-width:200px}.enrichment-status-cell{display:flex;flex-direction:column;gap:6px}.enrichment-version-select{font-size:11px;padding:3px 6px;border:1px solid #ced4da;border-radius:3px;background-color:#fff;cursor:pointer;max-width:100%}.expand-button{background:none;border:none;cursor:pointer;font-size:12px;color:#007bff;padding:2px 6px;margin-right:6px;vertical-align:middle}.expand-button:hover{color:#0056b3}.expanded-row{background-color:#f8f9fa}.expanded-cell{padding:20px!important;background-color:#f8f9fa}.past-enrichments{padding:0}.past-enrichments h4{margin:0 0 16px;font-size:14px;font-weight:600;color:#333}.enrichment-run{margin-bottom:20px;padding:12px;background-color:#fff;border:1px solid #dee2e6;border-radius:4px}.enrichment-run:last-child{margin-bottom:0}.enrichment-run-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #e9ecef}.run-label{font-weight:600;color:#495057;font-size:13px}.view-json-button{padding:4px 10px;font-size:11px;background-color:#007bff;color:#fff;border:none;border-radius:3px;cursor:pointer}.view-json-button:hover{background-color:#0056b3}.enrichment-tags-expanded{margin-bottom:12px}.enrichment-tags-expanded strong{display:block;margin-bottom:6px;font-size:12px;color:#495057}.enrichment-description-expanded{margin-top:12px}.enrichment-description-expanded strong{display:block;margin-bottom:6px;font-size:12px;color:#495057}.enrichment-description-expanded p{margin:0;font-size:13px;line-height:1.5;color:#333;white-space:pre-wrap}.json-modal-overlay{position:fixed;inset:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:1000}.json-modal-content{background-color:#fff;border-radius:8px;width:90%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 20px #0000004d}.json-modal-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid #dee2e6}.json-modal-header h3{margin:0;font-size:18px;font-weight:600;color:#333}.json-modal-close{background:none;border:none;font-size:28px;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;line-height:1}.json-modal-close:hover{color:#333}.json-modal-body{padding:20px;overflow:auto;flex:1}.json-modal-body pre{margin:0;padding:12px;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;font-size:12px;line-height:1.5;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.enriched-badge{background-color:#d4edda;color:#155724}.not-enriched-badge{background-color:#fff3cd;color:#856404}.enriched-date{font-size:11px;opacity:.8}.recommended-tags{max-width:400px}.tags-list{display:flex;flex-wrap:wrap;gap:6px}.tag-badge{display:inline-block;padding:3px 8px;background-color:#e7f3ff;color:#06c;border-radius:12px;font-size:11px;font-weight:500}.tag-more{display:inline-block;padding:3px 8px;color:#666;font-size:11px;font-style:italic}.no-tags{color:#999;font-style:italic}.action-cell{text-align:center}.enrich-button{padding:6px 16px;background-color:#28a745;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px;font-weight:500}.enrich-button:hover:not(:disabled){background-color:#218838}.enrich-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.error-message{padding:15px;background-color:#f8d7da;color:#721c24;border-radius:4px;margin-bottom:15px}.error-message+button{padding:8px 16px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer}.error-message+button:hover{background-color:#0056b3}.pagination-controls{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:20px;padding-top:15px;border-top:1px solid #e0e0e0}.pagination-button{padding:6px 12px;background-color:#007bff;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:13px}.pagination-button:hover:not(:disabled){background-color:#0056b3}.pagination-button:disabled{background-color:#6c757d;cursor:not-allowed;opacity:.6}.pagination-info{font-size:14px;color:#666}.login-modal-overlay{position:fixed;inset:0;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.login-modal{background-color:#2a2a2a;border:1px solid #555;border-radius:8px;padding:0;width:90%;max-width:400px;box-shadow:0 4px 20px #00000080}.login-modal-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #555}.login-modal-header h2{margin:0;font-size:1.25rem;color:#ffffffde}.login-modal-close{background:none;border:none;color:#fff9;font-size:2rem;line-height:1;cursor:pointer;padding:0;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;transition:color .2s}.login-modal-close:hover{color:#ffffffde}.login-form{padding:1.5rem}.login-error{background-color:#dc354533;border:1px solid rgba(220,53,69,.5);color:#ff6b6b;padding:.75rem;border-radius:4px;margin-bottom:1rem;font-size:.9rem}.login-form-group{margin-bottom:1.25rem}.login-form-group label{display:block;margin-bottom:.5rem;color:#ffffffde;font-size:.9rem}.login-form-group input{width:100%;padding:.75rem;background-color:#1a1a1a;border:1px solid #555;border-radius:4px;color:#ffffffde;font-size:1rem;box-sizing:border-box}.login-form-group input:focus{outline:none;border-color:#646cff}.login-form-group input:disabled{opacity:.6;cursor:not-allowed}.login-form-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1.5rem}.login-form-actions button{padding:.75rem 1.5rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:.9rem;cursor:pointer;transition:background-color .2s,border-color .2s}.login-form-actions button[type=submit]{background-color:#646cff;border-color:#646cff;color:#fff}.login-form-actions button[type=submit]:hover:not(:disabled){background-color:#535bf2;border-color:#535bf2}.login-form-actions button[type=button]:hover:not(:disabled){background-color:#333;border-color:#646cff}.login-form-actions button:disabled{opacity:.6;cursor:not-allowed}.app{display:flex;flex-direction:column;height:100vh;width:100%;max-width:100%;margin:0;padding:0}.app-header{background-color:#1a1a1a;padding:1rem 2rem;border-bottom:1px solid #333;display:flex;justify-content:space-between;align-items:center}.app-header h1{margin:0;font-size:1.5rem;color:#ffffffde;display:flex;align-items:center;gap:.5rem}.app-header-icon{font-size:1.8rem;display:inline-block;animation:float 3s ease-in-out infinite}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.app-nav{display:flex;gap:.5rem}.nav-button{padding:.5rem 1.5rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:.9rem;cursor:pointer;transition:background-color .2s,border-color .2s}.nav-button:hover{background-color:#333;border-color:#646cff}.nav-button.active{background-color:#646cff;border-color:#646cff;color:#fff}.filters-container{padding:1rem 2rem;background-color:#2a2a2a;border-bottom:1px solid #333}.filters{display:flex;gap:2rem;align-items:center;flex-wrap:wrap}.filter-group{display:flex;align-items:center;gap:.5rem}.filter-group label{font-weight:500;color:#ffffffde}.filter-group select{padding:.5rem 1rem;border-radius:4px;border:1px solid #555;background-color:#1a1a1a;color:#ffffffde;font-size:1rem;min-width:300px}.filter-group select:focus{outline:2px solid #646cff;border-color:#646cff}.error{color:#ff6b6b;font-size:.9rem}.error-banner{background-color:#ff6b6b20;color:#ff6b6b;padding:1rem 2rem;border-bottom:1px solid #ff6b6b40}.main-content{display:flex;flex:1;overflow:hidden}.left-panel{width:350px;border-right:1px solid #333;overflow-y:auto;background-color:#1a1a1a}.right-panel{flex:1;overflow-y:auto;background-color:#242424;padding:2rem}.item-list{height:100%;display:flex;flex-direction:column}.item-list h2{padding:1rem;margin:0;font-size:1.2rem;border-bottom:1px solid #333;background-color:#2a2a2a;color:#ffffffde}.item-list ul{list-style:none;padding:0;margin:0;flex:1;overflow-y:auto}.item-list li{padding:1rem;border-bottom:1px solid #333;cursor:pointer;transition:background-color .2s}.item-list li:hover{background-color:#2a2a2a}.item-list li.selected{background-color:#646cff20;border-left:3px solid #646cff}.item-title{font-weight:500;color:#ffffffde;margin-bottom:.25rem}.item-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}.item-tags .tag{display:inline-block;padding:.25rem .5rem;background-color:#646cff30;color:#646cff;border-radius:4px;font-size:.75rem;font-weight:500}.item-ids{margin-top:.25rem;display:flex;flex-direction:column;gap:.15rem}.item-uuid{font-size:.8rem;color:#646cff;cursor:pointer;font-family:Courier New,monospace;word-break:break-all;padding:.15rem .25rem;border-radius:3px;transition:background-color .2s}.item-uuid:hover{background-color:#646cff1a;text-decoration:underline}.item-id{font-size:.85rem;color:#fff9}.loading,.empty{padding:2rem;text-align:center;color:#fff9}.content-viewer{max-width:100%}.content-header{margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #333}.content-header-top{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:.5rem}.content-header h2{margin:0 0 .5rem;color:#ffffffde;flex:1}.llm-submit-button{padding:.5rem 1rem;border-radius:4px;border:none;background-color:#646cff;color:#fff;font-size:.9rem;font-weight:600;cursor:pointer;transition:background-color .2s;white-space:nowrap}.llm-submit-button:hover:not(:disabled){background-color:#5568d3}.llm-submit-button:disabled{opacity:.5;cursor:not-allowed}.llm-error-banner{padding:1rem;background-color:#ff6b6b20;color:#ff6b6b;border-radius:4px;border:1px solid #ff6b6b40;margin-bottom:1rem}.llm-loading-banner{padding:1rem;background-color:#646cff20;color:#646cff;border-radius:4px;border:1px solid #646cff40;margin-bottom:1rem;text-align:center}.llm-response-section{margin:2rem 0;border:1px solid #333;border-radius:4px;background-color:#1a1a1a}.llm-response-actions{display:flex;gap:.5rem;border-bottom:1px solid #333}.llm-response-toggle{flex:1;padding:1rem;background-color:#2a2a2a;border:none;color:#ffffffde;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:background-color .2s}.llm-response-toggle:hover{background-color:#333}.llm-view-parsed-button{padding:1rem 1.5rem;background-color:#646cff;border:none;color:#fff;font-size:1rem;font-weight:500;cursor:pointer;transition:background-color .2s;white-space:nowrap}.llm-view-parsed-button:hover{background-color:#5568d3}.llm-response-content{padding:1rem}.llm-response-text{margin:0;padding:1rem;background-color:#1a1a1a;border:1px solid #333;border-radius:4px;font-family:Courier New,monospace;font-size:.9rem;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#ffffffde;max-height:600px;overflow-y:auto}.content-tags{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0 1rem}.content-tags .tag{display:inline-block;padding:.375rem .75rem;background-color:#646cff30;color:#646cff;border-radius:4px;font-size:.875rem;font-weight:500}.content-tags .tag.tag-current{background-color:#22c55e30;color:#22c55e;border:1px solid #22c55e50}.content-tags .tag.tag-recommended{background-color:#fbbf2430;color:#f59e0b;border:1px solid #fbbf2450}.content-tags .tag.tag-recommended-clickable{background-color:#fbbf2430;color:#f59e0b;border:1px solid #fbbf2450;cursor:pointer;transition:background-color .2s}.content-tags .tag.tag-recommended-clickable:hover{background-color:#fbbf2450}.llm-tags-section{margin:1rem 0;padding:1rem;background-color:#f5f5f5;border-radius:4px}.llm-tags-section h4{margin:0 0 .75rem;font-size:1rem}.llm-tags-list{display:flex;flex-wrap:wrap;gap:.5rem}.llm-tag-item{display:flex;align-items:center;gap:.25rem}.llm-tag-name{display:inline-block;padding:.375rem .75rem;background-color:#fbbf2430;color:#f59e0b;border-radius:4px;font-size:.875rem;font-weight:500}.llm-tag-name.llm-tag-clickable{cursor:pointer;transition:background-color .2s}.llm-tag-name.llm-tag-clickable:hover{background-color:#fbbf2450}.llm-tag-name.llm-tag-already-tagged{background-color:#22c55e30;color:#22c55e;cursor:default;opacity:.7}.llm-tag-reason{font-size:.75rem;color:#666;font-style:italic}.llm-tag-id{font-size:.75rem;color:#999}.field-tags{display:flex;flex-wrap:wrap;gap:.5rem}.field-tags .tag{display:inline-block;padding:.25rem .5rem;background-color:#646cff30;color:#646cff;border-radius:4px;font-size:.75rem;font-weight:500}.field-tags .tag.tag-current{background-color:#22c55e30;color:#22c55e;border:1px solid #22c55e50}.item-meta{display:flex;gap:1rem;font-size:.9rem;color:#fff9}.content-attributes{margin-bottom:2rem}.content-attributes h3,.content-media h3,.content-files h3{color:#ffffffde;margin-bottom:1rem}.content-attributes pre{background-color:#1a1a1a;padding:1rem;border-radius:4px;overflow-x:auto;font-size:.85rem;border:1px solid #333}.field-list{display:flex;flex-direction:column;gap:1rem}.field-item{display:flex;flex-direction:column;gap:.25rem;padding:.75rem;background-color:#1a1a1a;border-radius:4px;border:1px solid #333}.field-label{font-weight:600;font-size:.9rem;color:#ffffffb3;text-transform:uppercase;letter-spacing:.5px;font-size:.75rem}.field-value{color:#ffffffde;line-height:1.5;word-wrap:break-word}.field-value span{display:block}.field-value div{line-height:1.6}.extracted-text-section{margin:2rem 0;border:1px solid #333;border-radius:4px;background-color:#1a1a1a}.extracted-text-toggle{width:100%;padding:1rem;background-color:#2a2a2a;border:none;border-bottom:1px solid #333;color:#ffffffde;font-size:1rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.5rem;transition:background-color .2s}.extracted-text-toggle:hover{background-color:#333}.toggle-icon{font-size:.8rem;width:1.5rem;text-align:center}.extracted-text-content{padding:1rem;max-height:500px;overflow-y:auto}.extracted-text-pre{margin:0;padding:1rem;background-color:#1a1a1a;border:1px solid #333;border-radius:4px;font-family:Courier New,monospace;font-size:.9rem;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;color:#ffffffde}.original-file-section{margin-top:2rem;padding-top:2rem;border-top:2px solid #333}.original-file-section h3{color:#ffffffde;margin-bottom:1rem}.original-file-info{margin-bottom:1rem;padding:.75rem;background-color:#1a1a1a;border-radius:4px;border:1px solid #333}.original-file-info .file-name{font-weight:500;color:#ffffffde;margin-bottom:.25rem}.original-file-info .file-meta{font-size:.85rem;color:#fff9}.pdf-preview{margin-top:1rem}.no-text,.no-file{padding:2rem;text-align:center;color:#fff9}.media-list,.file-list{display:flex;flex-direction:column;gap:1rem}.media-item,.file-item{background-color:#1a1a1a;padding:1rem;border-radius:4px;border:1px solid #333}.media-name,.file-name{font-weight:500;color:#ffffffde;margin-bottom:.5rem}.media-id,.file-meta{font-size:.85rem;color:#fff9}.file-preview{margin-top:1rem}.file-preview img{border-radius:4px;border:1px solid #333}.file-link,.text-preview{margin-top:1rem}.file-link a,.text-preview a{color:#646cff;text-decoration:none}.file-link a:hover,.text-preview a:hover{text-decoration:underline}.no-media{padding:2rem;text-align:center;color:#fff9}.previous-runs-section{margin:2rem 0;padding:1.5rem;background-color:#1a1a1a;border-radius:8px;border:1px solid #333}.previous-runs-section h3{margin:0 0 1rem;color:#ffffffde;font-size:1.1rem}.runs-filters{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}.runs-filters label{font-weight:500;color:#ffffffde}.runs-filters select{padding:.5rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;color:#ffffffde;font-size:.9rem}.previous-runs-list{display:flex;flex-direction:column;gap:.5rem;max-height:300px;overflow-y:auto}.previous-run-item{padding:.75rem;border-radius:4px;border:1px solid #555;background-color:#2a2a2a;cursor:pointer;transition:all .2s}.previous-run-item:hover{background-color:#333;border-color:#646cff}.previous-run-item.selected{background-color:#646cff20;border-color:#646cff}.run-info{display:flex;justify-content:space-between;align-items:center}.run-model{font-weight:500;color:#646cff}.run-time{font-size:.85rem;color:#fff9}.selected-run-response{margin-top:1rem;position:relative}.close-run-button{position:absolute;top:.5rem;right:.5rem;background:none;border:none;color:#ffffffde;font-size:1.5rem;cursor:pointer;z-index:1001;padding:.25rem .5rem;border-radius:4px;transition:background-color .2s}.close-run-button:hover{background-color:#333}@media(prefers-color-scheme:light){.app-header{background-color:#f9f9f9;border-bottom-color:#ddd}.app-header h1{color:#213547}.filters-container{background-color:#f5f5f5;border-bottom-color:#ddd}.filter-group label{color:#213547}.filter-group select{background-color:#fff;color:#213547;border-color:#ccc}.left-panel{background-color:#fff;border-right-color:#ddd}.right-panel{background-color:#f9f9f9}.item-list h2{background-color:#f5f5f5;border-bottom-color:#ddd;color:#213547}.item-list li{border-bottom-color:#ddd}.item-list li:hover{background-color:#f5f5f5}.item-list li.selected{background-color:#646cff10;border-left-color:#646cff}.item-title{color:#213547}.item-tags .tag{background-color:#646cff20;color:#646cff}.item-ids{margin-top:.25rem}.item-uuid{color:#646cff}.item-uuid:hover{background-color:#646cff26}.item-id{color:#666}.content-header{border-bottom-color:#ddd}.content-header h2{color:#213547}.content-tags .tag,.field-tags .tag{background-color:#646cff20;color:#646cff}.item-meta{color:#666}.content-attributes h3,.content-media h3,.content-files h3{color:#213547}.content-attributes pre,.field-item{background-color:#fff;border-color:#ddd}.field-label{color:#666}.field-value{color:#213547}.extracted-text-section{border-color:#ddd;background-color:#fff}.extracted-text-toggle{background-color:#f5f5f5;border-bottom-color:#ddd;color:#213547}.extracted-text-toggle:hover{background-color:#e9e9e9}.original-file-section{border-top-color:#ddd}.original-file-section h3{color:#213547}.original-file-info{background-color:#fff;border-color:#ddd}.original-file-info .file-name{color:#213547}.original-file-info .file-meta{color:#666}.extracted-text-pre{background-color:#fff;border-color:#ddd;color:#213547}.media-item,.file-item{background-color:#fff;border-color:#ddd}.media-name,.file-name{color:#213547}.media-id,.file-meta{color:#666}.file-preview img{border-color:#ddd}.content-header-top{flex-direction:column;align-items:stretch}.llm-error-banner{background-color:#ff6b6b20;border-color:#ff6b6b40}.llm-response-section{border-color:#ddd;background-color:#fff}.llm-response-toggle{background-color:#f5f5f5;border-bottom-color:#ddd;color:#213547}.llm-response-toggle:hover{background-color:#e9e9e9}.llm-response-content{background-color:#fff}.llm-response-text{background-color:#fff;border-color:#ddd;color:#213547}.previous-runs-section{background-color:#fff;border-color:#ddd}.previous-runs-section h3,.runs-filters label{color:#213547}.runs-filters select{background-color:#fff;color:#213547;border-color:#ccc}.previous-run-item{background-color:#f5f5f5;border-color:#ddd}.previous-run-item:hover{background-color:#e9e9e9}.previous-run-item.selected{background-color:#646cff10;border-color:#646cff}.run-time{color:#666}.close-run-button{color:#213547}.close-run-button:hover{background-color:#f5f5f5}}
