/* lit.css: shared styles of the From the literature articles */
.meta { font-size: 0.86rem; color: var(--muted); }
.article { max-width: 820px; margin: 0 auto; }
.article .card { margin-bottom: 18px; }
.article p, .article li { line-height: 1.6; }
.article h3 { color: var(--primary); font-size: 1.02rem; margin: 18px 0 6px; }
.paper { border-left: 4px solid var(--primary); background: #f0f4f8; padding: 12px 16px; border-radius: 0 8px 8px 0; margin: 0 0 12px; font-size: 0.95rem; }
.key { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 12px 0; }
.key div { background: #f0f4f8; border-radius: 8px; padding: 10px 12px; }
.key b { display: block; font-size: 1.3rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.key span { font-size: 0.85rem; color: var(--muted); }
.tbl-wrap { overflow-x: auto; }
table.lit { border-collapse: collapse; width: 100%; font-size: 0.92rem; margin: 8px 0; }
table.lit th, table.lit td { border-bottom: 1px solid #e2e8f0; padding: 7px 8px; text-align: left; vertical-align: top; }
table.lit th { background: #f7fafc; color: var(--primary); }
table.lit td.n { font-variant-numeric: tabular-nums; white-space: nowrap; }
figure { margin: 14px 0; }
figure img, figure svg { width: 100%; height: auto; display: block; border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.formula { font-family: ui-monospace, Consolas, monospace; background: #f0f4f8; border-radius: 8px; padding: 8px 12px; display: inline-block; }
details.q { border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 14px; margin: 8px 0; }
details.q summary { cursor: pointer; font-weight: 700; color: var(--primary); }
details.q p { margin: 8px 0 0; }
.legend-st { font-size: 0.88rem; color: var(--muted); }
.next a { font-weight: 700; }
