:root{font-family:Inter,system-ui,sans-serif;color:#0f172a;background:radial-gradient(circle at top,#f8fafc,#eef2ff 45%,#e0f2fe)}body{margin:0;min-height:100vh}*{box-sizing:border-box}.page{max-width:960px;margin:0 auto;padding:48px 24px 80px}.hero{margin-bottom:32px}.hero h1{font-size:2.4rem;margin:0 0 12px}.hero p{margin:0;color:#475569;font-size:1.05rem;line-height:1.5}.card{background:#fff;border-radius:18px;padding:24px;box-shadow:0 24px 60px #0f172a1a;border:1px solid #e2e8f0;margin-bottom:24px}.upload-card{padding:28px 28px 32px;border:1px solid #dbeafe;background:linear-gradient(135deg,#fff,#f8fafc 55%,#eef2ff)}.form-grid{display:grid;gap:20px}label{font-weight:600;color:#1e293b;display:inline-block;margin-bottom:8px}input[type=file]{width:100%;padding:14px 16px;border:1px solid #cbd5f5;border-radius:12px;background:#f8fafc;color:#0f172a;font-weight:500}input[type=file]::file-selector-button{margin-right:12px;padding:10px 16px;border-radius:999px;border:1px solid #bfdbfe;background:#eff6ff;color:#1d4ed8;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease}input[type=file]::file-selector-button:hover{transform:translateY(-1px);box-shadow:0 8px 20px #2563eb2e}button{padding:12px 18px;border:none;border-radius:999px;background:#2563eb;color:#fff;font-weight:600;cursor:pointer;transition:transform .15s ease,box-shadow .2s ease,background .2s ease}button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 8px 20px #2563eb40}button:disabled{background:#94a3b8;cursor:not-allowed}button.secondary{background:#64748b}button.secondary:hover:not(:disabled){background:#475569;box-shadow:0 8px 20px #47556940}.button-group{display:flex;gap:12px;flex-wrap:wrap}.output-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.output-header h3{margin:0}.download-btn{background:#059669;padding:10px 20px;font-size:.9rem}.download-btn:hover:not(:disabled){background:#047857;box-shadow:0 8px 20px #0596694d}input[type=file]:disabled{opacity:.6;cursor:not-allowed}input[type=file]:disabled::file-selector-button{cursor:not-allowed;opacity:.7}.progress-wrap{display:grid;gap:8px}.progress-bar{height:10px;width:100%;background:#e2e8f0;border-radius:999px;overflow:hidden}.progress-value{height:100%;background:#22c55e;width:0%;transition:width .2s ease}.progress-value.progress-animated{background:linear-gradient(90deg,#22c55e,#4ade80,#22c55e,#4ade80,#22c55e);background-size:200% 100%;animation:shimmer 1.5s ease-in-out infinite}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.output{display:flex;flex-direction:column;gap:16px;min-height:200px}.output-empty{background:linear-gradient(135deg,#f8fafc,#eef2ff 60%,#e0f2fe);color:#64748b;text-align:center;display:grid;place-items:center;font-weight:600;letter-spacing:.01em;border-radius:14px;padding:40px 24px;border:1px solid rgba(59,130,246,.2)}.output-section{background:linear-gradient(135deg,#0f172a,#1e293b 55%,#1f2a44);border:1px solid rgba(148,163,184,.3);border-radius:12px;padding:18px 20px;box-shadow:inset 0 1px #ffffff14}.output-section.success{background:linear-gradient(135deg,#064e3b,#065f46 55%,#047857);border-color:#10b9814d}.output-section.error{background:linear-gradient(135deg,#4c0519,#7f1d1d 55%,#991b1b);border-color:#dc26264d}.output-section-title{font-weight:700;color:#f0fdf4;font-size:.95rem;margin:0 0 12px;text-transform:uppercase;letter-spacing:.5px;display:flex;align-items:center;gap:8px}.output-section.error .output-section-title{color:#fee2e2}.output-content{font-family:Inter,system-ui,sans-serif;font-size:.9rem;line-height:1.6;color:#e2e8f0;white-space:pre-wrap}.output-section.error .output-content{color:#fecaca}.output-stat{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.stat-item{background:#ffffff0d;border:1px solid rgba(255,255,255,.1);border-radius:8px;padding:12px 14px;font-size:.85rem}.stat-label{color:#cbd5e1;font-size:.8rem;text-transform:uppercase;letter-spacing:.3px;margin-bottom:4px}.stat-value{color:#4ade80;font-weight:700;font-size:1.2rem}.output-findings{background:#ffffff14;border-left:3px solid #3b82f6;border-radius:6px;padding:12px 14px;margin:8px 0;font-size:.9rem;color:#e2e8f0}.output-findings.cuec{border-left-color:#8b5cf6}.output-findings li{margin:6px 0 6px 16px;color:#e2e8f0}.output-legend{background:#ffffff14;border-radius:8px;padding:12px 14px;font-size:.85rem;display:grid;gap:6px;color:#e2e8f0}.legend-item{display:flex;align-items:center;gap:8px;color:#e2e8f0}.legend-color{width:16px;height:16px;border-radius:4px;flex-shrink:0}.legend-color.high{background:#fff0;border:2px solid #4ade80}.legend-color.medium{background:#fef08a}.legend-color.low{background:#fecaca}.status{color:#0f172a;font-weight:500}.error{color:#b91c1c;font-weight:600}.feedback-card{border:2px solid #3b82f6;background:linear-gradient(135deg,#eff6ff,#dbeafe);animation:slideIn .3s ease-out}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.feedback-card h3{margin:0 0 8px;color:#1e40af}.feedback-card>p{margin:0 0 20px;color:#475569}.feedback-rating{margin-bottom:20px}.feedback-rating label{display:block;margin-bottom:8px;color:#1e293b}.stars{display:flex;gap:8px}.star{background:none;border:none;font-size:2rem;color:#cbd5e1;cursor:pointer;padding:0;transition:color .2s ease,transform .2s ease}.star.filled,.star.hovered{color:#fbbf24;transform:scale(1.1)}.feedback-issues{margin-bottom:20px}.feedback-issues>label{display:block;margin-bottom:12px;color:#1e293b}.issue-checkboxes{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:10px}.checkbox-label{display:flex;align-items:center;gap:8px;font-weight:500;color:#475569;cursor:pointer;padding:8px 12px;border-radius:8px;background:#fff;border:1px solid #e2e8f0;transition:background .2s ease,border-color .2s ease}.checkbox-label:hover{background:#f8fafc;border-color:#3b82f6}.checkbox-label input[type=checkbox]{cursor:pointer;width:18px;height:18px;accent-color:#3b82f6}.feedback-text{margin-bottom:20px}.feedback-text label{display:block;margin-bottom:8px;color:#1e293b}.feedback-text textarea{width:100%;padding:12px 16px;border:1px solid #cbd5e1;border-radius:12px;font-family:Inter,system-ui,sans-serif;font-size:.95rem;resize:vertical;background:#fff;color:#0f172a;transition:border-color .2s ease}.feedback-text textarea:focus{outline:none;border-color:#3b82f6;box-shadow:0 0 0 3px #3b82f61a}.feedback-actions{display:flex;gap:12px;flex-wrap:wrap}.submit-feedback{background:#3b82f6}.submit-feedback:hover:not(:disabled){background:#2563eb;box-shadow:0 8px 20px #3b82f64d}.feedback-success{border:2px solid #10b981;background:linear-gradient(135deg,#ecfdf5,#d1fae5);text-align:center;animation:slideIn .3s ease-out}.feedback-success h3{margin:0 0 8px;color:#047857;font-size:1.5rem}.feedback-success p{margin:0;color:#065f46}
