*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif;font-size:14px;line-height:1.6;background:#f1f5f9;color:#1e293b;-webkit-font-smoothing:antialiased}a{color:#1a56db;text-decoration:none}a:hover{text-decoration:underline}.app{display:flex;flex-direction:column;min-height:100vh}.navbar{display:flex;align-items:center;gap:16px;padding:0 24px;height:56px;background:#fff;border-bottom:1px solid #e2e8f0;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px #0000000a}.brand{font-weight:700;font-size:17px;color:#1a56db;flex-shrink:0}.nav-menu{display:flex;gap:4px;flex:1;justify-content:center}.nav-menu a{padding:7px 14px;border-radius:6px;color:#475569;font-size:13.5px;font-weight:500;transition:all .15s;text-decoration:none}.nav-menu a:hover{background:#f1f5f9;color:#1a56db}.nav-menu a.active{background:#eff6ff;color:#1a56db}.nav-ai{color:#a855f7!important}.nav-ai:hover{background:#faf5ff!important;color:#7c3aed!important}.nav-right{display:flex;align-items:center;gap:8px;flex-shrink:0}.main-content{flex:1;padding:20px;max-width:1280px;width:100%;margin:0 auto}.footer{text-align:center;padding:16px;color:#94a3b8;font-size:12px;border-top:1px solid #e2e8f0;background:#fff}.loading,.empty{text-align:center;padding:40px;color:#94a3b8}.btn{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:7px 14px;border-radius:6px;border:1px solid #e2e8f0;background:#fff;color:#334155;font-size:13px;font-weight:500;cursor:pointer;transition:all .15s;white-space:nowrap}.btn:hover:not(:disabled){border-color:#cbd5e1;background:#f8fafc}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.primary{background:#1a56db;color:#fff;border-color:#1a56db}.btn.primary:hover:not(:disabled){background:#1e40af;border-color:#1e40af}.btn.ghost{background:transparent;border-color:transparent;color:#64748b}.btn.ghost:hover:not(:disabled){background:#f1f5f9;color:#1e293b}.btn.small{padding:4px 10px;font-size:12px}.btn.big{padding:10px 22px;font-size:14px}.btn.danger{background:#dc2626;color:#fff;border-color:#dc2626}.btn.danger:hover:not(:disabled){background:#b91c1c;border-color:#b91c1c}.link-btn{background:none;border:none;color:#dc2626;cursor:pointer;font-size:12px;padding:0}.link-btn:hover{text-decoration:underline}.chip{display:inline-block;padding:2px 8px;border-radius:10px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:500;margin-right:4px}.chip.ok{background:#dcfce7;color:#15803d}.chip.danger{background:#fee2e2;color:#b91c1c}.tag{display:inline-block;padding:2px 8px;border-radius:10px;font-size:11px;font-weight:600}.tag-emerald{background:#dcfce7;color:#15803d}.required-badge{background:#fee2e2;color:#dc2626;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:600}.optional-badge{background:#dbeafe;color:#1d4ed8;padding:1px 6px;border-radius:4px;font-size:11px;font-weight:600}.page-layout{display:flex;gap:20px}.page-main{flex:1;min-width:0}.page{max-width:900px;margin:0 auto}.sub{color:#64748b;font-size:13px;margin-bottom:16px}.muted{color:#94a3b8;font-size:12px}.err{background:#fef2f2;color:#dc2626;padding:10px 14px;border-radius:6px;border:1px solid #fecaca}.err.big{margin:12px 0}.ok{background:#f0fdf4;color:#16a34a;padding:10px 14px;border-radius:6px;border:1px solid #bbf7d0}.warn{background:#fffbeb;color:#b45309;padding:10px 14px;border-radius:6px;border:1px solid #fde68a;margin:8px 0}.warn-bar{background:#fffbeb;color:#b45309;padding:10px 14px;border-radius:6px;border:1px solid #fde68a;margin-bottom:12px}.spacer{flex:1}.hint{color:#64748b;font-size:12.5px;margin:6px 0}.toolbar{display:flex;gap:8px;align-items:center;background:#fff;padding:12px 16px;border-radius:10px;border:1px solid #e2e8f0;margin-bottom:14px}.toolbar-search,.toolbar-year{padding:7px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13px;outline:none}.toolbar-search{flex:1;min-width:200px}.toolbar-search:focus,.toolbar-year:focus{border-color:#1a56db}.toolbar-year{width:80px}.toolbar-dash{color:#94a3b8}.batch-bar{display:flex;gap:8px;margin-bottom:12px;align-items:center}.lit-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}.lit-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px;display:flex;flex-direction:column;gap:6px;transition:all .15s}.lit-card:hover{border-color:#1a56db;box-shadow:0 2px 8px #1a56db14}.lit-title{font-weight:700;font-size:14px;color:#1e293b;line-height:1.4}.lit-meta{display:flex;gap:6px;flex-wrap:wrap}.lit-authors{color:#64748b;font-size:12px}.lit-abstract{color:#475569;font-size:12.5px;line-height:1.5}.lit-actions{display:flex;gap:6px;margin-top:auto;padding-top:6px;border-top:1px solid #f1f5f9}.lit-checkbox{width:14px;height:14px;margin-right:6px}.cite-dropdown{flex:1}.cite-dropdown summary{cursor:pointer;font-size:12px;color:#64748b}.cite-dropdown[open] summary{color:#1a56db}.cite-actions{display:flex;gap:6px;align-items:center;margin-top:6px}.cite-ok{color:#16a34a;font-size:12px}.req-header{margin-bottom:14px}.req-header h2{margin:0 0 4px;font-size:20px}.req-tabs{display:flex;gap:4px;border-bottom:1px solid #e2e8f0;margin-bottom:14px}.req-tabs button{padding:9px 16px;border:none;background:transparent;font-size:13.5px;color:#64748b;cursor:pointer;border-bottom:2px solid transparent}.req-tabs button.active{color:#1a56db;border-bottom-color:#1a56db;font-weight:600}.req-filter{display:flex;gap:8px;align-items:center;background:#fff;padding:12px 16px;border-radius:8px;border:1px solid #e2e8f0;margin-bottom:12px}.req-list{display:flex;flex-direction:column;gap:10px}.req-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px}.req-title{font-weight:700;font-size:15px;color:#1e293b;margin-bottom:4px}.req-meta{display:flex;gap:10px;flex-wrap:wrap;color:#94a3b8;font-size:12px;margin-bottom:10px}.req-meta span{background:#f1f5f9;padding:2px 8px;border-radius:4px}.req-meta .open{background:#dbeafe;color:#1d4ed8}.req-meta .fulfilled{background:#dcfce7;color:#15803d}.req-meta .closed{background:#f1f5f9;color:#64748b}.req-actions{display:flex;gap:8px;align-items:center}.req-note{color:#64748b;font-size:12px}.req-form{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px}.req-form .form-group{margin-bottom:14px}.req-form .form-row{display:flex;gap:14px}.req-form .form-group label{display:block;font-size:13px;font-weight:600;margin-bottom:6px;color:#334155}.req-form .form-group .req{color:#dc2626}.req-form .form-actions{display:flex;gap:10px;margin-top:16px}.form-input{width:100%;padding:8px 10px;border:1px solid #e2e8f0;border-radius:6px;font-size:13.5px;outline:none;font-family:inherit}.form-input:focus{border-color:#1a56db;box-shadow:0 0 0 3px #1a56db1a}.upload-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:14px}.file-info{display:flex;justify-content:space-between;align-items:center;padding:6px 0}.file-list{display:flex;flex-direction:column}.req-fulfill-banner{display:flex;align-items:center;gap:12px;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:12px 16px;margin-bottom:14px}.rf-badge{background:#f97316;color:#fff;padding:3px 10px;border-radius:12px;font-size:11px;font-weight:600}.rf-info{flex:1;min-width:0}.rf-title{font-weight:600;font-size:13.5px;color:#9a3412}.rf-meta{font-size:11.5px;color:#c2410c}.rf-cancel{background:none;border:none;color:#9a3412;cursor:pointer;font-size:12px}.result-card{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:10px;padding:16px}.fulfill-done{background:#fef3c7;padding:10px 14px;border-radius:6px;margin-bottom:12px;font-size:13px}.meta-row{font-size:13px;color:#334155;margin:4px 0}.abstract-box{margin-top:10px}.abstract-box summary{cursor:pointer;color:#1a56db;font-size:12.5px}.abstract-box p{background:#f8fafc;padding:10px;border-radius:6px;color:#475569;font-size:12.5px}.dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:flex;align-items:center;justify-content:center;z-index:1000}.dialog-box{background:#fff;border-radius:12px;padding:20px;max-width:480px;width:90%}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:14px}.dialog-meta{color:#64748b;font-size:12.5px}.profile-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;margin-bottom:16px}.p-row{display:flex;justify-content:space-between;padding:6px 0;border-bottom:1px solid #f1f5f9;font-size:13.5px}.p-row:last-child{border-bottom:none}.p-row b{color:#64748b;font-weight:500}.mono{font-family:monospace}.tier-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:16px}.tier-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:16px;text-align:center}.tier-card h4{margin:0 0 10px;color:#1e293b}.tier-feat{font-size:12px;color:#64748b;margin:4px 0}.tier-price{font-size:15px;font-weight:700;color:#1a56db;margin:10px 0}.tier-price small{font-weight:400;font-size:11px;color:#94a3b8}.tier-btns{display:flex;gap:6px;justify-content:center}.mine-list{display:flex;flex-direction:column;gap:8px}.mine-item{display:flex;justify-content:space-between;align-items:center;background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 14px}.mine-info{flex:1;min-width:0}.tabs{display:flex;gap:6px;margin-bottom:16px}.tabs button{padding:7px 16px;border:1px solid #e2e8f0;background:#fff;border-radius:6px;cursor:pointer;font-size:13px;color:#475569}.tabs button.active{background:#1a56db;color:#fff;border-color:#1a56db}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}.stat-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px;text-align:center}.stat-num{font-size:24px;font-weight:700;color:#1a56db}.admin-table{width:100%;border-collapse:collapse;background:#fff;border-radius:8px;overflow:hidden}.admin-table th,.admin-table td{padding:10px 14px;text-align:left;border-bottom:1px solid #f1f5f9;font-size:13px}.admin-table th{background:#f8fafc;color:#64748b;font-weight:600}.pg-btn{display:inline-block;min-width:34px;height:34px;padding:0 10px;border:1px solid #e2e8f0;border-radius:6px;background:#fff;cursor:pointer;font-size:12.5px;color:#475569}.pg-btn:hover:not(:disabled){border-color:#1a56db;color:#1a56db}.pg-btn:disabled{opacity:.4;cursor:not-allowed}.pg-ellipsis{padding:0 6px;color:#94a3b8}.pg-info{color:#94a3b8;font-size:12px;margin-left:8px}.auth-shell{display:flex;min-height:100vh}.auth-hero{flex:1;background:linear-gradient(135deg,#1a56db,#7c3aed);display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px;color:#fff}.hero-content{max-width:480px}.hero-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.hero-logo{font-size:36px}.hero-title{font-size:28px;font-weight:700}.hero-sub{opacity:.85;font-size:14px}.hero-quote{background:#ffffff1a;padding:24px;border-radius:12px;margin-top:20px}.quote-mark{font-size:48px;opacity:.4;line-height:1}.quote-text{font-size:16px;font-style:italic;line-height:1.7;margin:0 0 12px}.quote-attr{font-size:13px;opacity:.85}.quote-dash{margin-right:6px}.quote-en{opacity:.65}.hero-footer{position:absolute;bottom:20px;font-size:12px;opacity:.6}.hero-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#fff;margin-right:6px}.auth-side{flex:1;display:flex;align-items:center;justify-content:center;padding:40px;background:#fff}.auth-side>div{width:100%;max-width:380px}.auth-side h2{margin:0 0 6px;font-size:22px;color:#1e293b}.auth-side p{color:#64748b;margin-bottom:20px;font-size:13px}.auth-side input{width:100%;padding:10px 12px;margin-bottom:12px;border:1px solid #e2e8f0;border-radius:6px;font-size:13.5px;outline:none}.auth-side input:focus{border-color:#1a56db;box-shadow:0 0 0 3px #1a56db1a}.quota-sidebar{width:220px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:14px;height:fit-content}.tier-badge{background:linear-gradient(135deg,#1a56db,#7c3aed);color:#fff;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:600;text-align:center}.quota-block{margin-top:14px}.q-head{font-size:12px;color:#475569;margin-bottom:6px;font-weight:500}.bar{height:8px;background:#f1f5f9;border-radius:4px;overflow:hidden}.bar-fill{height:100%;transition:width .3s;border-radius:4px}.bar-fill.green{background:linear-gradient(90deg,#10b981,#34d399)}.bar-fill.blue{background:linear-gradient(90deg,#3b82f6,#60a5fa)}.q-remain{font-size:11px;color:#64748b;margin-top:4px}.q-sub{font-size:10px;color:#94a3b8;margin-top:2px}.chat-page{display:flex;flex-direction:column;height:calc(100vh - 120px);max-width:1100px;margin:0 auto;padding:0 20px}.chat-header{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000f;margin-bottom:14px}.chat-title{display:flex;align-items:center;gap:12px}.chat-avatar{font-size:28px}.chat-name{font-weight:700;font-size:17px;color:#1a56db}.chat-sub{font-size:12px;color:#94a3b8}.chat-messages{flex:1;overflow-y:auto;padding:10px 4px;display:flex;flex-direction:column;gap:16px}.chat-bubble{display:flex;gap:10px;align-items:flex-start}.chat-bubble.user{flex-direction:row-reverse}.bubble-avatar{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e0e7ff;flex-shrink:0;font-size:18px}.chat-bubble.user .bubble-avatar{background:#d1fae5}.bubble-body{max-width:78%}.bubble-content{padding:12px 16px;background:#fff;border-radius:12px;border:1px solid #e5e7eb;font-size:14.5px;line-height:1.7;white-space:pre-wrap;word-break:break-word}.chat-bubble.user .bubble-content{background:#1a56db;color:#fff;border-color:#1a56db}.typing-cursor{animation:blink .8s infinite;color:#1a56db}@keyframes blink{0%,to{opacity:1}50%{opacity:0}}.bubble-refs{margin-top:8px;background:#f8fafc;border-radius:8px;padding:10px 12px}.refs-label{font-size:12px;font-weight:600;color:#475569;margin-bottom:6px}.ref-item{font-size:12.5px;color:#334155;margin:4px 0;line-height:1.5}.ref-num{color:#1a56db;font-weight:600;margin-right:4px}.ref-title{font-weight:500}.ref-year,.ref-authors{color:#64748b}.ref-doi{display:block;color:#94a3b8;font-size:11px;margin-top:2px;word-break:break-all}.bubble-nocontext{margin-top:8px;padding:8px 12px;background:#fef3c7;border-radius:6px;font-size:12px;color:#92400e;border-left:3px solid #f59e0b}.chat-welcome{text-align:center;padding:60px 20px}.chat-welcome-avatar{font-size:56px;margin-bottom:10px}.chat-welcome h2{color:#1e293b;margin-bottom:8px}.chat-welcome p{color:#64748b;margin-bottom:24px}.chat-suggestions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;max-width:720px;margin:0 auto}.chat-suggestion{padding:12px 16px;background:#fff;border:1px solid #e2e8f0;border-radius:10px;text-align:left;font-size:13.5px;color:#334155;cursor:pointer;transition:all .18s}.chat-suggestion:hover{border-color:#1a56db;color:#1a56db;background:#eff6ff}.chat-suggestion:disabled{opacity:.5;cursor:not-allowed}.chat-input{display:flex;gap:10px;padding:12px;background:#fff;border-radius:12px;border:1px solid #e5e7eb;margin-top:10px;box-shadow:0 -1px 3px #0000000a}.chat-input textarea{flex:1;border:none;outline:none;resize:none;font-size:14.5px;line-height:1.6;max-height:160px;font-family:inherit;padding:4px 6px}.chat-input .btn.primary.stop{background:#dc2626;border-color:#dc2626}.chat-input .btn.primary.stop:hover{background:#b91c1c}.chat-tabs{display:flex;gap:8px;padding:4px;background:#f1f5f9;border-radius:10px;margin-bottom:14px;width:fit-content}.chat-tab{padding:8px 18px;border:none;background:transparent;border-radius:8px;cursor:pointer;font-size:14px;color:#64748b;font-weight:500;transition:all .18s}.chat-tab.active{background:#fff;color:#1a56db;box-shadow:0 1px 3px #00000014}.chat-tab:hover:not(.active){color:#334155}.additive-steps{display:flex;gap:0;margin-bottom:18px;align-items:center;background:#fff;border-radius:12px;padding:14px 20px;box-shadow:0 1px 3px #0000000d}.step{display:flex;align-items:center;gap:10px;flex:1;position:relative}.step-num{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e2e8f0;color:#94a3b8;font-weight:700;font-size:14px;flex-shrink:0;transition:all .2s}.step.active .step-num{background:#1a56db;color:#fff}.step.loading .step-num{background:#f59e0b;color:#fff;animation:pulse 1.2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.step-text{flex:1}.step-label{font-weight:600;font-size:13px;color:#475569}.step-desc{font-size:11px;color:#94a3b8}.step.active .step-label{color:#1a56db}.step-line{flex:0 0 24px;height:2px;background:#e2e8f0;margin:0 8px}.additive-start{background:linear-gradient(135deg,#eff6ff,#f0fdf4);border-radius:16px;padding:40px;text-align:center}.additive-info h3{font-size:22px;color:#1e3a8a;margin-bottom:8px}.additive-info p{color:#64748b;margin-bottom:18px}.additive-features{display:grid;grid-template-columns:repeat(2,1fr);gap:8px 16px;max-width:560px;margin:0 auto 24px;font-size:13px;color:#334155;text-align:left}.start-btns{display:flex;flex-direction:column;gap:8px;align-items:center}.additive-pool,.additive-extract,.additive-ranked{background:#fff;border-radius:12px;box-shadow:0 1px 3px #0000000d;padding:16px}.pool-toolbar,.extract-summary,.ranked-header{display:flex;justify-content:space-between;align-items:center;padding-bottom:12px;border-bottom:1px solid #f1f5f9;margin-bottom:12px}.pool-toolbar span,.extract-summary span{color:#334155;font-size:13px}.pool-list{max-height:360px;overflow-y:auto}.pool-item{display:flex;gap:10px;padding:10px 12px;border-radius:8px;cursor:pointer;border:1px solid #e5e7eb;margin-bottom:6px;transition:all .15s}.pool-item:hover{border-color:#1a56db;background:#fafbff}.pool-item.selected{border-color:#1a56db;background:#eff6ff}.pool-item input[type=checkbox]{margin-top:4px}.pool-info{flex:1;min-width:0}.pool-title{font-weight:600;font-size:13px;color:#1e293b;margin-bottom:4px;line-height:1.4}.pool-meta{display:flex;gap:10px;font-size:11px;color:#94a3b8;flex-wrap:wrap}.molecule-list{display:flex;flex-wrap:wrap;gap:8px}.molecule-item{padding:8px 12px;border-radius:8px;background:#f8fafc;border:1px solid #e2e8f0;font-size:12px;display:flex;align-items:center;gap:8px}.mol-name{font-weight:600;color:#1e293b}.mol-smiles{font-family:monospace;font-size:11px;color:#64748b;background:#fff;padding:2px 6px;border-radius:4px}.mol-role{font-size:10px;padding:2px 8px;border-radius:10px;font-weight:600}.mol-role.role-additive{background:#dbeafe;color:#1d4ed8}.mol-role.role-passivant{background:#dcfce7;color:#15803d}.mol-role.role-anti-solvent{background:#fce7f3;color:#be185d}.mol-role.role-dopant{background:#fef3c7;color:#b45309}.mol-role.role-stabilizer{background:#ede9fe;color:#6d28d9}.mol-gain{font-size:11px;color:#059669;font-weight:600}.more-hint{width:100%;text-align:center;color:#94a3b8;font-size:12px;padding:8px}.ranked-header h3{margin:0;font-size:16px;color:#1e293b}.ranked-header .sub{color:#94a3b8;font-size:12px}.ranked-list{display:flex;flex-direction:column;gap:10px}.ranked-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px;background:linear-gradient(135deg,#fff,#fafbff);display:flex;gap:14px;align-items:flex-start;transition:all .18s}.ranked-card:hover{border-color:#1a56db;box-shadow:0 2px 8px #1a56db14}.ranked-rank{font-size:26px;font-weight:800;color:#cbd5e1;min-width:40px;text-align:center}.ranked-card:nth-child(1) .ranked-rank{color:#f59e0b}.ranked-card:nth-child(2) .ranked-rank{color:#94a3b8}.ranked-card:nth-child(3) .ranked-rank{color:#d97706}.ranked-body{flex:1;min-width:0}.ranked-name{font-weight:700;font-size:15px;color:#1e293b;margin-bottom:4px}.ranked-smiles{display:block;font-family:monospace;font-size:11px;color:#64748b;background:#f1f5f9;padding:4px 8px;border-radius:6px;margin-bottom:6px;word-break:break-all}.ranked-meta{display:flex;gap:6px;flex-wrap:wrap}.ranked-stats{display:flex;flex-direction:column;gap:2px;text-align:center;min-width:70px;padding:0 10px}.ranked-stats .stat b{font-size:18px;color:#1a56db;font-weight:700}.ranked-stats .stat span{display:block;font-size:10px;color:#94a3b8}.ranked-toggle{align-self:center;border:none;background:#f1f5f9;color:#475569;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:12px}.ranked-toggle:hover{background:#e2e8f0}.ranked-evidence{width:100%;padding:12px;border-top:1px solid #f1f5f9;margin-top:10px;background:#f8fafc;border-radius:8px}.ev-block{margin-bottom:12px}.ev-block:last-child{margin-bottom:0}.ev-title{font-weight:600;font-size:12px;color:#64748b;margin-bottom:6px}.ev-quote{font-size:12px;color:#475569;padding:4px 0;font-style:italic}.ev-paper{padding:6px 8px;background:#fff;border-radius:6px;margin-bottom:6px;border-left:3px solid #1a56db}.ev-paper div:first-child{font-size:12px;color:#1e293b;margin-bottom:2px}.ev-year{color:#94a3b8;font-weight:400;font-size:11px}.ev-paper-meta{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.ev-doi{font-size:10px;color:#94a3b8}.additive-log{margin-top:14px;background:#0f172a;color:#94a3b8;border-radius:10px;padding:8px 12px;font-size:11.5px}.additive-log summary{cursor:pointer;color:#cbd5e1;font-weight:500;padding:4px 0}.log-content{max-height:180px;overflow-y:auto;font-family:monospace;padding-top:6px;border-top:1px solid #334155;margin-top:6px;line-height:1.6}.additive-error{margin-top:12px;background:#fef2f2;border:1px solid #fecaca;padding:10px 14px;border-radius:8px;color:#dc2626;font-size:13px}.cit-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 14px;margin-bottom:8px;display:flex;justify-content:space-between;align-items:center}.cit-text{flex:1;font-size:13px;color:#334155;font-family:monospace}code{font-family:Menlo,Monaco,Consolas,monospace}.ml-breakdown{margin-top:8px;padding:8px 10px;background:#f8fafc;border-radius:8px;border-left:3px solid #8b5cf6}.ml-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;margin-bottom:6px;background:#e2e8f0}.ml-seg{height:100%;transition:width .3s}.ml-seg.perf{background:#10b981}.ml-seg.evid{background:#3b82f6}.ml-seg.ml{background:#8b5cf6}.ml-seg.nov{background:#f59e0b}.ml-legend{display:flex;gap:12px;flex-wrap:wrap;font-size:11px;color:#64748b;margin-bottom:4px}.ml-legend .dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:3px;vertical-align:middle}.ml-legend .dot.perf{background:#10b981}.ml-legend .dot.evid{background:#3b82f6}.ml-legend .dot.ml{background:#8b5cf6}.ml-legend .dot.nov{background:#f59e0b}.ml-reason{font-size:11.5px;color:#475569;line-height:1.5;margin-bottom:4px}.ml-feats{display:flex;gap:4px;flex-wrap:wrap}.ml-feats .feat{font-size:10.5px;color:#475569;background:#fff;padding:1px 6px;border-radius:4px;border:1px solid #e2e8f0;font-family:monospace}.pubchem-info{margin-top:6px;font-size:11.5px;color:#475569;display:flex;gap:6px;flex-wrap:wrap;align-items:center}.pubchem-formula{font-family:monospace;color:#059669;font-weight:600;background:#f0fdf4;padding:1px 6px;border-radius:4px}.pubchem-iupac{color:#64748b}.pubchem-link{color:#1a56db;text-decoration:none;font-size:11.5px}.pubchem-link:hover{text-decoration:underline}.tag-stab{background:#fef3c7;color:#b45309}.train-result{background:linear-gradient(135deg,#eef2ff,#e0e7ff);border:1px solid #a5b4fc;border-radius:10px;padding:18px 20px;margin-top:16px}.train-header{display:flex;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}.train-header h3{margin:0;font-size:17px;color:#3730a3}.train-header .sub{color:#6b7280;font-size:13px}.tag-model{background:#4338ca;color:#fff;font-size:12px;padding:3px 10px;border-radius:20px;font-weight:600}.importance-chart{display:flex;flex-direction:column;gap:7px;background:#fff;padding:14px;border-radius:8px}.imp-row{display:grid;grid-template-columns:90px 1fr 60px;align-items:center;gap:12px}.imp-key{font-size:13px;font-weight:600;color:#374151;text-transform:uppercase;letter-spacing:.5px}.imp-bar-wrap{height:14px;background:#e5e7eb;border-radius:7px;overflow:hidden}.imp-bar{height:100%;background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:7px;transition:width .4s ease}.imp-val{font-size:12px;color:#6366f1;font-weight:700;text-align:right}.pred-details{margin-top:12px;background:#fff;border-radius:8px;padding:12px 14px}.pred-details summary{cursor:pointer;font-size:13px;color:#6366f1;font-weight:600}.pred-list{display:flex;flex-direction:column;gap:5px;margin-top:10px}.pred-row{display:flex;gap:14px;font-size:12px;align-items:center}.pred-row span:first-child{font-weight:600;color:#374151;min-width:80px}.pred-actual{color:#059669}.pred-pred{color:#6366f1}.pred-diff{color:#6b7280}.pred-diff.warn{color:#dc2626;font-weight:700}.filter-panel{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:20px;margin-top:16px;box-shadow:0 2px 8px #0000000a}.filter-panel h3{margin:0 0 14px;font-size:16px;color:#1f2937}.filter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;margin-bottom:16px}.filter-item{display:flex;flex-direction:column;gap:5px}.filter-item label{font-size:12px;font-weight:600;color:#6b7280}.filter-item select,.filter-item input[type=number]{padding:7px 9px;border:1px solid #d1d5db;border-radius:7px;font-size:13px;background:#fff}.filter-item select:focus,.filter-item input:focus{border-color:#6366f1;outline:none;box-shadow:0 0 0 2px #6366f126}.range-row{display:flex;gap:6px}.range-row input{flex:1;min-width:0}.filter-result h4{margin:18px 0 10px;font-size:15px;color:#1f2937}.filter-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}.filter-card{display:flex;gap:14px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:14px;align-items:flex-start;transition:all .2s ease}.filter-card:hover{border-color:#c7d2fe;box-shadow:0 4px 14px #6366f11a;transform:translateY(-2px)}.filter-img{width:100px;height:100px;object-fit:contain;background:linear-gradient(135deg,#f8fafc,#f1f5f9);border-radius:10px;flex-shrink:0;border:1px solid #e2e8f0;transition:transform .25s ease}.filter-card:hover .filter-img{transform:scale(1.05)}.filter-body{flex:1;min-width:0}.filter-name{font-weight:700;color:#1f2937;margin-bottom:4px;line-height:1.35}.filter-row{display:flex;gap:10px;flex-wrap:wrap;font-size:12px;color:#6b7280;margin-bottom:3px}.tag-match{background:#dbeafe;color:#1d4ed8}.tag-perf{background:#dcfce7;color:#15803d}.dft-disclaimer{background:#fef3c7;color:#92400e;padding:8px 12px;border-radius:7px;font-size:12px;margin-bottom:14px}.dft-list{display:flex;flex-direction:column;gap:12px}.dft-card{display:flex;gap:18px;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px;transition:all .2s ease}.dft-card:hover{border-color:#c7d2fe;box-shadow:0 6px 20px #6366f11f}.dft-img-wrap{flex-shrink:0;width:160px;height:160px;background:linear-gradient(135deg,#f8fafc,#eef2ff);border-radius:12px;border:1px solid #e2e8f0;display:flex;align-items:center;justify-content:center;overflow:hidden;transition:transform .3s ease}.dft-card:hover .dft-img-wrap{transform:scale(1.04)}.dft-img-wrap img{max-width:95%;max-height:95%;object-fit:contain}.dft-info{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.dft-name{font-size:16px;font-weight:700;color:#1f2937}.dft-formula{font-size:13px;color:#6b7280}.dft-descs{font-size:12px;color:#9ca3af;font-family:ui-monospace,monospace}.dft-props{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:4px 16px;background:#f0f4ff;border-radius:8px;padding:10px 12px;margin-top:4px}.prop-row{display:flex;justify-content:space-between;font-size:12px}.prop-row span{color:#6b7280}.prop-row b{color:#1f2937;font-family:ui-monospace,monospace;font-weight:600}.prop-row.highlight b{color:#6366f1}.dft-match{margin-top:8px;padding-top:8px;border-top:1px dashed #e5e7eb}.match-row{display:flex;justify-content:space-between;font-size:13px;margin-bottom:3px}.match-row b{font-weight:700}.match-score{color:#16a34a}.match-reason{font-size:12px;color:#4b5563;margin-top:6px;line-height:1.5}.match-note{font-size:11px;color:#9ca3af;margin-top:4px}.step-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap;align-items:center}.step-actions .btn.big{padding:10px 20px;font-size:14px}.btn.big{min-height:40px}.warn-card{background:#fef3c7;color:#92400e;padding:12px 16px;border-radius:8px;font-size:13px;margin:10px 0}.done-banner{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;border-radius:12px;padding:20px;text-align:center;font-size:15px;color:#166534;font-weight:600;margin-top:16px;display:flex;flex-direction:column;gap:12px;align-items:center}.btn{padding:8px 16px;border-radius:7px;font-size:13px;font-weight:600;cursor:pointer;border:1px solid transparent;transition:all .15s;text-decoration:none;display:inline-flex;align-items:center;gap:6px}.btn.primary{background:#4f46e5;color:#fff}.btn.primary:hover:not(:disabled){background:#4338ca}.btn.primary:disabled{opacity:.6;cursor:not-allowed}.btn.primary.small{padding:6px 12px;font-size:12px}.btn.ghost{background:transparent;border:1px solid #d1d5db;color:#6b7280}.btn.ghost:hover:not(:disabled){background:#f3f4f6;color:#374151}.btn.ghost.small{padding:5px 10px;font-size:12px}.ml-visualizer{display:flex;flex-direction:column;gap:18px}.viz-block{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px 18px;box-shadow:0 2px 6px #00000008}.viz-block h4{margin:0 0 4px;font-size:15px;color:#1f2937}.viz-sub{font-size:11.5px;color:#9ca3af;margin-bottom:10px}.viz-legend{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.legend-item{padding:3px 10px;border-radius:14px;font-size:11px;color:#fff;font-weight:600;white-space:nowrap}.scatter-svg{display:block;margin:0 auto}.perf-legend{display:flex;align-items:center;gap:8px;margin-top:8px;justify-content:center;font-size:11px;color:#6b7280}.perf-gradient{width:200px;height:12px;border-radius:6px;border:1px solid #e5e7eb}.radar-wrap{display:flex;flex-direction:column;align-items:center;gap:10px}.radar-legend{display:flex;gap:20px;font-size:12px;color:#6b7280}.rl-item{padding-left:14px;border-left:3px solid transparent;font-weight:600}.cohens-table{width:100%;margin-top:14px;border-collapse:collapse;font-size:12px}.ct-row{display:grid;grid-template-columns:1fr 80px 80px 70px 80px;gap:6px;padding:6px 10px;border-bottom:1px solid #f3f4f6;align-items:center}.ct-row.ct-head{font-weight:700;color:#374151;background:#f9fafb;border-radius:6px 6px 0 0}.stab-heatmap{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin-top:6px}.stab-cell{padding:10px 12px;border-radius:8px;display:flex;flex-direction:column;gap:3px}.stab-cell-top{display:flex;gap:5px;align-items:center}.stab-icon{font-size:15px}.stab-name{font-size:11.5px;font-weight:600;color:#374151}.stab-val{font-size:16px;font-weight:800}.stab-bar{height:4px;background:#00000014;border-radius:2px;overflow:hidden;margin-top:2px}.stab-bar-fill{height:100%;border-radius:2px}.stab-top{margin-top:12px;font-size:12px;color:#4b5563}.stab-top-chip{display:inline-block;padding:2px 8px;background:#f3f4f6;border-radius:10px;margin:2px 3px 2px 0;font-size:11px}.stab-top-chip b{color:#059669}.viz-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;gap:10px;flex-wrap:wrap}.viz-header h4{margin:0!important}.viz-download-btn{display:inline-flex;align-items:center;gap:4px;padding:6px 14px;font-size:12px;font-weight:600;color:#2563eb;background:#eff6ff;border:1px solid #bfdbfe;border-radius:8px;cursor:pointer;white-space:nowrap;transition:all .15s ease}.viz-download-btn:hover{background:#dbeafe;border-color:#60a5fa;transform:translateY(-1px);box-shadow:0 2px 6px #2563eb26}.viz-download-btn:active{transform:translateY(0)}
