:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}.auth-wrapper{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:2rem}.auth-container{width:100%;max-width:400px;display:flex;justify-content:center}.auth-card{background:#fff;border-radius:20px;padding:2.5rem;box-shadow:0 25px 50px #00000026;width:100%;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2)}.auth-header{text-align:center;margin-bottom:2rem}.auth-header h2{font-size:2rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.auth-header p{color:#6b7280;font-size:1rem}.auth-form{display:flex;flex-direction:column;gap:1.5rem}.form-group{display:flex;flex-direction:column;gap:.5rem}.form-label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#374151;font-size:.9rem}.form-input{padding:.875rem 1rem;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;transition:all .2s ease;background:#f9fafb}.form-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.form-input.error{border-color:#ef4444;background:#fef2f2}.form-input:disabled{opacity:.6;cursor:not-allowed;background:#f3f4f6}.password-input-container{position:relative;display:flex;align-items:center}.password-toggle{position:absolute;right:1rem;background:none;border:none;color:#6b7280;cursor:pointer;padding:.25rem;border-radius:4px;transition:color .2s ease}.password-toggle:hover{color:#374151}.password-toggle:disabled{cursor:not-allowed;opacity:.5}.field-error{color:#ef4444;font-size:.8rem;margin-top:.25rem}.error-message{background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.875rem 1rem;border-radius:8px;font-size:.9rem;font-weight:500;text-align:center}.auth-button{padding:.875rem 1.5rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px}.auth-button.primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.auth-button.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.auth-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.auth-footer{text-align:center;margin-top:2rem;padding-top:1.5rem;border-top:1px solid #e5e7eb}.auth-footer p{color:#6b7280;font-size:.9rem}.auth-link{background:none;border:none;color:#667eea;font-weight:600;cursor:pointer;text-decoration:underline;font-size:inherit;transition:color .2s ease}.auth-link:hover:not(:disabled){color:#5a67d8}.auth-link:disabled{cursor:not-allowed;opacity:.5}.spinner{width:16px;height:16px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 480px){.auth-wrapper{padding:1rem}.auth-card{padding:2rem}.auth-header h2{font-size:1.75rem}}.auth-form.loading{pointer-events:none;opacity:.7}@keyframes successPulse{0%{transform:scale(1)}50%{transform:scale(1.05)}to{transform:scale(1)}}.auth-button.success{animation:successPulse .6s ease-in-out}.feedback-overlay{position:fixed;inset:0;background:#0009;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:2000;display:flex;align-items:center;justify-content:center;padding:1rem;animation:fadeIn .2s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.feedback-modal{background:#fff;border-radius:20px;box-shadow:0 25px 50px #0000004d;max-width:500px;width:100%;max-height:90vh;overflow-y:auto;position:relative;animation:slideUp .3s ease-out;padding:2rem}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.feedback-modal.success{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:300px;text-align:center;padding:3rem 2rem}.success-icon{width:80px;height:80px;background:linear-gradient(135deg,#10b981,#059669);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-size:3rem;font-weight:700;margin-bottom:1.5rem;animation:scaleIn .5s ease-out}@keyframes scaleIn{0%{transform:scale(0)}50%{transform:scale(1.1)}to{transform:scale(1)}}.success-icon:after{content:"✓"}.feedback-header{text-align:center;margin-bottom:2rem}.feedback-header h2{font-size:1.75rem;font-weight:700;color:#1f2937;margin-bottom:.5rem}.feedback-header p{color:#6b7280;font-size:1rem}.feedback-close{position:absolute;top:1rem;right:1rem;background:#0000000d;border:none;border-radius:50%;width:36px;height:36px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#6b7280}.feedback-close:hover{background:#0000001a;color:#374151}.feedback-form{display:flex;flex-direction:column;gap:2rem}.rating-section{display:flex;flex-direction:column;align-items:center;gap:1rem}.rating-label{font-weight:600;color:#374151;font-size:1rem}.stars-container{display:flex;gap:.5rem;align-items:center}.star-button{background:none;border:none;padding:.25rem;cursor:pointer;transition:all .2s ease;color:#e5e7eb}.star-button.filled{color:#fbbf24}.star-button.empty{color:#e5e7eb}.star-button:hover:not(:disabled){transform:scale(1.1)}.star-button:disabled{cursor:not-allowed;opacity:.6}.rating-text{font-size:1rem;font-weight:600;color:#6b7280;min-height:24px}.comment-section{display:flex;flex-direction:column;gap:.5rem}.comment-label{font-weight:600;color:#374151;font-size:1rem}.comment-textarea{padding:.875rem;border:2px solid #e5e7eb;border-radius:12px;font-size:1rem;font-family:inherit;resize:vertical;transition:all .2s ease;background:#f9fafb}.comment-textarea:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea1a}.comment-textarea:disabled{opacity:.6;cursor:not-allowed;background:#f3f4f6}.character-count{text-align:right;font-size:.85rem;color:#9ca3af}.feedback-actions{display:flex;gap:1rem;justify-content:flex-end}.feedback-button{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.875rem 1.5rem;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;border:2px solid transparent;min-height:48px}.feedback-button:disabled{opacity:.6;cursor:not-allowed}.feedback-button.cancel{background:#f3f4f6;color:#374151}.feedback-button.cancel:hover:not(:disabled){background:#e5e7eb}.feedback-button.submit{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.feedback-button.submit:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.feedback-button.submit:disabled{background:#9ca3af}.spinner-small{width:18px;height:18px;border:2px solid transparent;border-top:2px solid currentColor;border-radius:50%;animation:spin 1s linear infinite}@media (max-width: 640px){.feedback-modal{padding:1.5rem}.feedback-header h2{font-size:1.5rem}.star-button{padding:.2rem}.feedback-actions{flex-direction:column}.feedback-button{width:100%}}.app-header{background:#ffffff1a;-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid rgba(255,255,255,.2);padding:.5rem 2rem;height:116px;position:sticky;top:0;z-index:100}.header-content{display:flex;justify-content:space-between;align-items:center;max-width:1200px;margin:0 auto}.header-left h1{font-size:1.25rem;font-weight:700;color:#fff;margin:0 0 .125rem}.header-left p{color:#fffc;font-size:.75rem;margin:0}.header-right{display:flex;align-items:center}.user-info{display:flex;align-items:center;gap:.5rem;position:relative}.user-avatar{width:30px;height:30px;background:#fff3;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;border:2px solid rgba(255,255,255,.3)}.user-details{display:flex;flex-direction:column;gap:.125rem}.user-name{color:#fff;font-weight:600;font-size:.85rem}.user-email{color:#ffffffb3;font-size:.75rem}.user-menu-container{position:relative}.user-menu-toggle{background:#ffffff1a;border:1px solid rgba(255,255,255,.2);border-radius:6px;padding:.4rem;color:#fff;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.user-menu-toggle:hover{background:#fff3;transform:translateY(-1px)}.user-menu{position:absolute;top:100%;right:0;margin-top:.5rem;background:#fff;border-radius:12px;box-shadow:0 20px 40px #00000026;border:1px solid rgba(0,0,0,.1);min-width:250px;overflow:hidden;z-index:1000;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}.user-menu-header{display:flex;align-items:center;gap:.75rem;padding:1rem;background:#f8fafc;border-bottom:1px solid #e2e8f0}.user-menu-avatar{width:40px;height:40px;background:#667eea;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}.user-menu-name{font-weight:600;color:#1f2937;font-size:.9rem}.user-menu-email{color:#6b7280;font-size:.8rem}.user-menu-divider{height:1px;background:#e2e8f0;margin:.5rem 0}.user-menu-item{width:100%;display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:none;border:none;color:#374151;font-size:.9rem;cursor:pointer;transition:background-color .2s ease;text-align:left}.user-menu-item:hover{background:#f3f4f6}.user-menu-item.logout{color:#dc2626}.user-menu-item.logout:hover{background:#fef2f2}.user-menu-overlay{position:fixed;inset:0;z-index:999}.auth-buttons{display:flex;gap:.5rem;align-items:center}.auth-button{display:flex;align-items:center;gap:.375rem;padding:.5rem 1rem;border-radius:8px;font-size:.85rem;font-weight:500;cursor:pointer;transition:all .2s ease;border:1px solid transparent}.auth-button.login{background:#ffffff1a;color:#fff;border-color:#fff3}.auth-button.login:hover{background:#fff3;transform:translateY(-1px)}.auth-button.signup{background:#667eea;color:#fff;border-color:#667eea}.auth-button.signup:hover{background:#5a67d8;transform:translateY(-1px)}.auth-modal-overlay{position:fixed;inset:0;background:#00000080;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.auth-modal{background:#fff;border-radius:16px;box-shadow:0 25px 50px #00000040;max-width:400px;width:100%;max-height:90vh;overflow-y:auto;position:relative;animation:modalSlideIn .3s ease-out}@keyframes modalSlideIn{0%{opacity:0;transform:scale(.9) translateY(-20px)}to{opacity:1;transform:scale(1) translateY(0)}}.auth-modal-close{position:absolute;top:1rem;right:1rem;background:#0000001a;border:none;border-radius:50%;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:1.2rem;color:#6b7280;cursor:pointer;transition:all .2s ease;z-index:10}.auth-modal-close:hover{background:#0003;color:#374151}@media (max-width: 768px){.app-header{padding:.5rem 1rem}.header-content{flex-direction:column;gap:.75rem;align-items:flex-start}.header-left h1{font-size:1.25rem}.header-left p{font-size:.75rem}.user-details{display:none}.user-menu{right:-1rem;left:-1rem;min-width:auto}.auth-buttons{gap:.375rem}.auth-button{padding:.4rem .75rem;font-size:.8rem}}@media (max-width: 480px){.app-header{padding:.375rem .75rem}.header-left h1{font-size:1.1rem}.header-left p{font-size:.7rem}}.loading-thoughts-container{display:flex;flex-direction:column;align-items:center;gap:1.5rem;padding:2rem;margin:1.5rem 0 0;background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);border-radius:16px;animation:slideInUp .5s ease-out}.thought-bubble-wrapper{perspective:1000px;width:100%;max-width:400px}.thought-bubble{background:#ffffff26;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid rgba(255,255,255,.3);border-radius:20px;padding:1.5rem 2rem;box-shadow:0 8px 32px #0003;animation:bubbleFloat .6s ease-in-out forwards,bubblePulse 2s ease-in-out infinite;min-height:70px;display:flex;align-items:center;justify-content:center}.thought-text{color:#fff;font-size:1.2rem;font-weight:500;text-align:center;animation:textFadeInOut .3s ease-in-out;display:block}.animated-dots{display:flex;gap:.5rem;margin-top:.5rem}.animated-dots span{width:12px;height:12px;background:#ffffffb3;border-radius:50%;animation:dotsBounce 1.4s infinite}.animated-dots span:nth-child(1){animation-delay:0s}.animated-dots span:nth-child(2){animation-delay:.2s}.animated-dots span:nth-child(3){animation-delay:.4s}@keyframes slideInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes bubbleFloat{0%{opacity:0;transform:translateY(20px) scale(.95)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes bubblePulse{0%,to{transform:scale(1);box-shadow:0 8px 32px #0003}50%{transform:scale(1.02);box-shadow:0 12px 40px #667eea4d}}@keyframes textFadeInOut{0%{opacity:0}50%{opacity:1}to{opacity:.8}}@keyframes dotsBounce{0%,to{transform:translateY(0);opacity:.6}50%{transform:translateY(-10px);opacity:1}}@media (max-width: 768px){.loading-thoughts-container{padding:1.5rem;gap:1.5rem}.thought-bubble{padding:1.25rem 1.5rem;min-height:60px}.thought-text{font-size:1rem}.animated-dots span{width:10px;height:10px}}*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100vh;scroll-behavior:smooth}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);padding:1rem;text-align:center;color:#fff;border-bottom:1px solid rgba(255,255,255,.2)}.app-header h1{font-size:2.5rem;margin-bottom:.5rem;font-weight:700}.app-header p{font-size:1.1rem;opacity:.9}.app-main{flex:1;padding:.75rem 2rem;max-width:1000px;margin:0 auto;width:100%;min-height:auto;display:flex;flex-direction:column;justify-content:flex-start}.main-content{display:flex;flex-direction:column;gap:.75rem;width:100%}.welcome-info-card{background:#ffffff14;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:1rem .75rem;animation:slideInDown .6s ease-out}.welcome-msg{margin-bottom:.75rem;padding-bottom:.75rem;border-bottom:1px solid rgba(255,255,255,.1);text-align:center}.welcome-msg h3{font-size:1.1rem;font-weight:700;color:#fff;margin:0 0 .25rem}.welcome-msg p{font-size:.85rem;color:#ffffffb3;margin:0;font-weight:400}.welcome-notes{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem;margin:0;padding:0;list-style:none}.note-item{display:flex;align-items:center;gap:.6rem;padding:.6rem .8rem;background:#ffffff0f;border:1px solid rgba(255,255,255,.12);border-radius:8px;transition:all .2s ease}.note-item:hover{background:#ffffff1a;border-color:#ffffff40;transform:translateY(-1px)}.note-icon{font-size:1.1rem;flex-shrink:0}.note-text{color:#fffc;font-size:.85rem;font-weight:500;line-height:1.3}.welcome-info-header{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.welcome-icon{font-size:1.5rem}.welcome-info-header h2{font-size:1.1rem;font-weight:700;color:#fff;margin:0}.welcome-section{text-align:center;margin-bottom:.5rem;padding:1.5rem;background:#ffffff1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:16px;border:1px solid rgba(255,255,255,.2);animation:slideInDown .6s ease-out}.welcome-section h2{font-size:1.75rem;font-weight:700;color:#fff;margin-bottom:.5rem}.welcome-section p{color:#ffffffe6;font-size:1rem;margin:0}.guest-notice{display:flex;align-items:center;gap:.5rem;margin-top:1rem;padding:.75rem 1rem;background:#ffffff1a;border-radius:8px;border:1px solid rgba(255,255,255,.2);font-size:.9rem}.guest-icon{font-size:1rem}.guest-text{color:#ffffffe6;flex:1}.guest-text a{color:gold;text-decoration:none;font-weight:500;cursor:pointer}.guest-text a:hover{text-decoration:underline}.upload-form{background:#fff;border-radius:20px;padding:1.25rem;box-shadow:0 25px 50px #0000001a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.2);width:100%;max-width:100%;margin:0 auto;animation:slideInUp .6s ease-out .2s both}.form-header{text-align:center;margin-bottom:.75rem;padding-bottom:.5rem;border-bottom:1px solid #e5e7eb}.form-header h3{font-size:1.1rem;font-weight:700;color:#1f2937;margin-bottom:.25rem}.form-header p{color:#6b7280;font-size:.85rem;margin:0}.file-upload-section{display:grid;grid-template-columns:1fr 1fr;gap:.75rem;margin-bottom:.75rem}.file-input-group{display:flex;flex-direction:column;gap:.5rem}.file-label{display:flex;align-items:center;gap:.5rem;font-weight:600;color:#374151;font-size:.9rem}.file-icon{font-size:1.3rem;width:35px;height:35px;background:#f0f4ff;border-radius:10px;display:flex;align-items:center;justify-content:center;border:2px solid #e0e7ff}.file-title{display:block;font-size:.95rem;font-weight:700;color:#1f2937}.file-subtitle{display:block;font-size:.8rem;color:#6b7280;font-weight:400}.file-input-wrapper{position:relative;border:2px dashed #d1d5db;border-radius:12px;background:#f9fafb;transition:all .2s ease;overflow:hidden}.file-input-wrapper:hover{border-color:#667eea;background:#f0f4ff}.file-input{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:2}.file-input-overlay{padding:.6rem;text-align:center;pointer-events:none;z-index:1}.file-input-text{font-size:.9rem;font-weight:500;color:#6b7280}.file-info{display:flex;align-items:center;gap:.75rem;padding:.75rem;background:#ecfdf5;border:1px solid #d1fae5;border-radius:10px;color:#065f46}.file-info-icon{font-size:1.1rem;width:28px;height:28px;background:#d1fae5;border-radius:50%;display:flex;align-items:center;justify-content:center}.file-info-details{flex:1}.file-name{font-weight:600;font-size:.85rem;margin-bottom:.2rem}.file-size{font-size:.75rem;opacity:.8}.error-message{display:flex;align-items:center;gap:.75rem;background:#fef2f2;border:1px solid #fecaca;color:#dc2626;padding:.75rem 1rem;border-radius:12px;margin-bottom:.75rem;font-weight:500;font-size:.9rem}.error-icon{font-size:1.25rem;width:24px;height:24px;display:flex;align-items:center;justify-content:center}.error-text{flex:1}.button-group{display:flex;gap:.75rem;justify-content:center;margin-top:.25rem}.submit-button,.reset-button{display:flex;align-items:center;gap:.5rem;padding:.875rem 2rem;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;min-width:160px;justify-content:center}.submit-button{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 15px #667eea33}.submit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 10px 25px #667eea4d}.submit-button:disabled{opacity:.6;cursor:not-allowed;transform:none;box-shadow:none}.reset-button{background:#f8fafc;color:#374151;border:2px solid #e2e8f0}.reset-button:hover:not(:disabled){background:#f1f5f9;border-color:#cbd5e1;transform:translateY(-1px)}.reset-button:disabled{opacity:.5;cursor:not-allowed;transform:none}.button-icon{font-size:1.1rem}.result-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:2rem;box-shadow:0 10px 25px #0000000d;margin-bottom:2rem}.result-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.result-icon{font-size:2rem;width:60px;height:60px;background:#ecfdf5;border-radius:50%;display:flex;align-items:center;justify-content:center;border:3px solid #d1fae5}.result-header h3{color:#065f46;margin:0 0 .25rem;font-size:1.5rem;font-weight:700}.result-header p{color:#6b7280;margin:0;font-size:1rem}.result-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-bottom:1.5rem}.stat-item{display:flex;flex-direction:column;gap:.25rem;padding:1rem;background:#f8fafc;border-radius:8px;border:1px solid #e2e8f0}.stat-label{font-size:.8rem;font-weight:600;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.stat-value{font-size:1rem;font-weight:700;color:#1f2937}.stat-value.success{color:#059669}.stat-value.filename{font-family:Courier New,monospace;font-size:.9rem;word-break:break-all}.download-section{text-align:center;padding-top:1rem;border-top:1px solid #e5e7eb}.download-button{display:inline-flex;align-items:center;gap:.5rem;padding:.875rem 2rem;background:linear-gradient(135deg,#059669,#10b981);color:#fff;border:none;border-radius:12px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 15px #05966933}.download-button:hover{transform:translateY(-2px);box-shadow:0 10px 25px #0596694d}.field-mapping-section{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:2rem;box-shadow:0 10px 25px #0000000d;margin-bottom:2rem}.section-header{text-align:center;margin-bottom:2rem;padding-bottom:1rem;border-bottom:1px solid #e5e7eb}.section-header h3{color:#1e293b;margin:0 0 .5rem;font-size:1.5rem;font-weight:700}.section-header p{color:#6b7280;margin:0;font-size:1rem}.field-mapping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:1.5rem}.field-item{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:1.5rem;transition:all .2s ease}.field-item:hover{border-color:#667eea;box-shadow:0 8px 25px #00000014;transform:translateY(-2px)}.field-header{margin-bottom:1rem;padding-bottom:.75rem;border-bottom:1px solid #e2e8f0}.field-name{color:#1e293b;font-size:1.1rem;font-weight:700;display:block;margin-bottom:.5rem}.field-value{color:#667eea;font-weight:600;font-size:1rem;font-style:italic;background:#f0f4ff;padding:.5rem .75rem;border-radius:6px;border:1px solid #e0e7ff;display:inline-block}.field-details{display:flex;flex-direction:column;gap:.5rem}.field-detail{display:flex;justify-content:space-between;align-items:center;padding:.5rem 0}.detail-label{color:#6b7280;font-size:.85rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em}.detail-value{color:#374151;font-size:.9rem;font-weight:500;background:#f1f5f9;padding:.25rem .5rem;border-radius:4px;font-family:Courier New,monospace}.app-footer{background:#0000001a;color:#fff;text-align:center;padding:1.5rem;margin-top:auto}.footer-content{max-width:1200px;margin:0 auto}.footer-branding{display:flex;align-items:center;justify-content:center;gap:1rem;flex-wrap:wrap}.footer-logo{width:40px;height:40px;opacity:.9;transition:opacity .3s ease}.footer-logo:hover{opacity:1}.app-footer p{opacity:.8;margin:0;font-size:.95rem}.app-footer strong{font-weight:600;color:#fff}.app-main,.main-content{scroll-margin-top:0}.upload-form{scroll-margin-top:2rem}.scroll-to-top{position:fixed;bottom:2rem;right:2rem;width:50px;height:50px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border:none;border-radius:50%;font-size:1.5rem;font-weight:700;cursor:pointer;box-shadow:0 4px 15px #667eea4d;transition:all .3s ease;z-index:1000;display:flex;align-items:center;justify-content:center}.scroll-to-top:hover{transform:translateY(-3px);box-shadow:0 8px 25px #667eea66}.scroll-to-top:active{transform:translateY(-1px)}@media (max-width: 768px){.file-upload-section{grid-template-columns:1fr;gap:1.5rem}.button-group{flex-direction:column;gap:.75rem}.submit-button,.reset-button{width:100%;min-width:auto}.welcome-section h2{font-size:1.75rem}.app-main{padding:.75rem;min-height:calc(100vh - 80px)}.welcome-section{padding:1rem}.welcome-section h2{font-size:1.5rem}.welcome-section p{font-size:.9rem}.upload-form{padding:1.25rem}.result-stats,.field-mapping-grid{grid-template-columns:1fr}.result-header{flex-direction:column;text-align:center;gap:.75rem}.field-detail{flex-direction:column;align-items:flex-start;gap:.25rem}.scroll-to-top{bottom:1rem;right:1rem;width:45px;height:45px;font-size:1.25rem}}@media (max-width: 480px){.app-main{padding:.5rem;min-height:calc(100vh - 60px)}.welcome-section{padding:.75rem}.welcome-section h2{font-size:1.25rem}.welcome-section p{font-size:.85rem}.upload-form{padding:1rem}.form-header h3{font-size:1.1rem}.form-header p{font-size:.8rem}.file-input-overlay{padding:.75rem}.file-input-text{font-size:.85rem}.file-upload-section{gap:1rem}}@keyframes slideInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.submit-button .spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite;margin-right:8px}.loading-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2)}.loading-spinner{display:flex;flex-direction:column;align-items:center;gap:1rem;color:#fff}.loading-spinner .spinner{width:40px;height:40px;border:4px solid rgba(255,255,255,.3);border-top:4px solid white;border-radius:50%;animation:spin 1s linear infinite}.loading-spinner p{font-size:1.1rem;font-weight:500;margin:0}.section-header-content{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;flex-wrap:wrap}.section-actions{display:flex;gap:.75rem;align-items:center}.edit-button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#10b981,#059669);color:#fff;box-shadow:0 2px 8px #10b9814d}.edit-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #10b98166}.edit-button.cancel{background:linear-gradient(135deg,#ef4444,#dc2626);box-shadow:0 2px 8px #ef44444d}.edit-button.cancel:hover:not(:disabled){box-shadow:0 4px 12px #ef444466}.edit-button:disabled{opacity:.6;cursor:not-allowed}.regenerate-button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#f59e0b,#d97706);color:#fff;box-shadow:0 2px 8px #f59e0b4d;display:flex;align-items:center;gap:.5rem}.regenerate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #f59e0b66}.regenerate-button:disabled{opacity:.6;cursor:not-allowed}.regenerate-button .spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.generate-button{padding:.6rem 1.2rem;border:none;border-radius:8px;font-size:.95rem;font-weight:600;cursor:pointer;transition:all .3s ease;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 2px 8px #667eea4d;display:flex;align-items:center;gap:.5rem}.generate-button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 4px 12px #667eea66}.generate-button:disabled{opacity:.6;cursor:not-allowed}.generate-button .spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top:2px solid white;border-radius:50%;animation:spin 1s linear infinite}.field-item.editing{border-left:3px solid #f59e0b;background:#ffffff0d}.field-value-input{flex:1;padding:.5rem .75rem;border:2px solid #667eea;border-radius:6px;background:#fff;color:#1f2937;font-size:.9rem;font-family:inherit;transition:all .3s ease}.field-value-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea33}.field-value-input::placeholder{color:#9ca3af}@media (max-width: 768px){.section-header-content{flex-direction:column}.section-actions{width:100%;flex-direction:column}.edit-button,.regenerate-button,.generate-button{width:100%;justify-content:center}}
