/* Admissions: readable conditions first, shared layout from phone to desktop. */
.exam-explorer{--exam-ink:#203a2e;--exam-green:#006c49;--exam-line:#dce5df;color:var(--exam-ink);scroll-margin-top:90px}
body.university-detail-page:has([data-exam-explorer]) .record-heading{padding-bottom:20px}
body.university-detail-page:has([data-exam-explorer]) .record-english{display:none}
body.university-detail-page:has([data-exam-explorer]) .record-panel{padding-top:26px}
.exam-explorer-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 18px}
.exam-explorer-heading h2{font-size:22px;font-weight:700;line-height:1.5;margin:0;letter-spacing:0}
.exam-explorer-heading>span{font-size:13px;color:#57685e;white-space:nowrap}
.exam-explorer-heading b{font-weight:600;margin-right:4px}
.exam-filters{display:grid;grid-template-columns:1fr 1fr;gap:20px;background:#f4f7f4;border:1px solid var(--exam-line);border-radius:6px;padding:18px 20px;margin-bottom:12px}
.exam-filters>label{display:grid;gap:7px;min-width:0;font-size:13px;font-weight:600}
.exam-filters select{font:inherit;font-size:15px;font-weight:400;color:var(--exam-ink);width:100%;min-width:0;max-width:100%;height:46px;border:1px solid #afc0b5;border-radius:4px;padding:0 32px 0 12px;background:#fff}
.exam-filters select:disabled{color:#66776b;background:#eef2ed;border-color:#d3dcd5}
.exam-list-tools{display:flex;justify-content:flex-end;margin:0 0 18px}
.university-detail-page .exam-explorer .exam-list-tools .detail-group-picker{flex:0 1 auto;max-width:420px;width:auto;margin:0;border:0;background:transparent}
.university-detail-page .exam-explorer .detail-group-picker>summary{min-height:40px;padding:4px 0;font-size:12px;gap:8px}
.university-detail-page .exam-explorer .detail-group-picker-body{background:#f5f8f5;border:1px solid var(--exam-line);border-radius:5px;padding:16px}
.exam-list{display:grid;gap:22px;min-width:0}
.exam-row{background:#fff;border:1px solid #cfdcd3;border-radius:7px;min-width:0;scroll-margin-top:90px}
.exam-row[hidden]{display:none!important}
.exam-identity{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:22px 26px 20px;border-bottom:1px solid var(--exam-line);background:#f9fbf8;border-radius:7px 7px 0 0}
.exam-identity>div{min-width:0}
.exam-row .exam-faculty{font-size:13px;font-weight:500;color:#51665a;margin:0 0 3px;line-height:1.6}
.exam-row .exam-identity h3{font:700 22px/1.45 var(--font);letter-spacing:0;margin:0 0 8px;overflow-wrap:anywhere}
.exam-identity h3 a{color:#173f2b;text-decoration:none}
.exam-identity h3 a:hover{text-decoration:underline;text-underline-offset:4px}
.exam-row .exam-method{font-size:14px;line-height:1.7;color:#42594b;margin:0;overflow-wrap:anywhere}
.exam-row .exam-unit-note{font-size:13px;line-height:1.7;margin:5px 0 0;font-weight:600}
.exam-meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex-shrink:0}
.exam-year{font-size:12px;line-height:1.6;color:#52675a;white-space:nowrap;padding:3px 9px;border:1px solid #d7e1d7;border-radius:3px;background:white}
.exam-only{font-size:12px;font-weight:600;padding:3px 8px;color:#006341;background:#e5f1e7;border-radius:3px}
.exam-information{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:32px;padding:24px 26px}
.exam-information>section{min-width:0}
.exam-information h4{font-size:14px;font-weight:700;line-height:1.6;margin:0 0 13px;color:#234734}
.exam-eligibility>dl{margin:0}
.exam-requirement{display:grid;grid-template-columns:80px minmax(0,1fr);gap:16px;align-items:start;padding:12px 0;border-bottom:1px solid #e5ebe5}
.exam-requirement:first-child{padding-top:0}
.exam-requirement:last-child{padding-bottom:0;border-bottom:0}
.exam-requirement dt{font-size:13px;line-height:1.8;font-weight:500;color:#597061;margin:0}
.exam-requirement dt span{display:block;font-size:12px}
.exam-requirement dd{font-size:15px;line-height:1.85;font-weight:500;margin:0;color:#223d2e;white-space:pre-line;overflow-wrap:anywhere;min-width:0}
.exam-selection{border-left:1px solid #e1e8e1;padding-left:30px}
.exam-tests{display:flex;flex-wrap:wrap;gap:9px;list-style:none;padding:0;margin:0 0 16px}
.exam-tests li{display:flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #c4dbc9;border-radius:4px;background:#f1f7f0;color:#1d5637;font-size:14px;line-height:1.5;font-weight:600}
.exam-tests li>span{color:#087347;font-size:12px}
.exam-row .exam-test-note{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;font-size:13px;line-height:1.85;margin:10px 0;color:#4f6657;overflow-wrap:anywhere}
.exam-test-note>span{font-size:12px;color:#5a7061;font-weight:600}
.exam-test-check{border-top:1px solid #e3e9e2;padding-top:12px;margin-top:12px}
.exam-row .exam-test-check p{font-size:13px;line-height:1.85;color:#596d60;margin:0 0 4px;overflow-wrap:anywhere}
.exam-check-link{font-size:13px;line-height:1.7;color:#006c49;text-underline-offset:3px;font-weight:500}
.exam-check-link>span{margin-left:3px}
.exam-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid #e6ece5;padding:14px 26px}
.exam-actions>div{display:flex;align-items:center;gap:20px;min-width:0}
.exam-source-link{display:inline-flex;align-items:center;gap:12px;color:#006c49;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5;min-height:44px}
.exam-source-link:hover{text-decoration:underline;text-underline-offset:4px}
.exam-compare{display:flex;align-items:center;justify-content:center;gap:9px;min-height:44px;min-width:128px;padding:10px 16px;border:1px solid #14714c;border-radius:4px;background:#fff;color:#00633f;font-size:14px;font-weight:600;line-height:1.5;cursor:pointer;white-space:nowrap}
.exam-compare:has(input:checked){background:#e7f3e9;border-color:#006b43}
.exam-compare input{width:17px;height:17px;margin:0;accent-color:#006c49;flex-shrink:0}
.exam-save{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:65px;padding:8px 0;border:0;background:none;font:inherit;color:#4f6959;cursor:pointer}
.exam-save>span{font-size:22px;line-height:1}
.exam-save>b{font-size:13px;font-weight:500;white-space:nowrap}
.exam-save[aria-pressed=true]{color:#006b43}
.exam-row-detail{border-top:1px solid var(--exam-line);margin:0}
.exam-row-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:11px 26px;list-style:none;font-size:13px;font-weight:500;line-height:1.7;color:#4c6656;cursor:pointer}
.exam-row-detail>summary::-webkit-details-marker{display:none}
.exam-row-detail>summary>span{font-size:19px;line-height:1;font-weight:400}
.exam-row-detail[open]>summary{background:#f4f7f3;color:#214e34}
.exam-row-detail[open]>summary>span{transform:rotate(45deg)}
.exam-row-detail>div{padding:22px 26px;background:#fafcf9;border-radius:0 0 7px 7px;font-size:14px;line-height:1.9}
.exam-row-detail section+section{margin-top:20px}
.exam-row-detail h4{font-size:14px;margin:0 0 8px;font-weight:700}
.exam-row-detail p{margin:0 0 12px;white-space:pre-line;overflow-wrap:anywhere}
.exam-row-detail :is(ul,ol){margin:0;padding-left:1.4em}
.exam-row-detail .exam-source-note{font-size:12px;color:#667b6c;margin:16px 0 0}
.exam-empty{padding:28px 24px;background:#f5f8f3;border:1px solid var(--exam-line);border-radius:6px;font-size:14px;line-height:1.9}
.exam-empty p{margin:0 0 10px}.exam-empty a{color:#006c49}
.exam-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:7px;margin:26px 0 12px}
.exam-pagination button{min-width:40px;min-height:42px;padding:8px 13px;border:1px solid #c9d6cd;border-radius:4px;background:#fff;color:#315a40;font:inherit;font-size:14px;cursor:pointer}
.exam-pagination button[aria-current=page]{background:#006c49;border-color:#006c49;color:white;font-weight:600}
.exam-pagination button:disabled{opacity:.4;cursor:default}
.exam-explorer :is(a,button,input,select,summary):focus-visible{outline:2px solid #007c54;outline-offset:3px}
.exam-explorer-heading h2:focus{outline:none}
@media(max-width:950px){
 .exam-information{grid-template-columns:minmax(0,1fr);gap:22px}
 .exam-selection{border-left:0;border-top:1px solid var(--exam-line);padding:20px 0 0}
 .exam-requirement{grid-template-columns:95px minmax(0,1fr)}
}
@media(max-width:700px){
 body.university-detail-page:has([data-exam-explorer]) .detail-main{padding:18px 16px 42px}
 body.university-detail-page:has([data-exam-explorer]) .record-tabs{margin:0 -16px;padding:0 16px;gap:0}
 body.university-detail-page:has([data-exam-explorer]) .record-tabs a{flex:1;min-width:0;font-size:12px;padding:14px 2px}
 body.university-detail-page:has([data-exam-explorer]) .record-panel{padding-top:23px}
 .exam-explorer-heading{margin-bottom:14px}.exam-explorer-heading h2{font-size:20px}
 .exam-filters{padding:13px;gap:12px}.exam-filters>label{font-size:12px}.exam-filters select{font-size:16px;height:46px;padding-left:8px}
 .exam-list-tools{margin-bottom:14px}
 .university-detail-page .exam-explorer .exam-list-tools .detail-group-picker{max-width:100%;width:auto}
 .exam-list{gap:20px}
 .exam-identity{padding:17px 17px 16px;gap:12px;flex-wrap:wrap}
 .exam-identity>div:first-child{flex:1 1 170px}
 .exam-row .exam-faculty{font-size:12px}.exam-row .exam-identity h3{font-size:21px;margin-bottom:6px}.exam-row .exam-method{font-size:14px;line-height:1.75}
 .exam-meta{flex-direction:row;flex-wrap:wrap;align-items:center;gap:6px}
 .exam-year,.exam-only{font-size:11px;padding:2px 7px}
 .exam-information{padding:19px 17px;gap:20px}
 .exam-information h4{font-size:14px;margin-bottom:13px}
 .exam-requirement{grid-template-columns:68px minmax(0,1fr);gap:12px;padding:14px 0}
 .exam-requirement dt{font-size:12px;line-height:1.85}.exam-requirement dt span{font-size:11px}.exam-requirement dd{font-size:14px;line-height:1.9;font-weight:400}
 .exam-selection{padding-top:18px}
 .exam-tests{gap:8px;margin-bottom:14px}.exam-tests li{font-size:14px;line-height:1.6;padding:6px 9px}
 .exam-row .exam-test-check p{font-size:13px}.exam-check-link{font-size:13px;line-height:1.8}
 .exam-actions{padding:12px 17px;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 .exam-actions>div{justify-content:space-between;gap:14px}
 .exam-source-link{font-size:14px;justify-content:space-between;min-height:40px;border-bottom:1px solid #e5ebe5;padding-bottom:8px}
 .exam-compare{min-width:144px;font-size:14px;min-height:44px}.exam-save{min-width:70px}
 .exam-row-detail>summary{padding:11px 17px;font-size:13px}.exam-row-detail>div{padding:19px 17px;font-size:14px}
 .exam-pagination{gap:6px}.exam-pagination button{min-width:36px;padding:8px 10px}
}
@media(max-width:360px){
 .exam-filters{grid-template-columns:1fr;gap:12px}.exam-filters>label{grid-template-columns:70px minmax(0,1fr);align-items:center;gap:8px}
 .exam-identity>div:first-child{flex-basis:100%}
 .exam-requirement{grid-template-columns:minmax(0,1fr);gap:4px}
 .exam-requirement dt{display:flex;gap:6px;align-items:baseline}
 .exam-row .exam-test-note{grid-template-columns:1fr;gap:3px}
}
