/* The Laboratory page as a real preview (platform pull release 1, 4 Nov 2026). Sits under the page title, above the doors. */
.lp[hidden] { display: none !important; }
.lp { margin: 8px 0 28px; }
.lp-wrap { padding: 20px; border-radius: 18px; background: var(--bg-card, rgba(255,255,255,.04)); border: 1px solid var(--glass-border, rgba(255,255,255,.1)); }
.lp .lp-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-text, #9b7ef8); }
.lp .lp-lead-t > * { display: block; }
.lp-lead { display: grid; grid-template-columns: 148px 1fr; gap: 20px; align-items: start; }
.lp-still { position: relative; margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #0d001a; }
.lp-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; filter: saturate(.9); }
.lp-still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13, 0, 26, .88)); }
.lp-still figcaption { position: absolute; left: 10px; right: 10px; bottom: 8px; z-index: 1; display: flex; justify-content: space-between; font: 600 12px/1 var(--font-body); color: #fff; }
.lp .lp-h { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--text-primary); }
.lp .lp-goal { margin: 0 0 10px; font-size: 1.02rem; line-height: 1.55; color: var(--text-secondary); }
.lp .lp-line { margin: 0 0 14px; font-weight: 600; color: var(--text-primary); }
.lp .lp-act { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; background: var(--purple, #6036e8); color: #fff;
  font: 600 .95rem/1 var(--font-body); text-decoration: none; border: 0; }
.lp-btn-quiet { background: transparent; color: var(--text-primary); border: 1px solid var(--glass-border, rgba(255,255,255,.2)); }
.lp-btn:focus-visible, .lp-row:focus-visible, .lp-more:focus-visible { outline: 2px solid var(--purple-text, #9b7ef8); outline-offset: 3px; }
.lp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--glass-border, rgba(255,255,255,.1)); }
.lp-col h3 { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-secondary); }
.lp .lp-sub { margin: 12px 0 4px; font-size: .9rem; line-height: 1.45; color: var(--text-secondary); }
/* Release A (8 Nov 2026): a row is its title, one link, one fixed height in every column (two lines of title fit; a longer
   one is clamped, its full text stays the link's name). Hairlines between rows, the arrow wakes on hover and focus. */
.lp-list { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-rows: 56px; gap: 0; border-top: 1px solid var(--glass-border, rgba(255,255,255,.08)); }
.lp-list li { display: block; min-width: 0; border-bottom: 1px solid var(--glass-border, rgba(255,255,255,.08)); }
.lp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 0 2px; border-radius: 8px;
  font-size: .96rem; line-height: 1.3; color: var(--text-primary); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.lp-t { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lp-arr { flex: 0 0 auto; font-size: .9rem; line-height: 1; color: var(--purple-text, #9b7ef8); opacity: .5; transition: transform .15s ease, opacity .15s ease; }
.lp-row:hover .lp-t { color: var(--purple-text, #9b7ef8); }
.lp-row:hover .lp-arr, .lp-row:focus-visible .lp-arr { opacity: 1; transform: translateX(3px); }
.lp-more { display: inline-flex; align-items: center; min-height: 32px; font-size: .88rem; font-weight: 600; color: var(--purple-text, #9b7ef8); text-decoration: underline; text-underline-offset: 2px; }
@media (pointer: coarse) { .lp-more { min-height: 44px; } }
@media (prefers-reduced-motion: reduce) { .lp-arr { transition: none; } .lp-row:hover .lp-arr, .lp-row:focus-visible .lp-arr { transform: none; } }
@media (max-width: 900px) { .lp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .lp-lead { grid-template-columns: 1fr; gap: 14px; }
  .lp-still { aspect-ratio: auto; height: 104px; }
  .lp-still img { object-position: 50% 16%; }
  .lp .lp-goal { font-size: .96rem; }
  .lp-grid { grid-template-columns: 1fr; }
  .lp-act .lp-btn { flex: 1 1 100%; }
  .lp-h { font-size: 1.3rem; }
}

/* r2 (17 Nov 2026, design audit G-4, A1-7): the one button recipe (pill, 48 px), the quiet button is the secondary; the list folds */
.lp-btn { min-height: 48px; border-radius: 999px; font-weight: 700; font-size: 1rem; background: var(--wg-act-grad, linear-gradient(135deg, #6036e8, #b3348c)); }
.lp-btn-quiet { background: transparent; }
.lp-all { margin-top: 18px; }
.lp .lp-act:empty { display: none; }
.lp-all > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--wg-link, var(--purple-text)); list-style: none; }
.lp-all > summary::-webkit-details-marker { display: none; }
.lp-all > summary::after { content: ''; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.lp-all[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.lp-all[open] > summary { margin-bottom: 4px; }
.lp-all > summary:focus-visible { outline: 2px solid var(--wg-link, var(--purple-text)); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) { .lp-all > summary::after { transition: none; } }
