
.lab-gallery-section--equipment { background: var(--paper-2); }
.lab-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 180px;
  gap: 12px;
}
.lab-gallery figure {
  grid-column: span 3;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #e6e5df;
  box-shadow: 0 4px 18px rgba(12, 39, 31, .09);
  cursor: zoom-in;
}
.lab-gallery figure:first-child { grid-column: span 6; grid-row: span 2; }
.lab-gallery--testing figure:nth-last-child(-n+2),
.lab-gallery--equipment figure:nth-last-child(-n+2) { grid-column: span 6; }
.lab-gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.lab-gallery figure:hover img { transform: scale(1.035); }
.lab-gallery--captioned figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 28px 14px 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  background: linear-gradient(transparent, rgba(7, 27, 22, .82));
}
@media (max-width: 900px) {
  .lab-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .lab-gallery figure,
  .lab-gallery--testing figure:nth-last-child(-n+2),
  .lab-gallery--equipment figure:nth-last-child(-n+2) { grid-column: span 1; }
  .lab-gallery figure:first-child { grid-column: span 2; grid-row: span 2; } }
@media (max-width: 600px) {
  .lab-gallery { grid-template-columns: 1fr; grid-auto-rows: 250px; gap: 10px; }
  .lab-gallery figure,
  .lab-gallery figure:first-child { grid-column: span 1; grid-row: span 1; }
  .lab-gallery--captioned figcaption { font-size: 14px; padding: 26px 12px 10px; } }
