/* The sales report example (/collections/store/sales-report). It uses the documentation page's layout; these are the
   few things of its own: headings inside a step, the rules list, and answer tables whose numbers line up. */
.guide-content h3 { margin: 30px 0 12px; font-size: 1.12rem; }
.guide-content h3:first-of-type { margin-top: 24px; }
.guide-content pre { margin: 0 0 16px; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: #f6f8fc; font: .8rem/1.6 var(--mono); }
.guide-code-label { margin: 0 0 6px; font: .66rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); }
.sales-rules { max-width: 72ch; margin: 0 0 8px; padding-left: 20px; color: var(--ink-soft); }
.sales-rules li { margin-bottom: 10px; }
.sales-answers { max-width: 640px; }
.sales-answers.sales-wide { max-width: none; }
.sales-answers td:first-child { min-width: 220px; }
.sales-answers th:not(:first-child), .sales-answers td:not(:first-child) { text-align: right; white-space: nowrap; }
.sales-answers tfoot th, .sales-answers tfoot td { padding: 14px 16px; border-top: 2px solid #cad5e5; border-bottom: 0; background: none; color: var(--ink); font-size: .9rem; font-weight: 600; text-align: left; }
.sales-answers tfoot td { text-align: right; font-variant-numeric: tabular-nums; }
.sales-joins code { white-space: nowrap; }
.guide-sample .pill { white-space: nowrap; }
.guide-sample-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }

/* The Mockaroo alternative page (/tools/test-data-generator/mockaroo-alternative): six reasons, one customer followed
   through three tables, a sample of names, a short table, and the fair word for the other side. */
.compare-intro { padding-bottom: 8px; }
.compare-intro h1 { max-width: 860px; }
.compare-intro .lead { max-width: 720px; }
.compare-section { margin-top: 46px; padding-top: 34px; border-top: 1px solid var(--line); }
.compare-section h2 { margin: 0 0 18px; font-size: clamp(1.6rem, 2.4vw, 2rem); }
.compare-section > p { max-width: 76ch; color: var(--ink-soft); }
.compare-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.compare-reasons > div { padding: 22px; border: 1px solid #dce3ee; border-radius: 10px; background: linear-gradient(145deg, #f8faff, #fff 75%); }
.compare-reasons h3 { margin: 0 0 10px; font-size: 1.1rem; }
.compare-reasons p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.compare-linked { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; margin: 18px 0 22px; }
.compare-linked h3 { margin: 0 0 8px; font-size: 1rem; }
.compare-mini { margin-bottom: 8px; font: .76rem/1.4 var(--mono); white-space: nowrap; }
table.compare-mini th, table.compare-mini td { padding: 9px 10px; }
table.compare-mini td:last-child, table.compare-mini th:last-child { text-align: right; }
.compare-mini .is-key { color: #1d46c7; background: #f1f5ff; }
.compare-names { max-width: 520px; }
.compare-table { max-width: 900px; }
.compare-table th[scope="row"] { width: 24%; min-width: 150px; background: none; color: var(--ink); font-size: .88rem; white-space: normal; }
.compare-table td { min-width: 200px; color: var(--ink-soft); }
.compare-table thead th:nth-child(2), .compare-table td:nth-child(2) { background: #f1f5ff; color: var(--ink); font-weight: 600; }
.compare-checked { border-top-style: dashed; }
.compare-checked h2 { font-size: 1.05rem; margin-bottom: 8px; }
@media (max-width: 1000px) { .compare-reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } .compare-linked { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
@media (max-width: 640px) { .compare-reasons { grid-template-columns: minmax(0, 1fr); } }
