/* qubitbenchmark.com: inner pages (results, benchmarks, machines, method, data, legal) */
.page { padding-top: 26px; padding-bottom: 20px; }
.page h1 { font-size: clamp(32px, 4.4vw, 52px); font-variation-settings: "wdth" 95; margin: 6px 0 14px; max-width: 18em; }
.page h1 a { color: inherit; text-decoration: none; }
.page h1 a:hover { text-decoration: underline; }
.page h1 .short { color: var(--slate); font-variation-settings: "wdth" 70; }
.page h2 { font-size: clamp(22px, 2.4vw, 28px); margin: 36px 0 12px; }
.page h3 { font-size: 20px; margin: 22px 0 8px; }
.page p, .page li { max-width: 44em; }
.lede { font-size: clamp(19px, 2vw, 21px); max-width: 38em; }
.small { font-size: 15px; color: var(--muted); }
.crumbs { font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.preview-bar { background: #fbf0d6; color: #4a3407; font: 15px/1.4 var(--serif); border-bottom: 1px solid #e6d29f; }
.preview-bar .wrap { padding-top: 8px; padding-bottom: 8px; }
.status { font-size: 12px; font-weight: 700; text-transform: capitalize; border: 1px dashed var(--slate); color: var(--muted); padding: 1px 6px; border-radius: 3px; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; color: var(--green); background: var(--green-tint); padding: 1px 8px; border-radius: 3px; }
.kind { font-size: 13px; color: var(--muted); }
button.theme { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 1px 10px; cursor: pointer; margin-left: 6px; }

/* Lists of cards (benchmarks, machines) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 28px; }
@media (min-width: 760px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cards { grid-template-columns: 1fr 1fr 1fr; } }
.cards li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.cards b { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 600; font-size: 19px; }
.cards a { text-decoration: none; }
.cards p { margin: 4px 0 0; font-size: 16px; }
.level h2 { border-top: 2px solid var(--head); padding-top: 12px; }
.list { list-style: none; padding: 0; }
.list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.list p { margin: 4px 0 0; color: var(--muted); }

/* Results table and filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: end; margin: 18px 0 14px; font-size: 15px; }
.filters label { display: grid; gap: 4px; color: var(--muted); }
.filters select { font: 16px var(--serif); padding: 6px 8px; border: 1px solid var(--slate); background: var(--surface); color: var(--ink); border-radius: 3px; }
.filters .count { color: var(--muted); }
table.results td.setup { color: var(--muted); font-size: 14px; }
table.results th[aria-sort] { cursor: pointer; }
.tablewrap + .tablewrap { margin-top: 26px; }

/* One result */
.record { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 980px) { .record { grid-template-columns: minmax(0, 1fr) 380px; } }
.kicker-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: 15px; margin: 10px 0 0; }
.bigvalue { font: 600 clamp(40px, 6vw, 64px)/1.05 var(--display); font-variation-settings: "wdth" 80; color: var(--head); margin: 10px 0; }
.bigvalue span { font: 18px var(--serif); color: var(--muted); }
.stated { color: var(--muted); font-style: italic; }
.caveat { background: var(--surface); border-left: 3px solid var(--slate); padding: 4px 18px 8px; margin: 18px 0; }
.caveat h2 { font-size: 18px; margin: 10px 0 4px; }
.warn { border: 1px dashed var(--slate); padding: 8px 12px; color: var(--muted); }
.record-facts, .machine-card { background: var(--surface); padding: 16px 18px; align-self: start; grid-template-columns: auto 1fr; }
.record-facts dd, .machine-card dd { text-align: left; font-weight: 400; color: var(--ink); }
.machine-card { max-width: 560px; }
.source, .history { margin-top: 10px; }
.twocol { display: grid; gap: 28px; }
@media (min-width: 980px) { .twocol { grid-template-columns: minmax(0, 1fr) 360px; } }
.twocol .facts { background: var(--surface); padding: 16px 18px; align-self: start; grid-template-columns: auto 1fr; }
.twocol .facts dd { text-align: left; font-weight: 400; color: var(--ink); }

/* Articles (monthly updates, method, guides) */
.article { max-width: 46em; }
.article h1 { max-width: 16em; }
.article .body h2 { display: flex; gap: 14px; align-items: baseline; }
.article .body h2 .num { color: var(--slate); font-variation-settings: "wdth" 60; }
.article figure { margin: 22px 0; }
@media (min-width: 1240px) { .article figure.bleed { margin-right: -160px; } }
.more { margin-top: 30px; }
.journal-empty { color: var(--muted); grid-column: 1 / -1; background: var(--surface); padding: 22px 24px; margin: 0; }
pre.cite { background: var(--plate); padding: 14px 16px; overflow-x: auto; font: 14px/1.5 var(--mono); margin: 0; }
.files { list-style: none; margin: 0; padding: 0; max-width: 44em; }
.files li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--rule); }
.files span { color: var(--muted); font-size: 15px; }
.draft-note { background: #fbf0d6; color: #4a3407; padding: 10px 14px; border-radius: 3px; }

/* Definition lists of terms (method page) */
.terms { display: grid; gap: 4px; margin: 0; }
.terms div { padding: 14px 0; border-bottom: 1px solid var(--rule); }
.terms dt { font-family: var(--display); font-variation-settings: "wdth" 80; font-weight: 600; color: var(--head); font-size: 20px; display: flex; gap: 10px; align-items: center; }
.terms dd { margin: 6px 0 0; }
