/* Shared compact language-school detail layout. */
.up-language-detail[data-detail-layout="compact"]{--ld-ink:#292333;--ld-body:#4e445b;--ld-muted:#65566f;--ld-accent:#6441b5;--ld-line:#ae9cc4;--ld-soft:#f8f6fb;font-size:14px;line-height:1.7;letter-spacing:-.025em}
.up-language-detail[data-detail-layout="compact"] .cd-breadcrumb{padding-top:16px;gap:7px;font-size:12px}
.up-language-detail[data-detail-layout="compact"] .cd-hero{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:28px;padding:20px 0 24px;align-items:start}
.up-language-detail[data-detail-layout="compact"] h1{font-size:28px;line-height:1.4;letter-spacing:-.04em;font-weight:750}
.up-language-detail[data-detail-layout="compact"] .ld-english{font-size:12px;margin-top:4px}
.up-language-detail[data-detail-layout="compact"] .ld-hero-topline{margin-bottom:7px;gap:8px}
.up-language-detail[data-detail-layout="compact"] .ld-location{font-size:12px;letter-spacing:0}
.up-language-detail[data-detail-layout="compact"] .ld-share-badge{min-height:30px;padding:4px 9px;border-radius:4px;font-size:12px;background:white}
.up-language-detail[data-detail-layout="compact"] .cd-hero-lead{font-size:14px;line-height:1.7;margin-top:10px;font-weight:500}
.up-language-detail[data-detail-layout="compact"] .cd-facts{gap:0 16px;margin:14px 0}
.up-language-detail[data-detail-layout="compact"] .cd-facts>div{display:grid;grid-template-columns:65px minmax(0,1fr);gap:8px;padding:8px 0;font-size:12px}
.up-language-detail[data-detail-layout="compact"] .cd-facts dt{font-weight:600;color:var(--ld-body)}
.up-language-detail[data-detail-layout="compact"] .cd-facts dd{text-align:left;margin:0;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .cd-actions{gap:8px}
.up-language-detail[data-detail-layout="compact"] .cd-button{min-height:36px;padding:7px 13px;border-radius:4px;font-size:13px;line-height:1.5;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .cd-button:hover{border-color:var(--ld-accent)}
.up-language-detail[data-detail-layout="compact"] .cd-primary:hover{background:#503091}
.up-language-detail[data-detail-layout="compact"] .ld-hero-image{height:260px;border:1px solid var(--ld-line);border-radius:4px}
.up-language-detail[data-detail-layout="compact"] .ld-hero-image>span{bottom:9px;right:9px;padding:4px 8px}
.up-language-detail[data-detail-layout="compact"] .cd-section-nav .cd-wrap{gap:24px}
.up-language-detail[data-detail-layout="compact"] .cd-section-nav a{padding:12px 0;font-size:13px;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .cd-section{padding:26px 0}
.up-language-detail[data-detail-layout="compact"] .ld-head{margin-bottom:12px;gap:12px;align-items:baseline}
.up-language-detail[data-detail-layout="compact"] .ld-head h2{font-size:22px;line-height:1.45;font-weight:750;letter-spacing:-.03em}
.up-language-detail[data-detail-layout="compact"] .ld-fee-meta{gap:3px 12px;font-size:12px}
.up-language-detail[data-detail-layout="compact"] .ld-tabs{gap:6px;margin-bottom:8px;padding-bottom:5px}
.up-language-detail[data-detail-layout="compact"] .ld-tabs a{min-height:34px;padding:6px 12px;font-size:13px;border-radius:4px;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-tabs a:hover{border-color:var(--ld-accent)}
.up-language-detail[data-detail-layout="compact"] .ld-fee-panel{padding:14px;border-radius:4px;background:var(--ld-soft)}
.up-language-detail[data-detail-layout="compact"] .ld-fee-caption h3{font-size:16px;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-fee-caption p{font-size:12px;margin-top:3px;line-height:1.6}
.up-language-detail[data-detail-layout="compact"] .ld-fee-rule{font-size:12px;margin:8px 0;line-height:1.65}
.up-language-detail[data-detail-layout="compact"] .ld-fee-scroll{margin-top:10px;border-radius:3px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-table{font-size:13px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-table th,.up-language-detail[data-detail-layout="compact"] .ld-fee-table td{padding:11px 12px;min-width:92px;border-color:var(--ld-line)}
.up-language-detail[data-detail-layout="compact"] .ld-fee-table tr>:first-child{min-width:76px;width:76px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-table tbody td{font-size:14px;font-weight:750;color:var(--ld-accent)}
.up-language-detail[data-detail-layout="compact"] .ld-swipe-hint{margin-top:6px;font-size:11px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-exclusions{margin-top:9px;font-size:12px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-exclusions strong{display:inline;margin:0;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-official-note{margin-top:9px;line-height:1.65;color:var(--ld-muted)}
.up-language-detail[data-detail-layout="compact"] .ld-tuition-guidance{margin:12px 0;padding:10px 12px;border:1px solid var(--ld-line);border-radius:4px;background:var(--ld-soft)}
.up-language-detail[data-detail-layout="compact"] .ld-tuition-guidance p{font-size:13px;line-height:1.65;margin:0}
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras{gap:12px 20px;margin-top:12px;padding:12px 0}
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras>div{gap:3px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras strong{font-size:14px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras small{font-size:12px;line-height:1.6}
.up-language-detail[data-detail-layout="compact"] .ld-note-details{margin-top:10px}
.up-language-detail[data-detail-layout="compact"] .ld-note-details summary{padding:6px 0;font-size:13px}
.up-language-detail[data-detail-layout="compact"] .ld-course-panel{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:20px}
.up-language-detail[data-detail-layout="compact"] .ld-study-photo{height:148px;border-radius:4px;margin-bottom:10px}
.up-language-detail[data-detail-layout="compact"] .ld-course-overview h3{font-size:16px;font-weight:700;margin-bottom:6px}
.up-language-detail[data-detail-layout="compact"] .ld-course-overview p{font-size:13px;line-height:1.7}
.up-language-detail[data-detail-layout="compact"] .ld-program-facts{gap:5px 12px;margin-top:9px}
.up-language-detail[data-detail-layout="compact"] .ld-detail-facts>div{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:9px 0;font-size:13px;line-height:1.7}
.up-language-detail[data-detail-layout="compact"] .ld-feature{margin-top:14px;padding:10px 12px;gap:16px;border-radius:4px}
.up-language-detail[data-detail-layout="compact"] .ld-feature>strong{font-size:13px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-notice{font-size:13px;line-height:1.7;margin-bottom:10px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-notice strong{margin-right:8px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-info{grid-template-columns:minmax(0,1fr) minmax(0,.65fr);gap:10px 20px;padding:12px 0}
.up-language-detail[data-detail-layout="compact"] .ld-house-title h3{font-size:15px;margin:2px 0 3px}
.up-language-detail[data-detail-layout="compact"] .ld-house-title p{font-size:13px;line-height:1.65}
.up-language-detail[data-detail-layout="compact"] .ld-house-rates{gap:8px 16px;justify-content:flex-end;text-align:right}
.up-language-detail[data-detail-layout="compact"] .ld-house-rates strong{font-size:15px}
.up-language-detail[data-detail-layout="compact"] .ld-house-rates small{font-size:12px}
.up-language-detail[data-detail-layout="compact"] .ld-location-compact{grid-template-columns:240px minmax(0,1fr);gap:16px}
.up-language-detail[data-detail-layout="compact"] .ld-location-compact>img{height:170px;border-radius:4px}
.up-language-detail[data-detail-layout="compact"] .ld-location-compact dl>div{padding:8px 0;gap:10px;border-color:var(--ld-line)}
.up-language-detail[data-detail-layout="compact"] .ld-location-compact dt{color:var(--ld-ink)}
.up-language-detail[data-detail-layout="compact"] .ld-map-link{padding:6px 10px;border-radius:4px}
.up-language-detail[data-detail-layout="compact"] .ld-faq summary{padding:12px 0;font-size:14px;font-weight:700;gap:12px}
.up-language-detail[data-detail-layout="compact"] .ld-faq summary::after{font-size:18px}
.up-language-detail[data-detail-layout="compact"] .ld-faq p{padding:0 20px 12px 0;line-height:1.7}
.up-language-detail[data-detail-layout="compact"] .ld-promotion{padding:24px 0;background:#342e49}
.up-language-detail[data-detail-layout="compact"] .ld-promotion h2{font-size:22px;line-height:1.45;margin-bottom:6px;color:white}
.up-language-detail[data-detail-layout="compact"] .ld-promotion p{font-size:13px;line-height:1.7;color:#eee8fa}
.up-language-detail[data-detail-layout="compact"] .ld-service-cta{min-height:38px;padding:8px 16px;font-size:13px;border-radius:4px;color:#342e49}
.up-language-detail[data-detail-layout="compact"] .ld-next-nav .cd-wrap{padding-top:16px;padding-bottom:16px;gap:8px}
@media(max-width:760px){
 .up-language-detail[data-detail-layout="compact"] .cd-wrap{padding-left:var(--ld-shell-left,14px);padding-right:var(--ld-shell-right,14px)}
 .up-language-detail[data-detail-layout="compact"] .cd-hero{grid-template-columns:minmax(0,1fr);display:grid;gap:16px;padding:16px 0 20px}
 .up-language-detail[data-detail-layout="compact"] h1{font-size:24px}
 .up-language-detail[data-detail-layout="compact"] .cd-hero-lead{font-size:13px;margin-top:9px}
 .up-language-detail[data-detail-layout="compact"] .cd-facts{gap:0 12px;margin:12px 0}
 .up-language-detail[data-detail-layout="compact"] .cd-facts>div{display:block;padding:7px 0}
 .up-language-detail[data-detail-layout="compact"] .cd-facts dd{margin-top:2px}
 .up-language-detail[data-detail-layout="compact"] .cd-actions .cd-button{font-size:13px;min-height:36px;padding:7px 8px}
 .up-language-detail[data-detail-layout="compact"] .ld-hero-image{height:180px}
 .up-language-detail[data-detail-layout="compact"] .cd-section-nav .cd-wrap{gap:20px}
 .up-language-detail[data-detail-layout="compact"] .cd-section-nav a{padding:11px 0;font-size:13px}
 .up-language-detail[data-detail-layout="compact"] .cd-section{padding:22px 0}
 .up-language-detail[data-detail-layout="compact"] .ld-head{align-items:flex-start;flex-wrap:wrap;gap:5px}
 .up-language-detail[data-detail-layout="compact"] .ld-head h2{font-size:19px}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-meta{justify-content:flex-start;max-width:none;width:100%}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-panel{padding:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-caption{gap:5px;flex-wrap:wrap}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-caption h3{font-size:15px}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-table th,.up-language-detail[data-detail-layout="compact"] .ld-fee-table td{padding:10px;min-width:85px}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-extras{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-course-panel{grid-template-columns:minmax(0,1fr);gap:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-study-photo{height:148px}
 .up-language-detail[data-detail-layout="compact"] .ld-feature{align-items:flex-start;gap:8px;padding:10px}
 .up-language-detail[data-detail-layout="compact"] .ld-housing-info{grid-template-columns:minmax(0,1fr);gap:7px}
 .up-language-detail[data-detail-layout="compact"] .ld-house-rates{justify-content:flex-start;text-align:left}
 .up-language-detail[data-detail-layout="compact"] .ld-location-compact{grid-template-columns:minmax(0,1fr);gap:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-location-compact>img{height:150px}
 .up-language-detail[data-detail-layout="compact"] .ld-promotion{padding:22px 0}
 .up-language-detail[data-detail-layout="compact"] .ld-promotion-inner{gap:14px;align-items:stretch;flex-direction:column}
 .up-language-detail[data-detail-layout="compact"] .ld-promotion h2{font-size:19px}
 .up-language-detail[data-detail-layout="compact"] .ld-service-cta{width:100%}
 .up-language-detail[data-detail-layout="compact"] .ld-next-nav .cd-wrap{display:flex;flex-wrap:wrap}
 .up-language-detail[data-detail-layout="compact"] .ld-next-nav .cd-button{flex:1 1 130px;font-size:12px}
}
/* Independent horizontal menu and a fixed finder action, as on the country guides. */
.up-language-detail[data-detail-layout="compact"] .cd-section-nav .cd-wrap{overflow:visible;gap:18px;align-items:stretch}
.up-language-detail[data-detail-layout="compact"] .ld-section-links{display:flex;gap:24px;min-width:0;flex:1;overflow-x:auto;scrollbar-width:thin}
.up-language-detail[data-detail-layout="compact"] .cd-section-nav .ld-nav-finder{display:flex;align-items:center;flex:none;align-self:center;border-left:1px solid var(--ld-line);padding:2px 0 2px 18px;color:var(--ld-accent);font-size:13px;line-height:1.5}
@media(max-width:760px){.up-language-detail[data-detail-layout="compact"] .cd-section-nav .cd-wrap{gap:10px}.up-language-detail[data-detail-layout="compact"] .ld-section-links{gap:20px}.up-language-detail[data-detail-layout="compact"] .cd-section-nav .ld-nav-finder{font-size:12px;padding:2px 0 2px 10px}}
/* Course names on the left; a single connected detail panel. */
.up-language-detail[data-detail-layout="compact"] .ld-program-explorer{display:grid;gap:10px}
.up-language-detail[data-detail-layout="compact"] .ld-program-item{min-width:0}
.up-language-detail[data-detail-layout="compact"] .ld-program-label{margin:0}
.up-language-detail[data-detail-layout="compact"] .ld-program-label button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:60px;padding:10px 13px;text-align:left;border:1px solid var(--ld-line);border-radius:4px;background:#fff;color:var(--ld-ink);font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-program-label strong{display:block;font-size:14px;line-height:1.5}
.up-language-detail[data-detail-layout="compact"] .ld-program-label small{display:block;font-size:12px;font-weight:500;line-height:1.5;color:var(--ld-muted);margin-top:2px}
.up-language-detail[data-detail-layout="compact"] .ld-program-sign{font-size:22px;line-height:1;font-weight:500;flex:none;color:var(--ld-accent)}
.up-language-detail[data-detail-layout="compact"] .ld-program-label button:hover{border-color:var(--ld-accent);background:var(--ld-soft)}
.up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-label [aria-expanded="true"]{background:#6441b5;border-color:#6441b5;color:white}
.up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-label [aria-expanded="true"] :is(small,.ld-program-sign){color:#f1eaff}
.up-language-detail[data-detail-layout="compact"] .ld-program-body{min-width:0;border:1px solid var(--ld-line);border-top:3px solid #6441b5;border-radius:4px;padding:14px 16px;background:white}
.up-language-detail[data-detail-layout="compact"] .ld-program-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:11px}
.up-language-detail[data-detail-layout="compact"] .ld-program-heading h3{font-size:calc(16px * var(--ld-reading-scale,1));font-weight:750}
.up-language-detail[data-detail-layout="compact"] .ld-program-heading>span{font-size:12px;color:var(--ld-muted);white-space:nowrap}
.up-language-detail[data-detail-layout="compact"] .ld-program-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:8px;margin-bottom:12px}
.up-language-detail[data-detail-layout="compact"] .ld-program-options>div{padding:9px 11px;border:1px solid #c4b5d6;background:#f8f6fb;border-radius:3px;min-width:0}
.up-language-detail[data-detail-layout="compact"] .ld-program-options strong{display:block;color:#6441b5;font-size:13px;font-weight:750;line-height:1.5;margin-bottom:4px}
.up-language-detail[data-detail-layout="compact"] .ld-program-options p{font-size:calc(13px * var(--ld-reading-scale,1));line-height:1.65;color:var(--ld-ink);overflow-wrap:anywhere}
.up-language-detail[data-detail-layout="compact"] .ld-program-metrics{display:flex;flex-wrap:wrap;gap:5px 18px;padding:8px 0;border-top:1px solid var(--ld-line);border-bottom:1px solid var(--ld-line);margin-bottom:3px}
.up-language-detail[data-detail-layout="compact"] .ld-program-metrics>div{display:flex;gap:8px;align-items:baseline;font-size:calc(12px * var(--ld-reading-scale,1));min-width:0}
.up-language-detail[data-detail-layout="compact"] .ld-program-metrics dt{color:var(--ld-muted);flex:none}
.up-language-detail[data-detail-layout="compact"] .ld-program-metrics dd{font-weight:700;color:var(--ld-ink);overflow-wrap:anywhere}
.up-language-detail[data-detail-layout="compact"] .ld-program-points>div{display:grid;grid-template-columns:76px minmax(0,1fr);gap:10px;padding:8px 0;border-bottom:1px solid #d7cde3;font-size:calc(13px * var(--ld-reading-scale,1));line-height:1.65}
.up-language-detail[data-detail-layout="compact"] .ld-program-points>div:last-child{border-bottom:0;padding-bottom:0}
.up-language-detail[data-detail-layout="compact"] .ld-program-points dt{font-weight:700;color:var(--ld-ink)}
.up-language-detail[data-detail-layout="compact"] .ld-program-points dd{word-break:keep-all;overflow-wrap:anywhere}
@media(min-width:761px){
 .up-language-detail[data-detail-layout="compact"] [data-program-ready]{grid-template-columns:230px minmax(0,1fr);grid-template-rows:repeat(calc(var(--ld-program-count) - 1),60px) minmax(60px,auto);gap:8px 16px;align-items:start}
 .up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-item{display:contents}
 .up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-label{grid-column:1;grid-row:var(--ld-program-row)}
 .up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-body{grid-column:2;grid-row:1/-1;min-height:196px}
}
@media(max-width:760px){
 .up-language-detail[data-detail-layout="compact"] .ld-program-explorer{gap:8px}
 .up-language-detail[data-detail-layout="compact"] .ld-program-label button{min-height:55px;padding:9px 12px}
 .up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-body{margin-top:6px;padding:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-program-options{grid-template-columns:minmax(0,1fr);gap:0;border:1px solid #c4b5d6;border-radius:3px;overflow:hidden}
 .up-language-detail[data-detail-layout="compact"] .ld-program-options>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:8px;align-items:baseline;border:0;border-bottom:1px solid #d7cde3;border-radius:0;padding:8px 10px}
 .up-language-detail[data-detail-layout="compact"] .ld-program-options>div:last-child{border-bottom:0}
 .up-language-detail[data-detail-layout="compact"] .ld-program-options strong{margin:0;font-size:12px}
 .up-language-detail[data-detail-layout="compact"] .ld-program-options p{font-size:calc(12px * var(--ld-reading-scale,1))}
 .up-language-detail[data-detail-layout="compact"] .ld-program-points>div{grid-template-columns:64px minmax(0,1fr);gap:8px;font-size:calc(12px * var(--ld-reading-scale,1))}
}
@media print{
 .up-language-detail[data-detail-layout="compact"] [data-program-explorer]{display:block}
 .up-language-detail[data-detail-layout="compact"] [data-program-ready] .ld-program-item{display:block;margin:12px 0}
 .up-language-detail[data-detail-layout="compact"] .ld-program-label{display:none}
 .up-language-detail[data-detail-layout="compact"] .ld-program-body[hidden]{display:block!important}
 .up-language-detail[data-detail-layout="compact"] .ld-program-body{break-inside:avoid}
}
/* Housing shares the course disclosure geometry and keeps price units next to the amount. */
.up-language-detail[data-detail-layout="compact"] .ld-housing-body{align-self:stretch}
.up-language-detail[data-detail-layout="compact"] .ld-housing-booking-fee{display:flex;align-items:baseline;gap:8px 16px;flex-wrap:wrap;border:1px solid var(--ld-line);border-radius:4px;background:var(--ld-soft);padding:10px 12px;margin-top:12px;font-size:calc(13px * var(--ld-reading-scale,1));line-height:1.65}
.up-language-detail[data-detail-layout="compact"] .ld-housing-booking-fee strong,.up-language-detail[data-detail-layout="compact"] .ld-housing-booking-fee b{color:var(--ld-accent);font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-housing-panel-top{display:flex;justify-content:space-between;align-items:start;gap:16px;padding-bottom:12px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-panel-top h3{font-size:calc(16px * var(--ld-reading-scale,1));font-weight:750;margin-bottom:5px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-rate-label{display:inline-block;font-size:12px;color:var(--ld-muted)}
.up-language-detail[data-detail-layout="compact"] .ld-housing-price{text-align:right;flex:none}
.up-language-detail[data-detail-layout="compact"] .ld-housing-price strong{display:block;font-size:calc(22px * var(--ld-reading-scale,1));line-height:1.4;font-weight:750;color:#6441b5;font-variant-numeric:tabular-nums}
.up-language-detail[data-detail-layout="compact"] .ld-housing-price small{display:block;font-size:calc(12px * var(--ld-reading-scale,1));line-height:1.6;color:var(--ld-muted);margin-top:2px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;border-top:1px solid var(--ld-line)}
.up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts>div{display:grid;grid-template-columns:56px minmax(0,1fr);gap:8px;padding:10px 0;border-bottom:1px solid #d7cde3;font-size:calc(13px * var(--ld-reading-scale,1));line-height:1.65}
.up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts dt{font-weight:700;color:var(--ld-ink)}
.up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts dd{word-break:keep-all;overflow-wrap:anywhere}
.up-language-detail[data-detail-layout="compact"] :is(.ld-housing-rate-note,.ld-housing-shared-note){font-size:calc(12px * var(--ld-reading-scale,1));line-height:1.7;color:var(--ld-muted);margin-top:10px;word-break:keep-all;overflow-wrap:anywhere}
@media(max-width:760px){
 .up-language-detail[data-detail-layout="compact"] .ld-housing-panel-top{gap:10px;flex-wrap:wrap}
 .up-language-detail[data-detail-layout="compact"] .ld-housing-panel-top h3{font-size:calc(15px * var(--ld-reading-scale,1))}
 .up-language-detail[data-detail-layout="compact"] .ld-housing-price strong{font-size:calc(20px * var(--ld-reading-scale,1))}
 .up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts{grid-template-columns:minmax(0,1fr)}
 .up-language-detail[data-detail-layout="compact"] .ld-housing-key-facts>div{padding:8px 0;font-size:calc(12px * var(--ld-reading-scale,1))}
}
/* Same dark introduction as the country guides; compact facts and shared reading tools. */
.up-language-detail[data-detail-layout="compact"]{--ld-reading-scale:1}
.up-language-detail[data-detail-layout="compact"][data-reading-size="large"]{--ld-reading-scale:1.125}
.up-language-detail[data-detail-layout="compact"][data-reading-size="larger"]{--ld-reading-scale:1.25}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band{background:#342e49;color:#eee8fa}
.up-language-detail[data-detail-layout="compact"] .cd-breadcrumb{padding-top:12px;color:#d9cfee}
.up-language-detail[data-detail-layout="compact"] .cd-breadcrumb>a:last-child{color:#eee8fa}
.up-language-detail[data-detail-layout="compact"] .cd-hero{grid-template-columns:minmax(0,1fr) 320px;gap:24px;padding:14px 0 20px;align-items:center}
.up-language-detail[data-detail-layout="compact"] .ld-hero-topline{margin-bottom:5px}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band h1{color:white;font-size:calc(28px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] :is(.ld-location,.ld-english){color:#d9cfee}
.up-language-detail[data-detail-layout="compact"] .cd-hero-lead{color:#eee8fa;margin-top:7px;font-size:calc(13px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] .cd-facts{margin:10px 0 12px;border-color:#746584;gap:0 16px}
.up-language-detail[data-detail-layout="compact"] .cd-facts>div{padding:6px 0;border-color:#746584;font-size:calc(12px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] .cd-facts dt{color:#d9cfee}
.up-language-detail[data-detail-layout="compact"] .cd-facts dd{color:white}
.up-language-detail[data-detail-layout="compact"] .ld-hero-image{height:216px;border-color:#8b7a9a}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band .cd-button{background:transparent;border-color:#a99abd;color:white}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band .cd-primary{background:white;border-color:white;color:#342e49}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band .cd-button:hover{background:#4b405e}
.up-language-detail[data-detail-layout="compact"] .ld-intro-band .cd-primary:hover{background:#eee8fa}
.up-language-detail[data-detail-layout="compact"] .up-reading-tools{position:relative;display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}
.up-language-detail[data-detail-layout="compact"] .up-reading-tools .badge{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:30px;padding:4px 8px;background:transparent;border:1px solid #a99abd;color:#eee8fa;border-radius:4px;font-size:12px;font-weight:700;line-height:1.4;white-space:nowrap}
.up-language-detail[data-detail-layout="compact"] .up-reading-tools .badge:hover{background:#4b405e}
.up-language-detail[data-detail-layout="compact"] .up-reading-tools svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}
.up-language-detail[data-detail-layout="compact"] .up-reading-size{position:static}
.up-language-detail[data-detail-layout="compact"] .up-reading-symbol sup{font-size:9px}
.up-language-detail[data-detail-layout="compact"] .up-reading-popover{position:absolute;right:0;top:calc(100% + 7px);z-index:30;width:224px;padding:12px;border:1px solid #ae9cc4;border-radius:4px;background:white;color:#292333;box-shadow:0 5px 16px #17102230}
.up-language-detail[data-detail-layout="compact"] .up-reading-popover p{font-size:13px;font-weight:700;margin-bottom:8px;color:#292333}
.up-language-detail[data-detail-layout="compact"] .up-reading-options{display:flex;gap:5px}
.up-language-detail[data-detail-layout="compact"] .up-reading-options button{flex:1;min-height:36px;padding:6px;border:1px solid #ae9cc4;border-radius:4px;background:white;color:#6441b5;font-size:12px}
.up-language-detail[data-detail-layout="compact"] .up-reading-options [aria-pressed="true"]{background:#6441b5;border-color:#6441b5;color:white}
.up-language-detail[data-detail-layout="compact"] .up-reading-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.up-language-detail[data-detail-layout="compact"] .ld-head h2{font-size:calc(22px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] :is(.ld-fee-rule,.ld-official-note,.ld-fee-exclusions,.ld-house-rates small){font-size:calc(12px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] :is(.ld-course-overview p,.ld-detail-facts>div,.ld-house-title p,.ld-location-compact dl>div,.ld-faq p,.ld-tuition-guidance p,.ld-housing-notice){font-size:calc(13px * var(--ld-reading-scale))}
.up-language-detail[data-detail-layout="compact"] :is(.ld-faq summary,.ld-fee-table tbody td){font-size:calc(14px * var(--ld-reading-scale))}
@media(max-width:960px) and (min-width:761px){.up-language-detail[data-detail-layout="compact"] .cd-hero{grid-template-columns:minmax(0,1fr) 260px;gap:20px}.up-language-detail[data-detail-layout="compact"] .ld-hero-topline{align-items:flex-start;flex-wrap:wrap}.up-language-detail[data-detail-layout="compact"] .cd-facts>div{display:block}.up-language-detail[data-detail-layout="compact"] .cd-facts dd{margin-top:2px}}
@media(max-width:760px){
 .up-language-detail[data-detail-layout="compact"] .cd-hero{grid-template-columns:minmax(0,1fr) 104px;gap:5px 12px;padding:12px 0 18px;align-items:start}
 .up-language-detail[data-detail-layout="compact"] .cd-hero-copy{display:contents}
 .up-language-detail[data-detail-layout="compact"] .ld-hero-topline{grid-column:1/-1;grid-row:1;align-items:center;gap:6px;flex-wrap:wrap;margin:0 0 7px}
 .up-language-detail[data-detail-layout="compact"] .ld-intro-band h1{grid-column:1;grid-row:2;font-size:calc(24px * var(--ld-reading-scale))}
 .up-language-detail[data-detail-layout="compact"] .ld-english{grid-column:1;grid-row:3;margin:0}
 .up-language-detail[data-detail-layout="compact"] .ld-hero-image{grid-column:2;grid-row:2/span 2;height:84px;width:104px}
 .up-language-detail[data-detail-layout="compact"] .ld-hero-image>span{display:none}
 .up-language-detail[data-detail-layout="compact"] .cd-hero-lead{grid-column:1/-1;grid-row:4;margin-top:5px}
 .up-language-detail[data-detail-layout="compact"] .cd-facts{grid-column:1/-1;grid-row:5;margin:6px 0 5px}
 .up-language-detail[data-detail-layout="compact"] .cd-actions{grid-column:1/-1;grid-row:6;margin-top:4px}
 .up-language-detail[data-detail-layout="compact"] :is(.ld-share-status,.ld-share-fallback){grid-column:1/-1}
 .up-language-detail[data-detail-layout="compact"] .ld-head h2{font-size:calc(19px * var(--ld-reading-scale))}
 .up-language-detail[data-detail-layout="compact"] .up-reading-tools{gap:4px;margin-left:auto}
 .up-language-detail[data-detail-layout="compact"] .up-reading-tools .badge{padding:4px 6px;font-size:11px;min-height:29px}
}
@media print{
 body>header,body>footer,#up-global-header,.up-language-detail[data-detail-layout="compact"] :is(.up-reading-tools,.cd-section-nav,.cd-actions,.ld-promotion,.ld-next-nav,.ld-share-fallback,.ld-share-status,dialog,.ld-tabs){display:none!important}
 .up-language-detail[data-detail-layout="compact"]{--ld-reading-scale:1;color:#17141c;font-size:10pt}
 .up-language-detail[data-detail-layout="compact"] .ld-intro-band{background:white;color:#17141c}
 .up-language-detail[data-detail-layout="compact"] .ld-intro-band :is(h1,p,dt,dd,a){color:#17141c!important}
 .up-language-detail[data-detail-layout="compact"] .cd-hero-copy{display:block}
 .up-language-detail[data-detail-layout="compact"] .cd-hero{display:block;padding:10px 0}
 .up-language-detail[data-detail-layout="compact"] .ld-hero-image{display:none}
 .up-language-detail[data-detail-layout="compact"] [data-tab-panel][hidden]{display:block!important}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-scroll{overflow:visible}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-table{table-layout:fixed;font-size:9pt}
 .up-language-detail[data-detail-layout="compact"] .ld-fee-table :is(th,td){min-width:0!important;width:auto!important;padding:7px 4px;font-size:9pt;white-space:normal;position:static}
 .up-language-detail[data-detail-layout="compact"] :is(.ld-fee-panel,.ld-housing-info){break-inside:avoid}
}


.up-language-detail[data-detail-layout="compact"] .ld-housing-commute{margin:12px 0;padding:10px 12px;border-left:3px solid #6540b7;background:#f6f3fb;line-height:1.6;color:#292338}.up-language-detail[data-detail-layout="compact"] .ld-housing-commute strong{margin-right:10px;color:#55318b}

/* Room-price rows share the detail typography and line palette. */
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-scroll{overflow-x:auto}
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table{width:100%;border-collapse:collapse;font-size:13px;line-height:1.5}
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table :is(th,td){padding:8px 10px;border-bottom:1px solid #c6b6db;text-align:left}
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table thead{background:#eee8f5;color:#30243f}
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table small{display:block;font-weight:400;color:#5e536e;font-size:11px}
.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table td:last-child{color:#6540b7;font-weight:700;text-align:right;white-space:nowrap}
.up-language-detail[data-detail-layout="compact"] .ld-housing-commute{word-break:keep-all;overflow-wrap:break-word}
@media(max-width:760px){.up-language-detail[data-detail-layout="compact"] .ld-housing-room-table :is(th,td){padding:7px 5px}}

/* Grouped tuition shares program/housing navigation and the existing fee table. */
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-caption{margin:0 0 12px;gap:8px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tr>:first-child{min-width:148px;width:148px;white-space:normal;word-break:keep-all}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tbody th{font-size:13px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table th small{display:block;font-size:11px;font-weight:400;margin-top:3px;color:#675972}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-unavailable{color:#887b99;font-weight:400}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-exclusions{margin:12px 0 0}
@media(max-width:760px){.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tr>:first-child{min-width:128px;width:128px}.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tbody th{font-size:12px}}
@media print{.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tr>:first-child{min-width:0;width:auto}}

/* Two-line ancillary costs; full airport details remain on the amount tooltip. */
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras-compact>div{gap:4px}
.up-language-detail[data-detail-layout="compact"] .ld-fee-extras-compact strong{white-space:nowrap;line-height:1.6}

/* Offer totals are computed from the normal tuition; the same table stays in place. */
.up-language-detail[data-detail-layout="compact"] .ld-fee-offer{display:flex;flex-direction:column;align-items:flex-end;gap:2px;line-height:1.5}
.up-language-detail[data-detail-layout="compact"] .ld-fee-offer del{font-size:11px;font-weight:400;color:#766882;white-space:nowrap}
.up-language-detail[data-detail-layout="compact"] .ld-fee-offer strong{font-size:14px;font-weight:750;color:#d7193f;white-space:nowrap}

.up-language-detail[data-detail-layout="compact"] .ld-fee-deadline{margin:9px 0 0;text-align:right;font-size:12px;line-height:1.6;color:#d7193f;font-weight:700}

/* New York: service-led closing CTA. */
.up-language-detail[data-detail-layout="compact"] .ld-promotion{padding:30px 0}
.up-language-detail[data-detail-layout="compact"] .ld-promotion .ld-cta-eyebrow{margin:0 0 7px;color:#d9c9f9;font-size:12px;font-weight:700}
.up-language-detail[data-detail-layout="compact"] .ld-service-cta{min-height:46px;padding:12px 22px;white-space:normal;text-align:center}
@media(max-width:760px){.up-language-detail[data-detail-layout="compact"] .ld-promotion{padding:24px 0}}

.up-language-detail[data-detail-layout="compact"] .ld-usa-native-finder{padding:24px 0 30px}

/* Keep the native finder within the same shell as the school detail. */
.up-language-detail[data-detail-layout="compact"] .ld-native-finder-shell{box-sizing:border-box;min-width:0}
.up-language-detail[data-detail-layout="compact"] .ld-native-finder-shell .up-container{box-sizing:border-box;width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important}
.up-language-detail[data-detail-layout="compact"] .ld-native-finder-shell [data-univ-profile-id]{min-width:0;max-width:100%}

.up-language-detail[data-language-detail-country="usa"] .ld-housing-source-photo{max-width:100%;width:100%;max-height:240px;object-fit:cover;margin-bottom:10px}

/* Keep the fixed course column opaque as prices scroll behind it. */
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tr>th:first-child {
    background: var(--ld-accent);
    color: #fff;
}
.up-language-detail[data-detail-layout="compact"] .ld-fee-comparison .ld-fee-table tr>th:first-child small {
    color: #fff;
    overflow-wrap: anywhere;
}

.up-language-detail[data-detail-layout="compact"] .ld-location-text dl{grid-column:1/-1}

.up-content-followup.up-language-detail[data-detail-layout="compact"]{margin-top:0}
