.layout{display:flex;min-height:100vh;background-color:#f9fafb}.sidebar{width:240px;background-color:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;position:fixed;height:100vh;overflow-y:auto}.sidebar-header{padding:1.5rem 1.25rem;border-bottom:1px solid #e5e7eb}.sidebar-logo{font-size:1.25rem;font-weight:600;color:#111827;margin:0}.sidebar-nav{flex:1;padding:1rem .5rem;background-color:#008244}.nav-item{display:flex;align-items:center;width:100%;padding:.625rem .75rem;margin-bottom:.25rem;background:none;border:none;border-radius:4px;cursor:pointer;transition:background-color .15s ease;text-align:left;font-family:inherit}.nav-item:hover{background-color:#f3f4f6}.nav-item.active{background-color:#eff6ff;color:#2563eb}.nav-icon{font-size:1rem;margin-right:.75rem;color:#6b7280}.nav-item.active .nav-icon{color:#2563eb}.nav-label{font-size:.875rem;font-weight:500;color:#374151}.nav-item.active .nav-label{color:#2563eb;font-weight:600}.sidebar-footer{padding:1rem;border-top:1px solid #e5e7eb}.user-info{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem}.user-avatar{width:32px;height:32px;border-radius:50%;background-color:#e5e7eb;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.875rem;color:#6b7280}.user-details{flex:1;overflow:hidden}.user-name{font-size:.8125rem;font-weight:500;color:#111827;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.user-email{font-size:.6875rem;color:#6b7280;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-btn{width:100%;padding:.5rem;background-color:#fff;border:1px solid #e5e7eb;border-radius:4px;font-size:.8125rem;font-weight:500;color:#6b7280;cursor:pointer;transition:all .15s ease;font-family:inherit}.logout-btn:hover{background-color:#f9fafb;border-color:#d1d5db}.main-content{flex:1;margin-left:240px;padding:2rem;min-height:100vh}@media (max-width: 768px){.sidebar{display:none}.main-content{margin-left:0}}.input-group{margin-bottom:1rem;width:100%}.input-label{display:block;margin-bottom:.375rem;font-size:.875rem;font-weight:500;color:#374151}.required{color:#ef4444;margin-left:.125rem}.input{width:100%;padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:4px;font-size:.875rem;font-family:inherit;transition:border-color .15s ease;box-sizing:border-box}.input:focus{outline:none;border-color:#2563eb}.input-error{border-color:#ef4444}.input-error-message{display:block;margin-top:.25rem;font-size:.75rem;color:#ef4444}.btn{padding:.5rem 1rem;border-radius:4px;border:1px solid transparent;font-size:.875rem;font-weight:500;cursor:pointer;transition:all .15s ease;font-family:inherit}.btn-primary{background-color:#2563eb;color:#fff;border-color:#2563eb}.btn-primary:hover:not(:disabled){background-color:#1d4ed8}.btn-secondary{background-color:#fff;color:#374151;border-color:#d1d5db}.btn-secondary:hover:not(:disabled){background-color:#f9fafb;border-color:#9ca3af}.btn-ghost{background-color:transparent;color:#6b7280;border-color:transparent}.btn-ghost:hover:not(:disabled){background-color:#f3f4f6}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-full-width{width:100%}.auth-container{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg, #f8fafc);padding:24px}.auth-split{display:flex;width:100%;max-width:920px;min-height:560px;border-radius:20px;overflow:hidden;box-shadow:0 20px 60px #0000001a}.auth-about{flex:1;background:linear-gradient(145deg,#1e3a5f,#2563eb);display:flex;align-items:center;justify-content:center;padding:48px 40px;position:relative;overflow:hidden}.auth-about:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(circle at 20% 20%,rgba(255,255,255,.07) 0%,transparent 50%),radial-gradient(circle at 80% 80%,rgba(255,255,255,.05) 0%,transparent 50%);pointer-events:none}.auth-about-inner{position:relative;z-index:1;color:#fff}.auth-about-badge{display:inline-block;font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#fff9;border:1px solid rgba(255,255,255,.2);border-radius:20px;padding:4px 12px;margin-bottom:20px}.auth-brand{font-size:2.6rem;font-weight:800;color:#fff;margin:0 0 10px;letter-spacing:-.03em;line-height:1.1}.auth-tagline{font-size:1rem;color:#ffffffbf;margin:0 0 36px;line-height:1.5;max-width:300px}.auth-features{display:flex;flex-direction:column;gap:22px}.auth-feature{display:flex;align-items:flex-start;gap:14px}.auth-feature-icon{font-size:1.2rem;flex-shrink:0;margin-top:2px;width:36px;height:36px;background:#ffffff1f;border-radius:10px;display:flex;align-items:center;justify-content:center}.auth-feature strong{display:block;font-size:.875rem;font-weight:700;color:#fff;margin-bottom:3px}.auth-feature p{font-size:.8rem;color:#fff9;line-height:1.5;margin:0}.auth-box{width:380px;flex-shrink:0;background:var(--surface, #ffffff);display:flex;flex-direction:column;justify-content:center;padding:48px 40px}.auth-header{margin-bottom:28px}.auth-title{font-size:1.5rem;font-weight:700;color:var(--text-primary, #1e293b);margin:0 0 6px}.auth-subtitle{font-size:.875rem;color:var(--text-muted, #94a3b8);margin:0}@media (max-width: 700px){.auth-split{flex-direction:column;max-width:420px}.auth-about{padding:32px 28px}.auth-brand{font-size:2rem}.auth-features{gap:16px}.auth-box{width:100%;padding:32px 28px}}.auth-link{font-size:.875rem;color:var(--text-muted, #617fa8);text-align:center;margin-top:24px}.stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1.25rem}.stat-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.stat-card-title{font-size:.875rem;color:#6b7280;font-weight:500}.stat-card-icon{font-size:1.25rem;color:#9ca3af}.stat-card-value{font-size:1.875rem;font-weight:600;color:#111827;margin-bottom:.25rem}.stat-card-subtitle{font-size:.75rem;color:#6b7280}.dashboard{max-width:1200px}.page-header{margin-bottom:2rem}.page-title{font-size:1.875rem;font-weight:600;color:#111827;margin:0 0 .25rem}.page-subtitle{font-size:.875rem;color:#6b7280;margin:0}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem;margin-bottom:2rem}.recent-activity{background:#fff;border:1px solid #e5e7eb;border-radius:6px;overflow:hidden}.section-header{padding:1.25rem;border-bottom:1px solid #e5e7eb}.section-title{font-size:1rem;font-weight:600;color:#111827;margin:0}.activity-list{padding:0}.activity-item{display:flex;align-items:center;padding:1rem 1.25rem;border-bottom:1px solid #f3f4f6}.activity-item:last-child{border-bottom:none}.activity-item:hover{background-color:#fafafa}.activity-icon{width:36px;height:36px;border-radius:6px;background-color:#f3f4f6;display:flex;align-items:center;justify-content:center;font-size:1.125rem;margin-right:1rem}.activity-details{flex:1}.activity-name{font-size:.875rem;font-weight:500;color:#111827;margin-bottom:.25rem}.activity-meta{font-size:.75rem;color:#6b7280}.activity-badge{padding:.25rem .625rem;border-radius:12px;font-size:.6875rem;font-weight:500;text-transform:capitalize}.activity-badge.conversion{background-color:#dbeafe;color:#1e40af}.activity-badge.cleaning{background-color:#d1fae5;color:#065f46}.file-upload-container{width:100%}.file-upload-dropzone{border:2px dashed #d1d5db;border-radius:6px;padding:2rem;text-align:center;transition:all .2s ease;background-color:#fafafa}.file-upload-dropzone.active{border-color:#2563eb;background-color:#eff6ff}.file-upload-input{display:none}.file-upload-label{cursor:pointer;display:block}.upload-icon{font-size:2rem;color:#9ca3af;margin-bottom:.5rem}.upload-text{font-size:.875rem;color:#374151;margin:.5rem 0;font-weight:500}.upload-hint{font-size:.75rem;color:#6b7280;margin:0}.file-icon{font-size:2.5rem;margin-bottom:.5rem}.file-name{font-size:.875rem;color:#374151;font-weight:500;margin:.5rem 0}.file-size{font-size:.75rem;color:#6b7280;margin:0}.convert-page{max-width:800px}.convert-container{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:2rem}.convert-section{margin-bottom:2rem}.convert-section:last-child{margin-bottom:0}.section-label{font-size:.875rem;font-weight:600;color:#374151;margin:0 0 1rem;text-transform:uppercase;letter-spacing:.05em}.conversion-options{display:flex;flex-direction:column;gap:.75rem}.conversion-option{display:flex;align-items:center;padding:.75rem 1rem;border:1px solid #e5e7eb;border-radius:4px;cursor:pointer;transition:all .15s ease}.conversion-option:hover{border-color:#d1d5db;background-color:#fafafa}.conversion-option input[type=radio]{margin:0;margin-right:.75rem;cursor:pointer}.conversion-label{font-size:.875rem;color:#374151;font-weight:500}.convert-actions{display:flex;gap:.75rem;flex-wrap:wrap}.success-message{display:flex;gap:.75rem;padding:1rem;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:6px;margin-top:1.5rem}.success-icon{width:24px;height:24px;background-color:#22c55e;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.875rem;font-weight:700;flex-shrink:0}.success-title{font-size:.875rem;font-weight:600;color:#166534;margin-bottom:.25rem}.success-text{font-size:.8125rem;color:#15803d}.source-format{font-size:.875rem;color:#6b7280;margin-bottom:1rem;padding:.75rem 1rem;background-color:#f9fafb;border-left:3px solid #3b82f6;border-radius:4px}.placeholder-text{font-size:.875rem;color:#9ca3af;font-style:italic;padding:1rem;text-align:center;background-color:#f9fafb;border:1px dashed #e5e7eb;border-radius:4px}.file-info{display:flex;align-items:center;gap:6px;margin-top:10px;padding:8px 12px;background:var(--surface-secondary, #f5f5f5);border-radius:8px;font-size:.85rem;color:var(--text-secondary, #555);flex-wrap:wrap}.file-info-icon{font-size:1rem}.file-info-name{font-weight:600;color:var(--text-primary, #222);max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.file-info-sep{color:var(--text-muted, #aaa)}.file-info-size{color:var(--text-secondary, #666)}.file-info-size--warn{color:#d97706;font-weight:500}.file-info-format{background:var(--accent, #2563eb);color:#fff;font-size:.7rem;font-weight:700;padding:2px 7px;border-radius:4px;letter-spacing:.05em}.preview-wrapper{margin-top:4px}.preview-table-scroll{overflow-x:auto;border:1px solid var(--border, #e2e8f0);border-radius:8px}.preview-table{width:100%;border-collapse:collapse;font-size:.82rem;white-space:nowrap}.preview-table thead{background:var(--surface-secondary, #f8fafc)}.preview-table th{padding:8px 14px;text-align:left;font-weight:600;color:var(--text-secondary, #475569);border-bottom:1px solid var(--border, #e2e8f0);font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}.preview-table td{padding:7px 14px;color:var(--text-primary, #1e293b);border-bottom:1px solid var(--border-light, #f1f5f9);max-width:200px;overflow:hidden;text-overflow:ellipsis}.preview-table tr:last-child td{border-bottom:none}.preview-table tbody tr:hover{background:var(--surface-hover, #f8fafc)}.preview-note{margin-top:6px;font-size:.75rem;color:var(--text-muted, #94a3b8);text-align:right}.progress-wrapper{display:flex;align-items:center;gap:10px;margin-top:14px}.progress-bar{flex:1;height:6px;background:var(--border, #e2e8f0);border-radius:999px;overflow:hidden}.progress-fill{height:100%;background:var(--accent, #2563eb);border-radius:999px;transition:width .2s ease}.progress-label{font-size:.78rem;font-weight:600;color:var(--text-secondary, #64748b);min-width:34px;text-align:right}.data-table-container{overflow-x:auto;border:1px solid #e5e7eb;border-radius:6px;background:#fff}.data-table{width:100%;border-collapse:collapse;font-size:.875rem}.data-table thead{background-color:#f9fafb;border-bottom:1px solid #e5e7eb}.data-table th{padding:.75rem 1rem;text-align:left;font-weight:600;color:#374151;font-size:.75rem;text-transform:uppercase;letter-spacing:.05em}.data-table tbody tr{border-bottom:1px solid #f3f4f6}.data-table tbody tr:last-child{border-bottom:none}.data-table tbody tr:hover{background-color:#fafafa}.data-table td{padding:.75rem 1rem;color:#111827}.empty-cell{color:#ef4444;font-style:italic}.clean-page{max-width:1200px}.clean-container{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:2rem}.upload-section{max-width:600px;margin:0 auto}.data-overview{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.overview-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.overview-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem}.data-preview{margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}.cleaning-actions{margin-top:2rem}.action-buttons{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1.5rem}.final-actions{padding-top:1.5rem;border-top:1px solid #e5e7eb}.diagnostic-panel{margin-top:20px}.diag-summary{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.diag-card{display:flex;flex-direction:column;align-items:center;padding:10px 16px;border-radius:10px;border:1px solid var(--border, #e2e8f0);background:var(--surface-secondary, #f8fafc);min-width:90px;flex:1}.diag-card--warn{border-color:#fbbf24;background:#fffbeb}.diag-card--ok{border-color:#6ee7b7;background:#f0fdf4}.diag-card-value{font-size:1.35rem;font-weight:700;color:var(--text-primary, #1e293b);line-height:1.2}.diag-card-label{font-size:.72rem;color:var(--text-muted, #94a3b8);text-transform:uppercase;letter-spacing:.04em;margin-top:3px;text-align:center}.diag-issues{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}.diag-issue{font-size:.8rem;padding:5px 10px;border-radius:6px;background:#fef3c7;color:#92400e;border:1px solid #fde68a}.diag-columns-wrapper{overflow-x:auto;border:1px solid var(--border, #e2e8f0);border-radius:10px}.diag-table{width:100%;border-collapse:collapse;font-size:.83rem}.diag-table thead{background:var(--surface-secondary, #f8fafc)}.diag-table th{padding:9px 14px;text-align:left;font-weight:600;color:var(--text-secondary, #475569);border-bottom:1px solid var(--border, #e2e8f0);font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap}.diag-table td{padding:8px 14px;border-bottom:1px solid var(--border-light, #f1f5f9);color:var(--text-primary, #1e293b);vertical-align:middle}.diag-table tr:last-child td{border-bottom:none}.diag-row--warn{background:#fffdf0}.diag-col-name{font-weight:600;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.diag-pill{font-size:.7rem;font-weight:700;padding:2px 8px;border-radius:20px;letter-spacing:.03em;white-space:nowrap}.diag-missing-cell{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:.8rem;color:#ef4444}.diag-bar-track{width:60px;height:5px;background:#fee2e2;border-radius:99px;overflow:hidden;flex-shrink:0}.diag-bar-fill{height:100%;border-radius:99px;transition:width .4s ease}.diag-ok{color:#10b981;font-weight:600}.diag-warn-text{color:#f59e0b;font-weight:600}.diag-range{font-size:.78rem;color:var(--text-secondary, #64748b);white-space:nowrap}.clean-summary{margin-bottom:20px;padding:16px 20px;border:1px solid #d1fae5;border-radius:10px;background:#f0fdf4}.clean-summary-grid{display:flex;flex-direction:column;gap:10px;margin-top:10px}.clean-summary-item{display:flex;align-items:flex-start;gap:10px;font-size:.875rem;color:var(--text-primary, #1e293b)}.cs-icon{font-size:1.1rem;flex-shrink:0;margin-top:1px}.cs-sub{font-size:.78rem;color:var(--text-muted, #94a3b8);margin-left:4px}.simple-chart{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1.5rem}.chart-title{font-size:1rem;font-weight:600;color:#111827;margin:0 0 1.5rem}.chart-container{position:relative}.chart-bars{display:flex;align-items:flex-end;justify-content:space-between;height:200px;gap:.5rem}.chart-bar-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;height:100%}.chart-bar-container{width:100%;height:180px;display:flex;align-items:flex-end;justify-content:center}.chart-bar{width:100%;max-width:48px;background:linear-gradient(to top,#2563eb,#60a5fa);border-radius:4px 4px 0 0;position:relative;display:flex;align-items:flex-start;justify-content:center;padding-top:.25rem;transition:opacity .2s ease;min-height:20px}.chart-bar:hover{opacity:.8}.bar-value{font-size:.75rem;font-weight:600;color:#fff}.chart-label{margin-top:.5rem;font-size:.6875rem;color:#6b7280;text-align:center}.profile-page{max-width:1200px}.profile-grid{display:grid;grid-template-columns:320px 1fr;gap:1.5rem}.profile-info{display:flex;flex-direction:column;gap:1.5rem}.profile-card{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:2rem;text-align:center}.profile-avatar-large{width:80px;height:80px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:600;color:#fff;margin:0 auto 1rem}.profile-name{font-size:1.25rem;font-weight:600;color:#111827;margin:0 0 .25rem}.profile-email{font-size:.875rem;color:#6b7280;margin:0 0 1.5rem}.profile-meta{padding-top:1.5rem;border-top:1px solid #e5e7eb}.meta-item{display:flex;flex-direction:column;gap:.25rem}.meta-label{font-size:.75rem;color:#6b7280;text-transform:uppercase;letter-spacing:.05em}.meta-value{font-size:.875rem;font-weight:500;color:#111827}.stats-summary{display:flex;flex-direction:column;gap:1rem}.profile-activity{display:flex;flex-direction:column;gap:1.5rem}.history-section{background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:1.5rem}.history-list{display:flex;flex-direction:column;gap:.75rem}.history-item{display:flex;align-items:center;padding:.75rem;background-color:#fafafa;border-radius:4px}.history-icon{width:32px;height:32px;border-radius:4px;background-color:#fff;display:flex;align-items:center;justify-content:center;font-size:1rem;margin-right:.75rem;border:1px solid #e5e7eb}.history-details{flex:1}.history-name{font-size:.8125rem;font-weight:500;color:#111827;margin-bottom:.125rem}.history-meta{font-size:.75rem;color:#6b7280}.history-date{font-size:.75rem;color:#9ca3af}@media (max-width: 1024px){.profile-grid{grid-template-columns:1fr}.profile-info{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem}.profile-card{grid-column:1 / -1}}@media (max-width: 640px){.profile-info{grid-template-columns:1fr}.stats-summary{display:grid;grid-template-columns:1fr 1fr;gap:1rem}}: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;color:#111827;background-color:#f9fafb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{margin:0;padding:0;box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}#root{min-height:100vh}a{color:inherit;text-decoration:none}button{font-family:inherit}
