﻿:root {
    --navy: #0c1425;
    --navy-light: #17243b;
    --primary: #5969e8;
    --primary-hover: #4656d4;
    --background: #f4f6fb;
    --surface: #ffffff;
    --text: #182236;
    --muted: #78849a;
    --border: #e5e9f1;
    --green: #15966e;
    --red: #d64d60;
    --radius: 16px;
    --shadow: 0 8px 28px rgba(24, 34, 54, 0.045);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
}

button,
input,
select {
    font: inherit;
}

button {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(89, 105, 232, 0.25);
    outline-offset: 2px;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
}

/* Sidebar */

.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 27px 17px 18px;
    display: flex;
    flex-direction: column;
    gap: 29px;
    color: #ffffff;
    background:
        radial-gradient(ellipse at top left, rgba(89, 105, 232, 0.11), transparent 45%),
        var(--navy);
    overflow-y: auto;
    z-index: 20;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 8px;
    color: inherit;
    text-decoration: none;
}

.brand-icon {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, #8b97ff, #4c5ce0);
    box-shadow: 0 6px 18px rgba(89, 105, 232, 0.23);
    font-size: 23px;
    font-weight: 900;
}

.brand-copy strong {
    display: block;
    font-size: 15px;
    letter-spacing: -0.3px;
}

.brand-copy small {
    display: block;
    margin-top: 5px;
    color: #8f9db4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.nav-heading {
    margin: 0 12px 10px;
    color: #72819a;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.system-heading {
    margin-top: -12px;
}

.navigation {
    display: grid;
    gap: 6px;
}

.nav-link {
    width: 100%;
    min-height: 43px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #aebbd0;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.nav-link > span {
    width: 18px;
    color: #91a0b8;
    font-size: 18px;
    text-align: center;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.055);
    color: white;
}

.nav-link.active {
    border-color: rgba(133, 147, 255, 0.13);
    background: linear-gradient(100deg, rgba(89, 105, 232, 0.26), rgba(89, 105, 232, 0.10));
    color: white;
}

.nav-link.active > span {
    color: #a5afff;
}

.sidebar-status {
    margin-top: auto;
    padding: 15px;
    border: 1px solid #29364c;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
}

.status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #e8a94b;
    box-shadow: 0 0 0 3px rgba(232, 169, 75, 0.10);
}

.sidebar-status p {
    margin: 12px 0 0;
    color: #8d9bb2;
    font-size: 10px;
    line-height: 1.9;
}

/* Main navigation and page layout */

.main-area {
    min-width: 0;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.breadcrumb {
    color: var(--muted);
    font-size: 11px;
}

.breadcrumb span {
    margin: 0 8px;
    color: #c0c8d5;
}

.breadcrumb strong {
    color: var(--text);
    font-weight: 750;
}

.api-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: #fff;
    color: #536077;
    font-size: 10px;
    font-weight: 750;
}

.avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid #dce1ff;
    border-radius: 50%;
    background: #eef0ff;
    color: #4e5ed7;
    font-size: 10px;
    font-weight: 900;
}

.mobile-menu {
    display: none;
    width: 36px;
    height: 36px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: white;
    color: var(--text);
    cursor: pointer;
}

.content-area {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px;
}

.page {
    display: none;
    animation: page-appear 0.2s ease;
}

.page.active {
    display: block;
}

