/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-090w6wadvh] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-090w6wadvh] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/ChatAnswerView.razor.rz.scp.css */
/* Scoped to ChatAnswerView. The parent .chat-text uses white-space: pre-wrap for
   plain answers; markup here needs normal whitespace handling or the whitespace
   between elements shows up as blank lines. */
.chat-md[b-n2n8yc3d4y] {
    white-space: normal;
}

.md-p[b-n2n8yc3d4y] {
    margin: 0 0 8px;
}

.md-p:last-child[b-n2n8yc3d4y],
.md-list:last-child[b-n2n8yc3d4y],
.md-table-wrap:last-child[b-n2n8yc3d4y] {
    margin-bottom: 0;
}

.md-h[b-n2n8yc3d4y] {
    font-weight: 800;
    color: #111827;
    margin: 12px 0 6px;
    line-height: 1.35;
}

.md-h:first-child[b-n2n8yc3d4y] {
    margin-top: 0;
}

.md-h1[b-n2n8yc3d4y] { font-size: 16px; }
.md-h2[b-n2n8yc3d4y] { font-size: 15px; }
.md-h3[b-n2n8yc3d4y] { font-size: 14px; }
.md-h4[b-n2n8yc3d4y] { font-size: 13px; }

.md-list[b-n2n8yc3d4y] {
    margin: 0 0 8px;
    padding-left: 22px;
}

.md-list li[b-n2n8yc3d4y] {
    margin: 2px 0;
}

