*{box-sizing:border-box;margin:0;padding:0}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;min-height:100vh}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.App{background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;padding-bottom:2rem}.container{margin:0 auto;max-width:1400px;padding:2rem 1rem}.back-button-container{animation:slideDown .3s ease;margin-bottom:1.5rem}.back-button{background:#fff;border:2px solid #e0e0e0;border-radius:50px;box-shadow:0 2px 8px #0000001a;color:#667eea;gap:.75rem}.back-button:hover{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;box-shadow:0 4px 12px #667eea4d;color:#fff}.back-icon{font-size:1.2rem;font-weight:700;transition:transform .2s ease}.back-button:hover .back-icon{transform:translateX(-3px)}.error-container,.loading-container{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;margin:2rem 0;padding:3rem;text-align:center}.error-container{background:#fee;border:2px solid #fcc}.welcome-container{background:#fff;border-radius:24px;box-shadow:0 20px 60px #0000004d;margin-top:2rem;padding:4rem 2rem;text-align:center}.welcome-container h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#333;font-size:2.5rem;margin-bottom:1rem}.welcome-subtitle{color:#666;font-size:1.2rem;margin-bottom:3rem;max-width:800px}.feature-grid,.welcome-subtitle{margin-left:auto;margin-right:auto}.feature-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(2,1fr);margin-top:3rem;max-width:1200px}.feature-card{background:linear-gradient(135deg,#fff,#f8f9ff);border:2px solid #e0e7ff;border-radius:20px;overflow:hidden;padding:2.5rem 2rem;position:relative;text-align:left;transition:all .3s ease}.feature-card:before{background:linear-gradient(135deg,#667eea,#764ba2);content:"";height:4px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transition:transform .3s ease}.feature-card:hover:before{transform:scaleX(1)}.feature-card:hover{border-color:#667eea;box-shadow:0 15px 40px #667eea40;transform:translateY(-8px)}.feature-icon{animation:float 3s ease-in-out infinite;display:inline-block;font-size:3rem;margin-bottom:1.5rem}.feature-card:first-child .feature-icon{animation-delay:0s}.feature-card:nth-child(2) .feature-icon{animation-delay:.5s}.feature-card:nth-child(3) .feature-icon{animation-delay:1s}.feature-card:nth-child(4) .feature-icon{animation-delay:1.5s}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-10px)}}.feature-card h3{color:#333;font-size:1.4rem;font-weight:600;line-height:1.3;margin-bottom:1rem}.feature-card p{color:#666;font-size:1rem;line-height:1.7}@media (max-width:768px){.welcome-container{padding:2.5rem 1.5rem}.welcome-container h2{font-size:2rem}.welcome-subtitle{font-size:1rem;margin-bottom:2rem}.feature-grid{gap:1.5rem;grid-template-columns:1fr;margin-top:2rem}.feature-card{padding:2rem 1.5rem}.feature-icon{font-size:2.5rem;margin-bottom:1rem}.feature-card h3{font-size:1.2rem}.feature-card p{font-size:.95rem}}.landing-container{padding:2rem;text-align:center}.hero-section{animation:fadeIn .6s ease;background:#fff;border-radius:24px;box-shadow:0 20px 60px #0000004d;margin-bottom:3rem;padding:5rem 3rem}.hero-section h1{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:4rem;font-weight:800;margin-bottom:1rem}.hero-subtitle{color:#555;font-size:1.8rem;font-weight:600;margin-bottom:1.5rem}.hero-description{color:#666;font-size:1.2rem;line-height:1.6;margin:0 auto 2.5rem;max-width:700px}.cta-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50px;box-shadow:0 4px 15px #667eea66;color:#fff;cursor:pointer;font-size:1.2rem;font-weight:600;padding:1rem 3rem;transition:all .3s ease}.cta-button:hover{box-shadow:0 8px 25px #667eea99;transform:translateY(-3px)}.cta-section{background:#fff;border-radius:24px;box-shadow:0 10px 40px #0003;margin-top:3rem;padding:4rem 3rem}.cta-section h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#333;font-size:2.5rem;margin-bottom:2rem}.cta-button-large{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50px;box-shadow:0 6px 20px #667eea66;color:#fff;cursor:pointer;font-size:1.3rem;font-weight:700;padding:1.25rem 4rem;transition:all .3s ease}.cta-button-large:hover{box-shadow:0 10px 30px #667eea99;transform:translateY(-4px)}@media (max-width:768px){.hero-section{padding:3rem 2rem}.hero-section h1{font-size:2.5rem}.hero-subtitle{font-size:1.3rem}.cta-button,.hero-description{font-size:1rem}.cta-button{padding:.875rem 2rem}.cta-section{padding:3rem 2rem}.cta-section h2{font-size:1.8rem}.cta-button-large{font-size:1.1rem;padding:1rem 2.5rem}}.search-bar-container{margin-bottom:2rem;position:relative}.search-form{width:100%}.search-input-wrapper{align-items:center;background:#fff;border-radius:50px;box-shadow:0 10px 40px #0003;display:flex;padding:.5rem 1rem;transition:box-shadow .3s ease}.search-input-wrapper:focus-within{box-shadow:0 10px 50px #667eea66}.search-icon{color:#667eea;flex-shrink:0;font-size:1.5rem;margin-right:1rem}.search-input{border:none;color:#333;flex:1 1;font-family:inherit;font-size:1.1rem;outline:none;padding:.75rem 0}.search-input::placeholder{color:#999}.clear-button{align-items:center;background:none;border:none;color:#999;cursor:pointer;display:flex;justify-content:center;margin-right:.5rem;padding:.5rem;transition:color .2s ease}.clear-button:hover{color:#667eea}.search-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:transform .2s ease,box-shadow .2s ease;white-space:nowrap}.search-button:hover:not(:disabled){box-shadow:0 5px 20px #667eea66;transform:translateY(-2px)}.search-button:disabled{cursor:not-allowed;opacity:.6}.suggestions-dropdown{animation:slideDown .3s ease;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0003;left:0;margin-top:.5rem;max-height:400px;overflow-y:auto;position:absolute;right:0;top:100%;z-index:1000}.suggestion-item{align-items:center;border-bottom:1px solid #f0f0f0;cursor:pointer;display:flex;padding:1rem 1.5rem;transition:background .2s ease}.suggestion-item:last-child{border-bottom:none}.suggestion-item:hover{background:#f5f7fa}.suggestion-icon{color:#667eea;font-size:1.2rem;margin-right:1rem}@media (max-width:768px){.search-input-wrapper{border-radius:16px;flex-wrap:wrap;padding:.75rem}.search-input{margin-bottom:.5rem;width:100%}.search-button{margin-top:.5rem;width:100%}.clear-button{position:absolute;right:80px;top:50%;transform:translateY(-50%)}}.search-results{animation:fadeIn .5s ease;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;padding:2rem}.results-header{border-bottom:2px solid #f0f0f0;margin-bottom:2rem;padding-bottom:1rem}.results-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#333;font-size:1.8rem;margin-bottom:.5rem}.results-info{color:#666;font-size:.95rem}.results-list{display:flex;flex-direction:column;gap:1.5rem}.result-card{background:linear-gradient(180deg,#fff 0,#fafafa);border:2px solid #f0f0f0;border-radius:12px;padding:1.5rem;transition:all .3s ease}.result-card:hover{border-color:#667eea;box-shadow:0 5px 20px #667eea33;transform:translateY(-2px)}.result-header-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.work-type-badge{background:linear-gradient(135deg,#667eea,#764ba2);text-transform:uppercase}.oa-badge,.work-type-badge{border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem}.oa-badge{background:#10b981}.result-title{margin-bottom:1rem}.title-link{align-items:center;color:#333;display:inline-flex;font-size:1.3rem;font-weight:600;gap:.5rem;line-height:1.4;text-decoration:none;transition:color .2s ease}.title-link:hover{color:#667eea}.external-link-icon{font-size:1rem;opacity:.6}.result-meta{color:#666;display:flex;flex-wrap:wrap;font-size:.9rem;gap:1.5rem;margin-bottom:1rem}.meta-item{align-items:center;display:flex;gap:.5rem}.meta-icon{color:#667eea;font-size:1rem}.year-badge{color:#667eea;font-weight:600;margin-left:.25rem}.org-badge{color:#888;font-size:.85rem}.citation-count{color:#10b981;font-weight:600}.citation-count .meta-icon{color:#10b981}.result-abstract-container{margin-bottom:1rem;margin-top:1rem}.result-abstract{color:#555;font-size:.95rem;line-height:1.6;margin:0;transition:all .3s ease}.expand-abstract-button{align-items:center;background:#f5f7fa;border:1px solid #e0e0e0;border-radius:6px;color:#667eea;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;margin-top:.75rem;padding:.5rem 1rem;transition:all .2s ease}.expand-abstract-button:hover{background:#e8ecf1;border-color:#667eea;color:#764ba2;transform:translateY(-1px)}.result-abstract mark,.title-link mark,mark{background-color:#ffeb3b!important;border-radius:2px;box-decoration-break:clone;-webkit-box-decoration-break:clone;color:#000!important;display:inline;font-weight:600;line-height:inherit;opacity:1;padding:.1rem .2rem;position:relative;text-decoration:none;z-index:1}.result-concepts{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}.concept-tag{background:#f0f0f0;border-radius:12px;color:#555;font-size:.8rem;font-weight:500;padding:.25rem .75rem;transition:background .2s ease}.concept-tag:hover{background:#e0e0e0}.result-footer{align-items:center;border-top:1px solid #f0f0f0;justify-content:space-between;padding-top:1rem}.result-footer,.result-footer-actions,.result-footer-links{display:flex;flex-wrap:wrap;gap:1rem}.result-footer-actions{align-items:center}.save-to-collection-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:2px solid #667eea;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.save-to-collection-button:hover{box-shadow:0 2px 8px #667eea4d;transform:translateY(-1px)}.pdf-upload-section{align-items:center;display:flex;gap:.5rem}.pdf-download-button,.pdf-upload-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:2px solid #10b981;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;text-decoration:none;transition:all .2s ease}.pdf-upload-button:hover{box-shadow:0 2px 8px #10b9814d;transform:translateY(-1px)}.pdf-upload-button.uploading{cursor:not-allowed;opacity:.7}.pdf-download-button{background:linear-gradient(135deg,#3b82f6,#2563eb);border-color:#3b82f6}.pdf-download-button:hover{box-shadow:0 2px 8px #3b82f64d;transform:translateY(-1px)}.citation-links{display:flex;flex-wrap:wrap;gap:.75rem}.citation-link-button{align-items:center;background:#f5f7fa;border:2px solid #0000;border-radius:8px;color:#667eea;cursor:pointer;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.citation-link-button.cites{background:linear-gradient(135deg,#dbeafe,#bfdbfe);border-color:#93c5fd;color:#1e40af}.citation-link-button.cites:hover{background:linear-gradient(135deg,#bfdbfe,#93c5fd);box-shadow:0 2px 8px #1e40af33;transform:translateY(-1px)}.citation-link-button.cited-by{background:linear-gradient(135deg,#fce7f3,#fbcfe8);border-color:#f9a8d4;color:#9f1239}.citation-link-button.cited-by:hover{background:linear-gradient(135deg,#fbcfe8,#f9a8d4);box-shadow:0 2px 8px #9f123933;transform:translateY(-1px)}.citation-link-button.related{background:linear-gradient(135deg,#d1fae5,#a7f3d0);border-color:#6ee7b7;color:#065f46}.citation-link-button.related:hover{background:linear-gradient(135deg,#a7f3d0,#6ee7b7);box-shadow:0 2px 8px #055f4633;transform:translateY(-1px)}.doi-link,.landing-link,.openalex-link{align-items:center;background:#f5f7fa;border-radius:8px;color:#667eea;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1rem;text-decoration:none;transition:all .2s ease}.doi-link:hover,.landing-link:hover,.openalex-link:hover{background:#e8ecf1;color:#764ba2;transform:translateY(-1px)}.pagination{align-items:center;border-top:2px solid #f0f0f0;display:flex;gap:2rem;justify-content:center;margin-top:3rem;padding-top:2rem}.pagination-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:50px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 2rem;transition:transform .2s ease,box-shadow .2s ease}.pagination-button:hover:not(:disabled){box-shadow:0 5px 20px #667eea66;transform:translateY(-2px)}.pagination-button:disabled{cursor:not-allowed;opacity:.5}.pagination-info{color:#666;font-weight:500}@media (max-width:768px){.search-results{padding:1.5rem}.result-card{padding:1rem}.title-link{font-size:1.1rem}.result-meta{flex-direction:column;gap:.75rem}.result-footer{align-items:flex-start;flex-direction:column}.citation-links,.result-footer-links{width:100%}.citation-link-button{flex:1 1;justify-content:center}.pagination{flex-direction:column;gap:1rem}.pagination-button{width:100%}}.filters-container{animation:slideDown .3s ease;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;margin-bottom:2rem;overflow:hidden}.filters-header{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:1.25rem 1.5rem;transition:background .2s ease}.filters-header:hover{background:#f5f7fa}.filters-title{align-items:center;color:#333;display:flex;font-size:1.1rem;font-weight:600;gap:.75rem}.filter-icon{color:#667eea;font-size:1.3rem}.filter-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:.85rem;font-weight:600;margin-left:.5rem;padding:.25rem .75rem}.toggle-button{align-items:center;background:#f5f7fa;border:none;border-radius:50%;color:#667eea;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;transition:background .2s ease;width:32px}.toggle-button:hover{background:#e0e0e0}.filters-content{grid-gap:1.5rem;border-top:1px solid #f0f0f0;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));padding:1.5rem}.filter-group{display:flex;flex-direction:column;gap:.5rem;position:relative}.filter-group label{color:#555;font-size:.9rem;font-weight:500}.filter-input,.filter-select{border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:1rem;padding:.75rem;transition:border-color .2s ease;width:100%}.filter-input:focus,.filter-select:focus{border-color:#667eea;outline:none}.clear-filter-button{align-items:center;background:none;border:none;bottom:8px;color:#999;cursor:pointer;display:flex;justify-content:center;padding:.25rem;position:absolute;right:8px;transition:color .2s ease}.clear-filter-button:hover{color:#667eea}.clear-all-button{background:#fee;border:2px solid #fcc;border-radius:8px;color:#c33;cursor:pointer;font-weight:600;grid-column:1/-1;padding:.75rem;transition:background .2s ease}.clear-all-button:hover{background:#fdd}.active-filters{border-top:1px solid #f0f0f0;display:flex;flex-wrap:wrap;gap:.5rem;padding:1rem 1.5rem}.active-filter-tag{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;color:#fff;display:inline-flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1rem}.active-filter-tag button{align-items:center;background:#ffffff4d;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:20px;justify-content:center;padding:0;transition:background .2s ease;width:20px}.active-filter-tag button:hover{background:#ffffff80}@media (max-width:768px){.filters-content{grid-template-columns:1fr}}.sort-filter-container{align-items:center;background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:2rem;padding:1.25rem 1.5rem}.sort-label{align-items:center;color:#333;display:flex;font-size:1rem;font-weight:600;gap:.5rem}.sort-icon{color:#667eea;font-size:1.1rem}.sort-options{display:flex;flex-wrap:wrap;gap:.75rem}.sort-option{align-items:center;background:#f5f7fa;border:2px solid #0000;border-radius:20px;color:#666;cursor:pointer;display:flex;font-size:.9rem;font-weight:500;gap:.5rem;padding:.5rem 1.25rem;transition:all .2s ease}.sort-option:hover{background:#e8ecf1;color:#333;transform:translateY(-1px)}.sort-option.active{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;box-shadow:0 2px 8px #667eea4d;color:#fff}.sort-indicator{font-size:.8rem;font-weight:700}@media (max-width:768px){.sort-filter-container{align-items:flex-start;flex-direction:column;gap:1rem}.sort-options{width:100%}.sort-option{flex:1 1;justify-content:center;min-width:120px}}.header{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:3px solid #ffffff1a;box-shadow:0 4px 20px #00000026;margin-bottom:2rem;padding:2rem 0}.header-content{align-items:center;display:flex;gap:2rem;justify-content:space-between;margin:0 auto;max-width:1400px;padding:0 1rem}.header-left{flex:1 1;text-align:center}.header-right{gap:1rem}.header-button,.header-right{align-items:center;display:flex}.header-button{background:#ffffff40;border:2px solid #fff6;border-radius:8px;box-shadow:0 2px 8px #0000001a;color:#fff;cursor:pointer;font-size:.9rem;font-weight:600;gap:.5rem;padding:.5rem 1rem;transition:all .2s ease}.header-button:hover{background:#fff6;border-color:#fff9;box-shadow:0 4px 12px #00000026;transform:translateY(-2px)}.user-info{align-items:center;background:#ffffff40;border:2px solid #ffffff4d;border-radius:8px;box-shadow:0 2px 8px #0000001a;color:#fff;display:flex;gap:.5rem;padding:.5rem 1rem}.user-icon{font-size:1.1rem}.username{font-weight:500}@media (max-width:768px){.header-content{flex-direction:column;gap:1rem}.header-right{flex-wrap:wrap;justify-content:center;width:100%}.header-button span,.username{display:none}}.logo{align-items:center;color:#fff;display:flex;font-size:3rem;font-weight:800;gap:1rem;justify-content:center;margin-bottom:.5rem;text-shadow:2px 2px 8px #0000004d}.logo-icon{animation:pulse 2s ease-in-out infinite;font-size:3.5rem}.tagline{color:#fffffff2;font-size:1.2rem;font-weight:400;text-shadow:1px 1px 4px #0003}@media (max-width:768px){.logo{font-size:2rem}.logo-icon{font-size:2.5rem}.tagline{font-size:1rem}}.auth-modal-overlay{align-items:center;animation:fadeIn .3s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.auth-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-width:400px;padding:2rem;position:relative;width:90%}.auth-modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;padding:.5rem;position:absolute;right:1rem;top:1rem;transition:all .2s ease}.auth-modal-close:hover{background:#f0f0f0;color:#333}.auth-modal-header{margin-bottom:2rem;text-align:center}.auth-modal-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:2rem;margin-bottom:.5rem}.auth-modal-header p{color:#666;font-size:.95rem}.auth-modal-error{background:#fee;border-radius:8px;color:#c33;font-size:.9rem;margin-bottom:1rem;padding:.75rem}.auth-modal-form{display:flex;flex-direction:column;gap:1rem}.auth-form-group{align-items:center;display:flex;position:relative}.auth-form-icon{color:#999;font-size:1.2rem;left:1rem;position:absolute}.auth-form-group input{border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;padding:.75rem 1rem .75rem 3rem;transition:all .2s ease;width:100%}.auth-form-group input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.auth-submit-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;margin-top:.5rem;padding:.75rem;transition:all .2s ease}.auth-submit-button:hover:not(:disabled){box-shadow:0 5px 20px #667eea4d;transform:translateY(-2px)}.auth-submit-button:disabled{cursor:not-allowed;opacity:.6}.auth-modal-footer{margin-top:1.5rem;text-align:center}.auth-toggle-button{background:none;border:none;color:#667eea;cursor:pointer;font-size:.9rem;padding:.5rem;text-decoration:underline}.auth-toggle-button:hover{color:#764ba2}.save-modal-overlay{align-items:center;animation:fadeIn .3s ease;background:#0009;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.save-modal{animation:slideUp .3s ease;background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;max-height:80vh;max-width:500px;overflow-y:auto;padding:2rem;position:relative;width:90%}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.save-modal-close{align-items:center;background:none;border:none;border-radius:50%;color:#666;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;padding:.5rem;position:absolute;right:1rem;top:1rem;transition:all .2s ease}.save-modal-close:hover{background:#f0f0f0;color:#333}.save-modal-header{margin-bottom:1.5rem}.save-modal-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:1.5rem;margin-bottom:.5rem}.work-title{-webkit-line-clamp:2;-webkit-box-orient:vertical;color:#666;display:-webkit-box;font-size:.9rem;margin:0;overflow:hidden;text-overflow:ellipsis}.save-modal-error{background:#fee;border-radius:8px;color:#c33;font-size:.9rem;margin-bottom:1rem;padding:.75rem}.collections-list-modal{display:flex;flex-direction:column;gap:.75rem;margin-bottom:1rem;max-height:400px;overflow-y:auto}.collection-option{align-items:center;border:2px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;gap:1rem;padding:1rem;transition:all .2s ease}.collection-option:hover{background:#f8f9ff;border-color:#667eea}.collection-option.active-collection{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea}.collection-icon{flex-shrink:0}.collection-option-info{flex:1 1;min-width:0}.collection-option-info h3{color:#333;font-size:1rem;margin:0 0 .25rem}.collection-option-info p{color:#666;font-size:.85rem;margin:0}.save-button{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:6px;color:#fff;cursor:pointer;flex-shrink:0;font-size:.9rem;font-weight:500;padding:.5rem 1rem;transition:all .2s ease}.save-button:hover{box-shadow:0 2px 8px #667eea4d;transform:translateY(-1px)}.create-new-button{align-items:center;background:#f5f7fa;border:2px dashed #667eea;border-radius:8px;color:#667eea;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s ease;width:100%}.create-new-button:hover{background:#f8f9ff;border-color:#764ba2;color:#764ba2}.create-collection-form{margin-top:1rem}.create-collection-form h3{color:#333;font-size:1.2rem;margin-bottom:1rem}.create-collection-form input{border:2px solid #e0e0e0;border-radius:8px;font-size:1rem;margin-bottom:1rem;padding:.75rem;transition:all .2s ease;width:100%}.create-collection-form input:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.form-actions{display:flex;gap:1rem;justify-content:flex-end}.form-actions button{border-radius:8px;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.form-actions button[type=button]{background:#f0f0f0;border:none;color:#333}.form-actions button[type=button]:hover{background:#e0e0e0}.form-actions button[type=submit]{background:linear-gradient(135deg,#667eea,#764ba2);border:none;color:#fff}.form-actions button[type=submit]:hover:not(:disabled){box-shadow:0 5px 20px #667eea4d;transform:translateY(-2px)}.form-actions button:disabled{cursor:not-allowed;opacity:.6}.chatbot-container{animation:slideUpScale .4s cubic-bezier(.34,1.56,.64,1);background:#fff;border:1px solid #667eea1a;border-radius:24px;bottom:20px;box-shadow:0 25px 80px #667eea66,0 10px 30px #0003;display:flex;flex-direction:column;height:700px;max-height:calc(100vh - 40px);max-width:calc(100vw - 40px);overflow:hidden;position:fixed;right:20px;width:500px;z-index:1000}.chatbot-container.chatbot-in-tab{animation:none;border:none;border-radius:0;bottom:auto;box-shadow:none;height:100%;max-height:100%;max-width:100%;position:relative;right:auto;width:100%}@keyframes slideUpScale{0%{opacity:0;transform:translateY(30px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.9;transform:scale(1.05)}}.chatbot-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2 50%,#f093fb);border-bottom:none;color:#fff;display:flex;justify-content:space-between;overflow:hidden;padding:1.5rem;position:relative}.chatbot-header:before{background:linear-gradient(135deg,#ffffff1a,#0000);bottom:0;content:"";left:0;pointer-events:none;position:absolute;right:0;top:0}.chatbot-header-content{flex:1 1;gap:1rem;z-index:1}.chatbot-header-content,.chatbot-icon-wrapper{align-items:center;display:flex;position:relative}.chatbot-icon-wrapper{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border-radius:12px;flex-shrink:0;height:48px;justify-content:center;width:48px}.chatbot-icon{font-size:1.5rem;position:relative;z-index:2}.chatbot-icon-sparkle{animation:pulse 2s ease-in-out infinite;color:#fff9;font-size:1.2rem;position:absolute;z-index:1}.chatbot-header h3{font-size:1.25rem;font-weight:700;letter-spacing:-.02em;margin:0;text-shadow:0 2px 4px #0000001a}.chatbot-subtitle{font-size:.9rem;font-weight:400;margin:.25rem 0 0;opacity:.95}.chatbot-header-actions{align-items:center;display:flex;gap:.5rem;position:relative;z-index:1}.chatbot-action-button{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;height:2rem;justify-content:center;padding:.5rem;transition:all .2s ease;width:2rem}.chatbot-action-button:hover{background:#ffffff4d;transform:scale(1.1)}.chatbot-close{align-items:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff3;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:1.25rem;height:2rem;justify-content:center;padding:.5rem;transition:all .2s ease;width:2rem}.chatbot-close:hover{background:#ffffff4d;transform:rotate(90deg) scale(1.1)}.chatbot-messages{background:linear-gradient(180deg,#fafafa 0,#fff);display:flex;flex:1 1;flex-direction:column;gap:1.25rem;overflow-y:auto;padding:1.5rem;scrollbar-color:#667eea4d #0000;scrollbar-width:thin}.chatbot-messages::-webkit-scrollbar{width:6px}.chatbot-messages::-webkit-scrollbar-track{background:#0000}.chatbot-messages::-webkit-scrollbar-thumb{background:#667eea4d;border-radius:3px}.chatbot-messages::-webkit-scrollbar-thumb:hover{background:#667eea80}.chatbot-message{align-items:flex-start;animation:fadeIn .4s ease;display:flex;gap:.75rem}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.chatbot-message.user{flex-direction:row-reverse;justify-content:flex-end}.chatbot-message.assistant{justify-content:flex-start}.chatbot-avatar{align-items:center;border-radius:50%;box-shadow:0 2px 8px #0000001a;display:flex;flex-shrink:0;font-size:1.1rem;height:36px;justify-content:center;width:36px}.assistant-avatar{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.user-avatar{background:linear-gradient(135deg,#10b981,#059669);color:#fff}.chatbot-message-content-wrapper{align-items:flex-start;display:flex;gap:.5rem;max-width:80%;position:relative}.chatbot-copy-button{background:#0000000d;border:none;border-radius:6px;color:#666;cursor:pointer;flex-shrink:0;font-size:.85rem;margin-top:.25rem;opacity:0;padding:.25rem .5rem;transition:all .2s ease}.chatbot-message-content-wrapper:hover .chatbot-copy-button,.chatbot-message-content-wrapper:hover .chatbot-quick-action-button,.chatbot-message-content-wrapper:hover .chatbot-quick-note-button{opacity:1}.chatbot-copy-button:hover{background:#0000001a;color:#333}.chatbot-quick-note-button:hover{background:#8b5cf633;color:#7c3aed;transform:translateY(-1px)}.chatbot-quick-action-button:hover{background:#f59e0b33;color:#d97706;transform:translateY(-1px)}.chatbot-message-content{word-wrap:break-word;border-radius:16px;flex:1 1;font-size:.95rem;line-height:1.6;min-width:0;padding:1rem 1.25rem}.chatbot-message.user .chatbot-message-content{background:linear-gradient(135deg,#667eea,#764ba2);border-bottom-right-radius:6px;box-shadow:0 4px 12px #667eea4d;color:#fff}.chatbot-message.assistant .chatbot-message-content{background:#fff;border:1px solid #667eea1a;border-bottom-left-radius:6px;box-shadow:0 2px 8px #00000014;color:#333}.chatbot-message.assistant .chatbot-message-content h1,.chatbot-message.assistant .chatbot-message-content h2,.chatbot-message.assistant .chatbot-message-content h3,.chatbot-message.assistant .chatbot-message-content h4,.chatbot-message.assistant .chatbot-message-content h5,.chatbot-message.assistant .chatbot-message-content h6{font-weight:600;line-height:1.3;margin:1rem 0 .5rem}.chatbot-message.assistant .chatbot-message-content h1{border-bottom:2px solid #e0e0e0;font-size:1.5rem;padding-bottom:.5rem}.chatbot-message.assistant .chatbot-message-content h2{border-bottom:1px solid #e0e0e0;font-size:1.3rem;padding-bottom:.3rem}.chatbot-message.assistant .chatbot-message-content h3{font-size:1.1rem}.chatbot-message.assistant .chatbot-message-content p{line-height:1.6;margin:.75rem 0}.chatbot-message.assistant .chatbot-message-content p:first-child{margin-top:0}.chatbot-message.assistant .chatbot-message-content p:last-child{margin-bottom:0}.chatbot-message.assistant .chatbot-message-content ol,.chatbot-message.assistant .chatbot-message-content ul{margin:.75rem 0;padding-left:1.5rem}.chatbot-message.assistant .chatbot-message-content li{line-height:1.5;margin:.5rem 0}.chatbot-message.assistant .chatbot-message-content code{background:#f5f5f5;border-radius:4px;color:#e83e8c;font-family:Courier New,monospace;font-size:.9em;padding:.2rem .4rem}.chatbot-message.assistant .chatbot-message-content pre{background:#f5f5f5;border:1px solid #e0e0e0;border-radius:8px;margin:.75rem 0;overflow-x:auto;padding:1rem}.chatbot-message.assistant .chatbot-message-content pre code{background:none;color:#333;font-size:.9em;padding:0}.chatbot-message.assistant .chatbot-message-content blockquote{background:#f8f9ff;border-left:4px solid #667eea;border-radius:4px;color:#666;font-style:italic;margin:.75rem 0;padding:.75rem 1rem}.chatbot-message.assistant .chatbot-message-content strong{color:#333;font-weight:600}.chatbot-message.assistant .chatbot-message-content em{color:#555;font-style:italic}.chatbot-message.assistant .chatbot-message-content a{border-bottom:1px solid #0000;color:#667eea;text-decoration:none;transition:border-color .2s ease}.chatbot-message.assistant .chatbot-message-content a:hover{border-bottom-color:#667eea}.chatbot-message.assistant .chatbot-message-content hr{border:none;border-top:1px solid #e0e0e0;margin:1rem 0}.chatbot-message.assistant .chatbot-message-content table{border-collapse:collapse;margin:.75rem 0;width:100%}.chatbot-message.assistant .chatbot-message-content table td,.chatbot-message.assistant .chatbot-message-content table th{border:1px solid #e0e0e0;padding:.5rem;text-align:left}.chatbot-message.assistant .chatbot-message-content table th{background:#f5f5f5;font-weight:600}.typing-indicator{align-items:center;display:flex;gap:.5rem}.typing-indicator span{animation:typing 1.4s infinite;background:#667eea;border-radius:50%;height:8px;width:8px}.typing-indicator span:nth-child(2){animation-delay:.2s}.typing-indicator span:nth-child(3){animation-delay:.4s}@keyframes typing{0%,60%,to{opacity:.7;transform:translateY(0)}30%{opacity:1;transform:translateY(-10px)}}.analysis-toggle-container{background:#f8f9fa;border-top:1px solid #667eea1a;padding:.75rem 1.25rem 0}.analysis-toggle{align-items:center;cursor:pointer;display:flex;-webkit-user-select:none;user-select:none}.analysis-toggle input[type=checkbox]{accent-color:#667eea;cursor:pointer;height:18px;margin-right:.75rem;width:18px}.analysis-toggle-label{align-items:center;color:#333;display:flex;font-size:.9rem;font-weight:500}.analysis-toggle:hover .analysis-toggle-label{color:#667eea}.chatbot-input-form{align-items:flex-end;background:linear-gradient(0deg,#fff 0,#fafafa);border-top:1px solid #667eea1a;box-shadow:0 -2px 10px #0000000d;display:flex;gap:.75rem;padding:1.25rem}.chatbot-input{background:#fff;border:2px solid #e0e0e0;border-radius:16px;flex:1 1;font-family:inherit;font-size:.95rem;max-height:120px;padding:.875rem 1rem;resize:none;transition:all .2s ease}.chatbot-input:focus{border-color:#667eea;box-shadow:0 0 0 4px #667eea26;outline:none;transform:translateY(-1px)}.chatbot-input:disabled{background:#f5f5f5;cursor:not-allowed}.chatbot-send-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:16px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;display:flex;flex-shrink:0;height:48px;justify-content:center;padding:.875rem;transition:all .3s cubic-bezier(.34,1.56,.64,1);width:48px}.chatbot-send-button:hover:not(:disabled){box-shadow:0 6px 20px #667eea66;transform:translateY(-2px) scale(1.05)}.chatbot-send-button:active:not(:disabled){transform:translateY(0) scale(.98)}.chatbot-send-button:disabled{cursor:not-allowed;opacity:.5}.chatbot-suggestions{background:linear-gradient(0deg,#f8f9ff 0,#fff);border-top:1px solid #667eea1a;max-height:200px;overflow-y:auto;padding:1rem 1.5rem}.suggestions-title{color:#667eea;font-size:.85rem;font-weight:600;letter-spacing:.5px;margin:0 0 .75rem;text-transform:uppercase}.suggestions-list{display:flex;flex-direction:column;gap:.5rem}.suggestion-button{background:#fff;border:1.5px solid #667eea33;border-radius:12px;color:#667eea;cursor:pointer;font-size:.9rem;font-weight:500;line-height:1.4;padding:.75rem 1rem;text-align:left;transition:all .2s ease}.suggestion-button:hover:not(:disabled){background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea;box-shadow:0 2px 8px #667eea33;transform:translateX(4px)}.suggestion-button:active:not(:disabled){transform:translateX(2px)}.suggestion-button:disabled{cursor:not-allowed;opacity:.5}.chatbot-actions-bar{background:linear-gradient(180deg,#fff 0,#fafafa);border-bottom:1px solid #667eea1a;border-top:1px solid #667eea1a;display:flex;gap:.5rem;padding:.75rem 1.25rem}.chatbot-action-bar-button{align-items:center;background:#fff;border:1.5px solid #667eea33;border-radius:10px;color:#667eea;cursor:pointer;display:flex;flex:1 1;font-size:.85rem;font-weight:500;gap:.5rem;justify-content:center;padding:.625rem 1rem;transition:all .2s ease}.chatbot-action-bar-button:hover{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea;box-shadow:0 2px 8px #667eea33;transform:translateY(-1px)}.chatbot-action-bar-button:active{transform:translateY(0)}.chatbot-action-bar-button svg{font-size:1rem}.chatbot-modal-overlay{background:#0000004d;pointer-events:none}.chatbot-modal-overlay .chatbot-modal{pointer-events:auto}.chatbot-history-panel{background:#fff;border-radius:24px;bottom:0;box-shadow:0 4px 12px #0000001a;display:flex;flex-direction:column;left:0;position:absolute;right:0;top:0;z-index:10}.chatbot-history-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-bottom:1px solid #e0e0e0;color:#fff;display:flex;justify-content:space-between;padding:1.25rem}.chatbot-history-header h4{font-size:1.1rem;font-weight:600;margin:0}.chatbot-history-close{align-items:center;background:#fff3;border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:32px;justify-content:center;transition:background .2s ease;width:32px}.chatbot-history-close:hover{background:#ffffff4d}.chatbot-history-list{flex:1 1;overflow-y:auto;padding:1rem}.chatbot-history-empty{color:#999;font-style:italic;padding:2rem;text-align:center}.chatbot-history-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:12px;cursor:pointer;display:flex;justify-content:space-between;margin-bottom:.75rem;padding:1rem;transition:all .2s ease}.chatbot-history-item:hover{background:#e9ecef;border-color:#667eea;box-shadow:0 4px 8px #667eea26;transform:translateY(-2px)}.chatbot-history-item.active{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea;box-shadow:0 2px 8px #667eea33}.chatbot-history-item-content{flex:1 1;min-width:0}.chatbot-history-item-title{color:#333;font-weight:600;margin-bottom:.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chatbot-history-item-meta{color:#666;font-size:.85rem}.chatbot-history-item-delete{background:#0000;border:none;border-radius:6px;color:#999;cursor:pointer;margin-left:.5rem;opacity:0;padding:.5rem;transition:all .2s ease}.chatbot-history-item:hover .chatbot-history-item-delete{opacity:1}.chatbot-history-item-delete:hover{background:#dc35451a;color:#dc3545}@media (max-width:768px){.chatbot-container{bottom:10px;height:calc(100vh - 20px);max-height:none;max-width:none;right:10px;width:calc(100vw - 20px)}.chatbot-action-bar-button span{display:none}.chatbot-action-bar-button{flex:0 0 auto;padding:.625rem}}.collections-page{display:flex;gap:2rem;margin:0 auto;max-width:1400px;min-height:calc(100vh - 200px);padding:2rem 1rem}.collections-sidebar{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;height:-webkit-fit-content;height:fit-content;padding:1.5rem;position:-webkit-sticky;position:sticky;top:2rem;width:300px}.collections-header{border-bottom:2px solid #f0f0f0;margin-bottom:1.5rem;padding-bottom:1rem}.collections-header h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;font-size:1.5rem;margin-bottom:1rem}.create-collection-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:.95rem;font-weight:600;gap:.5rem;justify-content:center;padding:.75rem;transition:all .2s ease;width:100%}.create-collection-button:hover{box-shadow:0 5px 20px #667eea4d;transform:translateY(-2px)}.collections-list{display:flex;flex-direction:column;gap:.5rem}.collection-item{align-items:center;border:2px solid #f0f0f0;border-radius:8px;cursor:pointer;display:flex;justify-content:space-between;padding:1rem;transition:all .2s ease}.collection-item:hover{background:#f8f9ff;border-color:#667eea}.collection-item.active{background:linear-gradient(135deg,#667eea1a,#764ba21a);border-color:#667eea}.collection-item-content{align-items:center;display:flex;flex:1 1;gap:.75rem}.collection-icon{color:#667eea;font-size:1.5rem}.collection-info h3{color:#333;font-size:1rem;margin:0 0 .25rem}.collection-meta{color:#666;font-size:.85rem;margin:0}.delete-collection-button{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;justify-content:center;padding:.5rem;transition:all .2s ease}.delete-collection-button:hover{background:#fee;color:#c33}.no-collections{color:#666;padding:2rem 1rem;text-align:center}.collections-content{display:flex;flex:1 1;flex-direction:column;min-width:0}.collection-tabs{background:#f8f9fa;border-bottom:2px solid #e0e0e0;border-radius:8px 8px 0 0;display:flex;gap:.5rem;margin-bottom:1.5rem;overflow-x:auto;padding:.5rem}.collection-tab{align-items:center;background:#fff;border:1px solid #e0e0e0;border-bottom:none;border-radius:8px 8px 0 0;box-shadow:0 2px 4px #0000000d;color:#555;cursor:pointer;display:flex;font-size:.95rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease;white-space:nowrap}.collection-tab:hover{background:#f0f4ff;border-color:#c7d2fe;box-shadow:0 4px 8px #667eea26;color:#667eea;transform:translateY(-2px)}.collection-tab.active{background:#fff;border-color:#667eea;border-bottom:3px solid #667eea;box-shadow:0 4px 12px #667eea33;color:#667eea;font-weight:600;position:relative;z-index:1}.collection-tab-content,.tab-panel{display:flex;flex:1 1;flex-direction:column;min-height:0}.tab-panel{background:#fafafa;border-radius:8px;padding:1.5rem}.tab-panel h3{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;color:#1a1a1a;font-size:1.75rem;font-weight:700;margin:0 0 .5rem}.tab-panel>p{color:#555!important;font-size:1rem;line-height:1.6}.assistant-panel{height:calc(100vh - 300px);min-height:600px}.collection-header{margin-bottom:2rem}.collection-header-content{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.collection-header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.chatbot-toggle-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2 50%,#f093fb);border:none;border-radius:12px;box-shadow:0 4px 15px #667eea66;color:#fff;cursor:pointer;display:inline-flex;font-size:1rem;font-weight:600;gap:.75rem;overflow:hidden;padding:.875rem 1.75rem;position:relative;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.chatbot-toggle-button:before{background:linear-gradient(90deg,#0000,#ffffff4d,#0000);content:"";height:100%;left:-100%;position:absolute;top:0;transition:left .5s;width:100%}.chatbot-toggle-button:hover:before{left:100%}.chatbot-toggle-button:hover{box-shadow:0 8px 25px #667eea80;transform:translateY(-3px) scale(1.02)}.chatbot-toggle-button:active{transform:translateY(-1px) scale(.98)}.share-collection-button{align-items:center;background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem;transition:background .2s ease}.share-collection-button:hover{background:#5568d3}.export-bibtex-button{align-items:center;background:linear-gradient(135deg,#10b981,#059669);border:none;border-radius:12px;box-shadow:0 4px 15px #10b9814d;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.export-bibtex-button:hover{box-shadow:0 6px 20px #10b98166;transform:translateY(-2px) scale(1.02)}.export-bibtex-button:active{transform:translateY(0) scale(.98)}.collection-header h2{color:#1a1a1a;font-size:2rem;font-weight:700;margin-bottom:.5rem}.collection-description{color:#666;margin-bottom:1rem}.collection-shared-badge{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:20px;box-shadow:0 2px 8px #667eea4d;color:#fff;display:inline-flex;font-size:.9rem;margin-top:.5rem;padding:.5rem 1rem}.collection-shared-badge strong{font-weight:600}.no-active-collection{background:#fff;border-radius:16px;box-shadow:0 10px 40px #0000001a;padding:4rem 2rem;text-align:center}.empty-icon{color:#ccc;font-size:4rem;margin-bottom:1rem}.no-active-collection h2{color:#333;margin-bottom:.5rem}.no-active-collection p{color:#666;margin-bottom:2rem}.modal-overlay{background:#0009}.modal{box-shadow:0 20px 60px #0000004d}.modal-close{transition:all .2s ease}.modal h2{-webkit-text-fill-color:#0000;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;background-clip:text;margin-bottom:1.5rem}.form-group input,.form-group textarea{border:2px solid #e0e0e0;border-radius:8px;font-family:inherit;font-size:1rem;padding:.75rem;transition:all .2s ease;width:100%}.form-group input:focus,.form-group textarea:focus{border-color:#667eea;box-shadow:0 0 0 3px #667eea1a;outline:none}.modal-actions button{border-radius:8px}.modal-actions button[type=button]{background:#f0f0f0;border:none}.modal-actions button[type=submit]{border:none}.modal-actions button[type=submit]:hover{box-shadow:0 5px 20px #667eea4d}.context-docs-button{align-items:center;background:linear-gradient(135deg,#3b82f6,#2563eb);border:none;border-radius:12px;box-shadow:0 4px 15px #3b82f64d;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.context-docs-button:hover{box-shadow:0 6px 20px #3b82f666;transform:translateY(-2px) scale(1.02)}.context-docs-button:active{transform:translateY(0) scale(.98)}.notes-button{align-items:center;background:linear-gradient(135deg,#8b5cf6,#7c3aed);border:none;border-radius:12px;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.notes-button:hover{box-shadow:0 6px 20px #8b5cf666;transform:translateY(-2px) scale(1.02)}.notes-button:active{transform:translateY(0) scale(.98)}.actions-button{align-items:center;background:linear-gradient(135deg,#f59e0b,#d97706);border:none;border-radius:12px;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .3s cubic-bezier(.34,1.56,.64,1)}.actions-button:hover{box-shadow:0 6px 20px #f59e0b66;transform:translateY(-2px) scale(1.02)}.actions-button:active{transform:translateY(0) scale(.98)}.file-upload-label{cursor:pointer;display:inline-block}.file-upload-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:.95rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s ease}.file-upload-button:hover{box-shadow:0 5px 20px #667eea4d;transform:translateY(-2px)}.context-docs-list{display:flex;flex-direction:column;gap:.75rem;max-height:400px;overflow-y:auto}.context-doc-item{align-items:center;background:#fff;border:2px solid #e0e0e0;border-radius:12px;box-shadow:0 2px 8px #00000014;display:flex;justify-content:space-between;padding:1.25rem;transition:all .2s ease}.context-doc-item:hover{background:#f0f4ff;border-color:#3b82f6;box-shadow:0 4px 12px #3b82f626;transform:translateY(-2px)}.context-doc-info{align-items:center;display:flex;flex:1 1;gap:.75rem}.context-doc-icon{color:#667eea;font-size:1.5rem}.context-doc-info strong{color:#333;display:block;margin-bottom:.25rem}.delete-context-doc-button{align-items:center;background:none;border:none;border-radius:4px;color:#999;cursor:pointer;display:flex;justify-content:center;padding:.5rem;transition:all .2s ease}.delete-context-doc-button:hover{background:#fee;color:#c33}.notes-list{display:flex;flex-direction:column;gap:1rem}.note-item{background:#fff!important;border:2px solid #e0e0e0!important;border-radius:12px!important;box-shadow:0 2px 8px #00000014!important;padding:1.5rem!important;transition:all .2s ease}.note-item:hover{background:#faf5ff!important;border-color:#8b5cf6!important;box-shadow:0 4px 12px #8b5cf626!important;transform:translateY(-2px)}.note-item h3{color:#333!important;font-weight:600!important}.note-item p{color:#555!important}.delete-note-button{background:#0000!important;border:none!important;border-radius:6px!important;color:#dc3545!important;cursor:pointer;padding:.5rem!important;transition:all .2s ease}.delete-note-button:hover{background:#fee2e2!important;color:#991b1b!important}.action-items-list{display:flex;flex-direction:column;gap:1rem}.action-item{background:#fff!important;border:2px solid #e0e0e0!important;border-radius:12px!important;box-shadow:0 2px 8px #00000014!important;padding:1.5rem!important;transition:all .2s ease}.action-item:hover{background:#fffbeb!important;border-color:#f59e0b!important;box-shadow:0 4px 12px #f59e0b26!important;transform:translateY(-2px)}.action-item h3{color:#333!important;font-weight:600!important}.action-item p{color:#555!important}.delete-action-button{background:#0000!important;border:none!important;border-radius:6px!important;color:#dc3545!important;cursor:pointer;padding:.5rem!important;transition:all .2s ease}.delete-action-button:hover{background:#fee2e2!important;color:#991b1b!important}.back-button{background:#f0f0f0;border-radius:12px;color:#333;display:inline-flex;font-size:.95rem;font-weight:600;padding:.75rem 1.5rem;transition:all .2s ease}.back-button:hover{background:#e0e0e0;transform:translateY(-2px)}.teams-list-share{display:flex;flex-direction:column;gap:.75rem;margin:1rem 0;max-height:300px;overflow-y:auto}.team-share-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;cursor:pointer;display:flex;gap:1rem;padding:1rem;transition:all .2s ease}.team-share-item:hover{background:#e9ecef;border-color:#667eea;box-shadow:0 4px 8px #667eea26;transform:translateY(-2px)}.team-share-item svg{color:#667eea;font-size:1.5rem}.team-share-name{color:#333;font-weight:600;margin-bottom:.25rem}.team-share-meta{color:#666;font-size:.85rem}.no-teams-message{color:#666;font-style:italic;padding:1rem;text-align:center}.unshare-button{background:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:1rem;margin-top:1rem;padding:.75rem 1.5rem;transition:background .2s ease}.unshare-button:hover{background:#c82333}.modal-actions button{background:#e9ecef;color:#333}.modal-actions button:hover{background:#dee2e6}.analysis-container{padding:2rem}.analysis-header{align-items:center;border-bottom:2px solid #e9ecef;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1rem}.analysis-header h3{color:#1a1a1a;font-size:1.75rem;margin:0}.generate-analysis-btn{background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;box-shadow:0 4px 12px #667eea4d;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:.75rem 1.5rem;transition:all .3s ease}.generate-analysis-btn:hover:not(:disabled){box-shadow:0 6px 16px #667eea66;transform:translateY(-2px)}.generate-analysis-btn:disabled{cursor:not-allowed;opacity:.6}.analysis-loading{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:4rem 2rem;text-align:center}.analysis-loading p{color:#666;font-size:1.1rem;margin-top:1rem}.analysis-empty{align-items:center;background:#f8f9fa;border-radius:12px;display:flex;flex-direction:column;justify-content:center;margin:2rem 0;padding:4rem 2rem;text-align:center}.analysis-empty p{color:#333;font-size:1.1rem;margin:.5rem 0;max-width:500px}.analysis-panels{display:flex;flex-direction:column;gap:1rem;margin-top:2rem}.analysis-panel{background:#fff;border:1px solid #e9ecef;border-radius:12px;box-shadow:0 2px 8px #00000014;overflow:hidden;transition:all .2s ease}.analysis-panel:hover{box-shadow:0 4px 12px #0000001f}.panel-header{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;justify-content:space-between;padding:1rem 1.5rem}.panel-header.clickable{cursor:pointer;transition:background .2s ease;-webkit-user-select:none;user-select:none}.panel-header.clickable:hover{background:linear-gradient(135deg,#5568d3,#653a8b)}.panel-header h4{align-items:center;display:flex;flex:1 1;font-size:1.2rem;font-weight:600;gap:.5rem;margin:0}.panel-toggle-btn{align-items:center;background:none;border:none;color:#fff;cursor:pointer;display:flex;font-size:1.5rem;justify-content:center;outline:none;padding:0;transition:transform .2s ease}.panel-toggle-btn:hover{transform:scale(1.1)}.panel-content{animation:slideDown .3s ease-out;color:#333;font-size:1rem;line-height:1.8;padding:1.5rem}@keyframes slideDown{0%{max-height:0;opacity:0;padding-bottom:0;padding-top:0}to{max-height:3000px;opacity:1;padding-bottom:1.5rem;padding-top:1.5rem}}.panel-content h1,.panel-content h2,.panel-content h3,.panel-content h4,.panel-content h5,.panel-content h6{color:#1a1a1a;font-weight:600;line-height:1.3;margin-bottom:.75rem;margin-top:1.5rem}.panel-content h1{font-size:1.5rem}.panel-content h2{font-size:1.3rem}.panel-content h3{font-size:1.15rem}.panel-content h4{font-size:1.05rem}.panel-content h1:first-child,.panel-content h2:first-child,.panel-content h3:first-child,.panel-content h4:first-child{margin-top:0}.panel-content p{margin-bottom:1rem}.panel-content p:last-child{margin-bottom:0}.panel-content ol,.panel-content ul{margin-bottom:1rem;padding-left:1.5rem}.panel-content li{margin-bottom:.5rem}.panel-content li:last-child{margin-bottom:0}.panel-content strong{color:#1a1a1a;font-weight:600}.panel-content em{font-style:italic}.panel-content code{background:#f5f5f5;border-radius:3px;color:#667eea;font-family:Courier New,monospace;font-size:.9em;padding:.2rem .4rem}.panel-content pre{background:#f5f5f5;border-radius:6px;margin-bottom:1rem;overflow-x:auto;padding:1rem}.panel-content pre code{background:none;color:#333;padding:0}.panel-content blockquote{border-left:4px solid #667eea;color:#666;font-style:italic;margin-bottom:1rem;margin-left:0;padding-left:1rem}.panel-content a{border-bottom:1px solid #0000;color:#667eea;text-decoration:none;transition:border-color .2s ease}.panel-content a:hover{border-bottom-color:#667eea}.panel-content hr{border:none;border-top:2px solid #e9ecef;margin:1.5rem 0}.panel-content table{border-collapse:collapse;margin-bottom:1rem;width:100%}.panel-content table td,.panel-content table th{border:1px solid #e9ecef;padding:.5rem;text-align:left}.panel-content table th{background:#f8f9fa;font-weight:600}@media (max-width:968px){.analysis-header{align-items:stretch;flex-direction:column;gap:1rem}.generate-analysis-btn{width:100%}.panel-header h4{font-size:1.1rem}.collections-page{flex-direction:column}.collections-sidebar{position:static;width:100%}}.teams-container{margin:0 auto;max-width:1400px;padding:2rem}.teams-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:2rem}.teams-header h2{color:#333;font-size:2rem;margin:0}.create-team-button{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:1rem;font-weight:600;gap:.5rem;padding:.75rem 1.5rem;transition:transform .2s ease,box-shadow .2s ease}.create-team-button:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.teams-content{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:1fr 2fr}.teams-list{display:flex;flex-direction:column;gap:1rem}.team-card{background:#fff;border:2px solid #e0e0e0;border-radius:12px;cursor:pointer;padding:1.5rem;position:relative;transition:all .2s ease}.team-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea26;transform:translateY(-2px)}.team-card.active{background:linear-gradient(135deg,#667eea0d,#764ba20d);border-color:#667eea;box-shadow:0 4px 12px #667eea33}.team-card-content h3{color:#333;font-size:1.2rem;margin:0 0 .5rem}.team-meta{color:#666;font-size:.9rem;margin:.25rem 0}.team-description{color:#666;font-size:.9rem;line-height:1.4;margin:.5rem 0 0}.team-owner-badge{background:linear-gradient(135deg,#667eea,#764ba2);border-radius:12px;color:#fff;font-size:.75rem;font-weight:600;padding:.25rem .75rem;position:absolute;right:1rem;top:1rem}.empty-state{color:#999;padding:3rem;text-align:center}.empty-state svg{margin-bottom:1rem;opacity:.5}.team-details{background:#fff;border:2px solid #e0e0e0;border-radius:12px;padding:2rem}.team-details-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.team-details-header h3{color:#333;font-size:1.5rem;margin:0}.delete-team-button{background:#dc3545;border:none;border-radius:6px;color:#fff;cursor:pointer;padding:.5rem 1rem;transition:background .2s ease}.delete-team-button:hover{background:#c82333}.team-details-description{color:#666;line-height:1.6;margin-bottom:1rem}.team-owner-info{border-bottom:1px solid #e0e0e0;color:#666;font-size:.9rem;margin-bottom:2rem;padding-bottom:1rem}.team-members-section{margin-top:2rem}.section-header{margin-bottom:1rem}.section-header h4{color:#333;font-size:1.2rem;margin:0}.invite-button{align-items:center;background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:.9rem;gap:.5rem;padding:.5rem 1rem;transition:background .2s ease}.invite-button:hover{background:#5568d3}.members-list{display:flex;flex-direction:column;gap:.75rem}.member-item{align-items:center;background:#f8f9fa;border:1px solid #e0e0e0;border-radius:8px;display:flex;justify-content:space-between;padding:1rem}.member-info{flex:1 1}.member-email{font-size:.85rem}.member-actions{align-items:center;display:flex;gap:1rem}.member-role{border-radius:12px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:capitalize}.member-role.owner{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.member-role.member{background:#e9ecef;color:#666}.remove-member-button{background:#0000;color:#dc3545;transition:background .2s ease}.remove-member-button:hover{background:#dc35451a}.modal{background:#fff;border-radius:16px;max-height:90vh;max-width:500px;overflow-y:auto;padding:2rem;position:relative;width:90%}.modal-close{background:#0000;border-radius:50%;padding:.5rem;position:absolute;right:1rem;top:1rem;transition:background .2s ease}.modal-close:hover{background:#f0f0f0}.modal h2{color:#333;font-size:1.5rem;margin:0 0 1.5rem}.form-group label{font-weight:600}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:1rem;padding:.75rem;width:100%}.form-group small{color:#666;display:block;font-size:.85rem;margin-top:.25rem}.modal-actions{margin-top:2rem}.modal-actions button{border-radius:6px;font-size:1rem;font-weight:600;transition:all .2s ease}.modal-actions button[type=button]{background:#e9ecef}.modal-actions button[type=button]:hover{background:#dee2e6}.modal-actions button[type=submit]{background:linear-gradient(135deg,#667eea,#764ba2)}.modal-actions button[type=submit]:hover{box-shadow:0 4px 12px #667eea4d;transform:translateY(-2px)}.loading-container{padding:3rem;text-align:center}.spinner{animation:spin 1s linear infinite;border:4px solid #f3f3f3;border-radius:50%;border-top-color:#667eea;height:50px;margin:0 auto 1rem;width:50px}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media (max-width:968px){.teams-content{grid-template-columns:1fr}}.membership-container{margin:0 auto;max-width:1200px;padding:2rem}.membership-header{margin-bottom:2rem}.membership-header h1{color:#333;font-size:2rem;margin-bottom:.5rem}.membership-header p{color:#666;font-size:1rem}.membership-section{margin-bottom:3rem}.membership-section h2{color:#333;font-size:1.5rem;margin-bottom:1.5rem}.current-plan-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:2rem}.plan-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:1.5rem}.plan-header h3{color:#333;font-size:1.5rem;margin-bottom:.5rem}.plan-price{color:#666;font-size:1.25rem;font-weight:500}.plan-status{align-items:center;display:flex}.status-badge.succeeded{background:#d4edda;color:#155724}.status-badge.pending{background:#fff3cd;color:#856404}.status-badge.failed{background:#f8d7da;color:#721c24}.plan-details{border-top:1px solid #e0e0e0;padding-top:1.5rem}.plan-details p{color:#666;margin-bottom:1rem}.cancel-button,.resume-button{border:none;border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.cancel-button{background:#f8d7da;color:#721c24}.cancel-button:hover{background:#f5c6cb}.resume-button{background:#d4edda;color:#155724}.resume-button:hover{background:#c3e6cb}.usage-value{margin-bottom:.75rem}.usage-bar{background:#e0e0e0;border-radius:4px;height:8px;overflow:hidden;width:100%}.usage-fill{background:linear-gradient(90deg,#4caf50,#45a049);height:100%;transition:width .3s ease}.plans-grid{grid-gap:2rem;display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.plan-card{background:#fff;border:2px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-direction:column;padding:2rem}.plan-card:hover{border-color:#4caf50;box-shadow:0 4px 8px #00000026}.plan-card-header{margin-bottom:1.5rem}.plan-card-header h3{color:#333;font-size:1.5rem;margin-bottom:.5rem}.plan-price-large{color:#333;font-size:2rem;font-weight:700}.plan-period{color:#666;font-size:1rem;font-weight:400}.plan-features{flex-grow:1;list-style:none;margin:0 0 2rem;padding:0}.plan-features li{align-items:center;border-bottom:1px solid #f0f0f0;color:#666;display:flex;gap:.75rem;padding:.75rem 0}.plan-features li:last-child{border-bottom:none}.plan-features li svg{color:#4caf50;font-size:1.25rem}.upgrade-button{background:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:600;padding:1rem;transition:all .2s;width:100%}.upgrade-button:hover:not(:disabled){background:#45a049;box-shadow:0 4px 8px #0003;transform:translateY(-2px)}.upgrade-button:disabled{cursor:not-allowed;opacity:.6}.payments-table{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.payments-table table{border-collapse:collapse;width:100%}.payments-table thead{background:#f5f5f5}.payments-table th{border-bottom:2px solid #e0e0e0;color:#333;font-weight:600;padding:1rem;text-align:left}.payments-table td{border-bottom:1px solid #f0f0f0;color:#666;padding:1rem}.payments-table tr:last-child td{border-bottom:none}.payments-table a{color:#4caf50;text-decoration:none}.payments-table a:hover{text-decoration:underline}.receipt-link{align-items:center;color:#007bff;display:inline-flex;font-weight:500;gap:.25rem;text-decoration:none}.receipt-link:hover{color:#0056b3;text-decoration:underline}.receipt-link:after{content:"📄";font-size:.9em}.no-receipt{color:#999;font-style:italic}.no-payments-message{background:#f9f9f9;border:1px solid #e0e0e0;border-radius:8px;color:#666;padding:2rem;text-align:center}.no-payments-message p{font-size:1rem;margin:0}.sync-payments-button{background:#007bff;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.sync-payments-button:hover{background:#0056b3}.enterprise-accounts-list{grid-gap:1rem;display:grid;gap:1rem}.enterprise-account-card{align-items:center;background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;justify-content:space-between;padding:1.5rem}.enterprise-account-info h3{color:#333;font-size:1.25rem;margin-bottom:.5rem}.enterprise-account-info p{color:#666;font-size:.875rem}.view-enterprise-button{background:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.view-enterprise-button:hover{background:#45a049}.create-enterprise-button{background:#2196f3;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.create-enterprise-button:hover{background:#1976d2}.no-enterprise-message{background:#f9f9f9;border-radius:8px;color:#666;font-style:italic;padding:2rem;text-align:center}@media (max-width:768px){.membership-container{padding:1rem}.plans-grid,.usage-grid{grid-template-columns:1fr}.plan-header{flex-direction:column;gap:1rem}.payments-table{overflow-x:auto}}.enterprise-container{margin:0 auto;max-width:1200px;padding:2rem}.back-button{align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;font-size:1rem;gap:.5rem;margin-bottom:1rem;padding:.5rem 0}.back-button:hover{color:#333}.enterprise-header{align-items:flex-start;border-bottom:2px solid #e0e0e0;display:flex;justify-content:space-between;margin-bottom:2rem;padding-bottom:1.5rem}.enterprise-header h1{color:#333;font-size:2rem;margin-bottom:.5rem}.enterprise-subtitle{color:#666;font-size:1rem}.account-status{align-items:center;display:flex}.status-badge{border-radius:20px;font-size:.875rem;font-weight:500;padding:.5rem 1rem}.status-badge.active{background:#d4edda;color:#155724}.status-badge.canceled{background:#f8d7da;color:#721c24}.enterprise-section{margin-bottom:3rem}.enterprise-section h2{color:#333;font-size:1.5rem;margin-bottom:1.5rem}.section-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.add-member-button{align-items:center;background:#4caf50;border:none;border-radius:4px;color:#fff;cursor:pointer;display:flex;font-size:.875rem;font-weight:500;gap:.5rem;padding:.75rem 1.5rem;transition:all .2s}.add-member-button:hover{background:#45a049}.overview-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.overview-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.overview-label{color:#666;font-size:.875rem;letter-spacing:.5px;margin-bottom:.5rem;text-transform:uppercase}.overview-value{color:#333;font-size:1.5rem;font-weight:600}.usage-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.usage-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.usage-header{align-items:center;color:#666;display:flex;font-weight:500;gap:.5rem;margin-bottom:1rem}.usage-header svg{font-size:1.25rem}.usage-value{color:#333;font-size:1.5rem;font-weight:600}.members-list{grid-gap:1rem;display:grid;gap:1rem}.member-card{background:#fff;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.member-card,.member-info{align-items:center;display:flex;justify-content:space-between}.member-info{flex-grow:1}.member-name{color:#333;font-weight:600;margin-bottom:.25rem}.member-email{color:#666;font-size:.875rem}.member-role-badge{background:#e3f2fd;border-radius:12px;color:#1976d2;font-size:.75rem;font-weight:500;padding:.25rem .75rem;text-transform:capitalize}.remove-member-button{align-items:center;background:#f8d7da;border:none;border-radius:4px;color:#721c24;cursor:pointer;display:flex;justify-content:center;padding:.5rem;transition:all .2s}.remove-member-button:hover{background:#f5c6cb}.member-limit-warning{background:#fff3cd;border:1px solid #ffc107;border-radius:4px;color:#856404;margin-top:1rem;padding:1rem}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;padding:2rem;width:90%}.modal-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.modal-header h3{color:#333;font-size:1.5rem}.modal-close{align-items:center;background:none;border:none;color:#666;cursor:pointer;display:flex;font-size:1.5rem;height:32px;justify-content:center;padding:0;width:32px}.modal-close:hover{color:#333}.form-group{margin-bottom:1.5rem}.form-group label{color:#333;display:block;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select{border:1px solid #e0e0e0;border-radius:4px;font-size:1rem;padding:.75rem;width:100%}.form-group input:focus,.form-group select:focus{border-color:#4caf50;outline:none}.modal-actions{display:flex;gap:1rem;justify-content:flex-end}.modal-actions button{border:none;border-radius:4px;cursor:pointer;font-size:.875rem;font-weight:500;padding:.75rem 1.5rem;transition:all .2s}.modal-actions button[type=button]{background:#f5f5f5;color:#333}.modal-actions button[type=button]:hover{background:#e0e0e0}.modal-actions button[type=submit]{background:#4caf50;color:#fff}.modal-actions button[type=submit]:hover{background:#45a049}.error-message{background:#fee;border:1px solid #fcc;border-radius:4px;color:#c33;margin-bottom:1.5rem;padding:1rem}.no-account{padding:3rem;text-align:center}.no-account h2{color:#333;margin-bottom:1rem}.loading,.no-account p{color:#666}.loading{font-size:1.125rem;padding:3rem;text-align:center}@media (max-width:768px){.enterprise-container{padding:1rem}.enterprise-header{flex-direction:column;gap:1rem}.overview-grid,.usage-grid{grid-template-columns:1fr}.member-card,.section-header{align-items:flex-start;flex-direction:column;gap:1rem}.member-info{width:100%}}
/*# sourceMappingURL=main.ed8c2d29.css.map*/