/* --- Research lab theme: light editorial, one calm blue, serif headings --- */
:root{--bg:#fbfaf7;--surface:#fff;--ink:#1d2530;--muted:#5a6572;--line:#dcd8cf;--line-soft:#e6e2d9;--navy:#12324f;--link:#1f6fb2;--tint:#f3f1ec;--tint-blue:#e8eef4;--serif:Charter,"Iowan Old Style","Palatino Linotype",Georgia,serif}
*{box-sizing:border-box}
body{margin:0;font:16px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ink);background:var(--bg)}
a{color:var(--link);text-decoration:none}a:hover{text-decoration:underline}
a:focus-visible{outline:2px solid var(--link);outline-offset:2px;border-radius:2px}
.site-header{background:var(--bg);border-bottom:1px solid var(--line);display:flex;align-items:center;flex-wrap:wrap;gap:8px 28px;padding:10px 24px}
.site-header .logo img{height:48px;display:block}
.site-header nav{display:flex;flex-wrap:wrap;gap:4px 22px}
.site-header nav a{color:var(--muted);font-weight:500;padding:6px 0;border-bottom:2px solid transparent}
.site-header nav a:hover{color:var(--navy);text-decoration:none;border-bottom-color:var(--navy)}
.content{max-width:1000px;margin:24px auto;padding:20px 32px 36px;background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow-wrap:anywhere}
.content h1,.content h2,.content h3{font-family:var(--serif);color:var(--navy);font-weight:600}
.content h1{font-size:2em;line-height:1.2;margin:.2em 0 .6em;border-bottom:2px solid var(--navy);padding-bottom:.2em}
.content h2{font-size:1.5em;border-bottom:1px solid var(--line);margin-top:1.6em;padding-bottom:.15em}
.content h3{font-size:1.2em;margin-top:1.3em}
.content img{max-width:100%;height:auto}
.content table{border-collapse:collapse;max-width:100%}
.content table.wikitable,.content .wikitable{border:0;font-size:.95em}
.content .wikitable th,.content .wikitable td{border:0;border-bottom:1px solid var(--line-soft);padding:.45em .6em;text-align:left}
.content .wikitable th{background:var(--tint-blue);color:var(--navy);font-weight:600;border-bottom:2px solid var(--navy)}
.content .wikitable tbody tr:hover td{background:#f8f6f1}
.content pre{background:var(--tint);border:1px solid var(--line-soft);border-radius:6px;padding:.8em;overflow:auto}
.content code{background:var(--tint);padding:0 .25em;border-radius:3px}
.content #toc,.content .toc{display:table;background:var(--tint);border:1px solid var(--line);border-radius:6px;padding:.5em 1em;margin:1em 0;font-size:.95em}
.content .toctitle h2{font-size:1em;border:0;margin:0;text-align:center}
.content .toc ul{list-style:none;margin:.2em 0;padding-left:1.2em}
.content .tocnumber{margin-right:.4em;color:var(--muted)}
.content .thumb{margin:.5em 0}
.content .thumbinner{border:1px solid var(--line);background:var(--tint);border-radius:4px;padding:3px;font-size:.85em;max-width:100%}
.content .thumbcaption{padding:3px}
.content .tright,.content .floatright{float:right;clear:right;margin:0 0 1em 1em}
.content .tleft,.content .floatleft{float:left;clear:left;margin:0 1em 1em 0}
.content .center{text-align:center}
.content .headline{display:inline}
.site-footer{text-align:center;color:var(--muted);font-size:.85em;padding:20px 16px 28px}
@media (max-width:700px){.content{margin:0;border:0;border-radius:0;padding:14px 16px 28px}.site-header{padding:8px 16px}.content .tright,.content .floatright,.content .tleft,.content .floatleft{float:none;margin:0 auto}#main-wrapper,#main-column{display:block!important}}
/* --- site styles carried over from the wiki --- */









#main-wrapper {
  display: table;
  width: 100%;
  margin:5px 0 15px 0;
  background:none;
}
#main-column {
  display: table-cell;
  width:50%;
  padding: 5px;
  border:1px solid #ddcef2; 
  vertical-align:top; 
  background:#f5faff; 
}
#main-column h2 {
  margin:0;
  background:#cedff2;
  font-size:120%;
  font-weight:bold;
  border:1px solid #b0c9d2; 
  text-align:left;
  color:#000;
  padding:0.2em 0.4em;
}



