.school-page {
    max-width: 1160px;
    margin: 24px auto 60px;
    color: #21324a;
    font: 14px/1.6 system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif
}

.school-heading,
.school-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap
}

.school-heading h1,
.school-auth h1 {
    font-size: 28px;
    letter-spacing: -1px;
    font-weight: 750;
    margin: 0 0 12px
}

.school-eyebrow {
    font-size: 12px;
    letter-spacing: 1px;
    font-weight: 700;
    color: #667b98;
    margin: 0 0 6px
}

.school-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #dbe3ee;
    padding: 8px 0 16px;
    margin-bottom: 24px
}

.school-tabs a {
    display: block;
    text-decoration: none;
    padding: 8px 14px;
    color: #29496a;
    border-radius: 8px;
    background: #eef3f9;
    font-weight: 650
}

.school-panel {
    border: 1px solid #dbe3ee;
    border-radius: 14px;
    background: white;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 16px #21324a05
}

.school-panel h2 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 14px
}

.school-panel h3 {
    font-size: 16px;
    margin: 20px 0 12px
}

.school-panel-head span,
.school-note {
    font-size: 12px;
    color: #66748a
}

.school-note {
    margin: 12px 0 0
}

.school-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 14px 0
}

.school-metrics>div {
    padding: 18px;
    background: #f3f6fa;
    border-radius: 10px
}

.school-metrics span {
    display: block;
    color: #65738a;
    font-size: 13px
}

.school-metrics strong {
    display: block;
    font-size: 27px;
    letter-spacing: -.6px;
    margin-top: 7px
}

.school-metrics small {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0
}

.school-form {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: end
}

.school-form label {
    display: flex;
    flex: 1 1 190px;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    font-size: 13px
}

.school-form input,
.school-form select,
.school-inline input,
.school-inline select {
    border: 1px solid #c6d2df;
    background: #fff;
    color: #21324a;
    border-radius: 7px;
    padding: 9px 10px;
    min-height: 40px;
    max-width: 100%;
    font: inherit;
    min-width: 0
}

.school-form small {
    color: #63738b;
    font-weight: 400
}

.school-form .school-check {
    flex-direction: row;
    align-items: center;
    flex-basis: 100%;
    font-weight: 400
}

.school-check input {
    min-height: 0
}

.school-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #284f77;
    border-radius: 7px;
    min-height: 40px;
    padding: 9px 14px;
    color: #fff;
    background: #284f77;
    text-decoration: none;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer
}

.school-button.secondary {
    background: #fff;
    color: #284f77;
    border-color: #c5d2e1
}

.school-button:hover {
    background: #1e3f60;
    color: white
}

.school-button:focus-visible,
.school-tabs a:focus-visible {
    outline: 3px solid #83b5ff;
    outline-offset: 3px
}

.school-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.school-inline input[type=number] {
    width: 85px
}

.school-table-wrap {
    overflow-x: auto;
    max-width: 100%
}

.school-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px
}

.school-table th,
.school-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e0e7ef;
    vertical-align: middle;
    text-align: left;
    min-width: 64px
}

.school-table thead th {
    background: #f0f4f9;
    white-space: nowrap;
    font-weight: 650
}

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

.school-table .nowrap {
    white-space: nowrap
}

.school-table td:nth-child(4),
.school-table td:nth-child(5),
.school-table td:nth-child(6) {
    white-space: nowrap;
}

.school-definitions {
    margin-top: 14px;
}

.school-panel .school-definitions summary {
    color: #526b89;
    font-size: 13px;
    font-weight: 500;
}

.school-table th:nth-child(1) {
    min-width: 90px
}

.school-panel summary {
    font-weight: 700;
    font-size: 17px;
    cursor: pointer
}

.school-panel[open] summary {
    margin-bottom: 18px
}

.school-credentials {
    border: 1px solid #b9d8c6;
    border-radius: 12px;
    padding: 20px;
    background: #f0f8f3
}

.school-credentials h2 {
    font-size: 18px
}

.school-credentials code {
    font-size: 16px;
    color: #174b36;
    overflow-wrap: anywhere
}

.school-pagination {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px 0
}

.school-auth {
    background: #fff;
    max-width: 600px;
    padding: 32px;
    border: 1px solid #dbe3ee;
    border-radius: 16px
}

.school-auth .school-form {
    display: grid;
    grid-template-columns: 1fr
}

.school-auth a {
    color: #284f77
}

.school-page input:focus,
.school-page select:focus {
    outline: 2px solid #6b9dcc;
    outline-offset: 1px
}

@media(max-width:600px) {
    .school-page {
        margin: 18px auto 40px
    }

    .school-panel {
        padding: 16px
    }

    .school-heading h1,
    .school-auth h1 {
        font-size: 24px
    }

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

    .school-metrics>div {
        padding: 12px
    }

    .school-metrics strong {
        font-size: 22px
    }

    .school-auth {
        margin: 16px;
        padding: 20px
    }

    .school-table {
        font-size: 12px
    }

    .school-tabs a {
        padding: 8px 10px
    }
}

@media print {

    nav,
    .school-no-print,
    .school-heading a,
    .school-panel-head form,
    #school-print {
        display: none !important
    }

    .school-page {
        max-width: none;
        margin: 0;
        font-size: 11px
    }

    .school-panel {
        box-shadow: none;
        padding: 12px;
        break-inside: avoid
    }

    .school-table-wrap {
        overflow: visible
    }

    .school-table {
        font-size: 10px
    }

    .school-table td,
    .school-table th {
        padding: 6px
    }

    .school-metrics strong {
        font-size: 20px
    }
}
