:root {
  color-scheme: light;
  --ink: #123740;
  --muted: #47626a;
  --line: #c9dadd;
  --teal: #07576a;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #f6f9f9; font: 16px/1.65 Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
h1,h2,h3,p { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible,summary:focus-visible { outline: 3px solid #e58a26; outline-offset: 3px; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: -6em; z-index: 10; padding: 8px; background: white; }
.skip:focus { top: 0; }
.mast { background: white; border-bottom: 1px solid var(--line); }
.bar,nav,.brand,.help,.research-head { display: flex; align-items: center; }
.bar,.research-head { justify-content: space-between; gap: 16px; }
.bar { min-height: 66px; }
.brand { gap: 5px; font-size: 18px; font-weight: 750; white-space: nowrap; letter-spacing: .025em; }
.lab { color: var(--muted); font-weight: 450; }
.brand-mark { width: 25px; height: 25px; margin-right: 6px; border: 3px solid #26606a; border-radius: 6px; background: linear-gradient(90deg, transparent 43%, #26606a 43% 56%, transparent 56%), linear-gradient(transparent 43%, #26606a 43% 56%, transparent 56%); }
nav { gap: 24px; }
nav a,.help a,.research-head a,.papers a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
nav a,.help a,.research-head a { white-space: nowrap; }
.login { padding-inline: 19px; border-radius: 9px; background: #123f49; color: white; }
.workspace { padding-block: clamp(28px,4vw,56px) 27px; }
.institution,.field { font-size: 14px; color: var(--teal); font-weight: 650; }
h1 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .42em; margin-top: 7px; font-size: clamp(28px,3.3vw,50px); line-height: 1.3; }
h1 span { white-space: nowrap; }
.title-break { color: #42656e; font-weight: 500; }
.lead { margin-top: 10px; color: var(--muted); }
.entries { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 25px; }
.entry { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 28px; border: 1px solid var(--line); border-radius: 16px; }
.cryo { color: #fff; border-color: #104b57; background: linear-gradient(110deg,#113e49,#186272); }
.stock { color: #143f47; border-color: #91bbbd; background: linear-gradient(110deg,#deefed,#eef7f4); }
.entry h2 { margin: 15px 0 4px; font-size: clamp(22px,2vw,29px); line-height: 1.35; }
.entry p { font-size: 15px; margin-bottom: 18px; }
.cryo p { color: #deeff1; }
.entry-action { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 650; font-size: 15px; }
.entry-action b { font-size: 20px; }
.device { width: 39px; height: 31px; display: block; border: 2px solid currentColor; border-radius: 5px; }
.wells { color: #a5d8da; background: radial-gradient(circle, currentColor 1.5px, transparent 2px) center / 8px 8px; }
.shelf { color: #387476; background: linear-gradient(transparent 45%,currentColor 45% 54%,transparent 54%), linear-gradient(90deg,transparent 47%,currentColor 47% 53%,transparent 53%); }
.help { gap: 24px; margin-top: 9px; }
.help a,.research-head a { gap: 8px; color: var(--teal); font-weight: 650; }
.install-entry { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; margin-top: 12px; padding: 17px 22px; border: 1px solid #bad4d5; border-radius: 16px; background: #edf6f5; }
.install-entry h2 { font-size: clamp(18px,2vw,24px); line-height: 1.35; }
.install-entry p { margin-top: 5px; color: var(--muted); font-size: 15px; }
.install-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; color: var(--teal); font-size: 15px; font-weight: 700; }
.install-entry img { display: block; width: 128px; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.research { padding: 27px 0 32px; border-top: 1px solid var(--line); }
.research-head { margin-bottom: 16px; }
.research-head h2 { font-size: clamp(24px,2vw,32px); }
.study { display: grid; grid-template-columns: minmax(120px,1fr) 5fr; gap: 24px; padding: 22px 24px; margin-bottom: 12px; border: 1px solid #d7e2e4; background: white; border-radius: 14px; }
.byline { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.byline span,.foot { color: var(--muted); font-size: 13px; }
.byline b { font-size: 19px; }
.study h3 { font-size: 19px; line-height: 1.5; }
.study-body p { margin: 6px 0; color: var(--muted); font-size: 15px; }
.model-photo { width: 96px; height: 72px; object-fit: cover; float: right; margin: 5px 0 6px 15px; border-radius: 8px; }
.papers { display: flex; flex-wrap: wrap; gap: 3px 15px; }
.papers a,.foot a { text-decoration: underline; text-underline-offset: 3px; color: var(--teal); }
.papers small { margin-left: 5px; }
.foot { border-top: 1px solid var(--line); padding-block: 16px 25px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot details { max-width: 28rem; }
.foot summary { cursor: pointer; }
@media (hover:hover) {
  .entry:hover { box-shadow: 0 5px 18px #103a441a; border-color: #246b77; }
  .entry:hover .entry-action,nav a:hover,.help a:hover,.research-head a:hover,.install-link:hover { text-decoration: underline; text-underline-offset: 4px; }
}
@media (max-width:640px) {
  .wrap { width: calc(100% - 32px); }
  .bar { min-height: 56px; }
  nav a:not(.login) { display: none; }
  .workspace { padding-block: 22px 16px; }
  h1 { font-size: clamp(23px,6.2vw,31px); }
  .lead { margin-top: 7px; font-size: 15px; }
  .entries { grid-template-columns: 1fr; gap: 10px; margin-top: 17px; }
  .entry { padding: 17px 46px 16px 17px; }
  .device { position: absolute; right: 16px; top: 18px; width: 27px; height: 23px; }
  .entry h2 { margin: 0 0 3px; }
  .entry p { margin-bottom: 5px; font-size: 14px; }
  .help { margin-top: 4px; }
  .install-entry { gap: 10px; padding: 12px; }
  .install-entry p { font-size: 14px; }
  .install-entry img { width: clamp(84px,24vw,118px); }
  .study { grid-template-columns: 1fr; gap: 6px; padding: 16px; }
  .byline { flex-direction: row-reverse; align-items: baseline; justify-content: flex-end; gap: 8px; }
  .research { padding-block: 20px; }
}