.note {
  padding: 0.5em;
  margin: 0.5em 0;
  overflow: hidden;
  background-color: #F9F9F9;
  background-position: 4px 2px;
  background-repeat: no-repeat;
  border: 1px solid #DDD;
  border-radius: 3px;
}
.note-info {
  background-color: #F0F0E7;
  background-image: url(/images/Note.png);
  border-color: #cc9933;
   padding-left: 30px;
}




.collapseButton {         
    float: right;         
    font-weight: normal;  
    text-align: right;
    width: auto;
}
span.collapseButton {
    min-width: 40px;      
}



.lp-banner-container {
  padding: 8px 0 4px;
  width: 100%;
}
.lp-banner {
  text-align: left;
}
.lp-banner > div {
  display: block;
  text-align: left;
}
.content h1.mpwelcome{border:0;margin:0;padding:0;font-size:2.4em}
.mpwelcome {
  font-weight: 600;
  line-height: 1.15;
  font-family: var(--serif);
  font-size: 2.4em;
  color: var(--navy);
}
div.mpsubtitle {
  margin-top: .4em;
  font-size: 1.15em;
  color: var(--muted);
}
div.mplinks {
  margin-top: 1em;
  font-size:85%;
}




.bracket {
 font-size: 11px;
 background: transparent;
 display: table;
 -webkit-transform-origin: left top 0px;
 transform-origin: left top 0px;
}

.bracket-column {
 float: left;
 position: relative;
}

.bracket-header {
 border-radius: 2px;
 border: 1px solid #aaa;
 padding: 2px 0 2px 0;
 position: relative;
 left: 0;
 right: 0;
 line-height:18px;
 margin-bottom: 20px;
 text-align: center;
 background: #ebebeb;
}

.bracket-cell-r1 {
 height: 36px;
}
.bracket-cell-r2 {
 height: 72px;
}
.bracket-cell-r3 {
 height: 144px;
}
.bracket-cell-r4 {
 height: 288px;
}
.bracket-cell-r5 {
 height: 576px;
}
.bracket-cell-r6 {
 height: 1152px;
}
.bracket-cell-r7 {
 height: 2304px;
}
.bracket-cell-r1, .bracket-cell-r2, .bracket-cell-r3, .bracket-cell-r4, .bracket-cell-r5, .bracket-cell-r6, .bracket-cell-r7 {
 position: relative;
}
.bracket-team-top, .bracket-team-bottom, .bracket-player-top, .bracket-player-bottom, .bracket-team-middle, .bracket-player-middle {
    border-radius:0 0 2px 2px;
    border:solid #aaa 1px;
    position:absolute;
    padding: 1px;
    min-height:20px;
    line-height:18px;
    background: #f2f2f2;
    left:0;
    right:0;
}
.bracket-team-top, .bracket-player-top {
    bottom:0;
    border-radius:2px 2px 0 0;
}
.bracket-team-middle, .bracket-player-middle {
    bottom:0;
    border-radius:2px;
}
.bracket-score {
    text-align:center;
    background:#ebebeb;
    border-left:1px solid #aaa;
    position:absolute;
    line-height:22px;
    right:0;
    top:0;
    bottom:0;
}
.bracket-team-bottom .bracket-score, .bracket-player-bottom .bracket-score {
    border-bottom-right-radius: 2px;
}
.bracket-team-top .bracket-score, .bracket-player-bottom .bracket-score {
    border-top-right-radius: 2px;
}
.bracket-hover {
    -moz-box-shadow: 0 0 2px #000;
    -webkit-box-shadow: 0 0 2px #000;
    box-shadow: 0 0 2px #000;
    border: 1px solid #000 !important;
}


.bracket-hover, 
.grouptableslot, 
.matchlistslot, 
.bracket-team-top, 
.bracket-team-bottom, 
.bracket-player-top, 
.bracket-player-bottom {
    transition: .5s;
}

