/* ─── Design tokens from landing page ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #0a0a0f;
    --surface: #12121a;
    --surface-2: #1a1a26;
    --surface-3: #222233;
    --border: #2a2a3a;
    --border-hover: #3a3a50;
    --text: #e8e8ed;
    --text-muted: #8888a0;
    --text-dim: #555568;
    --accent: #f0c040;
    --accent-dim: #f0c04015;
    --accent-glow: #f0c04030;
    --accent-hover: #f5d060;
    --danger: #e05050;
    --danger-dim: #e0505015;
    --success: #40c080;
    --success-dim: #40c08015;
    --info: #5090f0;
    --info-dim: #5090f015;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-muted { color: var(--text-muted); }

/* ─── NAV ─── */
nav {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
    backdrop-filter: blur(12px);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text);
    text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-tag {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 6px 14px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

/* ─── VIEWS ─── */
main { padding: 32px 0 80px; }
.view { display: none; }
.view.active { display: block; }

/* ─── VIEW HEADER ─── */
.view-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
    gap: 16px;
}
.view-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}
.view-header p {
    margin-top: 6px;
    font-size: 0.95rem;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
}
.btn:hover {
    border-color: var(--border-hover);
    background: var(--surface-2);
}
.btn-primary {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
}
.btn-accent {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent-glow);
}
.btn-accent:hover {
    background: var(--accent-glow);
}
.btn-danger {
    color: var(--danger);
    border-color: var(--danger-dim);
}
.btn-danger:hover {
    background: var(--danger-dim);
}
.btn-full { width: 100%; justify-content: center; }
.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    padding: 4px 0;
    margin-bottom: 24px;
    transition: color 0.15s;
}
.btn-back:hover { color: var(--text); }

/* ─── BADGE ─── */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.badge-success {
    background: var(--success-dim);
    color: var(--success);
    border-color: var(--success);
}
.badge-danger {
    background: var(--danger-dim);
    color: var(--danger);
    border-color: var(--danger);
}
.badge-accent {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--accent-glow);
}
.badge-info {
    background: var(--info-dim);
    color: var(--info);
    border-color: var(--info);
}

/* ─── PROJECTS GRID ─── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all 0.2s;
}
.project-card:hover {
    border-color: var(--accent-glow);
    transform: translateY(-2px);
}
.project-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.project-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.5;
}
.project-card-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}
.project-card-meta .meta-item {
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ─── EMPTY STATE ─── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}
.empty-icon {
    margin-bottom: 20px;
    opacity: 0.6;
}
.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.empty-state p {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

/* ─── FORMS ─── */
.form-card {
    max-width: 520px;
    margin: 0 auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.form-card-wide {
    max-width: 760px;
}
.form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}
.form-card > p {
    margin-bottom: 28px;
    font-size: 0.9rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}
.form-group label .text-muted {
    font-weight: 400;
    font-size: 0.8rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.15s;
    outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}
.form-group textarea {
    resize: vertical;
    min-height: 200px;
    line-height: 1.7;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.textarea-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
    font-size: 0.8rem;
}

/* ─── PROJECT DETAIL ─── */
.project-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
    gap: 16px;
}
.project-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -1px;
}
.project-header p {
    margin-top: 4px;
    font-size: 0.95rem;
}
.project-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* ─── SECTIONS ─── */
.section {
    margin-bottom: 40px;
}
.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.3px;
}

/* ─── INTERVIEW LIST ─── */
.interview-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    transition: border-color 0.15s;
}
.interview-item:hover {
    border-color: var(--border-hover);
}
.interview-info {
    flex: 1;
    min-width: 0;
}
.interview-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.interview-info .meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
    margin-top: 3px;
}
.interview-actions {
    display: flex;
    gap: 8px;
    margin-left: 16px;
}

/* ─── ANALYSIS LIST ─── */
.analysis-item {
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.analysis-item:hover {
    border-color: var(--accent-glow);
}
.analysis-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}
.analysis-item-header h4 {
    font-size: 0.95rem;
    font-weight: 600;
}
.analysis-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ─── LOADING ─── */
.loading-state {
    text-align: center;
    padding: 100px 20px;
}
.loading-state h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    margin: 0 auto 24px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ─── RESULTS HEADER ─── */
.results-header {
    margin-bottom: 32px;
}
.results-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.results-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -1.5px;
    margin-bottom: 12px;
}
.analysis-summary {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 700px;
}

/* ─── TABS ─── */
.tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
    overflow-x: auto;
}
.tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.tab-count {
    font-size: 0.75rem;
    background: var(--surface-2);
    padding: 2px 8px;
    border-radius: 100px;
}
.tab.active .tab-count {
    background: var(--accent-dim);
    color: var(--accent);
}
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ─── INSIGHT CARDS ─── */
.insight-cards {
    display: grid;
    gap: 12px;
}
.insight-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.insight-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 12px;
}
.insight-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}
.insight-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ─── QUOTE BLOCKS ─── */
.quotes-section {
    margin-top: 16px;
}
.quotes-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    margin-bottom: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}
.quote-block {
    padding: 12px 16px;
    background: var(--bg);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 8px;
}
.quote-block p {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    font-style: italic;
}
.quote-block .quote-source {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 6px;
    font-style: normal;
    font-weight: 500;
}

