:root {
    --plc-white: #ffffff;
    --plc-navy: #062a56;
    --plc-navy-deep: #031f43;
    --plc-blue: #1766c2;
    --plc-teal: #07989c;
    --plc-cyan: #42bfc5;
    --plc-ink: #102a4c;
    --plc-muted: #64748b;
    --plc-line: #dce5ee;
    --plc-soft: #f4f8fb;
    --plc-shadow: 0 8px 24px rgba(6, 42, 86, 0.07);
    --plc-radius: 12px;
    --plc-sidebar-width: 232px;
}

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

html {
    background: var(--plc-white);
    scroll-behavior: smooth;
}

body.plc-dashboard-page {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--plc-white);
    color: var(--plc-ink);
    font-family: "Sarabun", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

body.plc-dashboard-page button,
body.plc-dashboard-page input {
    font: inherit;
}

.plc-dashboard {
    min-height: 100vh;
    background: var(--plc-white);
}

.plc-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    display: flex;
    width: var(--plc-sidebar-width);
    flex-direction: column;
    background: var(--plc-navy-deep);
    color: var(--plc-white);
}

.plc-brand {
    display: flex;
    min-height: 188px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    padding: 24px 18px;
    text-align: center;
}

.plc-brand__logo-wrap {
    display: grid;
    width: 170px;
    min-height: 62px;
    padding: 12px;
    border-radius: 10px;
    background: var(--plc-white);
    place-items: center;
}

.plc-brand__logo {
    width: 146px;
    height: auto;
}

.plc-brand__title {
    font-size: 17px;
    font-weight: 700;
}

.plc-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plc-nav__link {
    position: relative;
    display: flex;
    min-height: 62px;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.plc-nav__link i {
    width: 28px;
    font-size: 25px;
    text-align: center;
}

.plc-nav__link:hover,
.plc-nav__link:focus-visible,
.plc-nav__link.is-active {
    background: #0a3b73;
    color: var(--plc-white);
    text-decoration: none;
}

.plc-nav__link.is-active::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--plc-cyan);
    content: "";
}