@keyframes page-appear {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.eyebrow {
    margin-bottom: 9px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

h1 {
    margin: 0;
    font-size: clamp(24px, 2.3vw, 31px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.2px;
}

.page-description {
    max-width: 720px;
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

/* Buttons, labels and cards */

.btn {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

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

.btn:disabled {
    cursor: wait;
    opacity: 0.65;
    transform: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(89, 105, 232, 0.16);
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    border-color: var(--border);
    background: white;
    color: #3f4a5f;
}

.btn-outline:hover {
    border-color: #cbd2e5;
    background: #fafbff;
}

.card {
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 13px;
    padding: 21px 22px 0;
}

.card-heading p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.card-content {
    padding: 21px 22px 23px;
}

.tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 6px 9px;
    border-radius: 7px;
    background: #e4f8f0;
    color: #14815d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.tag-blue {
    background: #edf0ff;
    color: #4d5ed7;
}

.tag-red {
    background: #ffeaed;
    color: #bf3b4d;
}

/* Dashboard statistics */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin-bottom: 18px;
}

.stat-card {
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.stat-card::after {
    position: absolute;
    right: -18px;
    bottom: -29px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: rgba(89, 105, 232, 0.035);
    content: "";
    pointer-events: none;
}

.stat-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 650;
}

.stat-value {
    margin: 13px 0 7px;
    font-size: clamp(23px, 2.1vw, 30px);
    font-weight: 850;
    letter-spacing: -1.1px;
    font-variant-numeric: tabular-nums;
}

.value-unit {
    margin-left: 2px;
    font-size: 16px;
}

.stat-caption {
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

/* Dashboard chart and decision threshold */

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 18px;
}

#performanceChart {
    width: 100%;
    height: 210px;
    display: block;
}

.chart-note {
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.bar-group {
    margin-bottom: 23px;
}

.bar-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
    color: #626e82;
    font-size: 10px;
}

.bar-label strong {
    color: #344056;
    font-size: 10px;
}

.progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 20px;
    background: #edf0f6;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #6676ef, #8994ff);
}

.fill-green {
    background: linear-gradient(90deg, #15966e, #40c79a);
}

.fill-red {
    background: linear-gradient(90deg, #d64d60, #f18491);
}

.notice {
    padding: 12px 13px;
    border: 1px solid #f4e6c9;
    border-radius: 10px;
    background: #fff8eb;
    color: #87611e;
    font-size: 10px;
    line-height: 1.8;
}

/* Recent assessment table */

.table-card {
    overflow: hidden;
}

.table-scroll {
    width: 100%;
    overflow-x: auto;
    margin-top: 19px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    white-space: nowrap;
}

thead {
    background: #fafbfe;
}

th,
td {
    padding: 14px 21px;
    border-top: 1px solid var(--border);
    font-size: 10px;
}

th {
    color: var(--muted);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

td {
    color: #48556a;
}

td b {
    color: var(--text);
}

.empty-row {
    padding: 26px 15px;
    color: var(--muted);
    text-align: center;
    white-space: normal;
}

/* Applicant assessment form */

.assessment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(245px, 0.7fr);
    align-items: start;
    gap: 17px;
}

.assessment-form {
    padding: 23px;
}

.form-section-title {
    margin: 1px 0 18px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--border);
    color: #4c5a70;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.9px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 25px;
}

.form-field {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    color: #4d5a70;
    font-size: 10px;
    font-weight: 800;
}

.form-field input,
.form-field select {
    width: 100%;
    min-width: 0;
    min-height: 41px;
    padding: 10px 11px;
    border: 1px solid #dfe5ee;
    border-radius: 9px;
    outline: none;
    background: #fff;
    color: var(--text);
    font-size: 11px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field select:focus {
    border-color: #7888ff;
    box-shadow: 0 0 0 3px rgba(89, 105, 232, 0.10);
}

.form-field input:invalid {
    border-color: #e2a1aa;
}

.form-field small {
    color: var(--muted);
    font-size: 9px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.workflow-card {
    padding: 22px;
    background:
        radial-gradient(ellipse at top right, rgba(103, 120, 241, 0.17), transparent 48%),
        linear-gradient(145deg, #192640, #0c1425);
    color: #fff;
}

.workflow-card h2 {
    font-size: 14px;
}

.workflow-card > p {
    color: #b2bfd2;
    font-size: 10px;
    line-height: 1.9;
}

.workflow-divider {
    height: 1px;
    margin: 19px 0;
    background: #35435b;
}

.workflow-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(229, 233, 241, 0.7);
    font-size: 10px;
}

.workflow-row:last-child {
    border-bottom: 0;
}

.workflow-row span {
    color: var(--muted);
}

.workflow-row strong {
    max-width: 62%;
    color: var(--text);
    text-align: right;
    overflow-wrap: anywhere;
}

.workflow-card .workflow-row {
    border-bottom-color: #35435b;
}

.workflow-card .workflow-row span {
    color: #aab8cd;
}

.workflow-card .workflow-row strong {
    color: #fff;
}

/* Prediction results */

#predictionResult {
    margin-top: 18px;
}

.result-card {
    padding: 24px;
}

.result-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.result-heading h2 {
    margin-top: 8px;
    font-size: 21px;
    letter-spacing: -0.5px;
}

.result-heading p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 10px;
}

.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 21px 0;
}

.result-metric {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #f8f9fc;
}

.result-metric small {
    display: block;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.5;
}

.result-metric strong {
    font-size: 23px;
    font-weight: 850;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

.result-metric .progress-track {
    margin-top: 12px;
}

.result-card .notice {
    margin-top: 12px;
}

.error-panel {
    padding: 20px;
    border: 1px solid #f4cdd2;
    border-radius: 13px;
    background: #fff4f5;
}

.error-panel h2 {
    margin: 10px 0;
    color: #ad3043;
}

.error-panel p {
    color: #85515a;
    font-size: 11px;
    line-height: 1.8;
}

/* Insights page */

.insights-grid,
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 17px;
}

.feature-row {
    display: grid;
    grid-template-columns: minmax(85px, 1fr) minmax(55px, 1.5fr) 48px;
    align-items: center;
    gap: 11px;
    margin: 20px 0;
    color: #4d5a70;
    font-size: 10px;
}

.feature-row strong {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    text-align: right;
}

.feature-row .progress-track {
    height: 8px;
}

.insights-grid .notice + .notice {
    margin-top: 12px;
}

.insights-grid + .page-description {
    margin-top: 17px;
}

/* API status */

.api-status-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 23px;
}

