/* Compact search, visible comparison, and an editorial entrance. */
.hero{padding-bottom:38px}
.hero-brand h1{margin-bottom:28px}
.hero-ranking{margin:20px 0 0;text-align:left}
.hero-ranking-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.hero-ranking h2{font-size:13px;font-weight:700;color:#fff;letter-spacing:.04em}
.hero-ranking ol{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;list-style:none;padding:0;margin:0}
.hero-ranking a{display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;background:#fff;border:1px solid #fff;border-radius:5px;min-height:83px;padding:19px 9px 10px;color:#214331;transition:transform .15s,background .15s}
.hero-ranking a:hover{background:#f2f8f4;transform:translateY(-2px)}
.hero-ranking b{position:absolute;left:8px;top:5px;font:bold 12px/1.1 Arial,sans-serif;color:#327255}
.hero-ranking img{width:100%;height:32px;object-fit:contain;max-width:114px;filter:none;mix-blend-mode:normal}
.hero-ranking .ranking-name{font-size:10px;margin-top:7px;font-weight:500;color:#385846;white-space:nowrap}
.search-entry .detail-search-link{font-size:13px;margin-top:16px}
.uni-photo .university-logo,.uni-photo .university-logo img{mix-blend-mode:normal!important;opacity:1;filter:none}
.uni-photo-type .university-logo{z-index:2}
.uni-photo-type .uni-cover-label{z-index:3}
.search-results .university-filter-panel{padding:24px;margin-bottom:24px}
.search-results .filter-panel-heading{margin-bottom:18px}
.search-results .detail-keyword-form{margin-bottom:18px}
.search-results .detail-keyword-form>label{font-size:12px;margin-bottom:7px}
.search-results .detail-keyword-form>div{max-width:none}
.compact-filter-pickers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.filter-picker{position:relative;min-width:0}
.filter-picker>summary{position:relative;list-style:none;display:flex;flex-direction:column;justify-content:center;border:1px solid #bfcfc3;border-radius:4px;min-height:70px;padding:10px 30px 10px 13px;cursor:pointer;text-align:left;background:#fff}
.filter-picker>summary::-webkit-details-marker{display:none}
.filter-picker>summary>span:first-child{font-size:11px;color:#5a6f60;margin-bottom:3px}
.filter-picker>summary>strong{font-size:14px;font-weight:700;color:#244935;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.filter-picker .picker-chevron{position:absolute;right:12px;top:50%;transform:translateY(-50%);font-size:20px;font-weight:400}
.filter-picker[open]{z-index:60}
.filter-picker[open]>summary{border-color:#08734c;background:#f0f8f3}
.filter-picker-panel{position:absolute;top:calc(100% + 8px);left:0;width:370px;max-width:calc(100vw - 40px);border:1px solid #bed1c4;border-radius:7px;box-shadow:0 10px 40px #193b2a2b;background:#fff;color:#203c2a;overflow:hidden}
.filter-picker[data-picker=field] .filter-picker-panel{width:660px;left:auto;right:0}
.filter-picker[data-picker=type] .filter-picker-panel{left:auto;right:0;width:280px}
.picker-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 18px 10px;gap:15px}
.picker-heading h4{font-size:16px;margin:0}
.picker-close{font-size:25px;width:32px;height:32px;line-height:1;border-radius:50%;color:#47604e;background:#f0f5f1}
.picker-content{padding:8px 18px 18px;max-height:380px;overflow-y:auto;overscroll-behavior:contain}
.picker-footer{display:flex;justify-content:space-between;align-items:center;padding:13px 18px;border-top:1px solid #dfe8e1;background:#fff}
.picker-apply{display:flex;align-items:center;justify-content:center;gap:22px;border-radius:4px;padding:10px 16px;min-height:42px;background:#006b48;color:#fff;font-size:13px;font-weight:700}
.picker-footer .text-button{font-size:12px}
.picker-content>select{width:100%;height:45px;border:1px solid #b8cbbb;border-radius:4px;padding:8px 12px;background:#fff;font-size:16px}
.field-find{display:block;margin-bottom:14px}
.field-find input{display:block;width:100%;height:44px;padding:10px 12px;border:1px solid #bfd0c4;border-radius:4px;background:#fff;font-size:16px}
.search-results .field-options{gap:8px}
.search-results .subject-group summary{font-size:13px;padding:10px}
.search-results .subject-options{padding:10px;gap:6px}
.search-results .subject-options .filter-option{font-size:12px;line-height:1.4;padding:9px}
#field-search-empty{font-size:13px;margin-bottom:12px;color:#53695c}
.search-results .university-filter-panel .admission-search{border:0;padding:17px 0 0;margin:0}
.search-results .admission-heading h3{font-size:12px}
.search-results .admission-heading h3>span{font-size:11px}
.search-results .university-filter-panel .admission-choices{display:flex;gap:8px;flex-wrap:wrap;margin:9px 0 0}
.search-results .condition-choice{min-height:38px;padding:8px 11px;font-size:12px;border-radius:4px;gap:7px;flex:none}
.search-results .condition-choice strong{font-size:12px}
.search-results .condition-choice small{display:none}
.filter-search-action{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e1e8e3;margin-top:18px;padding-top:17px}
.filter-search-action p{font-size:12px;color:#526858}
.filter-search-action p strong{font-size:19px;color:#183d2b;margin-right:5px}
.filter-search-action>button,.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:25px;min-height:50px;padding:12px 24px;border:1px solid #006b48;border-radius:5px;background:#006b48;color:#fff;font-size:15px;font-weight:700;line-height:1.5;text-decoration:none}
.filter-search-action>button:hover,.primary-action:hover{background:#064b35;color:#fff}
.primary-action span,.filter-search-action>button span{font-size:21px;line-height:1}
.compare-launch{margin-top:42px;background:#eef6f0;border:1px solid #d2e4d7;border-radius:8px;padding:32px}
.compare-launch-head{display:flex;align-items:center;justify-content:space-between;gap:25px}
.compare-launch-head p{font-size:13px;font-weight:700;color:#39714f;margin-bottom:8px}
.compare-launch-head h2{font:700 33px/1.4 AOIHeadline,var(--font);letter-spacing:-.02em;color:#143f2b}
.comparison-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:25px}
.comparison-preview a{background:#fff;border:1px solid #ceded3;border-radius:5px;padding:18px;color:#183c28;min-width:0}
.comparison-preview a:hover{border-color:#006b48}
.comparison-preview a>small{font-size:11px;color:#637b6b;display:block;margin-bottom:7px}
.comparison-preview a>strong{font-size:16px;display:block}
.comparison-preview a>span{font-size:12px;display:block;margin-top:5px}
.comparison-preview:empty{display:none}
.compare-points{display:flex;align-items:center;gap:12px;margin-top:24px;flex-wrap:wrap}
.compare-points span{padding:7px 12px;background:#fff;border:1px solid #d8e4dc;border-radius:3px;color:#3c5e48;font-size:13px}
.guide-home{padding:48px 0 46px;margin-top:0;background:#f5f7f0;border-top:0;border-bottom:0}
.guide-home-heading{display:flex;align-items:center;justify-content:space-between;gap:35px;margin-bottom:28px}
.guide-home-heading p{font-size:13px;font-weight:700;color:#4d7444;margin:0 0 8px}
.guide-home-heading h2{font:700 38px/1.4 AOIHeadline,var(--font);color:#16412c;letter-spacing:-.02em}
.home-guide-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.home-guide-articles>a{display:block;color:#173c2b}
.home-guide-articles img{width:100%;aspect-ratio:1600/840;object-fit:cover;border-radius:5px}
.home-guide-articles .article-meta{margin-top:13px;font-size:11px;display:flex;justify-content:space-between;gap:10px}
.home-guide-articles h3{font-size:17px;line-height:1.65;margin-top:8px}
.home-guide-articles>a:hover h3{text-decoration:underline;text-underline-offset:4px}
dialog[data-view=compare]{width:min(1120px,calc(100vw - 40px))}
.exam-compare{font-size:14px;min-width:740px}
.exam-compare th,.exam-compare td{padding:18px;line-height:1.8}
.exam-compare tbody th{position:sticky;left:0;background:#f1f6f2;z-index:1}
.exam-compare thead th{font-size:17px}
@media(max-width:900px){
 .compact-filter-pickers{grid-template-columns:repeat(2,minmax(0,1fr))}
 .filter-picker:nth-child(2) .filter-picker-panel{left:auto;right:0}
 .filter-picker[data-picker=field] .filter-picker-panel{left:0;right:auto;width:600px}
 .guide-home-heading h2{font-size:31px}
 .guide-home-heading{gap:20px}
 .guide-home-heading .primary-action{font-size:13px;padding:12px 16px}
 .home-guide-articles{gap:16px}
 .home-guide-articles h3{font-size:15px}
}
@media(max-width:600px){
 .hero{padding-bottom:25px}
 .hero-ranking{margin-top:15px}
 .hero-ranking-heading{margin-bottom:8px}
 .hero-ranking h2{font-size:12px}
 .hero-ranking ol{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding-bottom:5px}
 .hero-ranking li{width:108px;min-width:108px;scroll-snap-align:start}
 .hero-ranking a{min-height:78px;padding:17px 9px 9px}
 .hero-ranking img{height:26px}
 .hero-ranking .ranking-name{font-size:9px}
 .search-entry .detail-search-link{margin-top:10px;font-size:12px}
 .search-results .university-filter-panel{padding:18px 15px}
 .search-results .filter-panel-heading{margin-bottom:13px}
 .search-results .detail-keyword-form{margin-bottom:12px}
 .search-results .detail-keyword-form>label{font-size:11px}
 .compact-filter-pickers{gap:8px}
 .filter-picker>summary{min-height:62px;padding:8px 25px 8px 11px}
 .filter-picker>summary>span:first-child{font-size:10px;margin-bottom:2px}
 .filter-picker>summary>strong{font-size:13px}
 .filter-picker[open]:before{content:'';position:fixed;inset:0;background:#14322266;z-index:100}
 .filter-picker .filter-picker-panel,.filter-picker[data-picker=field] .filter-picker-panel,.filter-picker[data-picker=type] .filter-picker-panel{position:fixed;left:0;right:0;top:auto;bottom:0;width:100%;max-width:none;max-height:85dvh;z-index:101;border:0;border-radius:16px 16px 0 0;box-shadow:0 -5px 25px #102f2726;display:flex;flex-direction:column}
 .picker-heading{padding:18px 20px 10px;flex:none}
 .picker-content{max-height:none;overflow-y:auto;padding:8px 20px 20px;min-height:0}
 .picker-footer{padding:14px 20px max(14px,env(safe-area-inset-bottom));flex:none;gap:20px}
 .picker-footer .picker-apply{flex:1;min-height:46px;font-size:15px}
 .search-results .subject-group summary{padding:12px;font-size:14px}
 .search-results .subject-options .filter-option{font-size:13px;min-height:40px}
 .search-results .filter-options{gap:8px}
 .search-results .filter-option{min-height:42px;font-size:13px;padding:9px 11px}
 .filter-search-action{display:block;margin-top:14px;padding-top:13px}
 .filter-search-action p{font-size:11px;margin-bottom:10px;text-align:right}
 .filter-search-action p strong{font-size:16px}
 .filter-search-action>button{width:100%;min-height:47px;font-size:14px;justify-content:space-between;padding:11px 18px}
 .search-results .university-filter-panel .admission-search{padding-top:13px}
 .search-results .admission-heading h3{font-size:11px}
 .search-results .admission-heading h3>span{display:inline;font-size:10px;margin-left:4px}
 .search-results .admission-heading .text-button{font-size:10px;min-height:20px}
 .search-results .condition-choice{padding:7px 8px;min-height:36px}
 .search-results .condition-choice strong{font-size:10px}
 .search-results .university-filter-panel .admission-choices{gap:6px;margin-top:8px}
 .compare-launch{padding:23px 20px;margin-top:30px}
 .compare-launch-head{display:block}
 .compare-launch-head p{font-size:12px}
 .compare-launch-head h2{font-size:27px}
 .compare-launch-head .primary-action{width:100%;justify-content:space-between;margin-top:20px}
 .compare-points{gap:6px;margin-top:17px}
 .compare-points span{font-size:11px;padding:6px 9px}
 .comparison-preview{grid-template-columns:1fr;gap:8px;margin-top:18px}
 .comparison-preview a{padding:14px}
 .guide-home{padding:32px 0}
 .guide-home-heading{display:block;margin-bottom:24px}
 .guide-home-heading p{font-size:12px}
 .guide-home-heading h2{font-size:29px}
 .guide-home-heading .primary-action{margin-top:20px;width:100%;justify-content:space-between;font-size:14px}
 .home-guide-articles{grid-template-columns:1fr;gap:22px}
 .home-guide-articles>a{display:grid;grid-template-columns:42% 1fr;gap:5px 14px;align-items:start}
 .home-guide-articles img{grid-row:1/3;margin-top:2px}
 .home-guide-articles .article-meta{margin-top:0;font-size:10px}
 .home-guide-articles h3{font-size:14px;margin-top:0;line-height:1.6}
 dialog[data-view=compare]{width:calc(100vw - 20px)}
 .exam-compare{font-size:13px}
 .exam-compare th,.exam-compare td{padding:13px}
}
@media(prefers-reduced-motion:reduce){.hero-ranking a{transition:none}.hero-ranking a:hover{transform:none}}

@media(min-width:601px) and (max-width:900px){.filter-picker[data-picker=field] .filter-picker-panel{max-width:calc(100vw - 140px)}}

@media(min-width:601px) and (max-width:900px){
 .filter-picker[open]:before{content:'';position:fixed;inset:0;background:#14322266;z-index:100}
 .filter-picker .filter-picker-panel,.filter-picker[data-picker=field] .filter-picker-panel,.filter-picker[data-picker=type] .filter-picker-panel{position:fixed;left:50%;right:auto;top:50%;bottom:auto;transform:translate(-50%,-50%);width:calc(100vw - 48px);max-width:660px;max-height:calc(100dvh - 48px);z-index:101;border:1px solid #bed1c4;border-radius:10px;display:flex;flex-direction:column}
 .picker-heading,.picker-footer{flex:none}.picker-content{max-height:none;min-height:0;overflow-y:auto}
}
.compare-float .compare-page-link{background:#fff;color:var(--green);padding:8px 14px;border-radius:2px;font-size:12px;font-weight:700;text-decoration:none}
.admission-match>a{display:flex;justify-content:space-between;gap:12px;margin-top:9px;font-size:12px;line-height:1.7;color:var(--deep-green);text-decoration:underline;text-underline-offset:3px}