/* ─── RECOMMENDATION CARDS ─── */
.recommendation-cards {
    display: grid;
    gap: 16px;
}
.rec-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
}
.rec-card-priority {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    opacity: 0.4;
    line-height: 1;
}
.rec-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 8px;
    padding-right: 60px;
}
.rec-card > p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.rec-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.rec-spec {
    margin-top: 16px;
    padding: 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.rec-spec-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}
.rec-spec p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    white-space: pre-wrap;
}

/* ─── ERROR STATE ─── */
.error-state {
    text-align: center;
    padding: 80px 20px;
}
.error-state h2 {
    font-size: 1.5rem;
    color: var(--danger);
    margin-bottom: 8px;
}
.error-state p {
    margin-bottom: 24px;
}

/* ─── TOAST ─── */
#toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    color: var(--text);
    animation: slideIn 0.2s ease;
    max-width: 360px;
}
.toast-error {
    border-color: var(--danger);
    color: var(--danger);
}
.toast-success {
    border-color: var(--success);
    color: var(--success);
}
@keyframes slideIn {
    from { transform: translateX(20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
    .view-header {
        flex-direction: column;
    }
    .project-header {
        flex-direction: column;
    }
    .project-actions {
        width: 100%;
    }
    .project-actions .btn {
        flex: 1;
        justify-content: center;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .rec-card-priority {
        display: none;
    }
    .diff-grid {
        grid-template-columns: 1fr;
    }
    .interview-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .interview-actions {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .tabs {
        gap: 0;
    }
    .tab {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

/* ─── EXPORT DROPDOWN ─── */
.export-dropdown {
    position: relative;
}

.export-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 1000;
}

.export-menu-header {
    padding: 12px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.export-menu-item {
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease;
}

.export-menu-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.export-menu-item:first-of-type {
    border-radius: var(--radius) var(--radius) 0 0;
}

.export-menu-item:hover {
    background: var(--surface-3);
}

.export-menu-item strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text);
}

.export-menu-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* Specs */
.specs-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px 0;
}

.spec-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.2s ease;
}

.spec-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.spec-card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.spec-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
}

.spec-card-header h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.spec-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.spec-section {
  margin-bottom: 24px;
}

.spec-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.spec-section h3::before {
  content: '';
  width: 3px;
  height: 18px;
  background: var(--accent);
  border-radius: 2px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-list li {
  padding: 10px 0 10px 24px;
  position: relative;
  color: var(--text-secondary);
  line-height: 1.6;
}

.spec-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--accent);
  font-weight: 700;
}

.spec-change {
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
}

.spec-change strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text-primary);
  font-size: 15px;
}

.spec-change p {
  margin: 8px 0;
  color: var(--text-secondary);
  line-height: 1.5;
}

.spec-change pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 12px;
  overflow-x: auto;
  font-size: 13px;
  margin: 8px 0 0 0;
  color: var(--text-secondary);
}

.spec-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* ─── Insights Dashboard ─────────────────────── */
.insights-dashboard {
  padding: 20px 0;
}

.insights-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.insight-stat-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.insight-stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.insight-stat-card.stat-warning {
  border-color: #ff9900;
  background: rgba(255, 153, 0, 0.05);
}

.stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--accent);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.insights-section {
  margin-bottom: 48px;
}

.insights-section h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
}

.frequency-chart {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.frequency-bar-container {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.frequency-bar-container:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.frequency-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.frequency-label strong {
  font-size: 15px;
  color: var(--text-primary);
}

.frequency-bar {
  background: linear-gradient(90deg, var(--accent) 0%, rgba(99, 102, 241, 0.3) 100%);
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  min-width: 80px;
  margin-bottom: 8px;
  transition: width 0.4s ease;
}

.frequency-count {
  color: white;
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.frequency-breakdown {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.source-type-badge {
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.source-breakdown {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.insight-conflict {
  border-left: 3px solid #ff9900 !important;
  background: rgba(255, 153, 0, 0.03);
}

.conflict-warning {
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid #ff9900;
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  font-size: 14px;
  color: #cc7700;
  font-weight: 500;
}

.insight-recommendation {
  background: var(--bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
}

.insight-recommendation strong {
  color: var(--accent);
  display: block;
  margin-bottom: 4px;
}

.badge-danger {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-warning {
  background: rgba(255, 153, 0, 0.1);
  color: #ff9900;
  border: 1px solid rgba(255, 153, 0, 0.2);
}

.badge-info {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent);
  border: 1px solid rgba(99, 102, 241, 0.2);
}
