:root {
  --lab-primary: #1e3a8a;
  --lab-primary-light: #3b82f6;
  --lab-surface: #f7f9fb;
  --lab-border: #e5e7eb;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #111827;
}

.lab-navbar {
  border-bottom: 1px solid var(--lab-border);
  background: #ffffffcc;
  backdrop-filter: blur(6px);
}

.lab-brand {
  font-weight: 700;
  color: var(--lab-primary);
}

.lab-hero {
  background: linear-gradient(135deg, var(--lab-primary), var(--lab-primary-light));
  color: #fff;
}

.lab-kicker {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: #bfdbfe;
  margin-bottom: 0.5rem;
}

.lab-section-lead {
  color: #4b5563;
  margin-bottom: 1rem;
}

.lab-card {
  background: #fff;
  border: 1px solid var(--lab-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
}

.lab-card-body {
  margin-top: 1rem;
}

.lab-card-list .lab-news-item {
  background: var(--lab-surface);
  border: 1px solid var(--lab-border);
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.lab-meta {
  color: #6b7280;
  margin-top: 0.5rem;
}

.lab-footer {
  border-top: 1px solid var(--lab-border);
  background: #f9fafb;
}

.lab-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.lab-paper-card .buttons .button {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.lab-citation {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.lab-pdf-wrapper {
  border: 1px solid var(--lab-border);
  border-radius: 12px;
  overflow: hidden;
  height: 70vh;
}

.lab-pdf-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* image lightbox */
.lab-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}

.lab-lightbox-backdrop.is-hidden {
  display: none;
}

.lab-lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .lab-pdf-wrapper { height: 60vh; }
}

@media (max-width: 768px) {
  .lab-pdf-wrapper { height: 50vh; }
}
