/* /how-to-clone (CADR-0213). Theme tokens only (themes.css); the base layout is hardware.css. */
.clone-hero { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.clone-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.clone-facts li { background: var(--surface); border-radius: var(--r-md); padding: 10px 14px; font-size: 15px; line-height: 1.35; display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.clone-facts strong { color: var(--gold); }

.clone .block > p, .clone-split p { margin: 0; font-size: 17px; line-height: 1.55; color: var(--text-soft); max-width: 760px; }
.clone .apps-note { margin: 0; color: var(--text-muted); }

.clone-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.clone-cards.two { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.clone-card { background: var(--surface); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.clone-card h3 { margin: 0; font-size: 18px; line-height: 1.25; }
.clone-card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.clone-tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }

.rig-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: none; }
.rig-steps li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; align-items: start; background: var(--surface); border-radius: var(--r-md); padding: 14px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.rig-steps li > strong { font-family: var(--font-display); font-size: 20px; color: var(--gold); }
.rig-steps b { color: var(--text); }
.rig-note { margin: 0; font-size: 15px; color: var(--text-muted); }

/* A slot that another lane fills (the rigs in 3D, the rig simulators). It keeps its size when it does. */
.clone-slot { margin: 0; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 18px; align-items: center; border: 2px dashed color-mix(in srgb, var(--text) 25%, transparent); border-radius: var(--r-lg); padding: 18px; min-height: 160px; }
.clone-slot figcaption { display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.clone-slot figcaption strong { color: var(--text); font-size: 17px; }
.slot-art svg { display: block; width: 100%; height: auto; }
.slot-art .ln { fill: none; stroke: var(--text-muted); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.slot-art .ar { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round; }
@media (max-width: 640px) { .clone-slot { grid-template-columns: minmax(0, 1fr); } }

/* The bill of materials (web/scripts/build-clone-bom.mjs). */
.bom-scroll { overflow-x: auto; max-width: 100%; }
.bom-scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.bom-totals, .bom-lines { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.bom-totals th, .bom-totals td, .bom-lines th, .bom-lines td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.bom-totals th[scope="row"], .bom-totals thead th:first-child, .bom-lines td:nth-child(-n+2), .bom-lines th:nth-child(-n+2) { text-align: left; white-space: normal; }
.bom-totals thead th, .bom-lines thead th { color: var(--text-muted); font-weight: 600; }
.bom-sum th, .bom-sum td { font-weight: 700; color: var(--gold); border-bottom: 0; }
.bom-lines { font-size: 14px; }
.bom-note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.bom-open { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.bom-all summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }

.kit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.kit-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; background: var(--surface); border-radius: var(--r-md); padding: 10px 14px; min-height: 52px; font-size: 15px; }
.kit-list .kit-all { font-weight: 700; }
.kit-soon { color: var(--text-muted); font-size: 14px; }
.kit-go { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
