.tpsca-school-profile{--n:#082e57;--d:#051f3d;--g:#f4b42f;--l:#d7e1eb;--m:#657487;overflow:hidden;background:#fff;border:1px solid var(--l);border-radius:18px;box-shadow:0 8px 26px rgba(8,46,87,.1);font-family:Arial,sans-serif;color:#14253a}.tpsca-school-profile *{box-sizing:border-box}.tpsca-school-profile__hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:28px 32px;color:#fff;background:linear-gradient(135deg,var(--d),var(--n));border-bottom:5px solid var(--g)}.tpsca-school-profile__hero span{color:var(--g);font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.tpsca-school-profile__hero h1{margin:6px 0;color:#fff;font-size:34px}.tpsca-school-profile__hero p{margin:0;color:#d8e3ee}.tpsca-school-profile__hero-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.tpsca-school-profile__hero-actions a{padding:9px 11px;color:#fff;background:#ffffff12;border:1px solid #ffffff44;border-radius:9px;font-size:10px;font-weight:900;text-decoration:none;text-transform:uppercase}.tpsca-school-profile__hero-actions a:hover{color:var(--d);background:var(--g)}.tpsca-school-profile__message{margin:20px;padding:13px;background:#edf5fb;border:1px solid #cfe1ef;border-radius:9px}.tpsca-school-profile__message.is-error{color:#8b2828;background:#fde8e8;border-color:#efbcbc}.tpsca-school-profile__summary{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;padding:20px}.tpsca-school-profile__summary>div{padding:13px;background:#f3f7fb;border:1px solid #dce6ef;border-radius:10px}.tpsca-school-profile__summary span{display:block;color:var(--m);font-size:9px;font-weight:900;letter-spacing:.07em;text-transform:uppercase}.tpsca-school-profile__summary strong{display:block;margin-top:5px;color:var(--n);font-size:14px}.tpsca-school-profile__scores{margin:0 20px 20px;border:1px solid var(--l);border-radius:12px;overflow:hidden}.tpsca-school-profile__section-heading{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;background:#f3f7fb;border-bottom:1px solid var(--l)}.tpsca-school-profile__section-heading span{color:#f58220;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}.tpsca-school-profile__section-heading h2{margin:4px 0 0;color:var(--n);font-size:23px}.tpsca-school-profile__section-heading>strong{color:var(--n);font-size:12px}.tpsca-school-profile__table-wrap{overflow:auto}.tpsca-school-profile table{width:100%;border-collapse:collapse}.tpsca-school-profile th{padding:11px 12px;color:#fff;background:var(--n);font-size:10px;text-align:left;text-transform:uppercase;white-space:nowrap}.tpsca-school-profile td{padding:9px 12px;border-bottom:1px solid #e6edf3;font-size:11px;white-space:nowrap}.tpsca-school-profile tbody tr:nth-child(even){background:#f8fafc}.tpsca-school-profile tbody tr:hover{background:#fff8e6}.tpsca-school-profile footer{padding:14px;background:var(--d);color:var(--g);font-size:10px;text-align:center}@media(max-width:900px){.tpsca-school-profile__summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.tpsca-school-profile__hero{align-items:flex-start;flex-direction:column;padding:24px 18px}.tpsca-school-profile__hero h1{font-size:29px}.tpsca-school-profile__hero-actions{justify-content:flex-start}.tpsca-school-profile__summary{grid-template-columns:1fr}.tpsca-school-profile__section-heading{align-items:flex-start;flex-direction:column;gap:8px}}
.tpsca-school-profile__summary small{
    display:block;
    margin-top:3px;
    color:#657487;
    font-size:9px;
    font-weight:800;
}
.tpsca-result{
    display:inline-flex;
    min-width:26px;
    justify-content:center;
    padding:4px 7px;
    border-radius:999px;
    font-size:10px;
    font-weight:900;
}
.tpsca-result.is-w{
    color:#17623b;
    background:#dff2e6;
}
.tpsca-result.is-l{
    color:#8b2828;
    background:#fde4e4;
}
.tpsca-result.is-t{
    color:#655300;
    background:#fff1b8;
}

.tpsca-opponent-link{
    display:inline-flex;
    flex-direction:column;
    gap:2px;
    color:var(--n);
    text-decoration:none;
}
.tpsca-opponent-link strong{
    color:var(--n);
    text-decoration:underline;
    text-decoration-color:#9bb8d1;
    text-underline-offset:3px;
}
.tpsca-opponent-link small{
    color:#657487;
    font-size:8px;
    font-weight:800;
    letter-spacing:.03em;
    text-transform:uppercase;
}
.tpsca-opponent-link:hover strong,
.tpsca-opponent-link:focus strong{
    color:#176fb0;
    text-decoration-color:#176fb0;
}
