.app{position:relative;z-index:1;width:100%;min-height:100vh;margin:0;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#333;background-color:#f5f5f5;overflow:hidden}.app:before,.app:after{display:none!important;content:none!important;visibility:hidden!important}.app-header{text-align:center;margin-bottom:30px;padding:20px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:12px}.app-header h1{margin:0 0 10px;font-size:28px;font-weight:600}.app-header p{margin:0;font-size:16px;opacity:.9}.mode-section{background:#f8f9fa;border-radius:12px;padding:24px;margin-bottom:24px;border:1px solid #e9ecef}.mode-section h2{margin:0 0 16px;color:#333;font-size:20px}.mode-buttons{display:flex;gap:12px;margin-bottom:24px}.mode-button{padding:12px 24px;border-radius:8px;border:none;font-weight:500;cursor:pointer;transition:all .2s ease;background:#e9ecef;color:#333}.mode-button.active{background:#007bff;color:#fff}.mode-button:hover:not(.active){background:#dee2e6}.drop-zone{border:2px dashed #ccc;border-radius:8px;padding:40px;text-align:center;margin-bottom:20px;background:#fafafa;transition:all .2s ease}.drop-zone.drag-over{border-color:#007bff;background:#f0f8ff}.drop-zone p{margin:0 0 10px;color:#666}.drop-zone input[type=file]{margin:10px 0}.selected-file{margin:10px 0 0!important;color:#007bff!important;font-weight:500}.diagnosis-section{margin-bottom:20px}.diagnosis-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.diagnosis-input{position:relative}.diagnosis-field{width:100%;padding:12px;border:1px solid #ccc;border-radius:6px;font-size:14px;transition:border-color .2s ease}.diagnosis-field:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.diagnosis-dropdown{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid #ccc;border-top:none;border-radius:0 0 6px 6px;max-height:200px;overflow-y:auto;z-index:1000;box-shadow:0 4px 6px #0000001a}.diagnosis-option{padding:12px;cursor:pointer;border-bottom:1px solid #eee;font-size:14px;transition:background-color .2s ease}.diagnosis-option:hover{background:#f0f8ff}.diagnosis-option:last-child{border-bottom:none}.diagnosis-overlay{position:fixed;top:0;left:0;right:0;bottom:0;z-index:999}.csv-section{margin-bottom:20px}.csv-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.csv-section input[type=file]{padding:8px;border:1px solid #ccc;border-radius:4px}.csv-loaded{margin-top:8px!important;color:#28a745!important;font-size:14px}.batch-files{margin-bottom:20px}.batch-files h4{color:#333;margin-bottom:12px}.files-list{max-height:400px;overflow-y:auto;border:1px solid #ddd;border-radius:8px;padding:12px}.file-item{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding:12px;background:#f8f9fa;border-radius:6px}.file-thumbnail{width:60px;height:60px;object-fit:cover;border-radius:4px;border:1px solid #ddd}.file-name{min-width:200px;font-size:14px;color:#333;font-weight:500}.file-diagnosis{flex:1}.status-indicator{width:20px;height:20px;border-radius:50%;flex-shrink:0}.status-indicator.ready{background:#28a745}.status-indicator.pending{background:#dc3545}.analyze-button{padding:12px 24px;background:#28a745;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:16px;font-weight:500;transition:background-color .2s ease}.analyze-button:hover:not(:disabled){background:#218838}.analyze-button:disabled{background:#ccc;cursor:not-allowed}.download-button{padding:12px 24px;background:#007bff;color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:background-color .2s ease}.download-button:hover{background:#0056b3}.progress-section{background:#fff;border-radius:8px;padding:20px;margin-bottom:20px;border:1px solid #e9ecef}.progress-section h3{margin:0 0 16px;color:#333}.progress-bar{width:100%;background:#f0f0f0;border-radius:8px;height:16px;overflow:hidden}.progress-fill{background:#007bff;height:100%;border-radius:8px;transition:width .3s ease}.progress-section p{margin:8px 0 0;font-size:14px;color:#666}.results-section{background:#fff;border-radius:12px;padding:24px;border:1px solid #e9ecef}.results-section h2{margin:0 0 20px;color:#333;font-size:24px}.canvas-container{margin-bottom:24px}.annotated-canvas{width:100%;height:auto;border:1px solid #ddd;border-radius:6px;background:#fff}.report-section{margin-bottom:24px}.report-section h3{color:#333;margin-bottom:12px;font-size:18px}.report-content{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:16px;font-family:Courier New,monospace;font-size:13px;line-height:1.4;white-space:pre-wrap;max-height:400px;overflow-y:auto}.features-section{margin-bottom:24px}.features-section h3{color:#333;margin-bottom:12px;font-size:18px}.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px}.feature-card{background:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:16px}.feature-name{font-weight:600;color:#333;margin-bottom:8px;font-size:14px}.feature-description{font-size:13px;color:#666;margin-bottom:8px;line-height:1.4}.feature-details{font-size:12px;color:#888}.feature-details div{margin-bottom:2px}.batch-actions{margin-bottom:24px}.batch-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:24px}.batch-result-card{border:1px solid #ddd;border-radius:8px;padding:20px;background:#f8f9fa}.batch-result-card h4{margin:0 0 16px;color:#333;font-size:16px}.batch-result-image{width:100%;height:200px;object-fit:contain;border-radius:6px;margin-bottom:16px;border:1px solid #ddd;background:#fff}.batch-result-info{margin-bottom:16px}.batch-result-info p{margin:4px 0;font-size:14px;color:#666}.batch-report{margin-bottom:16px}.batch-report summary{cursor:pointer;font-weight:500;color:#333;margin-bottom:8px}.batch-report-content{margin-top:8px;background:#fff;border:1px solid #ddd;border-radius:4px;padding:12px;font-size:12px;font-family:Courier New,monospace;max-height:250px;overflow-y:auto;white-space:pre-wrap;line-height:1.3}.batch-features{font-size:12px;color:#666}.batch-feature{margin-left:10px;margin-top:2px}@media (max-width: 768px){.app{padding:12px}.mode-buttons{flex-direction:column}.file-item{flex-direction:column;align-items:flex-start}.features-grid,.batch-results-grid{grid-template-columns:1fr}}.batch-mode h3{color:#333;margin-bottom:16px;font-size:18px}*{margin:0;padding:0;box-sizing:border-box}html,body{height:100%;width:100%;margin:0;padding:0;background-color:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.6;color:#333}#root{width:100%;min-height:100vh;margin:0;padding:0}
