/* Static specification-table pages (written by tools/spec_pages_build.py) and the link list on the pulley pages. */
.spec-body, .spec-hub { color: #333; line-height: 1.6; }
.spec-hub { margin-top: 28px; padding-top: 8px; border-top: 1px solid rgba(0, 0, 0, .12); }
.spec-intro { margin: 0 0 14px; font-size: 1rem; }
.spec-heading { margin: 26px 0 10px; font-size: 1.15rem; font-weight: 700; color: #0a3d62; scroll-margin-top: 110px; }
.spec-heading span { font-size: .85rem; font-weight: 500; color: #667; }
.spec-facts { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px 24px; }
.spec-facts li { padding: 6px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); font-size: .95rem; }
.spec-note { margin: 12px 0; font-size: .9rem; color: #556; }
.spec-note a { color: #0a5a8f; text-decoration: underline; }
.spec-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 14px 0 4px; font-size: .9rem; }
.spec-jump span { color: #556; }
.spec-jump a { padding: 3px 10px; border: 1px solid #c9d6e2; border-radius: 999px; color: #0a3d62; text-decoration: none; white-space: nowrap; }
.spec-jump a:hover { background: #0a3d62; border-color: #0a3d62; color: #fff; }
.spec-scroll { overflow-x: auto; border: 1px solid #d9e1e8; border-radius: 8px; -webkit-overflow-scrolling: touch; }
.spec-table { width: 100%; min-width: 640px; font-size: .875rem; font-variant-numeric: tabular-nums; }
.spec-table th, .spec-table td { padding: 7px 10px; text-align: right; white-space: nowrap; border-bottom: 1px solid #e6ecf1; }
.spec-table thead th { background: #0a3d62; color: #fff; font-weight: 600; }
.spec-table th:first-child { text-align: left; position: sticky; left: 0; }
.spec-table tbody th { background: #fff; font-weight: 600; color: #0a3d62; }
.spec-table tbody tr:nth-child(even) td, .spec-table tbody tr:nth-child(even) th { background: #f5f8fb; }
.spec-table tbody tr:target td, .spec-table tbody tr:target th { background: #fff3c4; }
.spec-table tbody tr:last-child td, .spec-table tbody tr:last-child th { border-bottom: none; }
.spec-table tbody tr { scroll-margin-top: 120px; }
.spec-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 4px; }
.spec-action { padding: 9px 18px; border-radius: 6px; background: #0a3d62; color: #fff; font-size: .9rem; font-weight: 600; text-decoration: none; }
.spec-action + .spec-action { background: #fff; color: #0a3d62; border: 1px solid #0a3d62; }
.spec-action:hover { background: #072c47; color: #fff; }
.spec-links-title { margin: 14px 0 6px; font-size: .95rem; font-weight: 600; color: #333; }
.spec-links { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-links a, .spec-links strong { display: inline-block; padding: 5px 12px; border: 1px solid #c9d6e2; border-radius: 6px; font-size: .875rem; color: #0a3d62; text-decoration: none; }
.spec-links strong { background: #0a3d62; border-color: #0a3d62; color: #fff; font-weight: 600; }
.spec-links a:hover { border-color: #0a3d62; background: #eef4f9; }
.spec-links span { color: #778; font-weight: 400; }
.spec-links strong span { color: #cfe0ee; }
.spec-page .content-title { text-transform: none; }
@media (max-width: 768px) {
    .spec-table { font-size: .8rem; }
    .spec-table th, .spec-table td { padding: 6px 8px; }
}
@media print {
    .sidebar, .spec-actions, .spec-jump, .fab-container, header, footer { display: none !important; }
    .spec-scroll { overflow: visible; border: none; }
}
/* the table must scroll inside its box instead of widening the page */
.spec-page, .spec-body, .spec-hub { min-width: 0; max-width: 100%; }
.spec-scroll { max-width: 100%; }
.spec-page .content-title { overflow-wrap: anywhere; }
.subpage-hero h1.spec-hero-title { font-size: clamp(1.25rem, 4.2vw, 2.6rem); padding: 0 16px; text-align: center; letter-spacing: .03em; overflow-wrap: anywhere; }
@media (max-width: 768px) {
    .spec-facts { grid-template-columns: 1fr; }
}
