/* Look of the new institute website (ut.btw.team): IBM Plex Sans, dark-blue header and
   footer, pale-blue page, square corners, uppercase labels and buttons. */
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans/ibm-plex-sans-regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans/ibm-plex-sans-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans/ibm-plex-sans-500.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans/ibm-plex-sans-600.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"IBM Plex Sans";src:url("fonts/ibm-plex-sans/ibm-plex-sans-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{
  color-scheme:light;
  --fg:#0e1f2b; --ink:#003553; --muted:#4d6879; --label:#3f6f88;
  --bg:#eaf2f7; --surface:#fff; --line:#a9c8da; --line-soft:#d3e2ec;
  --accent:#0a73b4; --accent-strong:#0c8ddb; --accent-soft:#eaf2f7;
  --dark:#002d48; --dark-line:#8096a3; --underline:#007ac1; --button:#134c6b;
  --on-dark:#3da5e3;   /* blue text on --dark: 5.2:1 (the website's #007ac1 is 3.1:1, too faint for text) */
  --radius:0; --radius-tag:2px;
  --font:"IBM Plex Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --gutter:clamp(1rem,3vw,1.5rem);
}
*{box-sizing:border-box}
body{margin:0;font-family:var(--font);color:var(--fg);background:var(--bg);line-height:1.5}
a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-strong);text-decoration:underline;text-decoration-thickness:.08em;text-underline-offset:.16em}
.container{max-width:1320px;margin:0 auto;padding:0 var(--gutter)}
/* header: logos + name, uppercase navigation, language switch, breadcrumbs */
/* not sticky, unlike the new website: the list tables keep their column heads at the top instead */
header.site{background:var(--dark);color:#fff}
header.site a{color:#fff}
header.site .bar{display:flex;align-items:center;gap:0 1.5rem;min-height:75px;flex-wrap:wrap}
header.site .brand{display:flex;align-items:center;gap:1rem;text-decoration:none}
header.site .logos{display:flex;align-items:center;gap:.45rem;flex-shrink:0}
header.site .logos img{width:3.25rem;height:3.25rem;object-fit:contain}
header.site .brand-title{max-width:10.5rem;font-size:8.8pt;line-height:1.05;font-weight:700;
  letter-spacing:.04em;text-transform:uppercase}
.nav-link,#langToggle{position:relative;display:inline-flex;align-items:center;height:75px;padding:0 .7rem;
  color:#fff;font:inherit;font-size:12pt;font-weight:500;line-height:1;text-transform:uppercase;
  text-decoration:none;transition:color .18s ease}
.nav-link::after,#langToggle::after{content:"";position:absolute;left:.7rem;right:.7rem;bottom:calc(50% - .5em - 3px);
  height:1px;background:var(--underline);transform:scaleX(0);transform-origin:left center;transition:transform .18s ease}
header.site .nav-link:hover{color:var(--on-dark);text-decoration:none}
.nav-link:hover::after,.nav-link[aria-current]::after,#langToggle:hover::after{transform:scaleX(1)}
header.site .main-nav{display:flex;gap:.25rem}
#langToggle{margin-left:auto;border:0;background:transparent;cursor:pointer}
#langToggle:focus-visible,.nav-link:focus-visible{outline:2px solid var(--underline);outline-offset:-2px}
.crumbs{display:flex;align-items:center;min-width:0;height:37px;overflow:hidden;border-top:1px solid var(--dark-line);
  font-size:11pt;font-weight:500;line-height:1;text-transform:uppercase}
