.passed-public-page {
    background: #eef3f7;
    color: #0f172a;
    min-height: 100vh;
    padding: 18px;
}

.passed-hero {
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #dbe5ee;
    border-radius: 8px;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 0 auto 14px;
    max-width: 1400px;
    padding: 24px;
}

.passed-kicker,
.passed-panel__head span,
.passed-list-head span,
.passed-controls label {
    color: #64748b;
    display: block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.passed-hero h1 {
    color: #0f172a;
    font-size: 34px;
    font-weight: 900;
    margin: 4px 0 6px;
}

.passed-hero p {
    color: #475569;
    font-size: 15px;
    margin: 0;
}

.passed-hero__stats {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 150px);
}

.passed-hero__stats div,
.passed-panel,
.passed-controls,
.passed-list-head,
.passed-student-card {
    background: #ffffff;
    border: 1px solid #dbe5ee;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, .06);
}

.passed-hero__stats div {
    padding: 13px;
}

.passed-hero__stats span {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 800;
}

.passed-hero__stats strong {
    color: #0e7490;
    display: block;
    font-size: 28px;
    font-weight: 900;
    margin-top: 4px;
}

.passed-controls {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(170px, 220px) minmax(280px, 1fr) minmax(180px, 320px) auto;
    margin: 0 auto 14px;
    max-width: 1400px;
    padding: 14px;
}

.passed-field input,
.passed-field select {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a;
    font-size: 14px;
    height: 40px;
    margin-top: 5px;
    padding: 0 10px;
    width: 100%;
}

.passed-filter-actions {
    align-items: flex-end;
    display: flex;
    gap: 8px;
}

.passed-filter-actions button,
.passed-filter-actions a {
    align-items: center;
    border-radius: 6px;
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 7px;
    height: 40px;
    justify-content: center;
    margin-top: 20px;
    padding: 0 13px;
    white-space: nowrap;
}

.passed-filter-actions button {
    background: #0e7490;
    border: 1px solid #0e7490;
    color: #ffffff;
}

.passed-filter-actions a {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.passed-filter-actions a:hover,
.passed-filter-actions button:hover {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    text-decoration: none;
}

.passed-field input:focus,
.passed-field select:focus {
    border-color: #0e7490;
    box-shadow: 0 0 0 3px rgba(14, 116, 144, .14);
    outline: none;
}

.passed-chart-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 auto 14px;
    max-width: 1400px;
}

.passed-panel {
    padding: 14px;
}

.passed-panel__head {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
    padding-bottom: 10px;
}

.passed-panel__head strong,
.passed-list-head strong {
    color: #0f172a;
    display: block;
    font-size: 16px;
    font-weight: 900;
    margin-top: 2px;
}

.passed-chart {
    height: 270px;
    position: relative;
}

.passed-list-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 14px;
    max-width: 1400px;
    padding: 14px 16px;
}

.passed-list-head small {
    color: #64748b;
    font-weight: 700;
}

.passed-student-grid {
    display: grid;
    gap: 12px;
    margin: 0 auto 30px;
    max-width: 1400px;
}

.passed-student-card {
    align-items: center;
    display: grid;
    gap: 14px;
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 13px;
}

.passed-photo {
    background: #dbeafe;
    border-radius: 8px;
    height: 92px;
    overflow: hidden;
    width: 92px;
}

.passed-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.passed-photo-fallback {
    align-items: center;
    color: #0e7490;
    display: flex;
    font-size: 38px;
    font-weight: 900;
    height: 100%;
    justify-content: center;
    width: 100%;
}

.passed-name-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.passed-name-row h2 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    margin: 0;
}

.passed-name-row span {
    background: #e0f2fe;
    border-radius: 999px;
    color: #075985;
    font-size: 12px;
    font-weight: 900;
    padding: 5px 9px;
}

.passed-info p {
    color: #475569;
    font-size: 13px;
    margin: 3px 0 9px;
}

.passed-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.passed-meta span {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    padding: 6px 9px;
}

.passed-meta i {
    color: #0e7490;
}

.passed-empty {
    background: #ffffff;
    border: 1px solid #dbe5ee;
    border-radius: 8px;
    color: #991b1b;
    font-weight: 900;
    padding: 28px;
    text-align: center;
}

.passed-pagination {
    margin: 0 auto 34px;
    max-width: 1400px;
}

.passed-pagination nav {
    align-items: center;
    background: #ffffff;
    border: 1px solid #dbe5ee;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    padding: 10px 12px;
}

.passed-pagination .pagination {
    margin: 0;
}

@media (max-width: 991px) {
    .passed-hero,
    .passed-controls,
    .passed-chart-grid {
        grid-template-columns: 1fr;
    }

    .passed-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .passed-public-page {
        padding: 10px;
    }

    .passed-hero,
    .passed-controls,
    .passed-panel,
    .passed-list-head,
    .passed-student-card {
        padding: 12px;
    }

    .passed-hero h1 {
        font-size: 26px;
    }

    .passed-hero__stats,
    .passed-student-card {
        grid-template-columns: 1fr;
    }

    .passed-photo {
        height: 120px;
        width: 120px;
    }

    .passed-list-head,
    .passed-name-row {
        align-items: flex-start;
        flex-direction: column;
    }
}