.plc-sidebar__office {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding: 28px 18px 34px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.plc-sidebar__office i {
    color: #5da4f4;
    font-size: 54px;
}

.plc-shell {
    display: flex;
    min-height: 100vh;
    margin-left: var(--plc-sidebar-width);
    flex-direction: column;
}

.plc-main {
    display: flex;
    width: min(100%, 1500px);
    margin: 0 auto;
    padding: 28px 30px 42px;
    flex-direction: column;
}

.plc-heading-row { order: 0; }
.plc-ls-section { order: 1; }
.plc-fiscal-heading--plc { order: 2; }
.plc-kpis { order: 3; }
.plc-analytics { order: 4; }
.plc-school-panel { order: 5; }

.plc-mobile-header {
    display: none;
}

.plc-heading-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.plc-heading-row h1 {
    margin: 0;
    color: var(--plc-navy);
    font-size: clamp(28px, 2.5vw, 40px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.plc-heading-row p {
    margin: 7px 0 0;
    color: var(--plc-muted);
    font-size: 16px;
}

.plc-login-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 17px;
    border: 1px solid var(--plc-blue);
    border-radius: 8px;
    background: var(--plc-white);
    color: var(--plc-blue);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.plc-login-button:hover {
    background: var(--plc-blue);
    color: var(--plc-white);
    text-decoration: none;
}

.plc-login-button:focus-visible,
.plc-menu-toggle:focus-visible,
.plc-search input:focus-visible,
.plc-mobile-brand:focus-visible {
    outline: 3px solid rgba(23, 102, 194, 0.28);
    outline-offset: 3px;
}

.plc-login-button--mobile {
    display: none;
}

.plc-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 20px;
}

.plc-kpi {
    display: flex;
    min-height: 126px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 20px 24px;
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    background: var(--plc-white);
    box-shadow: var(--plc-shadow);
}

.plc-kpi__icon {
    display: grid;
    width: 74px;
    height: 74px;
    flex: 0 0 74px;
    place-items: center;
    border-radius: 50%;
    background: #e9f8f8;
    color: var(--plc-teal);
}

.plc-kpi--blue .plc-kpi__icon {
    background: #ebf3ff;
    color: var(--plc-blue);
}

.plc-kpi__icon svg {
    width: 50px;
    height: 50px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.8;
}

.plc-kpi__copy {
    display: grid;
    grid-template-columns: auto auto;
    align-items: baseline;
    column-gap: 9px;
}

.plc-kpi__copy span {
    grid-column: 1 / -1;
    color: var(--plc-ink);
    font-size: 17px;
    font-weight: 600;
}

.plc-kpi__copy strong {
    color: var(--plc-teal);
    font-size: clamp(34px, 3vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.plc-kpi--blue .plc-kpi__copy strong {
    color: var(--plc-blue);
}

.plc-kpi__copy small {
    color: var(--plc-ink);
    font-size: 16px;
}

.plc-analytics {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.plc-panel {
    border: 1px solid var(--plc-line);
    border-radius: var(--plc-radius);
    background: var(--plc-white);
    box-shadow: var(--plc-shadow);
}

.plc-panel__heading,
.plc-school-heading {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 22px 15px;
    border-bottom: 1px solid var(--plc-line);
}

.plc-panel__heading {
    border-bottom-color: var(--plc-teal);
}

.plc-panel__heading h2,
.plc-school-heading h2 {
    margin: 0;
    color: var(--plc-navy);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.plc-panel__heading p,
.plc-school-heading p {
    margin: 4px 0 0;
    color: var(--plc-muted);
    font-size: 13px;
}

.plc-panel__heading > i {
    color: var(--plc-blue);
    font-size: 27px;
}

.plc-bars {
    display: flex;
    min-height: 350px;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
    padding: 24px 24px 28px;
}

.plc-bar-row {
    display: grid;
    grid-template-columns: minmax(120px, 34%) minmax(100px, 1fr) 58px;
    align-items: center;
    gap: 12px;
}

.plc-bar-row__label {
    overflow: hidden;
    color: var(--plc-ink);
    font-size: 14px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plc-bar-row__track {
    display: block;
    height: 18px;
    overflow: hidden;
    border-radius: 4px;
    background: #edf2f6;
}

.plc-bar-row__fill {
    display: block;
    width: var(--bar-size);
    height: 100%;
    border-radius: inherit;
    background: var(--plc-teal);
    transform-origin: left center;
    animation: plc-grow-x 650ms ease-out both;
}

.plc-bar-row strong {
    color: var(--plc-ink);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}

.plc-donut-layout {
    display: grid;
    min-height: 350px;
    grid-template-columns: minmax(170px, 0.85fr) minmax(220px, 1.15fr);
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.plc-donut {
    position: relative;
    width: min(100%, 240px);
    aspect-ratio: 1;
    justify-self: center;
}

.plc-donut svg {
    width: 100%;
    height: 100%;
    overflow: visible;
    transform: rotate(-90deg);
}

.plc-donut__base,
.plc-donut__segment {
    fill: none;
    stroke-width: 6;
}

.plc-donut__base {
    stroke: #edf2f6;
}

.plc-donut__segment {
    animation: plc-donut-in 700ms ease-out both;
}

.plc-donut__center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.plc-donut__center strong {
    color: var(--plc-navy);
    font-size: clamp(24px, 2.5vw, 36px);
    line-height: 1;
}

.plc-donut__center span {
    margin-top: 4px;
    color: var(--plc-muted);
    font-size: 12px;
}

.plc-legend {
    display: grid;
    gap: 12px;
}

.plc-legend__row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.plc-legend__swatch {
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background: var(--legend-color);
}

.plc-legend__label {
    overflow: hidden;
    color: var(--plc-ink);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plc-legend__row strong {
    color: var(--plc-navy);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
}

.plc-school-panel {
    overflow: hidden;
}

.plc-ls-section {
    margin-bottom: 20px;
}

.plc-fiscal-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 14px;
    padding-top: 4px;
    border-top: 1px solid var(--plc-line);
}

.plc-fiscal-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
}

.plc-fiscal-heading h2 {
    margin: 0;
    color: var(--plc-navy);
    font-size: 21px;
    font-weight: 700;
}

.plc-fiscal-heading p {
    margin: 2px 0 0;
    color: var(--plc-muted);
    font-size: 13px;
}

.plc-section-heading__mark--plc {
    width: 48px;
    flex-basis: 48px;
    background: var(--plc-teal);
    font-size: 12px;
}

.plc-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 4px 0 14px;
}

.plc-section-heading > div {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plc-section-heading__mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 10px;
    background: var(--plc-navy);
    color: var(--plc-white);
    font-size: 14px;
    font-weight: 700;
    place-items: center;
}

.plc-section-heading h2 {
    margin: 0;
    color: var(--plc-navy);
    font-size: 21px;
    font-weight: 700;
}

.plc-section-heading p {
    margin: 2px 0 0;
    color: var(--plc-muted);
    font-size: 13px;
}

.plc-section-heading > strong {
    color: var(--plc-teal);
    font-size: 24px;
    font-variant-numeric: tabular-nums;
}

.plc-section-heading > strong small {
    color: var(--plc-muted);
    font-size: 12px;
    font-weight: 500;
}

.plc-ls-analytics {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 20px;
}

.plc-ls-status-layout {
    display: grid;
    min-height: 310px;
    grid-template-columns: minmax(155px, 0.8fr) minmax(210px, 1.2fr);
    align-items: center;
    gap: 24px;
    padding: 24px;
}

.plc-donut--ls {
    width: min(100%, 210px);
}

.plc-ls-status-legend {
    display: grid;
    gap: 12px;
}

.plc-ls-status-legend__row {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.plc-ls-status-legend__row > span:nth-child(2),
.plc-ls-status-legend__value {
    display: flex;
    flex-direction: column;
}

.plc-ls-status-legend__row strong {
    color: var(--plc-navy);
    font-size: 14px;
}

.plc-ls-status-legend__row small {
    color: var(--plc-muted);
    font-size: 10px;
}

.plc-ls-status-legend__value {
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
}

.plc-ls-steps {
    display: flex;
    min-height: 310px;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    padding: 24px 26px;
}

.plc-ls-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.plc-ls-step__index {
    display: grid;
    width: 34px;
    height: 34px;
    border: 1px solid #bed2e7;
    border-radius: 50%;
    background: var(--plc-white);
    color: var(--plc-blue);
    font-size: 13px;
    font-weight: 700;
    place-items: center;
}

.plc-ls-step__content {
    min-width: 0;
}

.plc-ls-step__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 7px;
}

.plc-ls-step__heading > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.plc-ls-step__heading strong {
    color: var(--plc-navy);
    font-size: 14px;
}

.plc-ls-step__heading small {
    overflow: hidden;
    color: var(--plc-muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plc-ls-step__value {
    flex: 0 0 auto;
    align-items: flex-end;
    font-variant-numeric: tabular-nums;
}

.plc-ls-step__value strong {
    color: var(--plc-teal);
    font-size: 16px;
}

.plc-ls-step__track {
    display: block;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7edf3;
}

.plc-ls-step__track > span {
    display: block;
    width: var(--ls-step-size);
    height: 100%;
    border-radius: inherit;
    background: var(--plc-teal);
    animation: plc-grow-x 650ms ease-out both;
}

.plc-school-heading {
    min-height: 86px;
}

.plc-search {
    position: relative;
    display: block;
    width: min(280px, 100%);
    margin: 0;
}

.plc-search i {
    position: absolute;
    top: 50%;
    left: 13px;
    color: var(--plc-muted);
    font-size: 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.plc-search input {
    width: 100%;
    min-height: 42px;
    padding: 8px 14px 8px 40px;
    border: 1px solid #cad6e2;
    border-radius: 8px;
    background: var(--plc-white);
    color: var(--plc-ink);
    outline: none;
}

.plc-search input::placeholder {
    color: #8b9aab;
}

.plc-school-table__head,
.plc-school-row {
    display: grid;
    grid-template-columns: 90px minmax(220px, 1.5fr) 150px minmax(180px, 1fr);
    align-items: center;
}

.plc-school-table__head {
    min-height: 48px;
    background: var(--plc-soft);
    color: var(--plc-muted);
    font-size: 13px;
    font-weight: 600;
}

.plc-school-table__head span,
.plc-school-row > * {
    padding: 10px 18px;
}

.plc-school-row {
    min-height: 58px;
    border-top: 1px solid #e8eef4;
    color: var(--plc-ink);
}

.plc-school-row[hidden] {
    display: none;
}

.plc-school-table__body .plc-school-row:nth-child(n + 16) {
    display: none;
}

.plc-school-table.is-searching .plc-school-row {
    display: grid;
}

.plc-rank {
    color: var(--plc-blue);
    font-weight: 700;
    text-align: center;
}

.plc-school-name {
    font-weight: 500;
}

.plc-school-total {
    color: var(--plc-navy);
    font-variant-numeric: tabular-nums;
}

.plc-school-total small {
    color: var(--plc-muted);
    font-size: 12px;
    font-weight: 400;
}

.plc-school-progress {
    display: block;
}

.plc-school-progress::before {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #e7edf3;
    content: "";
}

.plc-school-progress > span {
    display: block;
    width: var(--school-size);
    height: 8px;
    margin-top: -8px;
    border-radius: 999px;
    background: var(--plc-blue);
}

.plc-empty {
    margin: 0;
    padding: 32px 24px;
    color: var(--plc-muted);
    text-align: center;
}

.plc-school-empty[hidden] {
    display: none;
}

.plc-footer {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding: 18px 30px;
    border-top: 1px solid var(--plc-line);
    color: var(--plc-muted);
    font-size: 12px;
}

@keyframes plc-grow-x {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes plc-donut-in {
    from { stroke-dashoffset: 100; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .plc-bar-row__fill,
    .plc-donut__segment { animation: none; }
}

@media (max-width: 1180px) {
    :root { --plc-sidebar-width: 210px; }
    .plc-main { padding-right: 22px; padding-left: 22px; }
    .plc-kpi { gap: 14px; padding: 18px; }
    .plc-kpi__icon { width: 62px; height: 62px; flex-basis: 62px; }
    .plc-kpi__icon svg { width: 42px; height: 42px; }
    .plc-donut-layout { gap: 15px; padding: 20px; }
}

@media (max-width: 991px) {
    body.plc-menu-open { overflow: hidden; }

    .plc-sidebar {
        top: 74px;
        width: min(320px, 86vw);
        transform: translateX(-105%);
        transition: transform 180ms ease;
        box-shadow: 18px 0 40px rgba(3, 31, 67, 0.2);
    }

    .plc-sidebar.is-open { transform: translateX(0); }
    .plc-sidebar .plc-brand { display: none; }

    .plc-shell { margin-left: 0; }

    .plc-mobile-header {
        position: sticky;
        top: 0;
        z-index: 40;
        display: grid;
        min-height: 74px;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 14px;
        padding: 10px 20px;
        border-bottom: 1px solid var(--plc-line);
        background: var(--plc-white);
        box-shadow: 0 3px 14px rgba(6, 42, 86, 0.06);
    }

    .plc-mobile-brand {
        display: flex;
        min-width: 0;
        align-items: center;
        gap: 11px;
        color: var(--plc-navy);
        font-weight: 700;
        text-decoration: none;
    }

    .plc-mobile-brand:hover { color: var(--plc-navy); text-decoration: none; }
    .plc-mobile-brand__logo { width: 88px; height: auto; object-fit: contain; }
    .plc-mobile-brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .plc-menu-toggle {
        display: grid;
        width: 44px;
        height: 44px;
        padding: 10px;
        border: 0;
        border-radius: 8px;
        background: var(--plc-white);
        place-content: center;
        gap: 5px;
        cursor: pointer;
    }

    .plc-menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        border-radius: 4px;
        background: var(--plc-navy);
    }

    .plc-login-button--mobile { display: inline-flex; }
    .plc-login-button--desktop { display: none; }

    .plc-main { padding-top: 24px; }
    .plc-analytics { grid-template-columns: 1fr; }
    .plc-ls-analytics { grid-template-columns: 1fr; }
    .plc-donut-layout { grid-template-columns: minmax(180px, 0.75fr) minmax(250px, 1.25fr); }
}

@media (max-width: 700px) {
    .plc-kpi { flex-direction: column; gap: 8px; text-align: center; }
    .plc-kpi__copy { justify-content: center; }
    .plc-kpi__icon { width: 58px; height: 58px; flex-basis: 58px; }
    .plc-kpi__icon svg { width: 39px; height: 39px; }
}

@media (max-width: 640px) {
    .plc-mobile-header {
        min-height: 68px;
        grid-template-columns: minmax(0, 1fr) 42px auto;
        gap: 8px;
        padding: 9px 12px;
    }

    .plc-mobile-brand { gap: 8px; font-size: 14px; }
    .plc-mobile-brand__logo { width: 76px; }
    .plc-login-button--mobile { min-height: 40px; padding: 7px 11px; font-size: 13px; }
    .plc-menu-toggle { width: 40px; height: 40px; padding: 8px; }

    .plc-main { padding: 20px 14px 32px; }
    .plc-heading-row { margin-bottom: 18px; }
    .plc-heading-row h1 { font-size: 29px; }
    .plc-heading-row p { margin-top: 5px; color: var(--plc-teal); font-size: 14px; font-weight: 600; }

    .plc-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    .plc-kpi { min-height: 160px; gap: 7px; padding: 14px 6px 12px; border-radius: 10px; }
    .plc-kpi__icon { width: 52px; height: 52px; flex-basis: 52px; }
    .plc-kpi__icon svg { width: 34px; height: 34px; }
    .plc-kpi__copy { display: flex; align-items: center; flex-direction: column; gap: 0; }
    .plc-kpi__copy span { min-height: 42px; font-size: 13px; line-height: 1.25; }
    .plc-kpi__copy strong { font-size: clamp(26px, 8vw, 36px); }
    .plc-kpi__copy small { font-size: 12px; }

    .plc-analytics { gap: 16px; margin-bottom: 16px; }
    .plc-ls-section { margin-bottom: 16px; }
    .plc-section-heading { align-items: flex-start; }
    .plc-fiscal-heading h2 { font-size: 18px; }
    .plc-fiscal-heading p { font-size: 11px; }
    .plc-section-heading__mark { width: 38px; height: 38px; flex-basis: 38px; }
    .plc-section-heading h2 { font-size: 18px; }
    .plc-section-heading p { max-width: 225px; font-size: 11px; }
    .plc-section-heading > strong { padding-top: 4px; font-size: 20px; white-space: nowrap; }
    .plc-ls-analytics { gap: 16px; }
    .plc-panel__heading,
    .plc-school-heading { min-height: 70px; padding: 15px 16px 13px; }
    .plc-panel__heading h2,
    .plc-school-heading h2 { font-size: 16px; }
    .plc-panel__heading p,
    .plc-school-heading p { display: none; }

    .plc-bars { min-height: 0; gap: 16px; padding: 20px 14px 24px; }
    .plc-bar-row { grid-template-columns: minmax(96px, 36%) minmax(60px, 1fr) 44px; gap: 8px; }
    .plc-bar-row__label { font-size: 12px; }
    .plc-bar-row__track { height: 14px; }
    .plc-bar-row strong { font-size: 12px; }
    .plc-bar-row:nth-child(n + 6) { display: none; }

    .plc-donut-layout { min-height: 0; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 20px 14px 24px; }
    .plc-donut__center strong { font-size: 22px; }
    .plc-donut__center span { font-size: 10px; }
    .plc-legend { gap: 10px; }
    .plc-legend__row { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 7px; }
    .plc-legend__label,
    .plc-legend__row strong { font-size: 11px; }
    .plc-legend__row:nth-child(n + 6) { display: none; }

    .plc-ls-status-layout { min-height: 0; grid-template-columns: 126px minmax(0, 1fr); gap: 14px; padding: 20px 14px 24px; }
    .plc-ls-status-legend { gap: 10px; }
    .plc-ls-status-legend__row { grid-template-columns: 10px minmax(0, 1fr) auto; gap: 7px; }
    .plc-ls-status-legend__row strong { font-size: 12px; }
    .plc-ls-status-legend__row small { font-size: 9px; }
    .plc-ls-steps { min-height: 0; gap: 18px; padding: 20px 16px 24px; }
    .plc-ls-step { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; }
    .plc-ls-step__index { width: 30px; height: 30px; }
    .plc-ls-step__heading strong { font-size: 13px; }
    .plc-ls-step__heading small { font-size: 10px; }
    .plc-ls-step__value strong { font-size: 14px; }

    .plc-school-heading { align-items: stretch; flex-direction: column; gap: 12px; }
    .plc-search { width: 100%; }

    .plc-school-table__head { display: none; }
    .plc-school-row {
        grid-template-columns: 34px minmax(0, 1fr) auto;
        min-height: 64px;
        padding: 9px 14px;
        gap: 2px 10px;
    }

    .plc-school-row > * { padding: 0; }
    .plc-rank {
        display: grid;
        width: 30px;
        height: 30px;
        grid-row: 1 / 3;
        align-self: center;
        border-radius: 50%;
        background: var(--plc-navy);
        color: var(--plc-white);
        place-items: center;
    }

    .plc-school-name { grid-column: 2; font-size: 14px; }
    .plc-school-total { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--plc-blue); }
    .plc-school-total small { display: none; }
    .plc-school-progress { grid-column: 2; padding-bottom: 2px; }

    .plc-school-table__body .plc-school-row:nth-child(n + 11) { display: none; }
    .plc-school-table.is-searching .plc-school-row { display: grid; }

    .plc-footer { align-items: center; flex-direction: column; padding: 18px 14px; text-align: center; }
}

@media (max-width: 390px) {
    .plc-mobile-brand__logo { width: 65px; }
    .plc-mobile-brand span { font-size: 12px; }
    .plc-login-button--mobile { padding-right: 8px; padding-left: 8px; }
    .plc-kpi__copy span { font-size: 12px; }
    .plc-kpi__copy strong { font-size: 25px; }
    .plc-donut-layout { grid-template-columns: 116px minmax(0, 1fr); }
}