.lab-report-section { background: var(--paper-2); }
.lab-report-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.lab-report-card { appearance:none; width:100%; padding:0; border:1px solid var(--line); border-radius:14px; overflow:hidden; background:#fff; color:var(--ink); text-align:left; font:inherit; box-shadow:0 8px 26px rgba(12,39,31,.08); cursor:pointer; transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.lab-report-card:hover { transform:translateY(-5px); box-shadow:0 16px 36px rgba(12,39,31,.14); border-color:rgba(28,82,67,.3); }
.lab-report-card:focus-visible { outline:3px solid rgba(181,133,57,.45); outline-offset:3px; }
.lab-report-card__cover { position:relative; display:block; height:330px; padding:18px; background:linear-gradient(145deg,#e9eee9,#d9e2dc); overflow:hidden; }
.lab-report-card__cover img { width:100%; height:100%; display:block; object-fit:contain; background:#fff; box-shadow:0 3px 14px rgba(0,0,0,.12); transition:transform .3s ease; }
.lab-report-card:hover .lab-report-card__cover img { transform:scale(1.025); }
.lab-report-card__badge { position:absolute; top:28px; right:28px; padding:6px 10px; border-radius:999px; background:rgba(18,57,47,.9); color:#fff; font-size:12px; font-weight:700; letter-spacing:.03em; }
.lab-report-card__body { display:flex; flex-direction:column; min-height:190px; padding:20px 22px 22px; }
.lab-report-card__org { color:var(--gold-dark); font-size:13px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; }
.lab-report-card__body strong { margin-top:8px; font-family:var(--serif); font-size:20px; line-height:1.45; }
.lab-report-card__meta { margin-top:10px; color:var(--muted); font-size:13px; line-height:1.65; }
.lab-report-card__action { display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:16px; color:var(--brand); font-size:14px; font-weight:700; }
.lab-report-card__action span { font-size:18px; transition:transform .2s ease; }
.lab-report-card:hover .lab-report-card__action span { transform:translate(2px,-2px); }
@media (max-width:900px) { .lab-report-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:600px) {
  .lab-report-grid { grid-template-columns:1fr; gap:16px; }
  .lab-report-card__cover { height:300px; }
  .lab-report-card__body { min-height:170px; } }
.lab-gallery { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; grid-auto-rows: auto; }
.lab-gallery figure, .lab-gallery figure:first-child,
.lab-gallery--testing figure:nth-last-child(-n+2),
.lab-gallery--equipment figure:nth-last-child(-n+2) { flex: 0 1 calc(25% - 14px); grid-column: auto; grid-row: auto; overflow: hidden; background: #fff; border-radius: 2px; box-shadow: none; }
.lab-gallery figure:only-child { flex-basis: 100%; }
.lab-gallery img { height: auto; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: none; opacity: 1; }
.lab-gallery--captioned figcaption { position: static; inset: auto; padding: 12px 2px 4px; background: #fff; color: #53604b; font-size: 14px; font-weight: 400; letter-spacing: .025em; }
.lab-report-grid { gap: 25px; }
.lab-report-card { border: 1px solid #dfe5dc; border-radius: 2px; background: #fff; box-shadow: none; }
.lab-report-card:hover { transform: translateY(-3px); border-color: #97a48c; box-shadow: 0 9px 24px rgba(60,75,51,.06); }
.lab-report-card__cover { background: #edf1e9; padding: 22px; }
.lab-report-card__cover img { box-shadow: 0 2px 10px rgba(40,50,35,.07); }
.lab-report-card__badge { background: #78836d; border-radius: 2px; }
.lab-report-card__org { color: #7f8d73; }
.lab-report-card__body strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.lab-report-card__action { font-weight: 400; }
@media (max-width:1000px) {
  .lab-gallery figure, .lab-gallery figure:first-child { flex-basis: calc(33.333% - 12px); } }
@media (max-width:600px) {
  .lab-gallery { gap: 18px; }
  .lab-gallery figure, .lab-gallery figure:first-child,
  .lab-gallery--testing figure:nth-last-child(-n+2),
  .lab-gallery--equipment figure:nth-last-child(-n+2) { flex-basis: 100%; }
  .lab-report-card__body strong { font-size: 21px; }
  .lab-report-card__cover { height: 290px; padding: 18px; } }
.lab-inst-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lab-inst { width: 100%; border-collapse: collapse; table-layout: fixed; background: #fff; border: 1px solid var(--line); }
.lab-inst th { background: #edf1e9; color: #46533e; font-weight: 400; text-align: left; padding: 12px 14px; font-size: 13px; border-bottom: 1px solid #dbe3d5; white-space: nowrap; }
.lab-inst td { padding: 12px 14px; font-size: 13px; line-height: 1.75; color: var(--ink); border-bottom: 1px solid #eef2ec; vertical-align: top; white-space: pre-line; overflow-wrap: anywhere; }
.lab-inst tbody tr:last-child td { border-bottom: 0; }
.lab-inst tbody tr:nth-child(even) td { background: #fafcf9; }
.lab-inst td:first-child { font-weight: 500; }
.lab-inst th:nth-child(1) { width: 18%; }
.lab-inst th:nth-child(2) { width: 10%; }
.lab-inst th:nth-child(3) { width: 14%; }
.lab-inst th:nth-child(4) { width: 29%; }
.lab-inst th:nth-child(5) { width: 29%; }
.lab-inst .li-model { display: block; font-size: 11px; letter-spacing: .06em; color: #8b977f; font-weight: 400; line-height: 1.6; }
.lab-inst .li-name { display: block; }
.lab-inst .li-fig { margin: 8px 0 0; cursor: zoom-in; }
.lab-inst .li-fig img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 6px; border: 1px solid var(--line); background: #f4f7f2; }
.lab-inst-cards { display: grid; gap: 28px; }
.lab-inst-section { scroll-margin-top: 82px; }
.lab-inst-card { border: 1px solid #dce4d9; background: #fff; overflow: hidden; }
.lab-inst-card__top { display: flex; justify-content: space-between; gap: 20px; padding: 15px 22px; border-bottom: 1px solid #e6ece3; color: #788e77; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.lab-inst-card__main { display: grid; grid-template-columns: minmax(0, min(37%, 420px)) minmax(0, 1fr); gap: clamp(20px, 3vw, 42px); padding: clamp(18px, 2.2vw, 30px); align-items: start; }
.lab-inst-card__photo { position: relative; align-self: start; aspect-ratio: 4 / 3; min-width: 0; margin: 0; overflow: hidden; background: #e7ebe5; cursor: zoom-in; }
.lab-inst-card__photo img { display: block; width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.lab-inst-card__photo figcaption { position: absolute; left: 22px; bottom: 19px; padding: 7px 10px; background: rgba(255,255,255,.88); color: #435744; font-size: 11px; letter-spacing: .05em; }
.lab-inst-card__story { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 0; min-width: 0; }
.lab-inst-card__kicker { font-size: 11px; letter-spacing: .18em; color: #758b73; }
.lab-inst-card__story h3 { margin: 10px 0 5px; color: #192b24; font: 400 clamp(26px,2.7vw,40px)/1.2 Georgia,'Noto Serif SC',serif; }
.lab-inst-card__model { margin: 0; color: #9b865e; font-size: 13px; letter-spacing: .04em; }
.lab-inst-card__description { margin: 13px 0 0; color: #52645a; font-size: 14px; line-height: 1.9; white-space: pre-line; }
.lab-inst-card__video { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 370px; margin-top: 15px; padding: 9px 0; text-align: left; text-decoration: none; color: #25492e; background: transparent; border: 0; border-top: 1px solid #cfdccc; cursor: pointer; }
.lab-inst-card__play { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid #9db39d; border-radius: 50%; font-size: 12px; padding-left: 2px; }
.lab-inst-card__video strong,.lab-inst-card__video small { display: block; }
.lab-inst-card__video strong { font-size: 13px; font-weight: 600; }
.lab-inst-card__video small { margin-top: 3px; color: #819183; font-size: 11px; }
.lab-inst-card__video > span:last-child { margin-left: auto; font-size: 21px; }
.lab-inst-card__video:hover .lab-inst-card__play { background: #25492e; color: #fff; }
.lab-inst-card__facts { display: grid; grid-template-columns: 1fr 1fr 1.25fr; border-top: 1px solid #e6ece3; background: #f8faf6; }
.lab-inst-card__facts > div { padding: 23px 25px; border-right: 1px solid #e0e8dd; min-width: 0; }
.lab-inst-card__facts > div:last-child { border-right: 0; }
.lab-inst-card__facts span { display: block; margin-bottom: 9px; color: #7b9079; font-size: 11px; letter-spacing: .08em; }
.lab-inst-card__facts strong { display: block; color: #243a2d; font-size: 13px; line-height: 1.7; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.lab-inst-card--no-image .lab-inst-card__main { display: block; min-height: 0; }
.lab-inst-card--no-image .lab-inst-card__story { padding: 0; }
.lab-inst-card--no-image .lab-inst-card__description { max-width: 850px; max-height: none; }
.lab-inst-video-dialog { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 20px; background: rgba(10,29,22,.83); }
.lab-inst-video-dialog[aria-hidden="true"] { display: none; }
.lab-inst-video-dialog__panel { width: min(920px,100%); background: #fff; padding: 16px; box-shadow: 0 20px 80px #0005; }
.lab-inst-video-dialog__bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 1px 3px 13px; }
.lab-inst-video-dialog__bar h3 { margin: 0; font-size: 17px; font-weight: 500; color: #1c3628; }
.lab-inst-video-dialog__bar button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.lab-inst-video-dialog video { display: block; width: 100%; max-height: 70vh; background: #10231c; }
.lab-inst-video-dialog__status { margin: 12px 3px 0; color: #9a493d; font-size: 13px; }
.lab-inst-video-dialog__external { display: inline-block; margin: 13px 3px 2px; color: #315b3e; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .lab-inst-cards { gap: 18px; }
  .lab-inst-card__top { padding: 13px 15px; font-size: 9px; }
  .lab-inst-card__main { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }

  .lab-inst-card__photo figcaption { left: 14px; bottom: 12px; }
  .lab-inst-card__story,.lab-inst-card--no-image .lab-inst-card__story { padding: 0; }
  .lab-inst-card__story h3 { font-size: 28px; margin-top: 8px; }
  .lab-inst-card__description { max-height: none; margin-top: 12px; font-size: 13px; }
  .lab-inst-card__video { margin-top: 12px; }
  .lab-inst-card__facts { grid-template-columns: 1fr; }
  .lab-inst-card__facts > div { border-right: 0; border-bottom: 1px solid #e0e8dd; padding: 14px 22px; }
  .lab-inst-card__facts > div:last-child { border-bottom: 0; }
  .lab-inst-video-dialog { padding: 12px; }
  .lab-inst-video-dialog__panel { padding: 11px; } }
@media (max-width: 900px) {
  .lab-inst-wrap { overflow-x: visible; }
  .lab-inst { border: 0; background: none; }
  .lab-inst, .lab-inst tbody, .lab-inst tr, .lab-inst td { display: block; width: 100%; }
  .lab-inst thead { display: none; }
  .lab-inst tr { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 14px; padding: 4px 0; }
  .lab-inst tbody tr:nth-child(even) td { background: none; }
  .lab-inst td { border-bottom: 1px solid #f0f4ef; padding: 10px 14px; }
  .lab-inst tr td:last-child { border-bottom: 0; }
  .lab-inst td::before { content: attr(data-label); display: block; font-size: 11px; letter-spacing: .08em; color: #839077; margin-bottom: 4px; }
  .lab-inst tbody tr td:first-child::before { display: none; }
  .lab-inst tbody tr td:first-child { font-size: 15px; font-weight: 600; padding: 14px 14px 10px; }
  .lab-inst tbody tr td:first-child .li-model { font-size: 11px; }
  .lab-inst .li-fig { margin: 10px 0 2px; }
  .lab-inst .li-fig img { max-width: 280px; } }
.lab-intro {
  margin: 22px 0 30px; padding: 20px 24px;
  border: 1px solid var(--line); border-left: 3px solid #4f7a4a;
  border-radius: 8px; background: #fafcf9;
}
.lab-intro__lead { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: #2c4531; }
.lab-intro__list { margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.lab-intro__list li { position: relative; padding-left: 15px; font-size: 13.5px;
  line-height: 1.85; color: #46533e; }
.lab-intro__list li::before { content: ""; position: absolute; left: 0; top: 10px;
  width: 5px; height: 5px; border-radius: 50%; background: #7d9a6e; }
.lab-intro__list li:only-child { grid-column: 1 / -1; }
@media (max-width: 900px) {
  .lab-intro { margin: 18px 0 24px; padding: 16px 18px; }
  .lab-intro__lead { font-size: 14.5px; }
  .lab-intro__list { grid-template-columns: 1fr; gap: 6px; }
  .lab-intro__list li { font-size: 13px; line-height: 1.8; } }
.lab-ptg-section { padding-top: 8px; }
.lab-ptg-groups { max-width: 1100px; margin: 0 auto; }
.lab-ptg-group { margin-top: 38px; padding-top: 26px; border-top: 1px solid #dfe7da; }
.lab-ptg-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lab-ptg-name {
  font-family: Georgia, var(--serif); font-size: 22px; line-height: 1.3;
  color: var(--ink, #1c2b27); margin: 0 0 16px;
}
.lab-ptg-name span {
  font-family: var(--font-sans, inherit); font-size: 12px; font-weight: 400;
  letter-spacing: .08em; color: var(--muted, #839077); margin-left: 12px;
}
.lab-ptg-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px;
}
.lab-ptg-grid figure { margin: 0; background: #fff; border: 1px solid #e7ece3; }
.lab-ptg-grid img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain;
  background: #f4f7f2; cursor: zoom-in;
}
.lab-ptg-grid figcaption {
  padding: 8px 6px 10px; text-align: center; font-size: 12px;
  line-height: 1.4; color: var(--muted, #839077);
}
@media (max-width: 760px) {
  .lab-ptg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lab-ptg-name { font-size: 20px; } }