.app{min-height:100vh;display:flex;justify-content:center;align-items:flex-start;padding:40px 20px}.container{background:#fff;border-radius:16px;box-shadow:0 20px 60px #0000004d;padding:40px;max-width:900px;width:100%}h1{color:#333;font-size:2.5rem;margin-bottom:10px;text-align:center}.subtitle{color:#666;text-align:center;margin-bottom:40px;font-size:1.1rem}.tabs{display:flex;gap:8px;margin-bottom:30px;border-bottom:2px solid #e9ecef}.tab{padding:12px 24px;background:transparent;border:none;border-bottom:3px solid transparent;color:#666;font-size:1rem;font-weight:500;cursor:pointer;transition:all .3s ease;margin-bottom:-2px}.tab:hover{color:#667eea;background:#f8f9fa}.tab.active{color:#667eea;border-bottom-color:#667eea;font-weight:600}.log-download-btn{margin-left:auto;font-size:.9rem;padding:8px 16px;background:#f8f9fa;border:1px solid #dee2e6}.log-download-btn:hover{background:#e9ecef;border-color:#adb5bd}.tab-content{animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.section-description{color:#666;font-size:.95rem;margin-bottom:24px;line-height:1.6}.warning-message{background:#fff3cd;color:#856404;padding:16px;border-radius:8px;margin-bottom:24px;border:1px solid #ffeaa7}.upload-section{margin-bottom:40px}.upload-section h2{color:#667eea;font-size:1.5rem;margin-bottom:20px;border-bottom:2px solid #667eea;padding-bottom:10px}.upload-card{background:#f8f9fa;border-radius:12px;padding:24px;margin-bottom:20px;border:2px solid #e9ecef;transition:all .3s ease}.upload-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a}.upload-card h3{color:#333;font-size:1.2rem;margin-bottom:16px}.hint{color:#666;font-size:.9rem;margin-bottom:12px;font-style:italic}.upload-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.upload-controls input[type=file]{padding:8px;border:2px solid #ddd;border-radius:8px;background:#fff;cursor:pointer;flex:1;min-width:200px}.upload-btn,.enrich-btn,.download-btn{padding:12px 24px;border:none;border-radius:8px;font-size:1rem;font-weight:600;cursor:pointer;transition:all .3s ease}.upload-btn{background:#667eea;color:#fff}.upload-btn:hover:not(:disabled){background:#5568d3;transform:translateY(-2px);box-shadow:0 4px 12px #667eea4d}.enrich-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-size:1.1rem;padding:14px 32px}.enrich-btn:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #667eea66}.download-btn{background:#28a745;color:#fff;margin-top:16px}.download-btn:hover{background:#218838;transform:translateY(-2px);box-shadow:0 4px 12px #28a7454d}button:disabled{opacity:.6;cursor:not-allowed;transform:none!important}.status-badge{display:inline-block;margin-bottom:12px;padding:6px 12px;border-radius:6px;font-size:.9rem;font-weight:500}.status-badge.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.error-message{background:#f8d7da;color:#721c24;padding:16px;border-radius:8px;margin-bottom:24px;border:1px solid #f5c6cb}.result-card{background:linear-gradient(135deg,#d4edda,#c3e6cb);border-radius:12px;padding:24px;margin-top:20px;border:2px solid #28a745}.result-card h3{color:#155724;margin-bottom:12px}.result-card p{color:#155724;margin-bottom:16px}.progress-container{margin-top:20px;padding:16px;background:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.progress-info{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px;font-size:.9rem;color:#333}.progress-percentage{font-weight:600;color:#667eea}.progress-bar{width:100%;height:24px;background:#e9ecef;border-radius:12px;overflow:hidden;margin-bottom:8px}.progress-fill{height:100%;background:linear-gradient(90deg,#667eea,#764ba2);transition:width .3s ease;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.75rem;font-weight:600}.progress-detail{font-size:.85rem;color:#666;font-style:italic;margin-top:4px}@media (max-width: 768px){.container{padding:24px}h1{font-size:2rem}.upload-controls{flex-direction:column}.upload-controls input[type=file]{width:100%}}.usage-stats-container{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-top:24px}.usage-card{background:#f8f9fa;border-radius:12px;padding:24px;border:2px solid #e9ecef;transition:all .3s ease}.usage-card:hover{border-color:#667eea;box-shadow:0 4px 12px #667eea1a;transform:translateY(-2px)}.usage-card.highlight{background:linear-gradient(135deg,#667eea,#764ba2);border-color:#667eea;color:#fff}.usage-card.highlight h3{color:#fff}.usage-card.highlight .metric-label{color:#ffffffe6}.usage-card.highlight .metric-value{color:#fff}.usage-card h3{color:#333;font-size:1.3rem;margin-bottom:20px;font-weight:600;text-align:center}.usage-metric{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #e9ecef}.usage-metric:last-child{border-bottom:none}.usage-card.highlight .usage-metric{border-bottom-color:#fff3}.metric-label{color:#666;font-size:.95rem;font-weight:500}.metric-value{color:#333;font-size:1.1rem;font-weight:600}.usage-metric.cost .metric-value{color:#28a745;font-size:1.3rem;font-weight:700}.usage-card.highlight .usage-metric.cost .metric-value{color:gold}.info-message{background:#e7f3ff;color:#004085;padding:20px;border-radius:8px;margin-top:20px;border:1px solid #b3d9ff;text-align:center}.loading-message{text-align:center;padding:40px;color:#666;font-size:1.1rem}.prompts-list{display:flex;flex-direction:column;gap:16px;margin-top:20px}.prompt-item{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:16px;cursor:pointer;transition:all .2s ease}.prompt-item:hover{background:#e9ecef;border-color:#007bff;box-shadow:0 2px 8px #007bff1a}.prompt-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #dee2e6}.prompt-timestamp{color:#666;font-size:.9rem}.prompt-product{color:#333;font-weight:600;font-size:.95rem}.prompt-excerpt{margin:8px 0;color:#555;font-size:.9rem;line-height:1.5}.prompt-excerpt strong{color:#333;margin-right:8px}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;justify-content:center;align-items:center;z-index:1000;padding:20px}.modal-content{background:#fff;border-radius:12px;max-width:900px;width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d;display:flex;flex-direction:column}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid #dee2e6;position:sticky;top:0;background:#fff;border-radius:12px 12px 0 0}.modal-header h3{margin:0;color:#333;font-size:1.5rem}.modal-close{background:none;border:none;font-size:2rem;color:#666;cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s ease}.modal-close:hover{background:#f0f0f0;color:#333}.modal-body{padding:24px}.prompt-detail-section{margin-bottom:24px}.prompt-detail-section h4{color:#333;font-size:1.1rem;margin-bottom:8px;font-weight:600}.prompt-detail-section p{color:#666;margin:0;line-height:1.6}.prompt-full-text{background:#f8f9fa;border:1px solid #dee2e6;border-radius:6px;padding:16px;margin:0;overflow-x:auto;white-space:pre-wrap;word-wrap:break-word;font-family:Courier New,monospace;font-size:.9rem;line-height:1.6;color:#333;max-height:400px;overflow-y:auto}*{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;padding:20px}code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}