header.site .crumbs a{flex:0 0 auto;white-space:nowrap;color:var(--on-dark)}
.crumbs .sep{flex:0 0 24px;height:1px;margin:0 10px;background:var(--dark-line)}
.crumbs .current{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}
/* page */
main{max-width:1320px;margin:0 auto;padding:2.2rem var(--gutter) 4rem;min-height:45vh}
main.wide{max-width:min(1680px,100%)}
main p{max-width:74ch}
main.wide p{max-width:none}
h1{font-size:clamp(1.75rem,3.2vw,2.75rem);line-height:1.12;font-weight:600;color:var(--ink);margin:0 0 1.5rem}
h2{font-size:1.4rem;line-height:1.25;font-weight:600;color:var(--ink);margin:1.8rem 0 .6rem}
h3{color:var(--ink);font-weight:600}
.muted{color:var(--muted)}
.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}
.num{font-variant-numeric:tabular-nums}   /* years: digits line up, no code look */
sup{line-height:0}   /* ordinals (38th) must not open up the line spacing */
.badges{display:flex;flex-wrap:wrap;gap:.4rem;margin:-.75rem 0 1.25rem}
.badge{display:inline-block;background:var(--button);color:#fff;border-radius:var(--radius-tag);
  padding:.2rem .6rem;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.badge-wg{background:var(--muted)}
.badge-special{background:#8a1c1c}
.badge-partner{background:var(--accent)}
.linkbar{display:flex;gap:.6rem;flex-wrap:wrap;margin:.25rem 0 1.5rem}
.linkbar a{border:1px solid var(--ink);color:var(--ink);padding:.45rem .9rem;font-size:.85rem;font-weight:600;
  letter-spacing:.02em}
.linkbar a:hover{background:var(--button);border-color:var(--button);color:#fff;text-decoration:none}
dd .linkbar{margin:0}
dd .linkbar a{padding:.2rem .6rem;font-size:.8rem}
/* citations per year: bars in the accent colour, empty years as a hairline */
.cite-chart{display:block;margin-top:.4rem;overflow:visible;max-width:100%;height:auto}
.cite-chart rect{fill:var(--accent)}
.cite-chart rect.zero{fill:var(--line)}
.cite-chart rect:hover{fill:var(--ink)}
.cite-chart text{font-size:10px;pointer-events:none}
.cite-chart text.in{fill:#fff}
.cite-chart text.out{fill:var(--muted)}
/* white panels: detail lists and the sections under them */
dl.detail,main>section:not(.cards){background:var(--surface);border:1px solid var(--line-soft);
  padding:1.25rem 1.5rem;margin:0 0 1.5rem}
main>section:not(.cards)>h2:first-child,main>section>.results-head:first-child{margin-top:0}
dl.detail:not(:has(dt)){display:none}
dl.detail{display:grid;grid-template-columns:max-content 1fr;gap:.6rem 1.5rem}
dl.detail dt{padding-top:.2rem;color:var(--label);font-size:.75rem;font-weight:600;letter-spacing:.07em;text-transform:uppercase}
dl.detail dd{margin:0}
ul.linklist{margin:.25rem 0;padding-left:1.1rem}
ul.linklist li{margin:.25rem 0}
/* A–Z index over a long list (conferences) */
.az{display:flex;flex-wrap:wrap;gap:.35rem;margin:0 0 1.25rem}
.az a{min-width:2.1rem;text-align:center;padding:.3rem .45rem;border:1px solid var(--line);background:var(--surface);
  color:var(--ink);font-weight:600}
.az a:hover{background:var(--button);border-color:var(--button);color:#fff;text-decoration:none}
.az-list h2{font-size:1.15rem;margin:1.4rem 0 .3rem;padding-bottom:.2rem;border-bottom:1px solid var(--line-soft)}
.az-list h2:first-child{margin-top:0}
.az a.is-empty{opacity:.35;pointer-events:none}
/* group headings in long tables (people by initial, results and projects by year) */
table.grid tr.group-row th{background:var(--bg);color:var(--ink);text-align:left;font-size:1.05rem;font-weight:700;
  padding-top:.8rem;text-transform:none;letter-spacing:0;scroll-margin-top:3rem}
.to-top{position:fixed;right:var(--gutter);bottom:1.25rem;background:var(--button);color:#fff;
  padding:.5rem .9rem;font-size:.85rem;font-weight:600;box-shadow:0 2px 6px rgba(0,0,0,.2)}
.to-top:hover{background:var(--dark);color:#fff;text-decoration:none}
.to-top.is-hidden{opacity:0;pointer-events:none}
/* list pages: search and filters */
.filters{display:flex;gap:.75rem;flex-wrap:wrap;align-items:center;margin:0 0 1.5rem;padding:1.1rem 1.25rem;
  background:var(--surface);border:1px solid var(--line-soft)}
.filters input[type=search],.filters select{min-height:2.5rem;padding:.42rem .7rem;border:1px solid var(--line);
  border-radius:var(--radius);background:#fff;color:var(--ink);font:inherit;font-size:.95rem}
.filters input[type=search]:focus,.filters select:focus{outline:0;border-color:var(--underline);box-shadow:0 0 0 .16rem rgba(12,127,189,.18)}
.filters input[type=search]{min-width:min(320px,100%);flex:1}
.filters select{max-width:100%}
.filters .status{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}
.filters .status label{position:relative;display:inline-flex;align-items:center;min-height:2.5rem;padding:0 1rem;
  border:1px solid var(--ink);color:var(--ink);cursor:pointer;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.filters .status input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.filters .status label:has(input:checked){background:var(--button);border-color:var(--button);color:#fff}
.filters .status label:has(input:focus-visible){outline:2px solid var(--underline);outline-offset:2px}
table.grid{width:100%;border-collapse:collapse;font-size:.95rem}
table.grid th,table.grid td{text-align:left;padding:.65rem .7rem .65rem 0;border-bottom:1px solid var(--line);vertical-align:top}
table.grid thead th{position:sticky;top:0;background:var(--bg);font-size:.75rem;font-weight:600;
  text-transform:uppercase;letter-spacing:.07em;color:var(--label)}
table.grid tbody tr:hover{background:rgba(255,255,255,.55)}
.nowrap{white-space:nowrap}
.org-dept{}
.org-wg{padding-left:.9rem;font-size:.88rem;color:var(--muted)}
.org-wg::before{content:"\21B3\00a0";color:var(--line)}
/* landing cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1rem}
.card{display:block;padding:1.4rem 1.5rem;border:1px solid var(--line-soft);border-radius:var(--radius);
  background:var(--surface);color:var(--fg);transition:border-color .15s,box-shadow .15s}
.card:hover{text-decoration:none;color:var(--fg);border-color:var(--ink);box-shadow:0 6px 18px rgba(0,45,72,.08)}
.card h2{margin:0;color:var(--ink);font-size:1.1rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.card .card-desc{margin:.35rem 0 .9rem;color:var(--muted);font-size:.92rem}
.card .count{margin:0;color:var(--ink);font-size:2.4rem;font-weight:600;line-height:1}
.cards-small .card{padding:1rem 1.25rem}
.cards-small .card h3{margin:0;color:var(--ink);font-size:1.02rem}
.cards-small .card .count{font-size:1.5rem}
/* collapsible sections on the person page */
details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:.5rem;
  padding:.35rem 0;border-bottom:1px solid var(--line-soft)}
details>summary::-webkit-details-marker{display:none}
details>summary::before{content:"\25B8";color:var(--label);transition:transform .15s}
details[open]>summary::before{transform:rotate(90deg)}
h2.inline{display:inline;margin:0;font-size:1.4rem}
details.sub{margin:.15rem 0 .15rem 1.25rem}
details.sub>summary{font-size:.95rem;font-weight:600;color:var(--ink);border-bottom:1px dashed var(--line-soft)}
details.sub>summary>.count-badge{font-weight:400}
details.sub ul.linklist{margin-left:.25rem}
.count-badge{background:var(--bg);border:1px solid var(--line-soft);border-radius:var(--radius-tag);
  padding:0 .45rem;font-size:.8rem;color:var(--muted)}
.tag{display:inline-block;background:var(--bg);border:1px solid var(--line-soft);border-radius:var(--radius-tag);
  padding:0 .45rem;font-size:.75rem;color:var(--ink);white-space:nowrap}
.tag-ongoing{background:#e7f6ec;border-color:#bfe3cb;color:#1f7a3d}
.tag-first{background:#fff4e0;border-color:#f1d49b;color:#8a5a00}
/* results: year groups + type tags/filter (text label always shown, colour is a hint) */
.results-head h2{border:0;padding:0}
.results-head{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin:1.8rem 0 .5rem;
  padding-bottom:.35rem;border-bottom:1px solid var(--line-soft)}
.rtype-filter{margin-left:auto;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:.2rem .7rem;font-size:.8rem}
.rtype-filter label{cursor:pointer;white-space:nowrap;display:inline-flex;align-items:center;gap:.2rem}
.rtype-filter .rtype-all{padding-right:.7rem;border-right:1px solid var(--line-soft)}
details.year{margin-left:0}
.rt-journal-article{background:#e8effc;border-color:#b9cdf3;color:#0b3d91}
.rt-proceedings-paper{background:#e3f4f4;border-color:#a9dcdc;color:#0e6464}
.rt-preprint{background:#eef0f3;border-color:#c9ced6;color:#3d4756}
.rt-book-chapter{background:#ecebfb;border-color:#c5c1f0;color:#3f35a3}
.rt-thesis{background:#f4eafa;border-color:#dcc0ee;color:#6b2a92}
.rt-invited-lecture{background:#fff1e6;border-color:#f5c9a3;color:#9a4a0b}
.rt-outreach-lecture,.rt-outreach-article{background:#fdf6dd;border-color:#ecd98d;color:#7a5d00}
.rt-functional-sample{background:#e8f6ea;border-color:#b5e0bd;color:#1f6e33}
.rt-prototype{background:#eef7e1;border-color:#cbe4a5;color:#4a6b12}
.rt-software{background:#e6f3fb;border-color:#aed6ef;color:#0f5f8c}
.rt-utility-model,.rt-industrial-design,.rt-patent,.rt-verified-technology{background:#fdecef;border-color:#f3bcc6;color:#9b1c35}
.rt-organised-event{background:#fbe9f6;border-color:#eebbe0;color:#8e1f71}
.rt-annual-report,.rt-research-report,.rt-methodology,.rt-audiovisual-work,.rt-database,.rt-other-result{background:#f3f4f6;border-color:#d8dbe0;color:#4b5563}
/* keyword cloud */
.tagcloud{line-height:2.1;max-width:none}
.tagcloud .kw{white-space:nowrap;margin-right:.35rem}
.kw1{font-size:.85rem}.kw2{font-size:1rem}.kw3{font-size:1.2rem}.kw4{font-size:1.45rem;font-weight:600}.kw5{font-size:1.75rem;font-weight:700}
/* TeX from titles/abstracts, converted to MathML at build time */
math{font-size:1.1em}
.tag-concluded{background:#f0f0f0;border-color:var(--line-soft);color:var(--muted)}
/* footer: logo, contact, links, data sources */
footer.site{background:var(--dark);color:rgba(255,255,255,.82)}
footer.site a{color:#fff}
footer.site .foot-main{display:grid;grid-template-columns:auto minmax(12rem,1fr) minmax(10rem,.8fr) minmax(16rem,1.4fr);
  gap:2rem 3rem;padding-top:3rem;padding-bottom:2.5rem}
footer.site .foot-logo{width:4.75rem;height:4.75rem;object-fit:contain}
footer.site h2{margin:0 0 1rem;color:#fff;font-size:.95rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase}
footer.site p{margin:0 0 .9rem}
footer.site ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
footer.site ul a,footer.site .foot-sources a{text-decoration:underline;text-decoration-color:var(--underline);
  text-decoration-thickness:1px;text-underline-offset:2px}
footer.site ul a{font-size:1.05rem;font-weight:500}
footer.site a:hover{color:var(--on-dark)}
footer.site .foot-sources{font-size:.9rem}
footer.site .foot-bottom{padding-top:.85rem;padding-bottom:.85rem;border-top:1px solid var(--underline);
  color:var(--on-dark);font-size:.95rem}
footer.site .foot-bottom-inner{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}
/* narrow screens: navigation on its own row, footer stacked */
@media (max-width:900px){
  header.site .bar{padding-top:.6rem}
  header.site .main-nav{order:3;width:100%;overflow-x:auto}
  .nav-link,#langToggle{height:44px}
  .nav-link:first-child{padding-left:0}
  .nav-link:first-child::after{left:0}
  footer.site .foot-main{grid-template-columns:1fr}
}
@media (max-width:600px){
  header.site .brand-title{display:none}
  dl.detail{grid-template-columns:1fr;gap:.15rem}
  dl.detail dd{margin-bottom:.6rem}
  dl.detail,main>section:not(.cards),.filters{padding:1rem}
  .rtype-filter{margin-left:0;justify-content:flex-start}
  table.grid{display:block;overflow-x:auto}
}
/* language switch */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
html[data-lang="cs"] .lang-en{display:none}
html[data-lang="en"] .lang-cs{display:none}
