* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Libre Franklin', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  line-height: 1.65;
}
.molecule-layout {
  width: min(1180px, 94vw);
  margin: 0 auto;
  padding: 24px 0 46px;
}
.top-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.top-link,
.editor-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.editor-btn {
  background: #2C7A7B;
  border-color: #2C7A7B;
  color: #fff;
}
.hero {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.eyebrow {
  color: #2C7A7B;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  margin-bottom: 10px;
}
.summary {
  max-width: 820px;
  color: #475569;
  font-size: 16px;
}
.meta {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
}
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 16px;
  align-items: start;
}
.panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 12px;
}
.structure-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 16px;
  align-items: center;
}
.structure-img {
  width: 100%;
  min-height: 210px;
  object-fit: contain;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}
.viewer-3d {
  width: 100%;
  height: 360px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.viewer-status {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
}
.facts {
  display: grid;
  gap: 10px;
}
.fact {
  border: 1px solid #eef2f7;
  border-radius: 10px;
  padding: 10px;
  background: #f8fafc;
}
.fact dt {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.fact dd {
  color: #0f172a;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.copy-btn {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  cursor: pointer;
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 700;
}
.article-copy p {
  color: #334155;
  margin-bottom: 12px;
}
.article-copy ul {
  margin: 0 0 12px 20px;
  color: #334155;
}
.note {
  margin-top: 12px;
  color: #64748b;
  font-size: 12px;
}
.related-links {
  margin-top: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 16px;
}
.related-links h2 {
  font-size: 18px;
  margin-bottom: 10px;
}
.related-links nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.related-links a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 10px;
  color: #334155;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}
.site-footer-root {
  margin-top: 18px;
}
@media (max-width: 900px) {
  .content-grid,
  .structure-card {
    grid-template-columns: 1fr;
  }
  .viewer-3d {
    height: 300px;
  }
}
