:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background-color:#f3f4f6;line-height:1.5;font-weight:400;color-scheme:light;--bg-primary:#fff;--bg-secondary:#f3f4f6;--bg-tertiary:#f8fafc;--text-primary:#0f172a;--text-secondary:#475569;--text-tertiary:#64748b;--border-color:rgba(15,23,42,.1);--shadow:rgba(15,23,42,.08);--shadow-hover:rgba(15,23,42,.12)}.dark-mode{color-scheme:dark;--bg-primary:#1e293b;--bg-secondary:#0f172a;--bg-tertiary:#1e293b;--text-primary:#f1f5f9;--text-secondary:#cbd5e1;--text-tertiary:#94a3b8;--border-color:hsla(0,0%,100%,.1);--shadow:rgba(0,0,0,.3);--shadow-hover:rgba(0,0,0,.4)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,var(--bg-secondary) 0,var(--bg-primary) 60%,#ecfdf5 100%);min-height:100vh;color:var(--text-primary);transition:background .3s ease,color .3s ease}.dark-mode body{background:linear-gradient(180deg,var(--bg-secondary) 0,var(--bg-primary) 60%,#0f172a 100%)}.site-header{background:var(--bg-primary);border-bottom:1px solid var(--border-color);position:-webkit-sticky;position:sticky;top:0;z-index:100;box-shadow:0 1px 3px var(--shadow);transition:background .3s ease,border-color .3s ease}.header-content{max-width:1100px;margin:0 auto;padding:16px 24px;justify-content:space-between}.header-content,.header-logo{display:flex;align-items:center}.logo-text{font-size:1.5rem;font-weight:700;color:var(--text-primary);letter-spacing:-.02em;cursor:pointer;text-decoration:none;transition:color .3s ease}.header-nav{display:flex;align-items:center;gap:24px}.header-nav-link{color:var(--text-primary);text-decoration:none;font-weight:500;font-size:.95rem;transition:color .2s ease}.header-nav-link:hover{color:#4338ca}.header-login-btn{background:transparent;color:var(--text-primary);border:1px solid var(--border-color);border-radius:999px;padding:10px 20px;cursor:pointer;font-weight:600;font-size:.95rem;transition:all .2s ease}.header-login-btn:hover{background:var(--bg-tertiary);border-color:var(--border-color)}.header-login-btn:active{transform:scale(.98)}.app-shell,main{max-width:1100px;margin:0 auto;padding:64px 24px 96px}.hero{text-align:center;padding:64px 32px;background:var(--bg-primary);border-radius:28px;box-shadow:0 20px 45px var(--shadow);border:1px solid var(--border-color);transition:background .3s ease,border-color .3s ease}.badge{display:inline-flex;align-items:center;gap:8px;padding:6px 14px;border-radius:999px;background:rgba(16,185,129,.15);color:#047857;font-size:.9rem;font-weight:600}h1{font-size:clamp(2.5rem,4vw,3.6rem);margin:24px 0 16px;color:#0f172a}.hero p{font-size:1.15rem;color:#475569;max-width:720px;margin:0 auto 32px}.hero-ctas{display:flex;flex-wrap:wrap;gap:16px;justify-content:center}.anchor-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}button.primary{background:#0f172a;color:#fff;font-weight:600;border:none;border-radius:999px;padding:14px 24px;cursor:pointer;font-size:1rem;box-shadow:0 12px 25px rgba(15,23,42,.25)}button.primary:disabled{opacity:.4;cursor:not-allowed;box-shadow:none}a.secondary,button.secondary{background:transparent;color:#0f172a;border:1px solid rgba(15,23,42,.2);border-radius:999px;padding:14px 24px;cursor:pointer;font-weight:600}section{margin-top:80px}.section-heading{text-align:center;margin-bottom:40px}.section-heading h2{margin:8px 0;font-size:2.2rem;color:#0f172a}.section-heading p{margin:0 auto;color:#475569;max-width:640px}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));grid-gap:20px;gap:20px}.feature-card{background:#fff;border-radius:22px;padding:24px;border:1px solid rgba(15,23,42,.07);box-shadow:0 12px 24px rgba(15,23,42,.05)}.feature-card h3{margin-top:12px;margin-bottom:8px;color:#0f172a}.feature-card p{margin:0;color:#475569}.process-steps{display:flex;flex-direction:column;gap:32px;position:relative;max-width:800px;margin:0 auto}.process-step{display:grid;grid-template-columns:60px 1fr;grid-gap:24px;gap:24px;padding:28px;border-radius:24px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 12px 24px rgba(15,23,42,.05);position:relative;opacity:0;transform:translateY(30px);transition:all .4s cubic-bezier(.4,0,.2,1)}.process-step.visible{opacity:1;transform:translateY(0)}.process-step:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(15,23,42,.12);border-color:rgba(79,70,229,.3)}.process-step:nth-child(2n){margin-left:40px}.process-step:nth-child(odd){margin-right:40px}.step-number{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,rgba(79,70,229,.15),rgba(99,102,241,.2));color:#4338ca;font-weight:700;font-size:1.4rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;z-index:2;transition:all .3s ease;box-shadow:0 4px 12px rgba(79,70,229,.2)}.process-step:hover .step-number{transform:scale(1.1) rotate(5deg);background:linear-gradient(135deg,rgba(79,70,229,.25),rgba(99,102,241,.3));box-shadow:0 6px 20px rgba(79,70,229,.3)}.step-body{position:relative;z-index:1}.step-body h3{margin:6px 0 8px;color:#0f172a;font-size:1.3rem;transition:color .3s ease}.process-step:hover .step-body h3{color:#4338ca}.step-body p{margin:0;color:#475569;line-height:1.6}.small-badge{display:inline-flex;padding:4px 12px;border-radius:999px;font-size:.75rem;background:rgba(15,23,42,.08);color:#0f172a;font-weight:600;transition:all .3s ease}.process-step:hover .small-badge{background:rgba(79,70,229,.15);color:#4338ca}.step-connector{position:absolute;left:30px;top:90px;bottom:-32px;width:3px;background:linear-gradient(180deg,rgba(79,70,229,.3),rgba(79,70,229,.1));z-index:1;opacity:0;transition:opacity .4s ease .2s}.process-step.visible .step-connector{opacity:1}.process-step:last-child .step-connector{display:none}.rankings-panel{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));grid-gap:20px;gap:20px}.panel{background:#0f172a;color:#fff;border-radius:22px;padding:24px;box-shadow:0 30px 50px rgba(15,23,42,.4)}.panel h3{margin-top:0;margin-bottom:12px}.connection-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:14px}.connection-item{display:flex;justify-content:space-between;position:relative;padding-bottom:6px}.connection-item:after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;background:linear-gradient(90deg,#22d3ee,#a78bfa,#f97316);opacity:.4}.signal{font-weight:600}.insights{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:20px;gap:20px}.insight-card{background:#fff;border-radius:22px;padding:20px;border:1px solid rgba(15,23,42,.07);box-shadow:inset 0 1px 0 hsla(0,0%,100%,.8),0 10px 20px rgba(15,23,42,.04)}footer{margin-top:80px;text-align:center;color:#64748b}.footer-content{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}.footer-nav{display:flex;gap:24px}.footer-nav a{color:#64748b;text-decoration:none;font-weight:500;transition:color .2s ease}.footer-nav a:hover{color:#4338ca}@media (max-width:768px){.footer-content{flex-direction:column;text-align:center}}.app-header{display:flex;align-items:center;justify-content:space-between;gap:24px}.app-header>div p{margin-top:8px;color:#475569}.app-header-right{display:flex;align-items:center;gap:16px;flex-shrink:0}.welcome-message{color:#475569;font-size:.95rem;white-space:nowrap}.welcome-message strong{color:#0f172a;font-weight:600}.header-actions{display:flex;align-items:center;gap:12px}.logout-btn{border-color:rgba(239,68,68,.3);color:#dc2626;transition:all .2s ease}.logout-btn:hover{background:rgba(239,68,68,.08);border-color:rgba(239,68,68,.5);color:#b91c1c}.app-grid{margin-top:48px;display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:24px;gap:24px}.app-shell>section{margin-top:32px}.app-shell>section:first-of-type{margin-top:0}.app-side-panel,.icp-panel,.preview-panel,.upload-panel{background:var(--bg-primary);border-radius:24px;padding:32px;border:1px solid var(--border-color);box-shadow:0 20px 35px var(--shadow);transition:background .3s ease,border-color .3s ease}.upload-panel h2{margin-bottom:8px;color:var(--text-primary)}.upload-panel h2,.upload-panel p{margin-top:0;transition:color .3s ease}.upload-panel p{color:var(--text-secondary)}.upload-dropzone{margin-top:24px;padding:32px;border:2px dashed rgba(15,23,42,.2);border-radius:20px;text-align:center;transition:border-color .2s ease,background .2s ease;position:relative}.upload-dropzone.dragging{border-color:#2563eb;background:rgba(37,99,235,.05)}.upload-dropzone input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-dropzone label{display:block;cursor:pointer}.upload-tips{margin-top:28px;padding-left:18px;color:#475569}.upload-status{margin-top:24px;padding:20px;border-radius:20px;border:1px solid rgba(16,185,129,.4);background:rgba(16,185,129,.08);display:flex;align-items:center;gap:16px;flex-wrap:wrap}.inline-pill{background:#0f172a;color:#fff;border-radius:999px;padding:6px 14px;font-size:.85rem;font-weight:600}.helper-text{margin-top:12px;color:#475569;font-size:.95rem}.error-text{margin-top:12px;padding:12px 16px;border-radius:16px;border:1px solid rgba(239,68,68,.4);background:hsla(0,93%,94%,.6);color:#b91c1c;font-size:.9rem}.app-side-panel h3{margin-top:0;margin-bottom:8px}.app-side-panel p{margin-top:0;color:#475569}.icp-panel{display:flex;flex-direction:column;gap:24px}.icp-header h2{margin:0 0 8px}.icp-header p{margin:0;color:#475569}.icp-form{display:grid;grid-gap:16px;gap:16px}.icp-form label{display:flex;flex-direction:column;font-weight:600;color:#0f172a;gap:6px}.icp-form input,.icp-form textarea{border-radius:16px;border:1px solid rgba(15,23,42,.15);padding:12px 14px;font-size:1rem;font-family:inherit;color:#0f172a;background:#f8fafc}.icp-form textarea{resize:vertical}.icp-form input:focus,.icp-form textarea:focus{outline:2px solid rgba(79,70,229,.4);outline-offset:2px;background:#fff}.checkbox-group{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));grid-gap:8px;gap:8px;margin-top:8px;padding:12px;background:#f8fafc;border-radius:12px;border:1px solid rgba(15,23,42,.1)}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:400;color:#0f172a;font-size:.9rem}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:#4f46e5}.checkbox-label:hover{color:#4338ca}.step-content h3{margin-top:0;margin-bottom:8px;color:#0f172a;font-size:1.3rem}.step-content>p{margin-bottom:20px;color:#64748b;font-size:.9rem;line-height:1.5}.confidence-badge{display:inline-block;margin-left:8px;padding:4px 8px;border-radius:6px;font-size:.75rem;font-weight:500}.confidence-badge[data-confidence=high]{background:rgba(16,185,129,.1);color:#047857}.confidence-badge[data-confidence=medium]{background:rgba(245,158,11,.1);color:#92400e}.confidence-badge[data-confidence=low]{background:rgba(239,68,68,.1);color:#991b1b}.review-section{padding:16px;background:#f8fafc;border-radius:12px;border:1px solid rgba(15,23,42,.1)}.review-section label{display:flex;flex-direction:column;gap:8px}.review-section .confidence-badge{align-self:flex-start;margin-left:0}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.weighting-panel{border:1px dashed rgba(79,70,229,.4);border-radius:22px;padding:20px;background:rgba(79,70,229,.04)}.weighting-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;gap:12px}.weight-grid{gap:16px}.weight-control,.weight-grid{display:flex;flex-direction:column}.weight-control{gap:6px}.weight-label{display:flex;justify-content:space-between;font-weight:600;color:#0f172a}.weight-control input[type=range]{accent-color:#4f46e5}.weighting-hint{margin:16px 0 0;color:#475569;font-size:.9rem}.analyze-btn{width:100%;margin-top:16px}.analyze-helper{display:block;margin-top:8px;color:#475569;font-size:.85rem}.analysis-progress-container{width:100%}.progress-bar-wrapper{width:100%;height:8px;background:#e2e8f0;border-radius:4px;overflow:hidden}.progress-bar{height:100%;transition:width .3s ease}.analysis-status{margin-top:8px;font-size:.85rem;color:#475569;text-align:center}.preview-panel{margin-top:0}.upload-history-panel{background:#fff;border-radius:24px;padding:32px;border:1px solid rgba(15,23,42,.08);box-shadow:0 20px 35px rgba(15,23,42,.08);margin-top:0}.upload-history-panel h3{margin-top:0;margin-bottom:8px;color:#0f172a}.history-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:12px}.history-item{padding:16px;border-radius:16px;border:1px solid rgba(15,23,42,.1);background:#f8fafc;transition:all .2s ease;position:relative}.history-item:hover{background:#f1f5f9;border-color:rgba(79,70,229,.3);box-shadow:0 4px 12px rgba(15,23,42,.08)}.history-item-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px}.history-stats{display:flex;flex-direction:column;gap:4px;align-items:flex-end}.history-stat-badge{display:inline-block;padding:4px 10px;border-radius:12px;font-size:.75rem;font-weight:600;background:rgba(15,23,42,.08);color:#0f172a;white-space:nowrap}.history-stat-badge.score{background:rgba(79,70,229,.15);color:#4338ca}.history-icp-summary{margin-top:8px;padding-top:8px;border-top:1px solid rgba(15,23,42,.1)}.history-load-btn{margin-top:12px;padding:6px 12px;border-radius:8px;border:1px solid rgba(79,70,229,.3);background:rgba(79,70,229,.08);color:#4338ca;font-size:.85rem;font-weight:600;cursor:pointer;transition:all .2s ease}.history-load-btn:hover{background:rgba(79,70,229,.15);border-color:rgba(79,70,229,.5)}.empty-state{border:1px dashed rgba(15,23,42,.2);border-radius:20px;padding:24px;text-align:center;color:#475569;background:#f8fafc}.empty-state span{display:block;margin-top:4px;font-size:.95rem}.heat-pill{display:inline-flex;align-items:center;justify-content:flex-end;font-size:.8rem;padding:2px 10px;border-radius:999px;background:rgba(249,115,22,.12);color:#c2410c;margin-top:4px}.enrichment-line{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;font-size:.8rem;color:#0f172a}.enrichment-line span:after{content:"•";margin:0 4px;color:rgba(15,23,42,.4)}.enrichment-line span:last-child:after{content:"";margin:0}.product-summary{margin:8px 0 0;font-size:.85rem;color:#475569}.app-preview-list .connection-item:after{background:rgba(15,23,42,.08)}.signup-container{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;background:linear-gradient(180deg,#f3f4f6,#fff 60%,#ecfdf5)}.signup-card{width:100%;max-width:600px;background:#fff;border-radius:28px;padding:48px;box-shadow:0 20px 45px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.07)}.signup-header{text-align:center;margin-bottom:40px}.signup-header h1{margin:16px 0 8px;font-size:2.2rem;color:#0f172a}.signup-header p{color:#475569;font-size:1.05rem;margin:0}.signup-form{display:flex;flex-direction:column;gap:20px}.form-row{display:grid;grid-template-columns:1fr 1fr;grid-gap:20px;gap:20px}.signup-form label{display:flex;flex-direction:column;gap:8px;font-weight:600;color:#0f172a;font-size:.95rem}.required{color:#ef4444}.signup-form input,.signup-form select{padding:12px 16px;border-radius:16px;border:1px solid rgba(15,23,42,.15);font-size:1rem;font-family:inherit;color:#0f172a;background:#f8fafc;transition:all .2s ease}.signup-form input:focus,.signup-form select:focus{outline:2px solid rgba(79,70,229,.4);outline-offset:2px;background:#fff;border-color:rgba(79,70,229,.3)}.signup-form input.error,.signup-form select.error{border-color:#ef4444;background:hsla(0,93%,94%,.3)}.signup-form input.error:focus,.signup-form select.error:focus{outline-color:#ef4444}.field-error{color:#ef4444;font-size:.85rem;font-weight:500;margin-top:4px}.signup-form-actions{display:flex;gap:12px;margin-top:8px}.signup-form-actions button{flex:1 1}.signup-form button[type=submit]{margin-top:0}@media (max-width:640px){.header-content{padding:12px 20px}.logo-text{font-size:1.3rem}.header-login-btn{padding:8px 16px;font-size:.9rem}.hero{padding:48px 20px}.hero-ctas{flex-direction:column}.app-grid{grid-template-columns:1fr}.app-header,.app-header-right{flex-direction:column;align-items:flex-start}.app-header-right{width:100%;gap:12px}.welcome-message{white-space:normal;font-size:.9rem}.header-actions{width:100%;flex-direction:column;gap:8px}.header-actions button{width:100%}.process-steps{gap:24px}.process-step{grid-template-columns:50px 1fr;gap:16px;padding:20px;margin-left:0!important;margin-right:0!important}.step-number{width:50px;height:50px;font-size:1.2rem}.step-connector{left:25px;top:80px}.step-body h3{font-size:1.1rem}.signup-card{padding:32px 24px}.app-side-panel,.upload-history-panel{margin-top:24px}.history-item-header{flex-direction:column;align-items:flex-start}.history-stats{flex-direction:row;align-items:center;margin-top:8px}.signup-header h1{font-size:1.8rem}.form-row{grid-template-columns:1fr;gap:20px}.signup-form-actions{flex-direction:column}.signup-form-actions button{width:100%}.results-grid{grid-template-columns:1fr!important}.statistics-section{padding:48px 20px!important}.statistics-section h2{font-size:2rem!important}.statistics-section>div>div:first-child>p{font-size:1.1rem!important}.stats-grid{grid-template-columns:1fr!important;gap:24px!important}.stats-grid>div{padding:24px!important}.stats-grid>div>div:nth-child(2){font-size:2.5rem!important}}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.integrations-hero{text-align:center;padding:64px 32px;background:#fff;border-radius:28px;box-shadow:0 20px 45px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.07);margin-bottom:64px}.hero-subtitle{font-size:1.25rem;color:#475569;max-width:700px;margin:24px auto 0;line-height:1.6}.integrations-value-prop{margin-bottom:80px}.value-prop-content{background:#fff;border-radius:24px;padding:48px;box-shadow:0 20px 45px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.07)}.value-prop-content h2{font-size:2rem;font-weight:700;color:#0f172a;margin-bottom:16px;text-align:center}.value-prop-content>p{font-size:1.1rem;color:#475569;text-align:center;max-width:800px;margin:0 auto 48px;line-height:1.7}.value-points{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));grid-gap:32px;gap:32px;margin-top:48px}.value-point{display:flex;gap:20px;align-items:flex-start}.value-point-icon{font-size:2.5rem;flex-shrink:0}.value-point h3{font-size:1.25rem;font-weight:600;color:#0f172a;margin-bottom:8px}.value-point p{color:#475569;line-height:1.6;margin:0}.integrations-grid-section{margin-bottom:80px}.integrations-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));grid-gap:32px;gap:32px;margin-top:48px}.integration-card{background:#fff;border-radius:20px;padding:32px;box-shadow:0 4px 20px rgba(15,23,42,.08);border:1px solid rgba(15,23,42,.1);transition:all .3s ease}.integration-card:hover{transform:translateY(-4px);box-shadow:0 8px 30px rgba(15,23,42,.12);border-color:rgba(79,70,229,.3)}.integration-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:20px}.integration-icon{font-size:2.5rem;flex-shrink:0}.integration-title-row{display:flex;align-items:center;justify-content:space-between;flex:1 1;gap:12px}.integration-title-row h3{font-size:1.5rem;font-weight:700;color:#0f172a;margin:0}.coming-soon-badge{display:inline-block;padding:6px 14px;border-radius:999px;background:rgba(249,115,22,.15);color:#c2410c;font-size:.85rem;font-weight:600;white-space:nowrap}.integration-description{color:#475569;line-height:1.7;margin-bottom:24px;font-size:1.05rem}.integration-benefits{margin-top:24px;padding-top:24px;border-top:1px solid rgba(15,23,42,.1)}.integration-benefits h4{font-size:1rem;font-weight:600;color:#0f172a;margin-bottom:12px}.integration-benefits ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:10px}.integration-benefits li{color:#475569;line-height:1.6;padding-left:24px;position:relative}.integration-benefits li:before{content:"✓";position:absolute;left:0;color:#10b981;font-weight:700}.integrations-cta{text-align:center;padding:64px 32px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:24px;color:#fff;margin-bottom:64px}.cta-content h2{font-size:2.25rem;font-weight:700;margin-bottom:16px;color:#fff}.cta-content p{font-size:1.2rem;color:hsla(0,0%,100%,.9);margin-bottom:32px;max-width:600px;margin-left:auto;margin-right:auto}.cta-content .primary{background:#fff;color:#667eea;border:none;padding:16px 32px;font-size:1.1rem;font-weight:600}.cta-content .primary:hover{background:hsla(0,0%,100%,.95);transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.2)}@media (max-width:768px){.header-nav{gap:16px}.header-nav-link{font-size:.9rem}.integrations-hero{padding:48px 24px}.hero-subtitle{font-size:1.1rem}.value-prop-content{padding:32px 24px}.value-prop-content h2{font-size:1.75rem}.integrations-grid,.value-points{grid-template-columns:1fr;gap:24px}.integration-card{padding:24px}.integrations-cta{padding:48px 24px}.cta-content h2{font-size:1.75rem}.cta-content p{font-size:1.05rem}}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(15,23,42,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:24px}.modal-content{background:#fff;border-radius:24px;box-shadow:0 20px 60px rgba(15,23,42,.3);max-width:800px;width:100%;max-height:90vh;overflow:hidden;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px 32px;border-bottom:1px solid rgba(15,23,42,.1)}.modal-header h2{margin:0;font-size:1.5rem;color:#0f172a}.modal-close{background:transparent;border:none;font-size:2rem;color:#64748b;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:8px;transition:all .2s ease}.modal-close:hover{background:rgba(15,23,42,.05);color:#0f172a}.modal-body{padding:32px;overflow-y:auto;flex:1 1}.preview-panel{width:100%;max-width:100%}@media (max-width:768px){.modal-content{max-width:100%;max-height:95vh;border-radius:20px 20px 0 0}.modal-header{padding:20px 24px}.modal-body{padding:24px}}.dark-mode-toggle-container{position:fixed;bottom:24px;right:24px;z-index:999}.dark-mode-toggle{background:var(--bg-primary);color:var(--text-primary);border:2px solid var(--border-color);border-radius:999px;padding:12px 20px;font-size:.95rem;font-weight:600;cursor:pointer;box-shadow:0 4px 12px var(--shadow);transition:all .3s ease;display:flex;align-items:center;gap:8px}.dark-mode-toggle:hover{transform:translateY(-2px);box-shadow:0 6px 16px var(--shadow-hover);border-color:#4338ca}.dark-mode-toggle:active{transform:translateY(0)}.dark-mode,.dark-mode h1,.dark-mode h2,.dark-mode h3,.dark-mode h4,.dark-mode h5,.dark-mode h6{color:var(--text-primary)}.dark-mode label,.dark-mode p,.dark-mode span{color:var(--text-secondary)}.dark-mode .app-header{background:var(--bg-primary);border-bottom:1px solid var(--border-color)}.dark-mode .app-header h1,.dark-mode .app-header p{color:var(--text-primary)}.dark-mode .welcome-message{color:var(--text-secondary)}.dark-mode .secondary{background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--border-color)}.dark-mode .secondary:hover{background:var(--bg-secondary);border-color:var(--border-color)}.dark-mode input,.dark-mode select,.dark-mode textarea{background:var(--bg-tertiary);color:var(--text-primary);border-color:var(--border-color)}.dark-mode input::placeholder,.dark-mode textarea::placeholder{color:var(--text-tertiary)}.dark-mode .upload-dropzone{border-color:var(--border-color);background:var(--bg-tertiary)}.dark-mode .upload-dropzone.dragging{background:rgba(67,56,202,.1);border-color:#4338ca}.dark-mode .connection-item{background:var(--bg-tertiary);border-color:var(--border-color)}.dark-mode .connection-item:hover{background:var(--bg-secondary);border-color:var(--border-color)}.dark-mode .empty-state{background:var(--bg-tertiary);border-color:var(--border-color);color:var(--text-secondary)}.dark-mode .error-text{background:rgba(239,68,68,.15);border-color:rgba(239,68,68,.3);color:#fca5a5}.dark-mode .helper-text{color:var(--text-secondary)}.dark-mode .modal-content{background:var(--bg-primary);border-color:var(--border-color)}.dark-mode .modal-header{border-bottom-color:var(--border-color)}.dark-mode .modal-header h2{color:var(--text-primary)}.dark-mode .modal-close{color:var(--text-secondary)}.dark-mode .modal-close:hover{background:var(--bg-tertiary);color:var(--text-primary)}.dark-mode .upload-history-panel{background:var(--bg-primary);border-color:var(--border-color)}.dark-mode .history-item{background:var(--bg-tertiary);border-color:var(--border-color)}.dark-mode .history-item:hover{background:var(--bg-secondary);border-color:var(--border-color)}.dark-mode .icp-form label{color:var(--text-primary)}.dark-mode .step-indicator span{color:var(--text-tertiary)}.dark-mode .step-indicator span[style*="color: #4f46e5"]{color:#818cf8!important}.dark-mode .badge{background:rgba(67,56,202,.2);color:#a5b4fc}.dark-mode .signal{color:var(--text-primary)}.dark-mode .heat-pill{background:rgba(249,115,22,.2);color:#fdba74}.dark-mode footer,.dark-mode footer a{color:var(--text-secondary)}.dark-mode footer a:hover{color:#818cf8}@media (max-width:768px){.dark-mode-toggle-container{bottom:16px;right:16px}.dark-mode-toggle{padding:10px 16px;font-size:.85rem}}