:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light;color:#213547;background-color:#fff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}html,body{margin:0;min-width:320px;min-height:100vh;width:100%}#root{width:100%;min-height:100vh}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}a:hover{color:#747bff}.chat-panel{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff;border-left:1px solid #e2e8f0}.chat-panel-header{padding:1.25rem 1.5rem;border-bottom:1px solid #e2e8f0;flex-shrink:0}.chat-panel-header h3{margin:0;font-size:1.125rem;font-weight:600;color:#1e293b}.chat-panel-subtitle{font-size:.8125rem;color:#64748b;display:block;margin-top:.25rem}.chat-messages{flex:1;overflow-y:auto;padding:1rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.chat-empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;color:#64748b;padding:2rem}.chat-empty-state p{margin:.25rem 0}.chat-empty-hint{font-size:.875rem;color:#94a3b8}.chat-message{display:flex;flex-direction:column;gap:.5rem}.chat-message-user{align-items:flex-end}.chat-message-assistant{align-items:flex-start}.chat-message-role{font-size:.75rem;font-weight:600;color:#64748b;text-transform:uppercase}.chat-message-content{max-width:100%;padding:.75rem 1rem;border-radius:8px;font-size:.9375rem;line-height:1.5}.chat-message-user .chat-message-content{background:#007bff;color:#fff}.chat-message-assistant .chat-message-content{background:#f1f5f9;color:#334155}.chat-markdown{margin:0}.chat-markdown p{margin:0 0 .5rem}.chat-markdown p:last-child{margin-bottom:0}.chat-markdown ul,.chat-markdown ol{margin:.5rem 0;padding-left:1.5rem}.chat-markdown h1,.chat-markdown h2,.chat-markdown h3{margin:1rem 0 .5rem;font-size:1rem}.chat-markdown h1:first-child,.chat-markdown h2:first-child,.chat-markdown h3:first-child{margin-top:0}.chat-inline-code{background:#0000000f;padding:.15em .4em;border-radius:4px;font-family:ui-monospace,Cascadia Code,Source Code Pro,monospace;font-size:.9em}.chat-message-assistant .chat-inline-code{background:#00000014}.chat-streaming-indicator{display:flex;gap:4px;padding:.5rem 0}.chat-streaming-indicator span{width:6px;height:6px;border-radius:50%;background:#94a3b8;animation:chat-bounce 1.4s ease-in-out infinite both}.chat-streaming-indicator span:nth-child(1){animation-delay:0s}.chat-streaming-indicator span:nth-child(2){animation-delay:.2s}.chat-streaming-indicator span:nth-child(3){animation-delay:.4s}@keyframes chat-bounce{0%,80%,to{transform:scale(.6);opacity:.5}40%{transform:scale(1);opacity:1}}.chat-input-form{padding:1rem 1.5rem;border-top:1px solid #e2e8f0;flex-shrink:0}.chat-input-wrap{display:flex;gap:.5rem;align-items:center}.chat-input{flex:1;padding:.625rem 1rem;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;font-family:inherit;transition:border-color .2s}.chat-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 2px #007bff26}.chat-input:disabled{background:#f8fafc;cursor:not-allowed}.chat-actions{display:flex;gap:.5rem}.chat-send-btn{padding:.625rem 1rem;background:#007bff;color:#fff;border:none;border-radius:8px;font-size:.9375rem;font-weight:500;cursor:pointer;transition:background-color .2s}.chat-send-btn:hover:not(:disabled){background:#0056b3}.chat-send-btn:disabled{background:#94a3b8;cursor:not-allowed}.chat-stop-btn{padding:.625rem 1rem;background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;border-radius:8px;font-size:.9375rem;cursor:pointer;transition:background-color .2s}.chat-stop-btn:hover{background:#e2e8f0}.sbom-card,.sbom-table-wrap{overflow-x:auto}.sbom-table{width:100%;border-collapse:collapse;font-size:.9rem}.sbom-table th,.sbom-table td{padding:.5rem .75rem;text-align:left;border-bottom:1px solid #e2e8f0}.sbom-table th{font-weight:600;color:#475569;background:#f8fafc}.sbom-table tr.sbom-outdated td{background:#fffbeb}.sbom-type{display:inline-block;padding:.2em .5em;border-radius:4px;font-size:.75rem;text-transform:capitalize}.sbom-type-dependency{background:#dbeafe;color:#1e40af}.sbom-type-devDependency{background:#e0e7ff;color:#3730a3}.sbom-type-peerDependency{background:#fce7f3;color:#9d174d}.problems-card{border-left-color:#f59e0b}.problems-intro{margin-bottom:1rem;color:#64748b;font-size:.9rem}.problems-list{display:flex;flex-direction:column;gap:1rem}.problem-card{padding:1rem;border-radius:8px;border:1px solid #e2e8f0;background:#f8fafc}.problem-severity-critical{border-left:4px solid #dc2626}.problem-severity-high{border-left:4px solid #ea580c}.problem-severity-medium{border-left:4px solid #ca8a04}.problem-severity-low{border-left:4px solid #16a34a}.problem-header{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem}.problem-header .problem-severity{text-transform:uppercase;font-size:.7rem;font-weight:700;padding:.2em .5em;border-radius:4px}.problem-header .problem-severity-critical{background:#fecaca;color:#991b1b}.problem-header .problem-severity-high{background:#fed7aa;color:#9a3412}.problem-header .problem-severity-medium{background:#fef08a;color:#854d0e}.problem-header .problem-severity-low{background:#bbf7d0;color:#166534}.problem-package code{background:#0000000f;padding:.15em .4em;border-radius:4px;font-size:.85em}.problem-title{margin:0 0 .5rem;font-size:1rem;color:#1e293b}.problem-desc{margin:0 0 .5rem;font-size:.9rem;color:#475569;line-height:1.4}.problem-suggestion{margin:.5rem 0;font-size:.9rem;color:#334155;padding:.5rem;background:#fff;border-radius:6px;border:1px solid #e2e8f0}.problem-fix-actions{display:flex;gap:.5rem;margin-top:.75rem}.fix-btn{padding:.5rem 1rem;border-radius:6px;font-size:.875rem;font-weight:500;cursor:pointer;border:none;transition:background-color .2s}.fix-copy{background:#007bff;color:#fff}.fix-copy:hover{background:#0056b3}.fix-download{background:#e2e8f0;color:#334155}.fix-download:hover{background:#cbd5e1}.fix-instructions{margin-top:.75rem;font-size:.8rem;color:#64748b;font-style:italic}.app{height:100vh;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.app-layout{flex:1;display:flex;align-items:stretch;min-height:0}.app-main-area{flex:1;overflow-y:auto;padding:2rem;min-width:0;box-sizing:border-box}.app-chat-aside{width:380px;flex-shrink:0;align-self:stretch;display:flex;flex-direction:column;min-height:0}.app-header{text-align:center;margin-bottom:3rem}.app-header h1{color:#2c3e50;font-size:2.5rem;margin-bottom:.5rem}.app-header p{color:#7f8c8d;font-size:1.1rem}.app-main{display:flex;flex-direction:column;gap:2rem}.upload-section{background:#f8f9fa;padding:2rem;border-radius:12px;border:2px dashed #dee2e6;transition:border-color .3s ease}.upload-section:hover{border-color:#007bff}.input-group{margin-bottom:1.5rem}.input-group label{display:block;margin-bottom:.5rem;font-weight:600;color:#495057}.repo-input{width:100%;padding:.75rem;border:1px solid #ced4da;border-radius:6px;font-size:1rem;transition:border-color .3s ease}.repo-input:focus{outline:none;border-color:#007bff;box-shadow:0 0 0 3px #007bff1a}.divider{text-align:center;color:#6c757d;margin:1.5rem 0;position:relative}.divider:before{content:"";position:absolute;top:50%;left:0;right:0;height:1px;background:#dee2e6}.divider{background:#f8f9fa;padding:0 1rem;z-index:1}.upload-area{margin-bottom:1.5rem}.dropzone{text-align:center;padding:2rem;background:#fff;border-radius:8px;border:2px dashed #dee2e6;cursor:pointer;transition:all .3s ease}.dropzone.active{border-color:#007bff;background:#f8f9ff}.dropzone.disabled{opacity:.6;cursor:not-allowed}.dropzone:hover:not(.disabled){border-color:#007bff;background:#f8f9ff}.upload-icon{margin-bottom:1rem;color:#6c757d}.dropzone p{color:#495057;margin-bottom:1rem;line-height:1.5}.upload-btn{background:#e9ecef;color:#495057;border:none;padding:.75rem 1.5rem;border-radius:6px;cursor:pointer;font-size:1rem;transition:background-color .3s ease}.upload-btn:hover{background:#dee2e6}.analyze-btn{background:#007bff;color:#fff;border:none;padding:1rem 2rem;border-radius:6px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:background-color .3s ease;display:block;margin:0 auto}.analyze-btn:hover:not(:disabled){background:#0056b3}.analyze-btn:disabled{background:#6c757d;cursor:not-allowed}.error-message{background:#f8d7da;color:#721c24;padding:1rem;border-radius:6px;border:1px solid #f5c6cb}.results-section{display:flex;flex-direction:column;gap:1.5rem}.results-section h2{color:#2c3e50;font-size:1.8rem;margin-bottom:1rem}.result-card{background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 8px #0000001a;border-left:4px solid #007bff}.result-card h3{color:#2c3e50;margin-bottom:1rem;font-size:1.2rem}.result-card p{color:#495057;line-height:1.6;margin-bottom:.5rem}.result-card ul{color:#495057;line-height:1.6;padding-left:1.5rem}.result-card li{margin-bottom:.5rem}.effort-badge{display:inline-block;padding:.5rem 1rem;border-radius:20px;font-weight:600;font-size:.9rem;text-transform:uppercase}.effort-badge.low{background:#d4edda;color:#155724}.effort-badge.medium{background:#fff3cd;color:#856404}.effort-badge.high{background:#f8d7da;color:#721c24}@media(max-width:768px){.app-layout{flex-direction:column}.app-main-area{padding:1rem}.app-chat-aside{width:100%;min-height:300px;max-height:50vh;border-left:none;border-top:1px solid #e2e8f0}.app-header h1{font-size:2rem}.upload-section{padding:1.5rem}.result-card{padding:1rem}}
