




*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: #f7f9fc;
    color: #172033;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    font-size: 14px;
    line-height: 1.5;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

input,
select,
textarea {
    width: 100%;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}




.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}

:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.18);
    outline-offset: 2px;
}




.app-shell {
    min-height: 100vh;
}




.sidebar {
    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    z-index: 100;

    width: 248px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border-right: 1px solid #e5e9f0;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}




.sidebar-header {
    min-height: 72px;

    padding: 16px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #edf0f4;
}

.brand {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 10px;
}

.brand-mark {
    width: 36px;
    height: 36px;

    flex: 0 0 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: #1f5fba;
    color: #ffffff;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.04em;
}

.brand-text {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.brand-text strong {
    color: #172033;

    font-size: 13px;
    font-weight: 750;

    line-height: 1.25;
}

.brand-text span {
    margin-top: 2px;

    color: #8a93a3;

    font-size: 10px;
    line-height: 1.25;
}




.sidebar-close {
    display: none;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 0;
    border-radius: 7px;

    background: transparent;
    color: #667085;

    font-size: 21px;
    line-height: 1;
}

.sidebar-close:hover {
    background: #f3f5f8;
    color: #172033;
}




.sidebar-nav {
    flex: 1;

    padding: 16px 11px;

    display: flex;
    flex-direction: column;

    gap: 4px;
}

.nav-item {
    width: 100%;
    min-height: 42px;

    padding: 0 12px;

    display: flex;
    align-items: center;

    gap: 10px;

    border: 1px solid transparent;
    border-radius: 8px;

    background: transparent;

    color: #667085;

    text-align: left;

    font-size: 12px;
    font-weight: 650;

    transition:
        background 0.16s ease,
        color 0.16s ease,
        border-color 0.16s ease;
}

.nav-item:hover {
    background: #f6f8fb;
    color: #172033;
}

.nav-item.active {
    background: #edf4ff;
    border-color: #d9e7fb;
    color: #1f5fba;
}

.nav-icon {
    width: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: inherit;

    font-size: 13px;
    font-weight: 700;
}




.sidebar-overlay {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 90;

    background: rgba(15, 23, 42, 0.32);
}




.main-content {
    min-height: 100vh;

    margin-left: 248px;
}




.topbar {
    position: sticky;

    top: 0;

    z-index: 50;

    min-height: 72px;

    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.96);

    border-bottom: 1px solid #e5e9f0;

    backdrop-filter: blur(8px);
}

.topbar-left {
    display: flex;
    align-items: center;

    gap: 12px;
}

.topbar-title {
    display: flex;
    flex-direction: column;
}

.topbar-eyebrow {
    color: #929baa;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.topbar-title h1 {
    margin: 2px 0 0;

    color: #172033;

    font-size: 17px;
    font-weight: 750;

    line-height: 1.25;
}




.mobile-menu-button {
    display: none;

    width: 36px;
    height: 36px;

    padding: 0;

    align-items: center;
    justify-content: center;

    border: 1px solid #dfe4eb;
    border-radius: 8px;

    background: #ffffff;
    color: #475467;

    font-size: 17px;
}

.mobile-menu-button:hover {
    background: #f6f8fb;
}




.page-container {
    width: 100%;

    max-width: 1440px;

    margin: 0 auto;

    padding: 28px 30px;
}

.page {
    display: none;
}

.page.active {
    display: block;
}




.page-heading {
    margin-bottom: 24px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.page-heading h2 {
    margin: 3px 0 5px;

    color: #172033;

    font-size: 25px;
    font-weight: 760;

    line-height: 1.25;

    letter-spacing: -0.02em;
}

.page-heading p {
    margin: 0;

    color: #778195;

    font-size: 12px;
}

.section-eyebrow {
    color: #929baa;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}




.btn {
    min-height: 37px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    border: 1px solid transparent;
    border-radius: 7px;

    font-size: 11px;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background 0.16s ease,
        border-color 0.16s ease,
        color 0.16s ease,
        box-shadow 0.16s ease;
}

.btn:hover {
    transform: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: #2563c7;
    border-color: #2563c7;

    color: #ffffff;
}

.btn-primary:hover {
    background: #1f56ad;
    border-color: #1f56ad;

    box-shadow: 0 3px 9px rgba(37, 99, 199, 0.14);
}

.btn-secondary {
    background: #ffffff;
    border-color: #dce2ea;

    color: #475467;
}

.btn-secondary:hover {
    background: #f7f9fb;
    border-color: #cbd3df;

    color: #172033;
}




.stats-grid {
    display: grid;

    grid-template-columns:
        minmax(250px, 330px);

    gap: 12px;

    margin-bottom: 28px;
}

.stat-card {
    min-width: 0;

    padding: 17px;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;

    box-shadow:
        0 1px 3px rgba(16, 24, 40, 0.025);
}

.stat-card-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce7f8;
    border-radius: 7px;

    background: #f1f6fd;

    color: #2563c7;

    font-size: 12px;
    font-weight: 800;
}

.stat-card-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.stat-label {
    color: #7c8798;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.stat-value {
    margin-top: 1px;

    color: #172033;

    font-size: 21px;
    font-weight: 780;

    line-height: 1.2;
}

.stat-description {
    margin-top: 3px;

    color: #98a1af;

    font-size: 9px;
}




.content-section {
    margin-bottom: 27px;
}

.section-header {
    margin-bottom: 12px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;
}

.section-header h3 {
    margin: 3px 0 0;

    color: #202b3f;

    font-size: 16px;
    font-weight: 750;

    line-height: 1.3;
}

.section-header p {
    margin: 4px 0 0;

    color: #7d8798;

    font-size: 11px;
}

.section-note {
    color: #929baa;

    font-size: 10px;
}




.alert-queue {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.alert-queue-item {
    min-width: 0;

    padding: 14px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.alert-queue-item:hover {
    border-color: #ccd5e2;

    box-shadow:
        0 3px 12px rgba(16, 24, 40, 0.04);
}

.alert-queue-main {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}

.alert-queue-severity {
    min-width: 62px;

    padding: 5px 7px;

    border-radius: 5px;

    background: #f1f3f6;
    color: #596579;

    font-size: 8px;
    font-weight: 800;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}

.alert-queue-content {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.alert-queue-content strong {
    overflow: hidden;

    color: #263249;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.alert-queue-meta {
    margin-top: 3px;

    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    color: #8993a2;

    font-size: 9px;
}

.alert-queue-action {
    flex: 0 0 auto;
}




.severity-badge {
    min-width: 58px;

    padding: 4px 7px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.04em;
}

.severity-low {
    background: #edf7f1;
    color: #26734d;
}

.severity-medium {
    background: #fff7e7;
    color: #936d1f;
}

.severity-high {
    background: #fff0ed;
    color: #ad4938;
}

.severity-critical {
    background: #fcebed;
    color: #a52c3b;
}




.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 4px 7px;

    border-radius: 5px;

    background: #f0f2f5;
    color: #667085;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.status-open {
    background: #edf4ff;
    color: #2563c7;
}

.status-completed {
    background: #edf7f1;
    color: #26734d;
}




.dashboard-guide {
    margin-top: 5px;
}

.workflow-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 9px;
}

.workflow-step {
    min-width: 0;

    padding: 14px;

    display: flex;
    align-items: flex-start;

    gap: 10px;

    background: #ffffff;

    border: 1px solid #e3e8ef;
    border-radius: 8px;
}

.workflow-number {
    color: #8d97a7;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.05em;
}

.workflow-step strong {
    color: #39465a;

    font-size: 11px;
    font-weight: 750;
}

.workflow-step p {
    margin: 3px 0 0;

    color: #7d8796;

    font-size: 9px;

    line-height: 1.55;
}




.filter-card {
    margin-bottom: 23px;

    padding: 15px;

    display: grid;

    grid-template-columns:
        minmax(0, 2fr)
        minmax(150px, 1fr)
        minmax(150px, 1fr);

    gap: 11px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;
}

.filter-group {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 5px;
}

.filter-group label,
.form-group label {
    color: #4b5668;

    font-size: 10px;
    font-weight: 700;
}




.input {
    min-height: 38px;

    padding: 8px 10px;

    border: 1px solid #dce2ea;
    border-radius: 7px;

    background: #ffffff;
    color: #273249;

    font-size: 11px;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.input::placeholder {
    color: #a0a8b5;
}

.input:hover {
    border-color: #cbd3df;
}

.input:focus {
    outline: none;

    border-color: #76a0df;

    box-shadow:
        0 0 0 3px rgba(37, 99, 199, 0.08);
}

textarea.input {
    resize: vertical;

    min-height: 95px;
}

select.input {
    cursor: pointer;
}




.case-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(275px, 1fr));

    gap: 11px;
}

.case-card {
    min-width: 0;

    padding: 16px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;

    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.case-card:hover {
    border-color: #ccd5e2;

    box-shadow:
        0 4px 13px rgba(16, 24, 40, 0.04);
}

.case-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 9px;
}

.case-card-id {
    color: #8d97a7;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.case-card-title {
    margin: 6px 0 0;

    color: #263249;

    font-size: 14px;
    font-weight: 750;

    line-height: 1.35;
}

.case-card-description {
    margin: 7px 0 14px;

    color: #7c8797;

    font-size: 10px;

    line-height: 1.6;
}

.case-card-meta {
    margin-top: auto;
    margin-bottom: 13px;

    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 6px;
}

.case-card-difficulty {
    padding: 4px 7px;

    border-radius: 5px;

    background: #f0f3f7;
    color: #5c687a;

    font-size: 8px;
    font-weight: 800;

    text-transform: uppercase;
}

.case-card-category {
    color: #8a93a3;

    font-size: 9px;
}

.case-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;
}




.investigation-header {
    margin-bottom: 19px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;
}

.investigation-heading {
    min-width: 0;

    display: flex;
    align-items: flex-start;

    gap: 13px;
}

.case-id-badge {
    min-width: 70px;

    padding: 8px 9px;

    display: flex;
    flex-direction: column;
    align-items: center;

    border: 1px solid #dfe5ed;
    border-radius: 7px;

    background: #ffffff;
}

.case-id-badge span {
    color: #9aa2af;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.08em;
}

.case-id-badge strong {
    margin-top: 2px;

    color: #344054;

    font-size: 10px;
    font-weight: 800;
}

.investigation-heading h2 {
    margin: 3px 0 5px;

    color: #172033;

    font-size: 22px;
    font-weight: 760;

    line-height: 1.3;

    letter-spacing: -0.015em;
}

.investigation-heading p {
    max-width: 760px;

    margin: 0;

    color: #778195;

    font-size: 11px;
}

.investigation-navigation {
    flex: 0 0 auto;

    display: flex;

    gap: 6px;
}




.start-card {
    margin-bottom: 24px;

    padding: 16px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    background: #ffffff;

    border: 1px solid #dfe5ed;
    border-radius: 9px;
}

.start-card-content {
    min-width: 0;

    display: flex;
    align-items: flex-start;
}

.start-card h3 {
    margin: 2px 0 4px;

    color: #263249;

    font-size: 14px;
    font-weight: 750;
}

.start-card p {
    max-width: 720px;

    margin: 0;

    color: #7b8494;

    font-size: 10px;

    line-height: 1.6;
}




.alert-summary {
    width: 100%;
}

.alert-summary-grid {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 8px;
}

.alert-summary-item {
    min-width: 0;

    padding: 11px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 7px;
}

.alert-summary-item .label {
    display: block;

    margin-bottom: 4px;

    color: #8d97a7;

    font-size: 7px;
    font-weight: 800;

    letter-spacing: 0.06em;

    text-transform: uppercase;
}

.alert-summary-item .value {
    display: block;

    overflow: hidden;

    color: #354157;

    font-size: 10px;
    font-weight: 700;

    text-overflow: ellipsis;
    white-space: nowrap;
}




.log-toolbar {
    margin-bottom: 9px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        175px;

    gap: 8px;
}




.table-container {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 8px;

    -webkit-overflow-scrolling: touch;
}

.logs-table {
    width: 100%;

    min-width: 850px;

    border-collapse: collapse;

    font-size: 10px;
}

.logs-table th {
    padding: 10px 11px;

    background: #fafbfc;

    border-bottom: 1px solid #e2e7ee;

    color: #7d8797;

    font-size: 8px;
    font-weight: 800;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: 0.05em;

    white-space: nowrap;
}

.logs-table td {
    padding: 10px 11px;

    border-bottom: 1px solid #edf0f4;

    color: #596579;

    vertical-align: middle;
}

.logs-table tbody tr {
    cursor: pointer;

    transition:
        background 0.12s ease;
}

.logs-table tbody tr:hover {
    background: #f8faff;
}

.logs-table tbody tr:last-child td {
    border-bottom: 0;
}

.logs-table td:first-child {
    color: #697487;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 9px;

    white-space: nowrap;
}

.logs-table td:nth-child(2),
.logs-table td:nth-child(3) {
    color: #657083;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 9px;
}

.logs-table td:nth-child(4),
.logs-table td:nth-child(5) {
    color: #5c687a;

    white-space: nowrap;
}

.logs-table td:last-child {
    max-width: 500px;

    overflow: hidden;

    color: #344054;

    text-overflow: ellipsis;

    white-space: nowrap;
}




.conclusion-card {
    padding: 16px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;
}

.conclusion-content {
    min-width: 0;

    display: flex;
    align-items: flex-start;
}

.conclusion-card h3 {
    margin: 1px 0 4px;

    color: #263249;

    font-size: 14px;
    font-weight: 750;
}

.conclusion-card p {
    max-width: 750px;

    margin: 0;

    color: #7b8494;

    font-size: 10px;

    line-height: 1.6;
}




.verdict-form {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.form-help {
    color: #929baa;

    font-size: 9px;

    line-height: 1.45;
}

.form-error {
    display: none;

    padding: 9px 10px;

    border: 1px solid #f1c8c5;
    border-radius: 6px;

    background: #fff5f4;

    color: #a64238;

    font-size: 10px;
}

.form-error:not(:empty) {
    display: block;
}




.modal {
    position: fixed;

    inset: 0;

    z-index: 200;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 18px;
}

.modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;

    inset: 0;

    background: rgba(15, 23, 42, 0.38);

    backdrop-filter: blur(2px);
}

.modal-dialog {
    position: relative;

    z-index: 1;

    width: min(590px, 100%);

    max-height: calc(100vh - 36px);

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #dfe4eb;
    border-radius: 10px;

    box-shadow:
        0 18px 50px rgba(16, 24, 40, 0.16);
}

.modal-large {
    width: min(880px, 100%);
}

.modal-result {
    width: min(660px, 100%);
}




.modal-header {
    padding: 15px 17px;

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;

    border-bottom: 1px solid #edf0f4;
}

.modal-header h2 {
    margin: 3px 0 0;

    color: #172033;

    font-size: 16px;
    font-weight: 750;
}

.modal-close {
    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;
    border-radius: 6px;

    background: transparent;
    color: #7b8494;

    font-size: 20px;

    line-height: 1;
}

.modal-close:hover {
    background: #f2f4f7;

    color: #253047;
}




.modal-body {
    padding: 17px;

    overflow-y: auto;
}




.modal-footer {
    padding: 11px 17px;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 7px;

    border-top: 1px solid #edf0f4;

    background: #fcfcfd;
}




.log-detail-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.log-detail-field {
    min-width: 0;

    padding: 10px 11px;

    border: 1px solid #e4e8ee;

    border-radius: 7px;

    background: #fafbfc;
}

.log-detail-field .label,
.log-detail-field span {
    display: block;

    margin-bottom: 4px;

    color: #8b95a5;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}

.log-detail-field strong {
    display: block;

    overflow-wrap: anywhere;

    color: #344054;

    font-size: 10px;
    font-weight: 650;
}

.log-detail-message {
    grid-column: 1 / -1;
}

.log-detail-message pre {
    margin: 0;

    padding: 11px;

    overflow-x: auto;

    border: 1px solid #dfe4eb;

    border-radius: 6px;

    background: #f7f8fa;

    color: #253047;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 9px;

    line-height: 1.65;

    white-space: pre-wrap;

    word-break: break-word;
}




.result-quality {
    margin-bottom: 20px;

    padding: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    border: 1px solid #e2e7ee;

    border-radius: 8px;

    background: #fafbfc;
}

.result-quality-label {
    color: #657083;

    font-size: 10px;
    font-weight: 750;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}




.quality-badge {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 6px 9px;

    border-radius: 6px;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}

.quality-excellent {
    background: #eaf7ef;
    color: #22734a;
}

.quality-strong {
    background: #edf4ff;
    color: #2859ae;
}

.quality-needs-review {
    background: #fff7e8;
    color: #946d20;
}

.quality-incorrect {
    background: #fff0ee;
    color: #aa4338;
}




.result-section {
    margin-top: 18px;
}

.result-section-header {
    margin-bottom: 8px;
}

.result-section-header h3 {
    margin: 0;

    color: #344054;

    font-size: 12px;
    font-weight: 750;
}




.evaluation-breakdown {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.evaluation-item {
    padding: 10px 11px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 11px;

    border: 1px solid #e5e9ef;

    border-radius: 6px;

    background: #ffffff;
}

.evaluation-item-main {
    min-width: 0;

    display: flex;
    flex-direction: column;
}

.evaluation-item-main strong {
    color: #465267;

    font-size: 10px;
    font-weight: 700;
}

.evaluation-item-main span {
    margin-top: 2px;

    color: #9099a7;

    font-size: 8px;
}

.evaluation-result {
    flex: 0 0 auto;

    padding: 4px 6px;

    border-radius: 4px;

    background: #f0f3f7;
    color: #637084;

    font-size: 7px;
    font-weight: 800;

    text-transform: uppercase;
}




.result-feedback {
    padding: 11px;

    border: 1px solid #e4e8ee;

    border-radius: 7px;

    background: #fafbfc;

    color: #596579;

    font-size: 10px;

    line-height: 1.65;
}

.result-feedback p {
    margin: 0 0 7px;
}

.result-feedback p:last-child {
    margin-bottom: 0;
}

.result-feedback strong {
    color: #344054;
}




.empty-state {
    padding: 32px 18px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    border: 1px dashed #d5dce6;

    border-radius: 9px;

    background: #ffffff;

    text-align: center;
}

.empty-state h3 {
    margin: 0 0 4px;

    color: #475467;

    font-size: 12px;
    font-weight: 750;
}

.empty-state p {
    max-width: 400px;

    margin: 0;

    color: #8a93a3;

    font-size: 9px;
}




@media (max-width: 1100px) {

    .sidebar {
        width: 225px;
    }

    .main-content {
        margin-left: 225px;
    }

    .page-container {
        padding: 25px 22px;
    }

    .topbar {
        padding: 0 22px;
    }

    .workflow-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .alert-summary-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}




@media (max-width: 850px) {

    .filter-card {
        grid-template-columns:
            1fr 1fr;
    }

    .filter-group:first-child {
        grid-column: 1 / -1;
    }

    .investigation-header {
        flex-direction: column;
    }

    .investigation-navigation {
        width: 100%;
    }

    .log-toolbar {
        grid-template-columns:
            1fr 160px;
    }

}




@media (max-width: 700px) {

    body {
        background: #f7f9fc;
    }


    

    .sidebar {
        width: 265px;

        transform: translateX(-100%);

        box-shadow: none;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);

        box-shadow:
            10px 0 30px rgba(16, 24, 40, 0.12);
    }

    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .sidebar-close {
        display: flex;

        align-items: center;
        justify-content: center;
    }


    

    .main-content {
        margin-left: 0;
    }


    

    .topbar {
        min-height: 64px;

        padding: 0 13px;
    }

    .mobile-menu-button {
        display: flex;
    }

    .topbar-eyebrow {
        display: none;
    }

    .topbar-title h1 {
        font-size: 15px;
    }


    

    .page-container {
        padding: 19px 13px;
    }

    .page-heading {
        margin-bottom: 19px;
    }

    .page-heading h2 {
        font-size: 22px;
    }

    .page-heading p {
        font-size: 11px;
    }


    

    .stats-grid {
        grid-template-columns: 1fr;

        margin-bottom: 22px;
    }

    .stat-card {
        padding: 14px;
    }


    

    .section-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 3px;
    }


    

    .alert-queue-item {
        align-items: flex-start;

        flex-direction: column;

        gap: 11px;
    }

    .alert-queue-main {
        width: 100%;

        align-items: flex-start;
    }

    .alert-queue-content {
        flex: 1;
    }

    .alert-queue-content strong {
        white-space: normal;
    }

    .alert-queue-action {
        width: 100%;
    }

    .alert-queue-action .btn {
        width: 100%;
    }


    

    .workflow-grid {
        grid-template-columns: 1fr;
    }


    

    .filter-card {
        grid-template-columns: 1fr;

        padding: 13px;
    }

    .filter-group:first-child {
        grid-column: auto;
    }


    

    .case-grid {
        grid-template-columns: 1fr;
    }


    

    .investigation-header {
        gap: 13px;
    }

    .investigation-heading {
        width: 100%;

        gap: 9px;
    }

    .case-id-badge {
        min-width: 62px;

        padding: 7px;
    }

    .investigation-heading h2 {
        font-size: 19px;
    }

    .investigation-heading p {
        font-size: 10px;
    }

    .investigation-navigation {
        width: 100%;

        display: grid;

        grid-template-columns: 1fr 1fr;
    }

    .investigation-navigation .btn {
        width: 100%;
    }


    

    .start-card {
        align-items: flex-start;

        flex-direction: column;

        padding: 14px;
    }

    .start-card .btn {
        width: 100%;
    }


    

    .alert-summary-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    

    .log-toolbar {
        grid-template-columns: 1fr;
    }


    

    .table-container {
        border-radius: 7px;
    }


    

    .conclusion-card {
        align-items: flex-start;

        flex-direction: column;

        padding: 14px;
    }

    .conclusion-card .btn {
        width: 100%;
    }


    

    .modal {
        padding: 9px;
    }

    .modal-dialog {
        max-height: calc(100vh - 18px);

        border-radius: 9px;
    }

    .modal-header {
        padding: 13px 14px;
    }

    .modal-body {
        padding: 14px;
    }

    .modal-footer {
        padding: 10px 14px;
    }

    .modal-footer .btn {
        flex: 1;
    }


    

    .log-detail-grid {
        grid-template-columns: 1fr;
    }

    .log-detail-message {
        grid-column: auto;
    }


    

    .result-quality {
        align-items: flex-start;

        flex-direction: column;
    }

}




@media (max-width: 430px) {

    .page-container {
        padding-left: 11px;
        padding-right: 11px;
    }

    .topbar {
        padding-left: 11px;
        padding-right: 11px;
    }

    .alert-summary-grid {
        grid-template-columns: 1fr;
    }

    .investigation-heading {
        flex-direction: column;
    }

    .case-id-badge {
        align-self: flex-start;
    }

    .investigation-navigation {
        grid-template-columns: 1fr;
    }

    .start-card,
    .conclusion-card {
        padding: 13px;
    }

}




@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;
    }

}




