/* Ucademy v2 — fixes on top of Claude Design Stage 4 */
.uc-prom .uc-lim li{padding:0 0 0 34px;border-top:0}
.uc-curr li.uc-curr__sem{display:block;counter-increment:none;background:var(--uc-bg);padding:10px 18px;font:700 .75rem/1.4 var(--uc-f-head);letter-spacing:.08em;text-transform:uppercase;color:var(--uc-red-700)}
.uc-curr li.uc-curr__sem::before{display:none}
.uc-curr--plain li{grid-template-columns:32px minmax(0,1fr)}
@media(max-width:600px){.uc-curr--plain li{grid-template-columns:24px minmax(0,1fr)}.uc-curr--plain li::before{grid-row:auto}}
/* Wage / outlook tables on city pages (12.10.2026): design-system .uc-tbl + numeric alignment and outlook pills */
.uc-tbl--wage th:nth-child(n+3),.uc-tbl--wage td:nth-child(n+3){text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.uc-tbl--wage td:nth-child(2),.uc-tbl--outlook td:nth-child(2){color:var(--uc-text-2);white-space:nowrap}
.uc-tbl--wage td:nth-child(4){font-weight:700;color:var(--uc-navy)}
.uc-tbl--wage td,.uc-tbl--outlook td{vertical-align:middle}
.uc-tbl--wage tbody tr:hover td,.uc-tbl--outlook tbody tr:hover td{background:var(--uc-bg)}
.uc-ol{display:inline-block;padding:2px 11px;border-radius:999px;font-weight:600;font-size:var(--uc-fs-xs);line-height:1.7;white-space:nowrap}
.uc-ol--g{background:var(--uc-green-50);color:var(--uc-green)}
.uc-ol--m{background:var(--uc-gold-50);color:var(--uc-amber-700)}
.uc-ol--l{background:var(--uc-red-50);color:var(--uc-red-700)}
.uc-ol--u{background:var(--uc-navy-50);color:var(--uc-text-2)}
@media(max-width:600px){.uc-tbl--wage td:nth-child(n+3){text-align:left}.uc-tbl--wage tbody tr:hover td,.uc-tbl--outlook tbody tr:hover td{background:none}}

/* 12.10.2026 speed (CLS): the site header is injected by uc.js after the page is drawn — reserve its height, so the page does not jump down when it appears. Heights measured: 113px desktop (top bar 36 + header 77), 65px at <=900px. */
[data-uc="site-header"]{display:block;min-height:113px}
@media(max-width:900px){[data-uc="site-header"]{min-height:65px}}
/* 12.10.2026 speed (CLS): metric-matched fallback fonts, so lines do not re-wrap when Inter/Sora arrive. Values computed from the font files with fontTools. */
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:107.34%;ascent-override:90.25%;descent-override:22.47%;line-gap-override:0%}
@font-face{font-family:"Sora Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Arial");font-weight:600 800;size-adjust:107.38%;ascent-override:90.33%;descent-override:27.01%;line-gap-override:0%}
.uc{--uc-f-body:'Inter','Inter Fallback',system-ui,sans-serif;--uc-f-head:'Sora','Sora Fallback',system-ui,sans-serif}

/* 22.10.2026: data-block bar labels (white-space:nowrap next to a 78% bar) pushed the page wider than the screen (program pages at ~1024px) */
.uc-data .uc-viz div[style*="display:flex"]>span[style*="nowrap"],.uc-data .uc-viz div[style*="display:flex"]>div[style*="nowrap"]{white-space:normal!important;min-width:0;flex:1 1 auto}
.uc-data .uc-viz div[style*="display:flex"]>div[style*="flex:none"]{flex:0 1 auto!important}
.uc-nrow li b{overflow-wrap:anywhere}