.bracket-game-details {
    z-index:100;
    min-width:200px;
    padding: 2px 0px;
    position:absolute;
    display: none;
    text-align:center;
    border:1px solid #aaa;
    background: rgba(242, 242, 242, 0.9);
    border-radius: 5px 5px 5px 5px;
    box-shadow: 4px 4px 6px #BBBBBB;
}
.bracket-team-game-details,
.bracket-game-details.bracket-team-game-details {
    width:400px;
}
.bracket-game-details .to-anchor {
    display: none;
}
.bracket-icons {
    border-top: 1px solid #aaa;
}
.bracket-game .icon { 
    cursor: pointer;
    height: 12px;
    width: 12px;
    background: url(/images/Info_Icon.png) no-repeat transparent; 
    z-index: 50; 
    right: 16px;
    position: absolute;
}
.bracket-game { 
    position: relative; 
}
.bracket-popup-title {
  display:table-row; 
  font-weight:bold; 
  line-height:16px; 
  padding:2px 5px;
}
.bracket-popup-title-left {
  display:table-cell;
  text-align:right;
  width:200px;
  padding:2px;
  border-bottom:1px solid #aaa;
}
.bracket-popup-title-right {
  display:table-cell;
  text-align:left;
  width:200px;
  padding:2px;
  border-bottom:1px solid #aaa;
}

.bracket-game { 
    position: relative; 
}




