/* /molecules/<slug> (CAT-31/32; C3's mockup 72f6cffea): identity on the left, the structure card on the right that stays
   in view while the page scrolls (wide screens), everything in one column on phones with the H1 first. The section
   titles use section-titles.css (DSN-25). Radii >= 8 px, targets >= 44 px. */
.mp { padding-block: 20px 72px; }
.mp-crumbs { margin-bottom: 18px; }
.mp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.mp-main h1.tt-h { margin: 0 0 18px; }
.mp-pair { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 0 0 18px; padding: 14px 0; border-block: 1px solid var(--line, #e3e2ea); }
.mp-pair dt { margin: 0 0 6px; font: 700 11px/1.2 var(--font-display, Montserrat, system-ui, sans-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--muted, #5c5d69); }
.mp-pair dd { margin: 0; font: 700 18px/1.3 var(--font-display, Montserrat, system-ui, sans-serif); color: var(--ink, #17171c); }
.mp-id { margin: 0; border: 1px solid var(--line, #e3e2ea); border-radius: 14px; overflow: hidden; background: var(--surface, #fff); }
.mp-id__row { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px; padding: 12px 16px; }
.mp-id__row + .mp-id__row { border-top: 1px solid var(--line, #e3e2ea); }
.mp-id dt { margin: 0; color: var(--muted, #5c5d69); font-size: 14px; }
.mp-id dd { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.mp-id dd a { display: inline-flex; align-items: center; min-height: 24px; font-weight: 600; }
.mp-id code { font: 500 13px/1.4 var(--font-mono, ui-monospace, monospace); }
.mp-structure { align-self: start; padding: 14px; border: 1px solid var(--line, #e3e2ea); border-radius: 20px; background: var(--surface, #fff); }
.mp-structure [data-molecules] { min-height: 320px; }
.mp-note { margin: 10px 4px 0; color: var(--muted, #5c5d69); font-size: 13px; }
.mp-body { min-width: 0; }
.mp-sec { margin-top: 44px; }
.mp-sec h2.tt-h { margin: 0 0 16px; }
.mp-h2 { margin: 0 0 14px; font: 800 clamp(22px, 2.2vw, 28px)/1.15 var(--font-display, Montserrat, system-ui, sans-serif); letter-spacing: -.02em; }
.mp-studied { max-width: 64ch; margin: 0; font-size: 17px; line-height: 1.65; }
.mp-cite { display: inline-flex; align-items: center; padding: 0 2px; font-weight: 600; text-decoration: none; }
.mp-sources { list-style: none; max-width: 64ch; margin: 0; padding: 0; border: 1px solid var(--line, #e3e2ea); border-radius: 14px; overflow: hidden; }
.mp-sources li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.mp-sources li + li { border-top: 1px solid var(--line, #e3e2ea); }
.mp-sources li:target { background: var(--tint, #f3eefb); }
.mp-sources__n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 999px; background: var(--tint, #f3eefb); font: 700 12px/1 var(--font-display, Montserrat, system-ui, sans-serif); color: var(--accent, #65419a); }
.mp-sources a { display: inline-flex; min-height: 24px; align-items: center; }
.mp-ruo { max-width: 64ch; margin: 40px 0 0; padding: 14px 16px; border: 1px solid var(--line, #e3e2ea); border-left: 3px solid var(--accent, #65419a); border-radius: 12px; background: var(--tint, #f6f3fb); font-size: 14px; }
.mp-pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.mp-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--line, #e3e2ea); border-radius: 999px; background: var(--surface, #fff); color: var(--ink, #17171c); font-weight: 600; text-decoration: none; }
.mp-pill:hover, .mp-pill:focus-visible { border-color: var(--accent, #65419a); color: var(--accent, #65419a); }
.mp-guide { margin: 28px 0 0; }
.mp-guide a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
@media (min-width: 960px) {
  .mp-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); grid-template-areas: "main view" "body view"; column-gap: 48px; row-gap: 0; }
  .mp-main { grid-area: main; } .mp-structure { grid-area: view; position: sticky; top: calc(var(--header-h, 72px) + 16px); } .mp-body { grid-area: body; }
}
[data-theme="dark"] .mp-id, [data-theme="dark"] .mp-structure, [data-theme="dark"] .mp-pill { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .mp-id__row + .mp-id__row, [data-theme="dark"] .mp-sources, [data-theme="dark"] .mp-sources li + li, [data-theme="dark"] .mp-pair { border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .mp-ruo { background: rgba(185, 163, 227, .08); border-color: rgba(255, 255, 255, .12); border-left-color: #b9a3e3; }
[data-theme="dark"] .mp-sources__n { background: rgba(185, 163, 227, .16); color: #c9b6ef; }
[data-theme="dark"] .mp-pill:hover, [data-theme="dark"] .mp-pill:focus-visible { border-color: #c9b6ef; color: #c9b6ef; }
/* The reused viewer (molecules.js) in the card: the stage alone, full width; its side list repeats the identity table above. */
.mp-structure .mol { grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: "chips" "stage" "warn" !important; gap: 0 !important; }
.mp-structure .mol-side { display: none !important; }
.mp-structure .mol-stage { aspect-ratio: 4 / 3; }
/* C3's structure modes (Explore in 3D / Ball & stick / Space-filling): a chip over the card, pills under the stage. */
.mp-chip { display: inline-flex; align-items: center; margin: 2px 4px 10px; padding: 4px 10px; border-radius: 999px; background: var(--tint, #f3eefb); color: var(--accent, #65419a); font: 600 12px/1.3 var(--font-body, system-ui, sans-serif); }
.mp-3d { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: radial-gradient(ellipse 60% 55% at 50% 50%, color-mix(in srgb, var(--accent, #65419a) 10%, transparent), transparent 70%); }
.mp-3d__canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; border-radius: 16px; }
.mp-3d__canvas:active { cursor: grabbing; }
.mp-3d__canvas:focus-visible { outline: 2px solid var(--accent, #65419a); outline-offset: 2px; }
.mp-modes { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 4px 0; }
.mp-mode { min-height: 44px; padding: 0 18px; border: 1px solid var(--line, #e3e2ea); border-radius: 999px; background: var(--surface, #fff); color: var(--ink, #17171c); font: 600 14px/1 var(--font-body, system-ui, sans-serif); cursor: pointer; }
.mp-mode--main { border-color: var(--accent, #65419a); background: var(--accent, #65419a); color: #fff; }
.mp-mode[aria-pressed="true"]:not(.mp-mode--main) { border-color: var(--accent, #65419a); color: var(--accent, #65419a); box-shadow: inset 0 0 0 1px var(--accent, #65419a); }
.mp-mode:focus-visible { outline: 2px solid var(--accent, #65419a); outline-offset: 2px; }
[data-theme="dark"] .mp-chip { background: rgba(185, 163, 227, .14); color: #c9b6ef; }
[data-theme="dark"] .mp-mode { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .16); color: #eceaf3; }
[data-theme="dark"] .mp-mode--main { background: #c9b6ef; border-color: #c9b6ef; color: #17171c; }
[data-theme="dark"] .mp-mode[aria-pressed="true"]:not(.mp-mode--main) { border-color: #c9b6ef; color: #c9b6ef; box-shadow: inset 0 0 0 1px #c9b6ef; }
/* A long IUPAC name: 3 lines, then the native disclosure opens it in full (no script). */
.mp-id__iupac summary { list-style: none; cursor: pointer; }
.mp-id__iupac summary::-webkit-details-marker { display: none; }
.mp-id__iupac:not([open]) .mp-id__long { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.mp-id__more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: var(--accent, #65419a); text-decoration: underline; text-underline-offset: 3px; }
.mp-id__iupac:not([open]) .mp-id__less, .mp-id__iupac[open] .mp-id__show { display: none; }
[data-theme="dark"] .mp-id__more { color: #b9a3e3; }
.mp-id__iupac summary:focus-visible { outline: 2px solid var(--accent, #65419a); outline-offset: 3px; border-radius: 8px; }

/* SEO-10 (1 Dec 2026): the testing and storage sections, the FAQ, the comparison pages. */
.mp-sec > p { max-width: 64ch; margin: 0 0 12px; line-height: 1.6; }
.mp-links { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.mp-links .text-link { display: inline-flex; align-items: center; min-height: 44px; }
.mp-faq__item { max-width: 72ch; margin: 0 0 10px; border: 1px solid var(--line, #e3e2ea); border-radius: 14px; background: var(--surface, #fff); }
.mp-faq__item summary { display: flex; align-items: center; min-height: 52px; padding: 12px 18px; font-weight: 700; cursor: pointer; border-radius: 14px; }
.mp-faq__item summary:focus-visible { outline: 2px solid var(--accent, #65419a); outline-offset: 2px; }
.mp-faq__item p { margin: 0; padding: 0 18px 16px; line-height: 1.6; overflow-wrap: anywhere; }
.cmp-intro { max-width: 64ch; margin: 12px 0 0; font-size: 17px; line-height: 1.6; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line, #e3e2ea); border-radius: 16px; background: var(--surface, #fff); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15px; }
.cmp th, .cmp td { padding: 12px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line, #e3e2ea); }
.cmp thead th { border-top: 0; font-weight: 800; }
.cmp tbody th { width: 9.5em; color: var(--muted, #5b5b66); font-weight: 600; }
.cmp td { overflow-wrap: normal; }
@media (max-width: 560px) { .cmp { font-size: 14px; } .cmp th, .cmp td { padding: 10px 10px; } .cmp tbody th { width: 6.5em; } }
.mp-seq { font-size: 13px; overflow-wrap: anywhere; word-break: break-all; }
.section--compare { padding-top: 0; }
[data-theme="dark"] .mp-faq__item, [data-theme="dark"] .cmp-wrap { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .cmp th, [data-theme="dark"] .cmp td { border-top-color: rgba(255, 255, 255, .12); }
[data-theme="dark"] .mp-faq__item summary:focus-visible { outline-color: #c9b6ef; }
.mp .tt-kicker { flex-wrap: wrap; row-gap: 4px; }
.mp-updated { white-space: nowrap; }