.api-status-card h2 {
    font-size: 15px;
}

.api-status-card p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.api-settings-card {
    margin-top: 17px;
}

.api-url-field {
    max-width: 620px;
}

.api-test-result {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* Footer and notifications */

.footer {
    padding: 28px 0 8px;
    color: #98a2b3;
    font-size: 10px;
    line-height: 1.8;
    text-align: center;
}

.toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 100;
    max-width: min(400px, calc(100vw - 32px));
    padding: 14px 17px;
    border: 1px solid #303c51;
    border-radius: 11px;
    background: #101827;
    box-shadow: 0 12px 35px rgba(10, 20, 37, 0.20);
    color: white;
    font-size: 11px;
    line-height: 1.6;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive design */

@media (min-width: 1500px) {
    .content-area {
        padding: 36px 40px;
    }

    .stats-grid {
        gap: 18px;
    }
}

@media (max-width: 1150px) {
    .app-shell {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .content-area {
        padding: 24px;
    }

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

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

    .assessment-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .workflow-card {
        order: 2;
    }
}

@media (max-width: 760px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 248px;
        height: 100dvh;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 15px 0 40px rgba(0, 0, 0, 0.17);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .topbar {
        height: 62px;
        padding: 0 15px;
    }

    .mobile-menu {
        display: inline-grid;
        place-items: center;
    }

    .topbar-left,
    .topbar-right {
        gap: 9px;
    }

    .avatar {
        display: none;
    }

    .content-area {
        padding: 22px 14px;
    }

    .page-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .page-heading > .tag {
        align-self: flex-start;
    }

    .stats-grid {
        gap: 10px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-value {
        font-size: 25px;
    }

    .card-heading {
        padding: 17px 16px 0;
    }

    .card-content {
        padding: 17px 16px 19px;
    }

    .assessment-form {
        padding: 17px;
    }

    .insights-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .result-card {
        padding: 17px;
    }
}

@media (max-width: 480px) {
    .breadcrumb {
        font-size: 10px;
    }

    .breadcrumb span {
        margin: 0 4px;
    }

    .api-pill {
        gap: 6px;
        padding: 8px;
        font-size: 9px;
    }

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

    .stat-card {
        padding: 13px;
    }

    .stat-label {
        font-size: 10px;
    }

    .stat-value {
        font-size: 23px;
    }

    .stat-caption {
        font-size: 9px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }

    .result-metrics {
        grid-template-columns: 1fr;
    }

    .feature-row {
        grid-template-columns: minmax(76px, 1fr) minmax(45px, 1fr) 44px;
        gap: 8px;
        font-size: 9px;
    }

    .api-status-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


/* About Project upgrade */
.about-section {
    margin-top: 28px;
}

.section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 15px;
}

.section-intro h2,
.about-responsible-card h2 {
    margin: 5px 0 7px;
    color: var(--text, #19243a);
    font-size: 20px;
    letter-spacing: -0.45px;
}

.section-intro p,
.about-step p,
.about-metric-card p,
.about-responsible-card p,
.about-responsible-card li {
    color: var(--muted, #748198);
    font-size: 12px;
    line-height: 1.7;
}

.section-intro p {
    margin: 0;
}

.about-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-step,
.about-metric-card {
    min-width: 0;
    padding: 19px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, #e4e9f2);
    border-radius: 15px;
    box-shadow: 0 8px 24px rgba(28, 43, 75, 0.035);
}

.about-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin-bottom: 14px;
    border-radius: 11px;
    background: #edf0ff;
    color: #5968e8;
    font-size: 12px;
    font-weight: 800;
}

.about-step h3 {
    margin: 0 0 7px;
    font-size: 14px;
    color: var(--text, #19243a);
}

.about-step p,
.about-metric-card p {
    margin: 0;
}

.about-result-tag {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 9px;
    background: #edf0ff;
    color: #5364e5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.about-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.about-metric-card {
    background: #f8f9fd;
}

.about-metric-card > span {
    display: block;
    margin-bottom: 9px;
    color: var(--muted, #748198);
    font-size: 12px;
    font-weight: 600;
}

.about-metric-card strong {
    display: block;
    margin-bottom: 10px;
    color: var(--text, #19243a);
    font-size: clamp(22px, 2vw, 29px);
    letter-spacing: -0.7px;
    font-variant-numeric: tabular-nums;
}

.about-footnote {
    margin: 12px 0 0;
    color: var(--muted, #748198);
    font-size: 11px;
    line-height: 1.6;
}

.about-responsible-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: start;
    gap: 17px;
    padding: 24px;
    border: 1px solid #f1dfbd;
    border-radius: 16px;
    background: #fffaf1;
}

.about-responsible-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: #fff0d4;
    color: #a56813;
    font-size: 20px;
    font-weight: 800;
}

.about-responsible-card h2 {
    margin-top: 5px;
}

.about-responsible-card p {
    margin: 0 0 10px;
    color: #765a31;
}

.about-responsible-card ul {
    margin: 0;
    padding-left: 18px;
}

.about-responsible-card li {
    padding: 2px 0;
    color: #765a31;
}

@media (max-width: 1100px) {
    .about-workflow-grid,
    .about-metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .about-workflow-grid,
    .about-metrics-grid {
        grid-template-columns: 1fr;
    }

    .section-intro {
        align-items: flex-start;
        flex-direction: column;
    }

    .about-responsible-card {
        grid-template-columns: 1fr;
        padding: 18px;
    }
}



/* Assessment heading visibility fix */
#page-assessment {
    position: relative;
    padding-top: 8px;
}

#page-assessment > .page-heading {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 8px;
    overflow: visible;
}

#page-assessment > .page-heading h1 {
    margin-top: 0;
    line-height: 1.25;
}

#page-assessment .assessment-layout {
    align-items: start;
}

@media (max-width: 760px) {
    #page-assessment {
        padding-top: 4px;
    }
}