.help-section {
    margin-bottom: 28px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section-header {
    margin-bottom: 12px;
}

.help-section-header h3 {
    margin: 3px 0 0;

    color: #202b3f;

    font-size: 16px;
    font-weight: 750;

    line-height: 1.3;
}

.help-section-header p {
    max-width: 780px;

    margin: 5px 0 0;

    color: #7d8798;

    font-size: 10px;

    line-height: 1.6;
}

.help-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.help-grid-two {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 10px;
}

.help-card {
    min-width: 0;

    padding: 15px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 9px;
}

.help-card h4 {
    margin: 0 0 6px;

    color: #344054;

    font-size: 12px;
    font-weight: 750;

    line-height: 1.4;
}

.help-card p {
    margin: 0;

    color: #687386;

    font-size: 10px;

    line-height: 1.65;
}

.help-card ul,
.help-card ol {
    margin: 7px 0 0;

    padding-left: 17px;

    color: #687386;

    font-size: 10px;

    line-height: 1.7;
}

.help-card li + li {
    margin-top: 3px;
}

.help-card-number {
    width: 28px;
    height: 28px;

    margin-bottom: 9px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #dce7f8;
    border-radius: 6px;

    background: #f1f6fd;

    color: #2563c7;

    font-size: 9px;
    font-weight: 800;
}

.help-card-verdict {
    border-left: 3px solid #d8e4f6;
}

.help-card-verdict strong {
    display: block;

    margin-bottom: 4px;

    color: #344054;

    font-size: 11px;
    font-weight: 750;
}

.help-workflow {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 9px;
}

.help-workflow-step {
    min-width: 0;

    padding: 14px;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 8px;
}

.help-workflow-step strong {
    display: block;

    margin-bottom: 4px;

    color: #39465a;

    font-size: 11px;
    font-weight: 750;
}

.help-workflow-step p {
    margin: 0;

    color: #7d8796;

    font-size: 9px;

    line-height: 1.55;
}

.help-table-wrapper {
    width: 100%;

    overflow-x: auto;

    background: #ffffff;

    border: 1px solid #e2e7ee;
    border-radius: 8px;

    -webkit-overflow-scrolling: touch;
}

.help-table {
    width: 100%;

    min-width: 620px;

    border-collapse: collapse;

    font-size: 10px;
}

.help-table th {
    padding: 10px 11px;

    background: #fafbfc;

    border-bottom: 1px solid #e2e7ee;

    color: #7d8797;

    font-size: 8px;
    font-weight: 800;

    text-align: left;

    text-transform: uppercase;

    letter-spacing: 0.05em;
}

.help-table td {
    padding: 10px 11px;

    border-bottom: 1px solid #edf0f4;

    color: #596579;

    vertical-align: top;

    line-height: 1.55;
}

.help-table tr:last-child td {
    border-bottom: 0;
}

.help-table td:first-child {
    width: 26%;

    color: #344054;

    font-weight: 700;
}

.help-callout {
    padding: 12px 13px;

    border: 1px solid #dce7f8;

    border-radius: 8px;

    background: #f6f9fe;

    color: #526174;

    font-size: 10px;

    line-height: 1.65;
}

.help-callout strong {
    color: #344054;
}




@media (max-width: 1100px) {

    .help-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .help-workflow {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 700px) {

    .help-grid,
    .help-grid-two,
    .help-workflow {
        grid-template-columns: 1fr;
    }

    .help-card {
        padding: 14px;
    }

    .help-table-wrapper {
        border-radius: 7px;
    }

}