.detail-subhead{display:flex;justify-content:space-between;align-items:end;gap:24px;margin:34px 0 14px}
.detail-subhead h3{margin:0;color:var(--ink);font-size:22px}
.detail-subhead>p{margin:0;color:var(--muted);font-size:13px}
.score-reference-section{margin-top:34px}
.score-reference-head{align-items:flex-start;margin-bottom:12px}
.score-reference-head>p{max-width:720px;line-height:1.6;text-align:right}
.score-reference-disclaimer{display:inline-block;margin-left:8px;padding:3px 7px;border:1px solid #e3b24d;border-radius:4px;background:#fff7df;color:#78530c;font-size:12px;line-height:1.3;vertical-align:middle}
.score-reference-table table{min-width:980px;table-layout:fixed}
.score-reference-table th,.score-reference-table td{text-align:center;vertical-align:middle;font-variant-numeric:tabular-nums}
.score-reference-table th{white-space:normal}
.score-reference-table td{color:#173f72;background:#fbfdff}
.score-reference-value{display:block;font-size:17px;font-weight:800;line-height:1.35}
.score-reference-range{display:block;margin-top:7px;padding-top:7px;border-top:1px solid currentColor;font-size:11px;font-weight:600;line-height:1.45;opacity:.82}
.score-reference-range-note{margin:8px 2px 0;color:var(--muted);font-size:12px;line-height:1.55}
.score-reference-range-note strong{display:block;margin-bottom:2px;color:#42516b}
.score-reference-range-note p{margin:0}
.score-reference-range-note p+p{margin-top:2px}
.score-reference-table .score-subject-sample{background:#f1f4f8;color:#46566f}
.score-reference-table .score-subject-total{background:#eaf1ff;color:#244a82}
.score-reference-table .score-subject-japanese{background:#fff0f1;color:#8a3340}
.score-reference-table .score-subject-math{background:#f2efff;color:#58428a}
.score-reference-table .score-subject-physics{background:#e7f5ff;color:#26617f}
.score-reference-table .score-subject-chemistry{background:#e9f7ee;color:#276341}
.score-reference-table .score-subject-biology{background:#fff4dc;color:#795617}
.score-reference-table th+th,.score-reference-table td+td{border-left:2px solid #c8d3e2}
.program-head{margin-top:42px}
.detail-note{border:1px solid var(--line);padding:18px;color:var(--muted)}
.schedule-table table{min-width:760px}
.timeline-section+.timeline-section{margin-top:24px}.timeline-section h4{margin:0 0 10px;padding-left:10px;border-left:4px solid var(--blue);color:var(--ink);font-size:17px}
.program-table-shell{position:relative}
.program-table{scrollbar-width:none}
.program-table::-webkit-scrollbar{height:0}
.program-table table{min-width:1120px;table-layout:fixed}
.program-table th,.program-table td{padding:10px 8px;font-size:12px;line-height:1.45;text-align:left;overflow-wrap:anywhere;word-break:normal}
.program-table th{padding-top:11px;padding-bottom:11px;vertical-align:middle}
.program-table th:nth-child(1),.program-table td:nth-child(1){width:10%}
.program-table th:nth-child(2),.program-table td:nth-child(2){width:14%}
.program-table th:nth-child(3),.program-table td:nth-child(3){width:7%}
.program-table th:nth-child(4),.program-table td:nth-child(4){width:14%}
.program-table th:nth-child(5),.program-table td:nth-child(5){width:15%}
.program-table th:nth-child(6),.program-table td:nth-child(6){width:17%}
.program-table th:nth-child(7),.program-table td:nth-child(7){width:10%}
.program-table th:nth-child(8),.program-table td:nth-child(8){width:13%}
.compact-program-table table{min-width:1160px}
.compact-program-table th:nth-child(1),.compact-program-table td:nth-child(1){width:110px}
.compact-program-table th:nth-child(2),.compact-program-table td:nth-child(2){width:165px}
.compact-program-table th:nth-child(3),.compact-program-table td:nth-child(3){width:70px}
.compact-program-table th:nth-child(4),.compact-program-table td:nth-child(4){width:145px}
.compact-program-table th:nth-child(5),.compact-program-table td:nth-child(5){width:200px}
.compact-program-table th:nth-child(6),.compact-program-table td:nth-child(6){width:190px}
.compact-program-table th:nth-child(7),.compact-program-table td:nth-child(7){width:125px}
.compact-program-table th:nth-child(8),.compact-program-table td:nth-child(8){width:215px}
@media(min-width:1180px){
 .compact-program-table table{width:100%;min-width:100%}
 .compact-program-table th,.compact-program-table td{padding:9px 8px;font-size:11px;line-height:1.45}
 .compact-program-table th{padding-top:11px;padding-bottom:11px}
 .compact-program-table th:nth-child(1),.compact-program-table td:nth-child(1){width:9%}
 .compact-program-table th:nth-child(2),.compact-program-table td:nth-child(2){width:13%}
 .compact-program-table th:nth-child(3),.compact-program-table td:nth-child(3){width:7%}
 .compact-program-table th:nth-child(4),.compact-program-table td:nth-child(4){width:14%}
 .compact-program-table th:nth-child(5),.compact-program-table td:nth-child(5){width:15%}
 .compact-program-table th:nth-child(6),.compact-program-table td:nth-child(6){width:17%}
 .compact-program-table th:nth-child(7),.compact-program-table td:nth-child(7){width:10%}
 .compact-program-table th:nth-child(8),.compact-program-table td:nth-child(8){width:15%}
}
.date-token{white-space:nowrap;font-variant-numeric:tabular-nums}
.schedule-label,.selection-label{font-weight:700;color:#244a7c}
.detail-facts{grid-template-columns:minmax(105px,.45fr) minmax(280px,1.25fr) minmax(360px,1.6fr)}
.detail-facts .school-introduction-fact p{margin:6px 0 0;color:#263753;font-size:13px;line-height:1.65;font-weight:500;overflow-wrap:anywhere}
.school-introduction-sources{display:flex;align-items:center;flex-wrap:wrap;gap:6px 10px;margin-top:8px;padding-top:8px;border-top:1px solid #dbe5f3}
.school-introduction-sources small{color:#6b7890;font-size:11px;font-weight:700}
.school-introduction-sources a{color:#245fc7;font-size:11px;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.school-introduction-sources a:hover{color:#123f98}
.detail-heading-main{min-width:0}
.detail-title-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px}
.school-logo{position:relative;display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border:1px solid #cbd9ea;border-radius:8px;overflow:hidden;background:#eef5ff;color:var(--blue)}
.school-logo-fallback{font-size:21px;font-weight:800;line-height:1}
.school-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:5px;background:#fff;opacity:0}
.school-logo.loaded img{opacity:1}
.school-card-main{min-width:0}
.school-card-title{display:flex;align-items:center;gap:12px;min-width:0}
.school-card-title h3{min-width:0;overflow-wrap:anywhere}
.school-card-logo{flex-basis:42px;width:42px;height:42px;border-radius:6px}
.school-card-logo .school-logo-fallback{font-size:17px}
.school-card-logo img{padding:4px}
.detail-heading-actions{display:flex;align-items:flex-start;justify-content:flex-end}
.detail-heading-actions>#detailCompare{min-width:112px}
.official-resources{display:flex;align-items:center;min-width:0}
.official-resource-row{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.official-resource-link{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:6px 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--blue);font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
.official-resource-link:hover{border-color:var(--blue);background:var(--sky)}
.official-publication-note{display:inline-flex;align-items:center;min-height:32px;padding:5px 8px;border-left:2px solid #d89a22;color:#725116;background:#fff8e8;font-size:12px;line-height:1.45;white-space:normal}
.official-pdf-link{color:#9f2d2d}
.official-resources-pending{font-size:13px;color:var(--muted)}
.detail-facts .application-period{display:block;max-width:100%;white-space:normal;word-break:normal;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;color:inherit;font-size:inherit;font-weight:inherit}
.detail-facts .application-period .date-token{display:inline;color:inherit;font-size:inherit;font-weight:inherit}
.application-period+.application-period{margin-top:4px}
.program-scroll-dock{height:17px;overflow-x:auto;overflow-y:hidden;position:fixed;z-index:12;background:#eef3f9;border:1px solid var(--line);scrollbar-color:#8ba9cf #eef3f9}
.program-scroll-dock[hidden]{display:none}
.program-scroll-dock>div{height:1px}
.program-scroll-dock::-webkit-scrollbar{height:15px}
.program-scroll-dock::-webkit-scrollbar-track{background:#eef3f9}
.program-scroll-dock::-webkit-scrollbar-thumb{background:#8ba9cf;border:3px solid #eef3f9;border-radius:8px}
@media(max-width:1120px){.detail-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-facts .application-fact{grid-column:1/-1}}
@media(max-width:840px){.detail-subhead{display:block}.detail-subhead>p{margin-top:7px}.score-reference-head>p{text-align:left}.program-table table{min-width:1080px}.program-table th,.program-table td{font-size:11px;padding:9px 7px}}
@media(max-width:520px){.detail-facts{grid-template-columns:1fr}.detail-facts .application-fact{grid-column:auto}.school-logo{flex-basis:46px;width:46px;height:46px}.school-logo-fallback{font-size:19px}.detail-title-row h2{max-width:calc(100% - 60px)}.school-card-logo{flex-basis:38px;width:38px;height:38px}.school-card-logo .school-logo-fallback{font-size:16px}.school-card-title{gap:10px}}
@media(max-width:840px){.detail-heading-actions{justify-content:flex-start;margin-top:18px}.detail-title-row{align-items:flex-start}.official-resource-row{justify-content:flex-start;max-width:100%}.official-resource-link{max-width:100%;white-space:normal;overflow-wrap:anywhere}.official-publication-note{max-width:100%}}

.select-field{display:block;border-top:1px solid var(--line);padding:18px 0 3px}
.select-field span{display:block;font-weight:700;font-size:14px}
.select-field select{width:100%;margin-top:9px;border:1px solid var(--line);padding:11px;border-radius:5px;outline-color:var(--blue);background:#fff;color:#263753}
.select-field small{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:7px}
.detail-section{scroll-margin-top:76px}
.compare-table-wrap{overflow:auto;border:1px solid var(--line)}
.compare-table{min-width:880px}
.compare-table thead th{font-size:16px;color:var(--ink)}
.compare-table thead th:first-child,.compare-table tbody th{width:170px}
.compare-table thead button{display:block;border:0;background:none;color:#d14343;padding:6px 0 0;cursor:pointer;font-size:12px}
.compare-table td{white-space:normal;min-width:230px}
.compare-table tbody th{background:#f8fbff}
.requirement-control{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:10px;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.requirement-control.two-options{grid-template-columns:repeat(2,1fr)}
.requirement-control label{margin:0;border-right:1px solid var(--line);position:relative;text-align:center;cursor:pointer}
.requirement-control label:last-child{border-right:0}
.requirement-control input{position:absolute;opacity:0;pointer-events:none}
.requirement-control span{display:grid;place-items:center;min-height:38px;padding:5px 3px;font-size:12px;color:#42516b;background:#fff}
.requirement-control input:checked+span{background:var(--blue);color:#fff;font-weight:700}
.filter-help{display:block;color:var(--muted);font-size:11px;line-height:1.5;margin-top:7px}
.program-tools{text-align:right}
.program-tools p{margin:7px 0 0;color:var(--muted);font-size:13px}
.program-tools .outline.active{background:var(--blue);color:#fff}
tr[hidden]{display:none}
@media(max-width:840px){.program-tools{text-align:left;margin-top:12px}}
@media(max-width:840px){.select-field{padding-right:8px}.select-field+.select-field{padding-left:8px;padding-right:0}}
