/*
 * Course Finder (v2.83.0): /course/ and the pages under it, and the head of a course guide.
 *
 * One idea runs through these pages: they are an index to operate, not a brochure. Lists are ruled like a catalogue,
 * every bar is a count, and colour only ever says one of two things: the level of a degree (after Class 12, after
 * graduation, diploma) or the stream of a course. Loaded on these pages only; the theme's tokens do the theming.
 */
:root{--cf-ground:#0b1b33;--cf-rule:rgba(255,255,255,.16);--cf-dim:rgba(255,255,255,.68);--cf-ug:#d9650a;--cf-pg:#1856c8;--cf-dip:#0e7490;--cf-bar:#1856c8;--cf-head:var(--ink)}
[data-theme="dark"]{--cf-ground:#0f1a2e;--cf-ug:#f2994a;--cf-pg:#7fb0ff;--cf-dip:#5fd3e8;--cf-bar:#7fb0ff}

/* ── page head ── */
.cf-hero{position:relative;background:var(--cf-ground);color:#fff}
.cf-hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--cf-accent,var(--saffron))}
.cf-hero-in{display:grid;grid-template-columns:minmax(0,1fr);gap:22px;padding-top:14px;padding-bottom:28px}
.cf-hero-main{min-width:0}
.cf-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px 7px;font-size:13px;line-height:1.4;color:var(--cf-dim)}
.cf-crumbs a{color:rgba(255,255,255,.86);text-decoration:underline;text-decoration-color:rgba(255,255,255,.3);text-underline-offset:3px}
.cf-crumbs a:hover{text-decoration-color:#fff}
.cf-crumbs b{font-weight:500;color:var(--cf-dim)}
.cf-hero h1{margin:16px 0 0;max-width:21em;color:#fff;font-size:clamp(27px,4.7vw,46px);font-weight:800;line-height:1.07;letter-spacing:-.022em;text-wrap:balance}
.cf-hero.is-hub h1{font-size:clamp(30px,5.4vw,54px);max-width:16em;letter-spacing:-.028em}
.cf-hero-sub{margin:8px 0 0;font-size:15px;color:var(--cf-dim)}
.cf-lead{margin:13px 0 0;max-width:64ch;font-size:16.5px;line-height:1.55;color:rgba(255,255,255,.86)}
.cf-lead b{font-weight:700;color:#fff}
.cf-hero-meta{margin:12px 0 0;font-size:13px;color:var(--cf-dim)}
.cf-hero-meta b{color:#fff;font-weight:600}
.cf-hero-meta span{margin-left:14px}
.cf-hero-links{margin:14px 0 0;font-size:14.5px}
.cf-hero-links a{color:#fff;font-weight:600;text-decoration:underline;text-decoration-color:var(--cf-accent,var(--saffron));text-decoration-thickness:2px;text-underline-offset:4px}
.cf-facts{display:grid;grid-template-columns:1fr 1fr;gap:0;margin:22px 0 0;border-top:1px solid var(--cf-rule)}
.cf-facts div{padding:11px 14px 0 0;min-width:0}
.cf-facts dt{font-size:12.5px;color:var(--cf-dim)}
.cf-facts dd{margin:1px 0 0;font-size:19px;font-weight:700;line-height:1.25;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.cf-hero-side{min-width:0}
@media(min-width:700px){
  .cf-facts{display:flex;flex-wrap:wrap}
  .cf-facts div{padding:12px 26px 0 0;margin-right:26px;border-right:1px solid var(--cf-rule)}
  .cf-facts div:last-child{border-right:0;margin-right:0;padding-right:0}
  .cf-facts dd{font-size:21px}
}
@media(min-width:1000px){
  .cf-hero-in{grid-template-columns:minmax(0,1fr) 330px;gap:56px;align-items:end;padding-top:16px;padding-bottom:36px}
  .cf-hero.is-hub .cf-hero-in{grid-template-columns:minmax(0,1fr) 290px;padding-bottom:44px}
}

/* ── search ── */
.cf-search{position:relative;display:flex;align-items:stretch;background:#fff;border-radius:10px;color:#1b2433}
.cf-search>.cu-ic{position:absolute;left:13px;top:50%;width:18px;height:18px;margin:-9px 0 0;color:#5b6676;pointer-events:none}
.cf-search input{flex:1;min-width:0;border:0;background:none;padding:12px 8px 12px 40px;font:inherit;font-size:16px;color:#1b2433;border-radius:10px 0 0 10px;-webkit-appearance:none;appearance:none}
.cf-search input::placeholder{color:#6b7484}
.cf-search input:focus{outline:0}
.cf-search:focus-within{box-shadow:0 0 0 3px var(--saffron)}
.cf-search button{flex:none;display:grid;place-items:center;min-width:44px;margin:4px;padding:0 10px;border:0;border-radius:7px;background:#eef1f5;color:#0b1b33;font:inherit;font-weight:700;font-size:15px;cursor:pointer}
.cf-search button .cu-ic{width:18px;height:18px;margin:0}
.cf-search button:hover{background:#e1e6ee}
.cf-search.is-big{margin-top:24px;max-width:680px;border-radius:12px}
.cf-search.is-big>.cu-ic{left:17px;width:20px;height:20px;margin-top:-10px}
.cf-search.is-big input{padding:17px 10px 17px 48px;font-size:17px}
.cf-search.is-big button{margin:6px;padding:0 20px;background:var(--saffron);color:#1a1205;border-radius:8px}
.cf-search.is-big button:hover{background:#f59338}
.cf-results{position:absolute;z-index:60;left:0;right:0;top:calc(100% + 6px);max-height:min(62vh,460px);overflow:auto;padding:6px;background:var(--surface);color:var(--text);border:1px solid var(--line-2);border-radius:12px;box-shadow:var(--shadow-lg);text-align:left}
.cf-res{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 14px;align-items:baseline;padding:9px 12px;border-radius:8px;color:var(--text);text-decoration:none}
.cf-res b{font-weight:600;font-size:15px;line-height:1.3;color:var(--cf-head)}
.cf-res mark{background:none;color:inherit;text-decoration:underline;text-decoration-color:var(--saffron);text-decoration-thickness:2px;text-underline-offset:3px}
.cf-res span{font-size:13px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.cf-res small{grid-column:1/-1;font-size:12.5px;color:var(--muted)}
.cf-res:hover,.cf-res[aria-selected="true"]{background:var(--surface-2)}
.cf-res-all{display:block;margin-top:4px;padding:10px 12px;border-top:1px solid var(--line);font-size:14px;font-weight:600;color:var(--blue)}
.cf-res-none{margin:0;padding:12px;font-size:14px;color:var(--muted)}
.cf-pop{display:flex;flex-wrap:wrap;gap:6px 16px;margin:16px 0 0;font-size:14.5px;line-height:1.5}
.cf-pop span{color:var(--cf-dim)}
.cf-pop a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:4px}
.cf-pop a:hover{text-decoration-color:var(--saffron)}
.cf-ways p{margin:0 0 8px;font-size:13px;color:var(--cf-dim)}
.cf-ways a{display:block;padding:13px 0 12px;border-top:1px solid var(--cf-rule);color:#fff;text-decoration:none}
.cf-ways a b{display:block;font-size:20px;font-weight:700;letter-spacing:-.01em;line-height:1.2}
.cf-ways a span{display:block;margin-top:2px;font-size:13.5px;color:var(--cf-dim)}
.cf-ways a:hover b{text-decoration:underline;text-decoration-color:var(--saffron);text-decoration-thickness:2px;text-underline-offset:5px}
@media(max-width:999px){
  .cf-ways{display:grid;grid-template-columns:repeat(3,1fr);gap:0 14px}
  .cf-ways p{grid-column:1/-1}
  .cf-ways a b{font-size:16px}
  .cf-ways a span{display:none}
}

/* ── links to the parts of a page ── */
.cf-tabs{position:sticky;top:calc(var(--adminbar,0px) + var(--header-h));z-index:50;background:var(--surface);border-bottom:1px solid var(--line)}
.cf-tabs ul{display:flex;gap:2px;margin:0 -10px;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.cf-tabs ul::-webkit-scrollbar{display:none}
.cf-tabs a{display:block;padding:13px 10px 11px;border-bottom:2px solid transparent;font-size:14px;font-weight:600;color:var(--muted);white-space:nowrap;text-decoration:none}
.cf-tabs a:hover{color:var(--cf-head)}
.cf-tabs a[aria-current="true"]{color:var(--cf-head);border-bottom-color:var(--saffron)}

/* ── sections ── */
.cf-main{padding:6px 0 52px}
.cf-main [id],.cf-embed [id]{scroll-margin-top:calc(var(--header-h) + 64px)}
.cf-sec{margin-top:44px}
.cf-main>.cu-container>.cf-h:first-child,.cf-main>.cu-container>.cu-ad+.cf-h{margin-top:30px}
.cf-main>.cu-container>.cf-sec:first-child{margin-top:30px}
.cf-h{margin:0 0 16px}
.cf-h h2{margin:0;padding:0;border:0;color:var(--cf-head);font-size:clamp(21px,2.7vw,27px);font-weight:800;line-height:1.16;letter-spacing:-.016em;text-wrap:balance}
.cf-h p{margin:7px 0 0;max-width:72ch;font-size:15px;line-height:1.55;color:var(--muted)}
.cf-h p b{color:var(--text)}
.cf-h3{margin:22px 0 8px;font-size:15px;font-weight:700;color:var(--cf-head)}
.cf-two{display:grid;gap:8px 44px}
.cf-two .cf-h3{margin-top:4px}
@media(min-width:860px){.cf-two{grid-template-columns:1fr 1fr}}
.cf-p{margin:14px 0 0;font-size:14.5px;line-height:1.6;color:var(--text)}
.cf-p a,.cf-note a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}

/* ── streams: a ruled index ── */
.cf-streams{display:grid;gap:0 40px;margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.cf-streams li{position:relative;margin:0;padding:15px 0 14px 16px;border-bottom:1px solid var(--line)}
.cf-streams li::before{content:"";position:absolute;left:0;top:16px;bottom:15px;width:3px;border-radius:2px;background:var(--c)}
.cf-stream{display:flex;gap:11px;align-items:flex-start;color:var(--cf-head);text-decoration:none}
.cf-stream-ic{flex:none;display:grid;place-items:center;width:22px;height:22px;margin-top:1px;color:var(--c)}
.cf-stream-ic .cu-ic{width:20px;height:20px;margin:0}
.cf-stream-t b{display:block;font-size:16.5px;font-weight:700;line-height:1.25}
.cf-stream-t small{display:block;margin-top:2px;font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-stream:hover b{text-decoration:underline;text-underline-offset:3px}
.cf-streams p{display:flex;flex-wrap:wrap;gap:2px 14px;margin:9px 0 0 33px;font-size:13.5px;line-height:1.5}
.cf-streams p a{color:var(--blue)}
.cf-streams p a:hover{text-decoration:underline}
@media(min-width:720px){.cf-streams{grid-template-columns:1fr 1fr}}
@media(min-width:1100px){.cf-streams{grid-template-columns:1fr 1fr 1fr}}
[data-theme="dark"] .cf-streams li::before{background:color-mix(in srgb,var(--c) 60%,#fff)}
[data-theme="dark"] .cf-stream-ic{color:color-mix(in srgb,var(--c) 45%,#fff)}

/* ── degrees: the board. A tile reads like an entry in a table of elements: count, short form, full name ── */
.cf-board{margin-top:20px;--lv:var(--cf-ug)}
.cf-board.lv-pg{--lv:var(--cf-pg)}
.cf-board.lv-dip{--lv:var(--cf-dip)}
.cf-board h3{display:flex;align-items:center;gap:9px;margin:0 0 9px;font-size:14px;font-weight:700;color:var(--text)}
.cf-board h3::before{content:"";width:11px;height:11px;border-radius:2px;background:var(--lv)}
.cf-board ul{display:grid;grid-template-columns:repeat(auto-fill,minmax(102px,1fr));gap:8px;margin:0;padding:0;list-style:none}
.cf-board li{margin:0}
.cf-deg{position:relative;display:flex;flex-direction:column;justify-content:flex-end;height:100%;min-height:108px;padding:26px 10px 10px;border:1px solid var(--line);border-top:3px solid var(--lv);border-radius:5px;background:var(--surface);color:var(--cf-head);text-decoration:none}
.cf-deg b{font-size:22px;font-weight:800;line-height:1.05;letter-spacing:-.025em}
.cf-deg.is-long b{font-size:15.5px;letter-spacing:-.01em;line-height:1.15}
.cf-deg span{display:-webkit-box;margin-top:5px;min-height:2.5em;overflow:hidden;font-size:11.5px;line-height:1.25;color:var(--muted);-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cf-deg small{position:absolute;top:7px;right:9px;font-size:12px;font-weight:600;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-deg:hover{border-color:var(--lv);background:color-mix(in srgb,var(--lv) 7%,var(--surface))}
@media(min-width:700px){.cf-board ul{grid-template-columns:repeat(auto-fill,minmax(118px,1fr))}.cf-deg{min-height:116px}}
@media(max-width:479px){.cf-deg b{font-size:19px}.cf-deg.is-long b{font-size:14.5px}}

/* ── entrance routes: one bar a route, its length the number of programmes ── */
.cf-routes{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.cf-routes li{margin:0}
.cf-routes a,.cf-route-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);color:var(--cf-head);text-decoration:none}
.cf-route-name{font-size:15px;font-weight:600;line-height:1.3}
.cf-route-n{font-size:13.5px;color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums}
.cf-route-bar{grid-column:1/-1;height:8px;background:var(--surface-2);border-radius:2px;overflow:hidden}
.cf-route-bar i{display:block;height:100%;border-radius:2px;background:var(--cf-bar)}
.cf-routes a:hover .cf-route-name{text-decoration:underline;text-underline-offset:3px}
@media(min-width:760px){
  .cf-routes a,.cf-route-row{grid-template-columns:270px minmax(0,1fr) 150px;gap:18px}
  .cf-route-bar{grid-column:auto;order:0}
  .cf-route-n{text-align:right}
}

/* ── a list of courses ── */
.cf-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.cf-list li{margin:0}
.cf-row{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 14px;align-items:baseline;padding:11px 0 10px;border-bottom:1px solid var(--line);color:var(--cf-head);text-decoration:none}
.cf-row-name{font-size:15.5px;font-weight:600;line-height:1.3}
.cf-row-meta{font-size:13px;color:var(--muted);white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}
.cf-row-n{display:inline-block;min-width:86px;margin-left:10px}
.cf-row-bar{grid-column:1/-1;height:3px;margin-top:7px;background:var(--surface-2);border-radius:2px;overflow:hidden}
.cf-row-bar i{display:block;height:100%;background:var(--cf-bar);border-radius:2px}
.cf-row:hover .cf-row-name{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.cf-list.is-rank{counter-reset:cf}
.cf-list.is-rank li{counter-increment:cf}
.cf-list.is-rank .cf-row{padding-left:30px}
.cf-list.is-rank .cf-row::before{content:counter(cf);position:absolute;left:0;top:12px;width:20px;font-size:13px;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
@media(min-width:860px){.cf-list.is-2col{display:grid;grid-template-columns:1fr 1fr;column-gap:44px}}
@media(max-width:520px){.cf-row{grid-template-columns:1fr}.cf-row-meta{text-align:left;margin-top:2px}.cf-row-n{min-width:0}}

/* courses one university alone offers */
.cf-more{margin-top:16px;border:1px solid var(--line);border-radius:8px;background:var(--surface)}
.cf-more summary{padding:13px 16px;font-size:14.5px;font-weight:600;color:var(--cf-head);cursor:pointer}
.cf-more[open] summary{border-bottom:1px solid var(--line)}
.cf-tail{margin:0;padding:0;list-style:none;font-size:14px;line-height:1.4;columns:1;column-gap:36px}
.cf-more .cf-tail{padding:10px 16px 14px}
.cf-tail li{margin:0;padding:5px 0;break-inside:avoid}
.cf-tail a{color:var(--blue)}
.cf-tail a:hover{text-decoration:underline}
.cf-tail small{color:var(--muted);font-size:12.5px}
@media(min-width:720px){.cf-tail{columns:2}}
@media(min-width:1100px){.cf-tail{columns:3}}

/* ── the comparison table ── */
.cf-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 12px}
.cf-tool{display:flex;align-items:center;gap:7px;margin:0;font-size:13.5px;color:var(--muted)}
.cf-tool select{max-width:210px;padding:9px 30px 9px 11px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6676' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 9px center/14px;color:var(--text);font:inherit;font-size:14px;-webkit-appearance:none;appearance:none}
.cf-tool-q{position:relative;flex:1 1 240px}
.cf-tool-q .cu-ic{position:absolute;left:12px;top:50%;width:16px;height:16px;margin:-8px 0 0;color:var(--muted);pointer-events:none}
.cf-tool-q input{width:100%;padding:9px 12px 9px 36px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:15px;-webkit-appearance:none;appearance:none}
.cf-tool select:focus-visible,.cf-tool-q input:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
.cf-tool-saved{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--text);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.cf-tool-saved .cu-ic{width:15px;height:15px;margin:0}
.cf-tool-saved[aria-pressed="true"]{border-color:var(--saffron);background:var(--saffron-soft)}
.cf-count{flex:1 1 100%;margin:0;font-size:13.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-dirq{max-width:420px;margin:0 0 12px}
.cf-table-wrap{border:1px solid var(--line);border-radius:10px;background:var(--surface);overflow:hidden}
.cf-cmp .cf-table,.cf-table{display:table;width:100%;margin:0;border-collapse:collapse;font-size:14.5px;line-height:1.4}
.cf-table thead th{padding:10px 14px;border-bottom:1px solid var(--line);background:var(--surface-2);color:var(--muted);font-family:inherit;font-size:12.5px;font-weight:600;letter-spacing:0;text-align:left;white-space:nowrap}
.cf-table tbody th,.cf-table td{padding:14px;border-bottom:1px solid var(--line);background:none;color:var(--text);font-weight:400;text-align:left;vertical-align:top}
.cf-table tbody tr:last-child>*{border-bottom:0}
.cf-table .num{text-align:right}
.cf-c-uni{width:30%}
.cf-uni{display:flex;gap:11px;align-items:flex-start;color:var(--cf-head);text-decoration:none}
.cf-logo{flex:none;display:grid;place-items:center;width:36px;height:36px;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff;color:#13284d;font-size:11.5px;font-weight:700;object-fit:contain}
.cf-logo img{display:block;width:100%;height:100%;object-fit:contain}
.cf-uni b{display:block;font-size:14.5px;font-weight:650;line-height:1.3}
.cf-uni small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}
.cf-uni:hover b{text-decoration:underline;text-underline-offset:3px}
.cf-nirf{display:inline-block;margin:6px 0 0 47px;padding:1px 6px;border:1px solid var(--line-2);border-radius:4px;font-size:11.5px;font-weight:600;color:var(--muted);white-space:nowrap}
.cf-c-course>a{font-weight:600;color:var(--blue);text-decoration:none}
.cf-c-course>a:hover{text-decoration:underline;text-underline-offset:3px}
.cf-c-course>small{display:block;margin-top:2px;font-size:12.5px;color:var(--muted)}
.cf-el{margin:7px 0 0;font-size:13px}
.cf-el summary{width:fit-content;font-weight:600;color:var(--muted);cursor:pointer}
.cf-el summary:hover{color:var(--text)}
.cf-el p{max-width:62ch;margin:6px 0 2px;font-size:13.5px;line-height:1.55;color:var(--text)}
.cf-el p a{color:var(--blue);white-space:nowrap}
.cf-c-seats b{font-size:16px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--cf-head)}
.cf-bar{display:block;width:88px;height:4px;margin:7px 0 0 auto;background:var(--surface-2);border-radius:2px;overflow:hidden}
.cf-bar i{display:block;height:100%;background:var(--cf-bar);border-radius:2px}
.cf-c-fee{min-width:150px}
.cf-na{font-size:13px;color:var(--faint)}
.cf-code{display:inline-block;padding:1px 6px;border:1px solid var(--line-2);border-radius:4px;background:var(--surface-2);font-size:12px;font-weight:700;letter-spacing:.02em;color:var(--cf-head);white-space:nowrap}
.cf-c-act{width:1%;padding-left:0!important}
.cf-save{display:inline-grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--muted);cursor:pointer}
.cf-save .cu-ic{width:17px;height:17px;margin:0}
.cf-save:hover{color:var(--text);border-color:var(--muted)}
.cf-save[aria-pressed="true"]{border-color:var(--saffron);background:var(--saffron-soft);color:var(--saffron-ink)}
.cf-save[aria-pressed="true"] .cu-ic{fill:currentColor}
.cf-save[hidden],.cf-tools[hidden],.cf-dirq[hidden],.cf-tool-saved[hidden],.cf-showall[hidden],.cf-cmp .cf-table tr[hidden],.cf-list li[hidden],.cf-tail li[hidden],.cf-table tr[hidden]{display:none!important}
.cf-empty{margin:14px 0 0;font-size:14.5px;color:var(--muted)}
.cf-empty button,.cf-clear{padding:0;border:0;background:none;color:var(--blue);font:inherit;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cf-showall{display:block;width:100%;margin-top:10px;padding:12px;border:1px solid var(--line-2);border-radius:8px;background:var(--surface);color:var(--cf-head);font:inherit;font-size:14.5px;font-weight:700;cursor:pointer}
.cf-showall:hover{background:var(--surface-2)}
.cf-papers{max-height:560px;overflow:auto}
.cf-table.is-plain tbody th{font-weight:600}
.cf-table.is-plain tbody th a{color:var(--blue)}
.cf-table.is-plain td small{margin-right:10px;color:var(--muted);font-size:12.5px}
@media(max-width:820px){
  .cf-cmp .cf-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cf-cmp .cf-table,.cf-cmp .cf-table tbody{display:block}
  .cf-cmp .cf-table tr{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:12px 16px;padding:15px 14px;border-bottom:1px solid var(--line)}
  .cf-cmp .cf-table tr:last-child{border-bottom:0}
  .cf-cmp .cf-table tr[hidden]{display:none}
  .cf-cmp .cf-table tbody th,.cf-cmp .cf-table td{display:block;width:auto;padding:0;border:0}
  .cf-cmp .cf-c-uni{grid-column:1/-1;padding-right:46px!important}
  .cf-cmp .cf-c-course,.cf-cmp .cf-c-ex{grid-column:1/-1}
  .cf-cmp .cf-table td[data-l]::before{content:attr(data-l);display:block;margin-bottom:2px;font-size:11.5px;color:var(--muted)}
  .cf-cmp .cf-table .num{text-align:left}
  .cf-cmp .cf-bar{margin-left:0}
  .cf-cmp .cf-c-act{position:absolute;top:13px;right:12px;width:auto}
  .cf-c-fee{min-width:0}
}

/* ── small parts ── */
.cf-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.cf-chips a,.cf-chips>span{display:inline-flex;align-items:baseline;gap:7px;padding:7px 13px;border:1px solid var(--line-2);border-radius:999px;background:var(--surface);color:var(--cf-head);font-size:14px;line-height:1.3;text-decoration:none}
.cf-chips small{font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-chips a:hover{border-color:var(--cf-head)}
.cf-sec>.cf-list+.cf-chips,.cf-sec>.cf-h3+.cf-list+.cf-chips{margin-top:18px}
.cf-uchips{display:grid;grid-template-columns:repeat(auto-fill,minmax(176px,1fr));gap:8px}
.cf-uchip{display:flex;gap:10px;align-items:center;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--cf-head);text-decoration:none}
.cf-uchip b{display:block;font-size:14.5px;font-weight:650;line-height:1.25}
.cf-uchip small{display:block;font-size:12.5px;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-uchip:hover{border-color:var(--cf-head)}
.cf-guides{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.cf-guides li{margin:0}
.cf-guides a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:2px 16px;align-items:baseline;padding:12px 0;border-bottom:1px solid var(--line);color:var(--cf-head);text-decoration:none}
.cf-guides b{font-size:15.5px;font-weight:600}
.cf-guides span{font-size:13px;color:var(--muted);text-align:right}
.cf-guides small{grid-column:1/-1;font-size:12.5px;color:var(--muted)}
.cf-guides a:hover b{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
@media(min-width:860px){.cf-guides{display:grid;grid-template-columns:1fr 1fr;column-gap:44px}}
.cf-note{margin:48px 0 0;padding:18px 20px 16px;border-left:3px solid var(--line-2);border-radius:0 8px 8px 0;background:var(--paper)}
[data-theme="dark"] .cf-note{background:var(--surface)}
.cf-note h2{margin:0 0 8px;padding:0;border:0;font-size:16px;font-weight:700;color:var(--cf-head)}
.cf-note ul{margin:0;padding:0 0 0 18px;font-size:14px;line-height:1.6;color:var(--muted)}
.cf-note li{margin:0 0 4px}
.cf-note b{color:var(--text)}
.cf-faq{margin-top:48px}
.cf-faq>h2{margin:0 0 14px;padding:0;border:0;color:var(--cf-head);font-size:clamp(21px,2.7vw,27px);font-weight:800;line-height:1.16;letter-spacing:-.016em}
.cf-faq .cu-faq-a p{max-width:78ch}
.cf-main .cu-share{margin-top:28px}
.cf-saved{margin:0 0 12px;padding:0;list-style:none;border-top:1px solid var(--line)}
.cf-saved li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;margin:0;padding:10px 0;border-bottom:1px solid var(--line)}
.cf-saved a{color:var(--cf-head);font-weight:600;text-decoration:none}
.cf-saved a small{display:block;font-weight:400;font-size:13px;color:var(--muted)}
.cf-saved a:hover{text-decoration:underline}
.cf-saved button{padding:6px 10px;border:1px solid var(--line-2);border-radius:6px;background:var(--surface);color:var(--muted);font:inherit;font-size:13px;cursor:pointer}
.cf-found .cf-row-bar{display:none}

/* ── inside a course guide: the article's own rules for lists, links and headings stop at the comparison ── */
.cf-guide{padding-top:26px}
.cu-entry-content .cf-embed{margin:0 0 30px}
.cu-entry-content .cf-embed+*{margin-top:0}
.cu-entry-content .cf-embed .cf-h{margin-bottom:16px}
.cu-entry-content .cf-embed .cf-h h2{margin:0;padding-bottom:.3em;border-bottom:2px solid var(--line);font-size:clamp(20px,3vw,25px);font-weight:700;letter-spacing:0}
.cf-embed .cf-list.is-2col{display:block}
.cu-entry-content .cf-embed .cf-h p{margin:10px 0 0}
.cu-entry-content .cf-embed .cf-sec{margin-top:34px}
.cu-entry-content .cf-embed ul,.cu-entry-content .cf-embed ol{margin:0;padding-left:0}
.cu-entry-content .cf-embed .cf-more .cf-tail{padding:10px 16px 14px}
.cu-entry-content .cf-embed li{margin-bottom:0}
.cu-entry-content .cf-embed a[href],.cu-entry-content .cf-embed :is(p,li) a[href]{background:none;text-decoration:none;transition:none}
.cu-entry-content .cf-embed .cf-chips a[href]{background:var(--surface)}
.cu-entry-content .cf-embed .cf-p a[href],.cu-entry-content .cf-embed .cf-el p a[href]{text-decoration:underline}
.cu-entry-content .cf-embed .cf-h3{margin:22px 0 8px;font-size:15px}
.cu-entry-content .cf-embed .cf-table thead th{background:var(--surface-2);color:var(--muted)}
.cu-entry-content .cf-embed details{margin-bottom:0}
.cu-entry-content .cf-embed .cf-el{margin-top:7px}
.cu-entry-content .cf-embed .cf-chips{margin:0}
.cu-entry-content .cf-embed .cf-list+.cf-chips{margin-top:18px}
/* the article column is narrow: the programme sits under its university and the figures keep their own columns */
@media(min-width:821px){
  .cf-embed .cf-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .cf-embed .cf-cmp .cf-table,.cf-embed .cf-cmp .cf-table tbody{display:block}
  .cf-embed .cf-cmp .cf-table tr{display:grid;grid-template-columns:minmax(0,1.75fr) 64px minmax(0,1fr) minmax(0,1.05fr) 36px;gap:5px 16px;padding:15px 14px 13px;border-bottom:1px solid var(--line)}
  .cf-embed .cf-cmp .cf-table tr:last-child{border-bottom:0}
  .cf-embed .cf-cmp .cf-table tbody th,.cf-embed .cf-cmp .cf-table td{display:block;width:auto;min-width:0;padding:0;border:0;background:none}
  .cf-embed .cf-cmp .cf-c-uni{grid-area:1/1/2/2}
  .cf-embed .cf-cmp .cf-table td.cf-c-course{grid-area:2/1/3/2;padding-left:47px}
  .cf-embed .cf-cmp .cf-c-seats{grid-area:1/2/3/3}
  .cf-embed .cf-cmp .cf-c-fee{grid-area:1/3/3/4}
  .cf-embed .cf-cmp .cf-c-ex{grid-area:1/4/3/5}
  .cf-embed .cf-cmp .cf-c-act{grid-area:1/5/3/6}
  .cf-embed .cf-cmp .cf-table td[data-l]::before{content:attr(data-l);display:block;margin-bottom:3px;font-size:11.5px;color:var(--muted)}
  .cf-embed .cf-cmp .cf-table .num{text-align:left}
  .cf-embed .cf-cmp .cf-bar{width:60px;margin-left:0}
  .cf-embed .cf-tools .cf-tool-q{flex-basis:100%}
}
.cu-entry-content .cf-embed .cf-table td,.cu-entry-content .cf-embed .cf-table th{background:none}
.cu-entry-content .cf-embed .cf-table tbody tr:nth-child(even)>*{background:none}

@media(prefers-reduced-motion:no-preference){
  .cf-deg,.cf-chips a,.cf-uchip,.cf-save{transition:border-color .12s,background-color .12s}
}
@media print{.cf-tabs,.cf-tools,.cf-search,.cf-save,.cf-showall,.cf-ways{display:none!important}.cf-hero{background:none;color:#000}.cf-hero h1,.cf-lead,.cf-lead b{color:#000}.cf-cmp .cf-table tr[hidden]{display:table-row}}