/* Wide tables scroll inside the bubble instead of stretching the layout. */
.md-table-wrap[b-n2n8yc3d4y] {
    overflow-x: auto;
    margin: 6px 0 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.md-table[b-n2n8yc3d4y] {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    line-height: 1.45;
}

/* border: none first: the site-wide ingest.css gives every th/td a 1px black border. */
.md-table th[b-n2n8yc3d4y],
.md-table td[b-n2n8yc3d4y] {
    padding: 6px 10px;
    border: none;
    border-bottom: 1px solid #eef0f3;
    border-right: 1px solid #eef0f3;
    vertical-align: top;
    text-align: left;
}

.md-table th:last-child[b-n2n8yc3d4y],
.md-table td:last-child[b-n2n8yc3d4y] {
    border-right: none;
}

.md-table tbody tr:last-child td[b-n2n8yc3d4y] {
    border-bottom: none;
}

.md-table th[b-n2n8yc3d4y] {
    background: #f3f4f6;
    font-weight: 700;
    color: #111827;
}

.md-table tbody tr:nth-child(even) td[b-n2n8yc3d4y] {
    background: #fafafa;
}

.md-code[b-n2n8yc3d4y] {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    background: #f3f4f6;
    border-radius: 4px;
    padding: 1px 4px;
}

.md-hr[b-n2n8yc3d4y] {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 10px 0;
}
/* /Components/Pages/FindingCard.razor.rz.scp.css */
/* FindingCard — scoped. Status colors match the findings pills used elsewhere. */
.fc[b-yody7330fv] {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: #fff;
    transition: background .3s, border-color .3s, box-shadow .3s;
}

.fc--highlight[b-yody7330fv] {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.fc-head[b-yody7330fv] { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.fc-badges[b-yody7330fv] { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

.fc-pill[b-yody7330fv] {
    display: inline-flex; align-items: center;
    padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 800;
    border: 1px solid transparent;
}
.fc-pill--sm[b-yody7330fv] { font-size: 9px; padding: 0 6px; }
.fc-pill--open[b-yody7330fv] { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.fc-pill--accepted[b-yody7330fv] { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.fc-pill--disputed[b-yody7330fv] { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.fc-pill--needsfollowup[b-yody7330fv] { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.fc-pill--resolved[b-yody7330fv] { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.fc-pill--notapplicable[b-yody7330fv] { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; }
.fc-pill--closed[b-yody7330fv] { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

.fc-sev[b-yody7330fv], .fc-due[b-yody7330fv], .fc-add[b-yody7330fv], .fc-tag[b-yody7330fv] {
    display: inline-flex; align-items: center;
    padding: 1px 8px; border-radius: 999px;
    font-size: 10px; font-weight: 700;
    border: 1px solid #e5e7eb; background: #fff; color: #374151;
    line-height: 1.6;
}
.fc-sev[b-yody7330fv], .fc-due[b-yody7330fv], .fc-add[b-yody7330fv] { cursor: pointer; }
.fc-sev:disabled[b-yody7330fv], .fc-due:disabled[b-yody7330fv] { cursor: default; }
.fc-sev--high[b-yody7330fv] { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.fc-sev--medium[b-yody7330fv] { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.fc-sev--low[b-yody7330fv] { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }
.fc-due--overdue[b-yody7330fv] { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.fc-add[b-yody7330fv] { color: #6b7280; border-style: dashed; }
.fc-tag[b-yody7330fv] { background: #f3f4f6; cursor: default; }

.fc-select[b-yody7330fv] {
    font-size: 11px; padding: 2px 6px;
    border: 1px solid #d1d5db; border-radius: 6px; background: #fff;
}

.fc-lock[b-yody7330fv] { font-size: 11px; color: #9ca3af; padding: 2px 4px; }
.fc-trash[b-yody7330fv] {
    background: none; border: none; cursor: pointer;
    color: #dc2626; padding: 2px 4px; flex-shrink: 0; opacity: .4; font-size: 12px;
}
.fc-trash:hover[b-yody7330fv] { opacity: .8; }

.fc-text[b-yody7330fv] { font-size: 13px; line-height: 1.5; color: #111827; margin-top: 6px; white-space: pre-wrap; }
.fc-source-q[b-yody7330fv] {
    font-size: 11px; color: #6b7280; font-style: italic; margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fc-summary[b-yody7330fv] { font-size: 11px; color: #6b7280; cursor: pointer; font-weight: 700; user-select: none; }
.fc-summary--ai[b-yody7330fv] { color: #6366f1; }
.fc-answer[b-yody7330fv] {
    margin-top: 4px; padding: 6px 8px;
    background: #f5f3ff; border: 1px solid #e0e7ff; border-radius: 6px;
    font-size: 12px; color: #374151; line-height: 1.5;
    max-height: 150px; overflow-y: auto;
}
.fc-meta[b-yody7330fv] { font-size: 11px; color: #9ca3af; margin-top: 6px; }
.fc-warn[b-yody7330fv] {
    margin-top: 5px; padding: 6px 9px;
    background: #fffbeb; border: 1px solid #fde68a; border-radius: 6px;
    font-size: 11.5px; color: #92400e; line-height: 1.5;
}
.fc-warn--quiet[b-yody7330fv] { background: none; border: none; padding: 0; font-size: 11px; }
.fc-detail[b-yody7330fv] {
    margin-top: 4px; padding: 6px 8px;
    background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px;
    font-size: 11px; color: #475569; line-height: 1.6;
}
.fc-mono[b-yody7330fv] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #334155; }

.fc-evidence[b-yody7330fv] {
    margin-top: 6px; padding: 6px 9px;
    border: 1px solid #e5e7eb; border-radius: 6px; background: #fafafa;
}
.fc-evidence-title[b-yody7330fv] { font-size: 11px; font-weight: 800; color: #374151; margin-bottom: 2px; }
.fc-evidence-row[b-yody7330fv] { font-size: 12px; color: #374151; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.fc-flag[b-yody7330fv] { font-size: 10px; font-weight: 800; color: #92400e; background: #fef3c7; border-radius: 999px; padding: 0 6px; }

.fc-panel[b-yody7330fv] { margin-top: 8px; border: 1px solid #e5e7eb; border-radius: 8px; padding: 9px 10px; background: #fafafa; }
.fc-panel--danger[b-yody7330fv] { border-color: #fecaca; background: #fef2f2; }
.fc-panel-title[b-yody7330fv] { font-size: 12px; font-weight: 800; color: #111827; margin-bottom: 6px; }
.fc-textarea[b-yody7330fv] {
    width: 100%; resize: vertical; box-sizing: border-box;
    border: 1px solid #e5e7eb; border-radius: 8px; padding: 7px 9px; font-size: 13px; line-height: 1.4;
}
.fc-note[b-yody7330fv] { font-size: 11px; color: #6b7280; margin-top: 4px; }
.fc-actions[b-yody7330fv] { display: flex; gap: 6px; justify-content: flex-end; margin-top: 8px; }
.fc-btn[b-yody7330fv] {
    padding: 5px 12px; border: 1px solid #e5e7eb; background: #fff; color: #374151;
    border-radius: 8px; font-size: 12px; font-weight: 700; cursor: pointer;
}
.fc-btn--danger[b-yody7330fv] { border-color: #dc2626; background: #dc2626; color: #fff; }
.fc-btn:disabled[b-yody7330fv] { opacity: .5; cursor: default; }
.fc-error[b-yody7330fv] { margin-top: 6px; font-size: 12px; color: #b91c1c; line-height: 1.45; }

.fc-history[b-yody7330fv] { margin-top: 10px; border-top: 1px solid #f1f5f9; padding-top: 8px; }
.fc-history-toggle[b-yody7330fv] {
    background: none; border: none; cursor: pointer; color: #6366f1;
    font-weight: 700; font-size: 11px; padding: 2px 0;
    display: inline-flex; align-items: center; gap: 5px; user-select: none;
}
.fc-count[b-yody7330fv] { background: #eef2ff; color: #4338ca; font-size: 10px; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
.fc-muted[b-yody7330fv] { font-size: 12px; color: #9ca3af; }
.fc-thread[b-yody7330fv] { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.fc-sys[b-yody7330fv] { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #6b7280; flex-wrap: wrap; }
.fc-who[b-yody7330fv] { font-weight: 700; color: #374151; }
.fc-when[b-yody7330fv] { color: #9ca3af; margin-left: auto; white-space: nowrap; }
.fc-sys-text[b-yody7330fv] { margin: -5px 0 0 15px; font-size: 12px; color: #374151; line-height: 1.45; white-space: pre-wrap; }
.fc-comment[b-yody7330fv] { background: #f9fafb; border: 1px solid #eef2f7; border-radius: 8px; padding: 7px 9px; }
.fc-comment-text[b-yody7330fv] { font-size: 13px; line-height: 1.5; color: #111827; white-space: pre-wrap; }
.fc-comment-meta[b-yody7330fv] { font-size: 10px; color: #9ca3af; margin-top: 4px; }
.fc-compose[b-yody7330fv] { display: flex; gap: 6px; align-items: flex-end; }
.fc-compose-box[b-yody7330fv] {
    flex: 1 1 auto; min-width: 0; width: 100%; resize: none;
    border: 1px solid #e5e7eb; border-radius: 8px; padding: 7px 9px;
    font-size: 13px; line-height: 1.4; outline: none; max-height: 120px; overflow-y: auto;
}
/* /Components/Pages/FindingsDashboard.razor.rz.scp.css */
.fd-page[b-e7s0dtuxtl] { max-width: 1200px; margin: 0 auto; padding: 16px 12px 40px; }
.fd-header[b-e7s0dtuxtl] { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 14px; }
.fd-title[b-e7s0dtuxtl] { font-size: 22px; font-weight: 800; color: #111827; margin: 0; }
.fd-sub[b-e7s0dtuxtl] { font-size: 12px; color: #6b7280; margin-top: 2px; }
.fd-muted[b-e7s0dtuxtl] { color: #9ca3af; font-size: 12px; }
.fd-refresh[b-e7s0dtuxtl] {
    border: 1px solid #e5e7eb; background: #fff; border-radius: 8px;
    padding: 6px 12px; font-size: 12px; font-weight: 700; color: #374151; cursor: pointer;
}

.fd-tiles[b-e7s0dtuxtl] { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 12px; }
.fd-tile[b-e7s0dtuxtl] {
    text-align: left; border: 1px solid #e5e7eb; background: #fff; border-radius: 12px;
    padding: 12px 14px; cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.fd-tile:hover[b-e7s0dtuxtl] { border-color: #c7d2fe; }
.fd-tile--active[b-e7s0dtuxtl] { border-color: #111827; box-shadow: 0 0 0 1px #111827 inset; }
.fd-tile-label[b-e7s0dtuxtl] { font-size: 12px; font-weight: 700; color: #6b7280; }
.fd-tile-count[b-e7s0dtuxtl] { font-size: 26px; font-weight: 800; color: #111827; margin-top: 4px; line-height: 1.1; }

.fd-sev-strip[b-e7s0dtuxtl] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.fd-sev-label[b-e7s0dtuxtl] { font-size: 12px; font-weight: 700; color: #6b7280; margin-right: 4px; }
.fd-sev[b-e7s0dtuxtl] {
    display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px;
    font-size: 11px; font-weight: 700; border: 1px solid #e5e7eb; background: #fff; color: #374151;
}
.fd-sev--high[b-e7s0dtuxtl] { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.fd-sev--medium[b-e7s0dtuxtl] { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.fd-sev--low[b-e7s0dtuxtl] { background: #f1f5f9; color: #334155; border-color: #e2e8f0; }

.fd-card[b-e7s0dtuxtl] { border: 1px solid #e5e7eb; border-radius: 12px; background: #fff; padding: 12px 14px; margin-bottom: 14px; }
.fd-card-title[b-e7s0dtuxtl] { font-size: 14px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.fd-empty[b-e7s0dtuxtl] { font-size: 13px; color: #9ca3af; padding: 8px 0; }

.fd-table-wrap[b-e7s0dtuxtl] { overflow-x: auto; }
/* border: none first: ingest.css gives every th/td a 1px black border. */
.fd-table[b-e7s0dtuxtl] { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.fd-table th[b-e7s0dtuxtl], .fd-table td[b-e7s0dtuxtl] {
    border: none; border-bottom: 1px solid #f1f5f9;
    padding: 7px 8px; text-align: left; vertical-align: top;
}
.fd-table th[b-e7s0dtuxtl] { background: #f9fafb; font-weight: 700; color: #374151; white-space: nowrap; }
.fd-row[b-e7s0dtuxtl] { cursor: pointer; }
.fd-row:hover td[b-e7s0dtuxtl] { background: #f8fafc; }
.fd-text[b-e7s0dtuxtl] {
    color: #111827; max-width: 420px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fd-nowrap[b-e7s0dtuxtl] { white-space: nowrap; }
.fd-num[b-e7s0dtuxtl] { text-align: right !important; white-space: nowrap; }
.fd-strong[b-e7s0dtuxtl] { font-weight: 800; color: #991b1b; }
.fd-overdue[b-e7s0dtuxtl] { color: #b91c1c; font-weight: 700; }

.fd-pill[b-e7s0dtuxtl] { display: inline-flex; padding: 1px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; border: 1px solid transparent; white-space: nowrap; }
.fd-pill--open[b-e7s0dtuxtl] { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.fd-pill--accepted[b-e7s0dtuxtl] { background: #dbeafe; color: #1e40af; border-color: #bfdbfe; }
.fd-pill--disputed[b-e7s0dtuxtl] { background: #fee2e2; color: #991b1b; border-color: #fecaca; }
.fd-pill--needsfollowup[b-e7s0dtuxtl] { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.fd-pill--resolved[b-e7s0dtuxtl] { background: #e0e7ff; color: #3730a3; border-color: #c7d2fe; }
.fd-pill--notapplicable[b-e7s0dtuxtl] { background: #f3f4f6; color: #6b7280; border-color: #e5e7eb; }
.fd-pill--closed[b-e7s0dtuxtl] { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

.fd-flag[b-e7s0dtuxtl] {
    display: inline-block; margin: 0 4px 3px 0; padding: 0 7px; border-radius: 999px;
    font-size: 10px; font-weight: 800; background: #fef3c7; color: #92400e; white-space: nowrap;
}
.fd-flag--red[b-e7s0dtuxtl] { background: #fee2e2; color: #991b1b; }
.fd-more[b-e7s0dtuxtl] {
    margin-top: 8px; border: 1px solid #e5e7eb; background: #fff; border-radius: 8px;
    padding: 6px 12px; font-size: 12px; font-weight: 700; color: #374151; cursor: pointer;
}

/* In-place finding panel */
.fd-overlay[b-e7s0dtuxtl] {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(17, 24, 39, 0.45);
    display: flex; align-items: flex-start; justify-content: center;
    padding: 5vh 12px;
}
.fd-modal[b-e7s0dtuxtl] {
    width: 100%; max-width: 760px; max-height: 90vh;
    display: flex; flex-direction: column;
    background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.fd-modal-head[b-e7s0dtuxtl] {
    display: flex; justify-content: space-between; align-items: center; gap: 10px;
    padding: 12px 14px; border-bottom: 1px solid #f1f5f9;
}
.fd-modal-title[b-e7s0dtuxtl] { font-size: 14px; font-weight: 800; color: #111827; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fd-modal-body[b-e7s0dtuxtl] { padding: 12px 14px; overflow-y: auto; }
.fd-close[b-e7s0dtuxtl] {
    border: none; background: none; cursor: pointer; color: #6b7280;
    font-size: 16px; padding: 4px 8px; border-radius: 6px;
}
.fd-close:hover[b-e7s0dtuxtl] { background: #f3f4f6; }

.fd-filter-chip[b-e7s0dtuxtl] {
    margin-left: 8px; border: 1px solid #111827; background: #111827; color: #fff;
    border-radius: 999px; padding: 1px 10px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.fd-row--active td[b-e7s0dtuxtl] { background: #eef2ff; }
.fd-link[b-e7s0dtuxtl] {
    border: none; background: none; cursor: pointer; color: #9ca3af;
    font-size: 11px; padding: 0 4px; margin-left: 4px;
}
.fd-link:hover[b-e7s0dtuxtl] { color: #4f46e5; }

.fd-all[b-e7s0dtuxtl] {
    border: 1px solid #e5e7eb; background: #fff; color: #374151;
    border-radius: 999px; padding: 2px 10px; font-size: 11px; font-weight: 800; cursor: pointer;
    margin-right: 8px;
}
.fd-all--active[b-e7s0dtuxtl] { background: #111827; border-color: #111827; color: #fff; }

.fd-nav[b-e7s0dtuxtl] { display: flex; align-items: center; gap: 2px; margin-right: 4px; }
.fd-nav-btn[b-e7s0dtuxtl] {
    border: 1px solid #e5e7eb; background: #fff; color: #374151; cursor: pointer;
    width: 28px; height: 28px; border-radius: 8px; font-size: 11px;
}
.fd-nav-btn:disabled[b-e7s0dtuxtl] { opacity: .35; cursor: default; }
.fd-nav-btn:not(:disabled):hover[b-e7s0dtuxtl] { background: #f3f4f6; }
.fd-nav-pos[b-e7s0dtuxtl] { font-size: 11px; font-weight: 700; color: #6b7280; min-width: 54px; text-align: center; white-space: nowrap; }
.fd-left-list[b-e7s0dtuxtl] { font-size: 11px; color: #92400e; margin-top: 2px; }