.fo-nttax-infobox-wrapper {
	clear:right;
	float:right;
	margin:0 0 10px 10px;
	font-size:90%;
}
.fo-nttax-infobox {
	background-color:#ffffff;
	width:294px; 
	border:1px solid var(--line);
	border-radius:6px;
	padding:2px;
}
.fo-nttax-infobox > div {
	display:table;
	width:100%;
}
.fo-nttax-infobox > div:nth-child(2n+1) {
	background-color:var(--tint);
}
.fo-nttax-infobox > div:after {
	clear:both;
}
.fo-nttax-infobox > div > div {
	width:calc(100% - 4px);
	float:left;
	height:inherit;
	padding:2px;
}
.fo-nttax-infobox > div > div.infobox-cell-2 {
	width:calc(50% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-3 {
	width:calc(33.3333% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-4 {
	width:calc(25% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-5 {
	width:calc(20% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-6 {
	width:calc(16.6666% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-7 {
	width:calc(14.2857% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-8 {
	width:calc(12.5% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-9 {
	width:calc(11.1111% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-10 {
	width:calc(10% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-11 {
	width:calc(9.0909% - 4px);
}
.fo-nttax-infobox > div > div.infobox-cell-12 {
	width:calc(8.3333% - 4px);
}
.fo-nttax-infobox-wrapper .infobox-header {
	background-color:var(--tint-blue);
	color:var(--navy);
	font-family:var(--serif);
	font-weight:600;
	text-align:center;
	font-size:20px;
}
.fo-nttax-infobox-wrapper .infobox-header-2 {
	font-size:17px;
}
.fo-nttax-infobox-wrapper .infobox-header-3 {
	font-size:15px;
}
.fo-nttax-infobox > div > div.infobox-description {
	font-weight:bold;
}
.fo-nttax-infobox > div > div.infobox-image {
	padding:0;
}
.fo-nttax-infobox > div > div.infobox-center{
	text-align:center;
}
.fo-nttax-infobox > div > div.infobox-center-bgcolor-white{
	text-align:center;
	background-color:#ffffff;
}
.fo-nttax-infobox-wrapper .infobox-header .infobox-buttons {
	float:right;
	font-size:12px;
	font-weight:500;
}
.fo-nttax-infobox-wrapper .infobox-header .infobox-buttons a {
	background:none repeat scroll 0% 0% transparent !important;
	padding:0px !important;
}
.fo-nttax-infobox-wrapper .infobox-icons a {
	background:none repeat scroll 0% 0% transparent !important;
	padding:0px !important;
}
.fo-nttax-infobox-wrapper .infobox-text-left {
	text-align:left;
}
.fo-nttax-infobox-wrapper .infobox-text-right {
	text-align:right;
}
@media (max-width:480px) {
	.fo-nttax-infobox-wrapper {
		width:100%;
		margin-left:0;
	}
	.fo-nttax-infobox {
		width:calc(100% - 6px);
	}
	.fo-nttax-infobox-wrapper .infobox-image > div > div {
		text-align:center;
	}
}.highlight .hll{background-color:#ffffcc }.highlight{background:#f8f8f8}.highlight .c{color:#408080;font-style:italic }.highlight .err{border:1px solid #FF0000 }.highlight .k{color:#008000;font-weight:bold }.highlight .o{color:#666666 }.highlight .ch{color:#408080;font-style:italic }.highlight .cm{color:#408080;font-style:italic }.highlight .cp{color:#BC7A00 }.highlight .cpf{color:#408080;font-style:italic }.highlight .c1{color:#408080;font-style:italic }.highlight .cs{color:#408080;font-style:italic }.highlight .gd{color:#A00000 }.highlight .ge{font-style:italic }.highlight .gr{color:#FF0000 }.highlight .gh{color:#000080;font-weight:bold }.highlight .gi{color:#00A000 }.highlight .go{color:#888888 }.highlight .gp{color:#000080;font-weight:bold }.highlight .gs{font-weight:bold }.highlight .gu{color:#800080;font-weight:bold }.highlight .gt{color:#0044DD }.highlight .kc{color:#008000;font-weight:bold }.highlight .kd{color:#008000;font-weight:bold }.highlight .kn{color:#008000;font-weight:bold }.highlight .kp{color:#008000 }.highlight .kr{color:#008000;font-weight:bold }.highlight .kt{color:#B00040 }.highlight .m{color:#666666 }.highlight .s{color:#BA2121 }.highlight .na{color:#7D9029 }.highlight .nb{color:#008000 }.highlight .nc{color:#0000FF;font-weight:bold }.highlight .no{color:#880000 }.highlight .nd{color:#AA22FF }.highlight .ni{color:#999999;font-weight:bold }.highlight .ne{color:#D2413A;font-weight:bold }.highlight .nf{color:#0000FF }.highlight .nl{color:#A0A000 }.highlight .nn{color:#0000FF;font-weight:bold }.highlight .nt{color:#008000;font-weight:bold }.highlight .nv{color:#19177C }.highlight .ow{color:#AA22FF;font-weight:bold }.highlight .w{color:#bbbbbb }.highlight .mb{color:#666666 }.highlight .mf{color:#666666 }.highlight .mh{color:#666666 }.highlight .mi{color:#666666 }.highlight .mo{color:#666666 }.highlight .sa{color:#BA2121 }.highlight .sb{color:#BA2121 }.highlight .sc{color:#BA2121 }.highlight .dl{color:#BA2121 }.highlight .sd{color:#BA2121;font-style:italic }.highlight .s2{color:#BA2121 }.highlight .se{color:#BB6622;font-weight:bold }.highlight .sh{color:#BA2121 }.highlight .si{color:#BB6688;font-weight:bold }.highlight .sx{color:#008000 }.highlight .sr{color:#BB6688 }.highlight .s1{color:#BA2121 }.highlight .ss{color:#19177C }.highlight .bp{color:#008000 }.highlight .fm{color:#0000FF }.highlight .vc{color:#19177C }.highlight .vg{color:#19177C }.highlight .vi{color:#19177C }.highlight .vm{color:#19177C }.highlight .il{color:#666666 }.highlight{direction:ltr;unicode-bidi:embed}.highlight pre{-moz-tab-size:4;-o-tab-size:4;tab-size:4}code code.highlight{background-color:transparent;border:0;padding:0}div.mw-hightlight{background-color:inherit}.highlight .err{border:0}.highlight .hll{display:block}.highlight .lineno{-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.highlight. .lineno{float:left}.highlight.mw-content-rtl .lineno{float:right}
/* --- South Korea infographic page --- */
.kr{--kr-navy:#12324f;--kr-red:#c4161c;--kr-gold:#f2c500;--kr-gray:#8b95a1}
.kr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:16px 0}
.kr-card{background:var(--tint-blue);border:1px solid var(--line);border-radius:12px;padding:16px}
.kr-card h3{margin:0 0 8px;font-size:1em;color:var(--kr-navy)}
.kr-card p{margin:8px 0 0}
.kr-big{display:block;font-size:2.4em;line-height:1.1;font-weight:700;color:var(--kr-red)}
.kr-big small{font-size:.4em;font-weight:600;color:var(--kr-navy)}
.kr-donut{--p:50;width:130px;height:130px;border-radius:50%;margin:8px auto;display:flex;align-items:center;justify-content:center;background:conic-gradient(var(--kr-red) calc(var(--p)*1%),var(--kr-gold) 0)}
.kr-donut span{width:84px;height:84px;border-radius:50%;background:var(--tint-blue);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.3em;color:var(--kr-navy)}
.kr-legend{display:flex;gap:16px;justify-content:center;font-size:.9em;margin-top:8px}
.kr-legend i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:6px;vertical-align:-1px}
.kr-bar{display:grid;grid-template-columns:110px 1fr;gap:2px 10px;align-items:center;margin:10px 0}
.kr-bar .kr-track{background:#dde4ec;border-radius:6px;height:26px;overflow:hidden}
.kr-bar .kr-fill{height:100%;min-width:3px;background:var(--kr-gray);border-radius:6px}
.kr-bar .kr-fill.kr{background:var(--kr-red)}
.kr-bar .kr-fill.hot{background:var(--kr-gold)}
.kr-bar b{grid-column:2;font-size:1.05em;color:var(--kr-navy)}
.kr-scale{position:relative;height:26px;background:linear-gradient(90deg,#dde4ec,#dde4ec);border-radius:6px;margin:14px 0 4px}
.kr-scale i{position:absolute;top:-4px;bottom:-4px;width:6px;margin-left:-3px;background:var(--kr-red);border-radius:3px}
.kr-ends{display:flex;justify-content:space-between;font-size:.85em;color:#54595d}
.kr-timeline{list-style:none;margin:16px 0;padding:0 0 0 20px;border-left:4px solid var(--kr-gold)}
.kr-timeline li{margin:0 0 14px;padding-left:12px;position:relative}
.kr-timeline li:before{content:"";position:absolute;left:-30px;top:6px;width:16px;height:16px;border-radius:50%;background:var(--kr-red);border:3px solid #fff}
.kr-timeline b.yr{display:block;font-size:1.3em;color:var(--kr-red)}
.kr-tv{font-size:2.4em;letter-spacing:.1em}
.kr-ref{font-size:.7em;margin-left:2px}
.kr-sources{margin-top:16px}
.kr :target{background:#fff6c2}
/* --- external links: marker after any link that leaves this site --- */
.content a[href^="http" i]:not([href*="starcraftai.com"]):not(:has(> img))::after,.site-footer a[href^="http" i]:not([href*="starcraftai.com"])::after{content:"\2197";font-size:.75em;margin-left:.2em;color:#6a7686;text-decoration:none;display:inline-block}
/* wide tournament brackets scroll inside the page instead of overflowing it */
.page-body{overflow-x:auto}
/* dead external links kept for reference; "archived copy" points to a backup */
.content .broken-link{color:#b32424;text-decoration:line-through}
.content .broken-link::after{content:"dead link";display:inline-block;margin-left:.35em;padding:0 .35em;border-radius:3px;background:#fbe9e7;color:#b32424;font-size:.7em;text-decoration:none;vertical-align:middle}
.content a.backup{font-size:.85em}
.content .wikitable td.id{white-space:nowrap;font-weight:bold;text-align:center}
.content .wikitable td.id:target,.content li:target{background:#fff6c2}
/* --- sortable tables --- */
table.sortable th:not(.unsortable){cursor:pointer;user-select:none;white-space:nowrap}
table.sortable th.asc::after{content:" \25B2";font-size:.7em}
table.sortable th.desc::after{content:" \25BC";font-size:.7em}
/* --- competitions table on bot pages: coloured final place, fixed sizes --- */
table.comp-table{table-layout:fixed;width:100%;max-width:640px;margin:.5em 0}
table.comp-table th:nth-child(1){width:11%}
table.comp-table th:nth-child(2){width:35%}
table.comp-table th:nth-child(3){width:23%}
table.comp-table th:nth-child(4){width:31%}
table.comp-table td{vertical-align:middle}
table.comp-table tfoot td{background:var(--tint);font-weight:600}
.content td.place-gold{background:#ffd739;font-weight:700}
.content td.place-silver{background:#bebebe;font-weight:700}
.content td.place-bronze{background:#e0a265;font-weight:700}
.content td.medals{white-space:nowrap}
/* bots list: keep short columns on one line */
.bots-table th{white-space:nowrap}
.bots-table td:nth-child(1),.bots-table td:nth-child(2),.bots-table td:nth-child(4),.bots-table td:nth-child(6),.bots-table td:nth-child(7){white-space:nowrap}
.bots-table td:nth-child(7) img{vertical-align:middle}
.bots-table td:nth-child(6),.bots-table th:nth-child(6){min-width:96px}
.content img.site-icon{vertical-align:-3px;margin:0 .15em}
/* reference tables: narrow ID/size columns that never wrap, wide notes, one link per line */
.content .wikitable.refs{width:100%}
.content .wikitable.refs td{vertical-align:top;line-height:1.5}
.content .wikitable.refs td:first-child,.content .wikitable.refs th:first-child{width:3.5em}
.content .wikitable.refs a.backup{display:block;margin-top:.2em}
.content .wikitable.refs tr:nth-child(even) td{background:#faf9f5}
.content .wikitable.refs td.id:target{background:#fff6c2}
.content .wikitable.datasets th:nth-child(2),.content .wikitable.packages th:nth-child(2){width:9em}
.content .wikitable.datasets td:nth-child(3),.content .wikitable.datasets td:nth-child(4){white-space:nowrap}
.content .wikitable.datasets th:nth-child(3){width:5.5em}
.content .wikitable.datasets th:nth-child(4){width:7em}
.content .wikitable.datasets td:nth-child(5){min-width:18em}
.content .wikitable.packages td:nth-child(3),.content .wikitable.packages td:nth-child(4),.content .wikitable.packages td:nth-child(5){white-space:nowrap}
.content .wikitable.packages th:nth-child(4){width:5em}
.content .wikitable.packages td:nth-child(6){min-width:7em}
.content .wikitable.packages td:nth-child(7){min-width:14em}
.content .wikitable.analyzers th:nth-child(2){width:11em}
.content .wikitable.analyzers td:nth-child(3),.content .wikitable.analyzers td:nth-child(5){white-space:nowrap}
.content .wikitable.analyzers td:nth-child(4){min-width:8em}
.content .wikitable.analyzers td:nth-child(6){min-width:16em}
.content .wikitable.analyzers th:nth-child(5){white-space:nowrap}

/* competitions: left index */
.with-side{display:flex;gap:16px;align-items:flex-start;max-width:1250px;margin:16px auto}
.with-side .content{flex:1;min-width:0;max-width:none;margin:0}
.comp-nav{flex:0 0 190px;position:sticky;top:12px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:.92em}
.comp-nav h2{font-size:1em;margin:.9em 0 .3em;border:0;font-weight:700}
.comp-nav p{margin:0;display:flex;flex-wrap:wrap;gap:3px 8px}
.comp-nav a[aria-current]{font-weight:700;color:#000;text-decoration:none;background:var(--tint-blue);padding:0 3px;border-radius:2px}
.comp-nav .comp-all{display:inline-block}
@media (max-width:900px){.with-side{display:flex;flex-direction:column;margin:0;gap:0}.comp-nav{position:static;order:2;flex:none;border-width:1px 0 0;border-radius:0}.with-side .content{margin:0}}

/* home call-to-action buttons */
.cta{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 8px}
.cta a{display:inline-block;padding:8px 16px;border-radius:6px;font-weight:500;border:1px solid #b8c4d0;color:var(--navy)}
.cta a:hover{text-decoration:none;border-color:var(--navy)}
.cta a.primary{background:var(--navy);border-color:var(--navy);color:#fff}
.cta a.primary:hover{background:#0c2338}
@media (prefers-reduced-motion:no-preference){.site-header nav a,.cta a{transition:color .15s,border-color .15s,background-color .15s}}

/* --- UX: accessibility, readability, responsive --- */
html{-webkit-text-size-adjust:100%}
.skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:var(--navy);color:#fff;padding:10px 16px;border-radius:0 0 6px 6px;font-weight:500}
.skip-link:focus{top:0;color:#fff;text-decoration:none}
.site-header .logo{display:flex;align-items:center;gap:10px;height:44px;overflow:hidden;color:var(--navy);font:600 1.3em/1 var(--serif)}
.site-header .logo:hover{text-decoration:none}
.site-header .logo img{height:56px;width:auto;clip-path:inset(0 0 22% 0);margin-bottom:-12px}
.site-header nav a[aria-current]{color:var(--navy);border-bottom-color:var(--navy)}
.content a{text-decoration:underline;text-decoration-color:rgba(31,111,178,.35);text-underline-offset:2px}
.content a:hover{text-decoration-color:currentColor}
.content a:has(> img){text-decoration:none}
.content :target{scroll-margin-top:16px}
.content ul,.content ol{padding-left:1.4em}
.content li{margin:.15em 0}
table.sortable th:not(.unsortable):hover{background:#dde6ee}
table.sortable th:focus-visible{outline:2px solid var(--link);outline-offset:-2px}
.embedvideo{width:100%!important;max-width:640px;aspect-ratio:16/9;margin:.5em 0}
.embedvideo iframe{width:100%;height:100%;border:0;border-radius:6px}
@media (max-width:700px){
  body{font-size:17px}
  .site-header nav{gap:0 4px}
  .site-header nav a{display:inline-flex;align-items:center;min-height:44px;padding:0 8px}
  .content h1{font-size:1.65em}
  .comp-nav a{display:inline-block;padding:6px 6px}
  .cta a{padding:12px 18px}
}
@media print{
  .skip-link,.site-header,.comp-nav,.cta{display:none}
  body{background:#fff}.content{border:0;margin:0;padding:0}
  .content a{color:inherit;text-decoration:none}
}
@media (max-width:700px){
  table.comp-table{table-layout:auto}
  table.comp-table th,table.comp-table td{width:auto!important}
  table.comp-table td:first-child{white-space:nowrap}
}
/* --- personal page (alberto-uriarte) and Nova page extras --- */
.content img.photo{float:left;margin:0 1em .5em 0;border-radius:6px}
.content .note{clear:both;padding:.5em .8em;border-left:3px solid #c9c4b3;background:#faf9f5;font-size:.9em}
.content .pub-year{display:grid;grid-template-columns:4.5em 1fr;align-items:start;border-top:1px solid var(--line);padding:.4em 0}
.content .pub-year h3{margin:.5em 0 0;border:0;font-size:1.3em}
.content ul.publ-list{list-style:none;padding-left:0;margin:0;max-width:none}
.content ul.publ-list li{padding:.5em 0;border-top:1px dotted var(--line)}
.content ul.publ-list li:first-child{border-top:0}
.content ul.publ-list .title{font-weight:bold}
.content ul.publ-list .data{font-size:.95em}
.content ul.publ-list .links{font-size:.95em}
.content ul.publ-list .links>a,.content ul.publ-list .links>span{margin-right:.8em}
.content button.bib-toggle{font:inherit;color:var(--link,#2b5fa5);background:none;border:0;padding:0;cursor:pointer;text-decoration:underline}
.content pre.bibtex{overflow-x:auto;background:#faf9f5;padding:.6em;border-radius:4px;font-size:.85em;white-space:pre-wrap;margin:.4em 0 0}
@media (max-width:600px){.content .pub-year{grid-template-columns:1fr}}
.content .videos{display:flex;flex-wrap:wrap;gap:.8em}
.content .videos iframe{max-width:100%;border:0;aspect-ratio:4/3;width:320px}
.content .videos iframe.big{width:640px}
.content table.teaching td:first-child{white-space:nowrap}
