:root{--ink:#172d31;--muted:#57676a;--teal:#0c736e;--lime:#cbe994;--line:#d8dfd9;--paper:#f5f6f0;--white:#fff}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}header,main,footer{max-width:1440px;margin:auto;padding:0 5%}header{height:92px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}a{color:var(--teal)}.brand{display:flex;align-items:center;text-decoration:none;flex-shrink:0}.brand img{display:block;height:36px;width:auto}footer .domain{color:var(--muted);font-size:11px;margin-left:6px}.source-nav{display:flex;gap:22px;font-size:13px;font-weight:600}.source-nav a{color:var(--muted);text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}.source-nav a[aria-current=page]{color:var(--ink);border-color:var(--teal)}.chart-note{font-size:11px;color:var(--muted);margin:4px 0 0}.rate-legend i.ms-acc{background:var(--teal)}.rate-legend i.offer{background:#94731f}.charts.three{grid-template-columns:repeat(3,minmax(0,1fr))}.charts.three .chart{overflow:visible}.charts.three .chart text{font-size:15px}.charts .chart text.note{font-size:13px}.data-table{margin-top:22px}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.8px}main{padding-top:40px}.eyebrow{color:var(--teal)}.intro{display:flex;justify-content:space-between;align-items:center;gap:30px;margin-bottom:25px}h1{font-size:clamp(38px,5vw,64px);line-height:1.1;letter-spacing:-3px;font-weight:550;margin:15px 0}p{color:var(--muted)}.intro p{font-size:17px}.edition{border-left:2px solid var(--teal);padding-left:24px;font-size:11px;letter-spacing:1px;flex-shrink:0}.edition strong,.edition span{display:block}.edition strong{font-size:22px;letter-spacing:-.5px;margin:5px 0}.edition span{letter-spacing:0;color:var(--muted);font-size:12px}.notice{border:1px solid #d7dbc1;background:#ecf0df;padding:13px 17px;font-size:12px;border-radius:5px;margin:27px 0}.filters{display:flex;align-items:end;gap:18px;padding:22px;background:var(--white);border:1px solid var(--line);border-radius:8px}label{display:flex;flex-direction:column;font-size:12px;gap:6px;color:var(--muted);font-weight:600;flex:1}.university{flex:2}select{width:100%;min-height:43px;border:1px solid #bcc9c3;border-radius:4px;background:#fff;color:var(--ink);padding:9px;font:inherit;font-size:14px}button{border:1px solid #bac9c1;padding:10px 14px;background:#fff;color:var(--ink);border-radius:4px;cursor:pointer;font:inherit;font-size:12px;white-space:nowrap}button:hover{background:#eef3e8}button:disabled{opacity:.5;cursor:wait}:focus-visible{outline:3px solid #16857d;outline-offset:3px}#status{font-size:12px;min-height:19px;margin:10px 0}.section-heading{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:22px 0}h2{font-size:24px;font-weight:550;letter-spacing:-.6px;margin:5px 0}.section-heading>span{color:var(--muted);font-size:12px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}.metrics article{border-top:2px solid var(--ink);padding:19px 22px;background:#e9ede5;border-radius:0 0 5px 5px}.metrics span,.metrics small{display:block;color:var(--muted);font-size:12px}.metrics strong{display:block;font-size:39px;font-weight:550;letter-spacing:-1px;margin:9px 0}.charts{display:grid;grid-template-columns:1.15fr 1fr;gap:20px;margin-top:26px}.panel{background:white;border:1px solid var(--line);border-radius:7px;padding:23px;min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:start;gap:12px;margin-bottom:15px}h3{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0}.panel-heading p{font-size:12px;margin:4px 0}.exports{display:flex;gap:8px;flex-wrap:wrap;justify-content:end}.year-label{max-width:115px;font-size:10px}.year-label select{font-size:12px;min-height:33px}.chart{width:100%;display:block}#chart-quarterly .chart,#chart-monthly .chart{max-width:820px;margin:0 auto}.country-row.selected .country-label span:first-child{font-weight:700}.legend{display:flex;gap:20px;flex-wrap:wrap;font-size:11px;color:var(--muted);margin:5px 0 23px}.legend i{display:inline-block;width:8px;height:8px;border-radius:100%;margin-right:6px}.all{background:var(--ink)}.intl{background:var(--teal)}summary{font-size:12px;cursor:pointer;color:var(--teal);padding:13px 0;border-top:1px solid var(--line)}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px}caption{text-align:left;color:var(--muted);padding:10px 0}th,td{padding:8px 7px;border-bottom:1px solid var(--line);text-align:right}th:first-child,td:first-child{text-align:left}th{font-weight:600}.country-table{max-height:360px}.country-row{margin:16px 0}.country-label{display:flex;justify-content:space-between;gap:14px;font-size:12px;margin-bottom:6px}.country-label span:last-child{white-space:nowrap;color:var(--muted)}.bar-track{height:7px;background:#edf1eb;border-radius:3px}.bar-fill{height:7px;background:var(--teal);border-radius:3px}.country-row.china .bar-fill{background:#7e9439}.provider-notes{margin:0 0 20px}.provider-notes p{margin:0;color:var(--ink)}.provider-notes p+p{margin-top:8px}.footnote{font-size:11px;line-height:1.6}.methodology{display:grid;grid-template-columns:1fr 1.5fr;gap:50px;margin:46px 0;padding-top:28px;border-top:1px solid var(--line)}.methodology p{font-size:12px;margin-top:0;margin-bottom:17px}.methodology strong{color:var(--ink)}footer{border-top:1px solid var(--line);padding-top:25px;padding-bottom:30px;font-size:11px}footer p{max-width:950px}footer strong{font-size:13px;letter-spacing:0}@media(max-width:1100px){.charts.three{grid-template-columns:1fr}}@media(max-width:850px){.intro{display:block}.edition{margin:25px 0}.filters{flex-wrap:wrap}.university{flex-basis:100%}.charts{grid-template-columns:1fr}.metrics{gap:8px}.metrics article{padding:15px}.metrics strong{font-size:30px}.methodology{grid-template-columns:1fr;gap:16px}.section-heading{align-items:start;flex-direction:column;gap:2px}}@media(max-width:480px){header{height:auto;flex-wrap:wrap;gap:8px 14px;padding-top:14px;padding-bottom:10px}.source-nav{order:3;flex-basis:100%;gap:18px}.brand img{height:28px}.filters{gap:10px;padding:15px}.metrics{grid-template-columns:1fr}.metrics article{display:grid;grid-template-columns:1fr 1fr}.metrics strong{grid-column:2;grid-row:1 / 3;text-align:right;margin:0}.metrics small{grid-column:1}.panel{padding:16px}.panel-heading{flex-wrap:wrap}.filters label{flex-basis:100%}.year-label{max-width:none;flex-basis:100%}button{min-height:44px}.chart{overflow:visible}.chart text,.charts.three .chart text{font-size:17px}h1{letter-spacing:-2px}.section-heading h2{font-size:21px}}
/* Shared footer and chart source lines (docs/source-links-brief.md) */
.home-footer{display:grid;grid-template-columns:auto 1fr;gap:48px;align-items:start}
.foot-brand p{margin:6px 0 0;font-size:12px}
.foot-links{display:flex;flex-wrap:wrap;gap:8px 22px;font-size:13px;font-weight:600;margin-bottom:6px}
.foot-links a{color:var(--ink);text-decoration:none}.foot-links a:hover{color:var(--teal);text-decoration:underline}
.foot-text p{margin-top:8px}
.source-line{font-size:11px;color:var(--muted);margin:4px 0 0;line-height:1.5}
.source-line a{color:var(--teal)}
.panel-heading>label,.panel-heading>.exports{flex-shrink:0}.panel-heading>.year-label{min-width:96px}
@media(max-width:1000px){.home-footer{grid-template-columns:1fr;gap:10px}}
/* Six nav links: below 900px the nav takes its own row under the logo instead of pushing the page wider */
@media(max-width:900px){header{height:auto;flex-wrap:wrap;gap:8px 14px;padding-top:14px;padding-bottom:10px}.source-nav{order:3;flex-basis:100%;flex-wrap:wrap;gap:4px 16px}}
@media(max-width:600px){.source-nav{gap:4px 10px}.source-nav a{font-size:11.5px}}
@media(max-width:480px){header{padding-left:16px;padding-right:16px}.source-nav{flex-wrap:wrap;gap:4px 6px}.source-nav a{font-size:10.5px}}   /* six links on one line at 375px; wraps rather than overflows if a font runs wider */
/* University finances page (docs/finance-build-brief.md) */
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.ico{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.fin-edition{max-width:300px;line-height:1.5}
.panel-title{font-size:18px;font-weight:600;letter-spacing:-.4px;margin:0}
.fin-heading{align-items:center;margin-bottom:18px}
.btn-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #c9d4cd;border-radius:999px;padding:8px 15px;font-weight:600;font-size:12px;color:var(--ink);background:#fff;transition:background .15s,border-color .15s}
.btn-pill:hover{background:#eef4ea;border-color:var(--teal)}.btn-pill .ico{color:var(--teal)}
/* table: fixed column widths so every row and header lines up the same at every width */
.fin-table{table-layout:fixed;min-width:1095px;font-size:12px}
.fin-table col.c-uni{width:210px}.fin-table col.c-surplus{width:150px}.fin-table col.c-traj{width:165px}.fin-table col.c-cash{width:200px}
.fin-table col.c-gear{width:140px}.fin-table col.c-cover{width:150px}.fin-table col.c-trend{width:80px}
.fin-table th,.fin-table td{text-align:left;vertical-align:middle;padding:9px 10px;overflow:hidden}
.fin-table thead th{background:#f1f4ee;border-bottom:1px solid #c9d4cd;vertical-align:bottom;height:58px;padding:8px 10px;position:relative;overflow:visible}
.fin-table thead th:first-child{border-radius:6px 0 0 0}.fin-table thead th:last-child{border-radius:0 6px 0 0}
.fin-table thead button,.fin-table .th-inner{display:flex;align-items:flex-end;gap:6px;border:0;background:none;padding:0;font-weight:600;font-size:12px;line-height:1.3;color:var(--ink);text-align:left;white-space:normal;min-height:0;width:100%}
.fin-table thead button:hover{background:none;color:var(--teal)}.fin-table thead .ico{color:var(--teal);margin-bottom:1px}
.fin-table thead button::after{content:'\2195';color:#768379;font-size:11px;padding-left:1px;display:none}.fin-table thead button:hover::after,.fin-table thead button:focus-visible::after,.fin-table th[aria-sort=ascending] button::after,.fin-table th[aria-sort=descending] button::after{display:inline}.fin-table thead small{display:block;font-weight:500;color:var(--muted);font-size:11px}
.fin-table th[aria-sort=ascending] button::after{content:'\25B2';color:var(--teal);font-size:9px}.fin-table th[aria-sort=descending] button::after{content:'\25BC';color:var(--teal);font-size:9px}
.fin-table th .tip{position:absolute;right:8px;top:7px}
.fin-table tbody tr{height:58px}.fin-table tbody tr:hover td,.fin-table tbody tr:hover th{background:#f7f9f4}
.fin-table tbody th[scope=row]{position:sticky;left:0;background:#fff;z-index:1;font-weight:600}
.uni-link{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;border:0;background:none;padding:4px 0;color:var(--ink);font-weight:600;font-size:12.5px;text-align:left;white-space:normal;line-height:1.3}
.uni-link .ico{color:#768379;width:14px;height:14px;transition:transform .15s,color .15s}.uni-link:hover{background:none;color:var(--teal)}.uni-link:hover .ico{color:var(--teal);transform:translateX(2px)}
.cell-main{display:flex;align-items:center;gap:7px;white-space:nowrap}.cell-sub{font-size:11px;color:var(--muted);margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-height:15px}
.fin-table .val{font-weight:650;font-size:12.5px}
.chip{display:inline-flex;align-items:center;gap:2px;font-size:9.5px;font-weight:700;letter-spacing:.2px;padding:1px 7px 1px 4px;border-radius:10px;line-height:1.35;white-space:nowrap}
.chip-ico{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.chip.green{background:#dcefc4;color:#234d12}.chip.amber{background:#f6e3b4;color:#6d5214}.chip.red{background:#f7d4cf;color:#8a1c12}.chip.none{background:#eceeea;color:var(--muted);font-weight:600}
.tag{display:inline-flex;align-items:center;gap:5px;font-size:12px;font-weight:650;color:var(--ink)}.tag .ico{width:15px;height:15px;color:var(--teal)}
.tag-structural .ico,.tag-recurring .ico,.tag-first .ico{color:#8a1c12}.tag-one-off .ico{color:#9a6b12}.tag-surplus .ico{color:#3f7a1c}
.fin-table td.trend{padding:4px 6px;overflow:visible}.spark{display:block;overflow:visible}.spark:focus-visible{outline-offset:1px}
.spark-tip{position:absolute;z-index:20;background:var(--ink);color:#fff;font-size:11px;line-height:1.45;padding:6px 9px;border-radius:4px;white-space:pre-line;pointer-events:none;max-width:220px}
.tip{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border:1px solid #768379;border-radius:50%;font-size:10px;font-style:italic;font-weight:700;color:var(--muted);cursor:help;background:#fff}
.tip:hover::after,.tip:focus::after{content:attr(data-tip);position:absolute;top:22px;right:-6px;width:210px;background:var(--ink);color:#fff;padding:7px 9px;border-radius:4px;font:400 11px/1.45 system-ui,sans-serif;white-space:normal;z-index:10;text-align:left}
.table-foot{margin-top:4px;padding-top:10px}.table-foot .source-line{margin:2px 0}.table-foot .footnote{margin:8px 0 0}
.table-foot a.more{display:inline-flex;align-items:center;gap:2px;font-weight:600}.table-foot a.more .ico{width:13px;height:13px}
.fin-detail{min-width:640px}
.fin-detail tr.group th{background:#eef2ec;text-align:left;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--teal)}
.fin-detail tr.key th,.fin-detail tr.key td{font-weight:600}.fin-detail tbody th[scope=row]{font-weight:400;min-width:210px}
.fn-mark{font-weight:700;color:var(--teal);text-decoration:none;font-size:12px;margin-left:1px}#footnotes .footnote{margin:8px 0 0;color:var(--ink)}
.provider-notes .note-src{color:var(--muted);font-size:11px}
@media(max-width:480px){.fin-heading{flex-wrap:wrap}.btn-pill,.uni-link{min-height:44px}.fin-table thead button{min-height:44px}.fin-detail tbody th[scope=row]{min-width:160px}.fin-table col.c-uni{width:175px}.fin-table{min-width:1060px}.fin-heading>.exports{flex-shrink:1;justify-content:flex-start;flex-wrap:nowrap;gap:6px}.fin-heading .btn-pill{padding:6px 10px;font-size:11px;gap:5px}.fin-heading .btn-pill .ico{width:14px;height:14px}}
/* QS rankings page */
.qs-credit{font-size:11px;color:var(--ink);margin:2px 0}.qs-credit a{color:var(--teal)}
#trend-panel .panel-heading p{max-width:640px}
.rank-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px;margin-bottom:10px}
.rank-card{margin:0;border:1px solid var(--line);border-radius:6px;padding:10px 10px 8px;background:#fff}
.rank-card figcaption{font-size:12.5px;font-weight:600;margin-bottom:2px}
.rank-chart{display:block;width:100%;height:auto;overflow:visible}
.qs-profile{font-size:11px}
@media(max-width:480px){.rank-grid{grid-template-columns:1fr}}
@media(max-width:600px){.fin-heading{flex-wrap:wrap}}   /* export buttons drop below the title instead of overflowing (481-490px) */
/* Finance sector medians: context rows, visually apart from the rated universities, no chips */
.fin-table tfoot tr.median-row{height:52px}
.fin-table tfoot tr.median-row th,.fin-table tfoot tr.median-row td{background:#f1f4ee;font-style:italic;vertical-align:middle;padding:8px 10px}
.fin-table tfoot tr.median-row:first-child th,.fin-table tfoot tr.median-row:first-child td{border-top:2px solid var(--ink)}
.fin-table tfoot th[scope=row]{position:sticky;left:0;z-index:1;text-align:left}
.fin-table tfoot .median-label{display:block;font-weight:650;font-size:12.5px;color:var(--ink)}
.fin-table tfoot .val{font-weight:600;font-size:12.5px}
.fin-detail tr.median th,.fin-detail tr.median td{font-size:11px;font-style:italic;color:var(--muted);background:#f7f9f4;padding-top:4px;padding-bottom:4px}
.fin-detail tr.median small{display:block;font-size:10px}
.rank-card.is-target,.rank-card:focus{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal);outline:none}

/* Skip link and 44px tap targets on small screens (review F-35) */
.skip-link{position:absolute;left:-9999px;top:8px;z-index:20;background:#fff;color:var(--ink);padding:10px 14px;border:2px solid var(--teal);border-radius:6px;font-weight:600}.skip-link:focus{left:16px}
@media(max-width:900px){.source-nav a,.foot-links a{display:inline-flex;align-items:center;min-height:44px}}
