/* Tunnel de commande (P2), repris de mockups/order.html. */
.co-wrap { padding-top: 28px; padding-bottom: 64px; }
.steps-bar { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; flex-wrap: wrap; counter-reset: st; }
.steps-bar li { counter-increment: st; display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--muted); padding: 6px 12px 6px 6px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); }
.steps-bar li::before { content: counter(st); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: .75rem; }
.steps-bar li.on { color: var(--text); border-color: var(--brand); }
.steps-bar li.on::before { background: var(--brand); color: var(--on-brand); }
.steps-bar li.done::before { content: "✓"; background: var(--ok); color: #fff; }
.co { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 26px; align-items: start; }
@media (max-width: 960px) { .co { grid-template-columns: 1fr; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.box + .box { margin-top: 16px; }
.box h2 { font-size: 1.15rem; margin-bottom: 4px; }
.box > p.muted { margin: 0 0 14px; font-size: .93rem; }
.sum { position: sticky; top: 16px; }
.sum h3 { font-size: 1rem; margin-bottom: 10px; }
.lines { display: grid; gap: 7px; font-size: .9rem; }
.lines div { display: flex; justify-content: space-between; gap: 12px; }
.lines div span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.lines .sub { color: var(--muted); font-size: .82rem; }
.lines hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }
.lines .tot { font-weight: 800; font-size: 1.05rem; }
.cfg { display: grid; gap: 16px; }
.cfg .row2 { display: flex; gap: 14px; flex-wrap: wrap; align-items: end; }
.cfg input[type=number] { font: inherit; width: 120px; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.cfg label.fld { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; }
.radios { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); gap: 2px; }
.radios label { padding: 7px 14px; border-radius: 9px; font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer; }
.radios input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.radios input:checked + span { color: var(--bg); }
.radios label:has(input:checked) { background: var(--text); color: var(--bg); }
.nav-btns { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.chk { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; padding: 6px 0; }
.chk input { margin-top: 4px; accent-color: var(--brand); }
.info { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: .88rem; }
.testbar { background: repeating-linear-gradient(45deg, #fde68a, #fde68a 10px, #fef3c7 10px, #fef3c7 20px); color: #78350f; font-size: .85rem; padding: 8px 14px; border-radius: 10px; margin-bottom: 16px; }
.timeline { list-style: none; padding: 0; margin: 16px 0 0; }
.timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); align-items: center; }
.timeline li:first-child { border-top: 0; }
.timeline .dotx { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: var(--surface-2); color: var(--muted); }
.timeline li.done .dotx { background: var(--ok); color: #fff; } .timeline li.now .dotx { background: var(--brand); color: #fff; }
/* Offres hébergées : modèles, options, accès */
.cfg fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.cfg legend { font-weight: 700; font-size: .92rem; margin-bottom: 6px; padding: 0; }
.cfg .sel, .box textarea, .box input[name=hostname] { font: inherit; padding: 9px 11px; border-radius: 9px; border: 1px solid var(--line); background: var(--bg); color: var(--text); max-width: 100%; }
.box textarea { width: 100%; font-family: ui-monospace, monospace; font-size: .82rem; resize: vertical; }
.mdl { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); position: relative; }
.mdl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mdl.on, .mdl:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.mdl:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.mdl-h { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.mdl-p { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mdl-s { font-size: .84rem; }
.mdl .pill { justify-self: start; }
.fld-inline { display: flex; gap: 10px; align-items: center; font-size: .92rem; }
.fld-inline input { width: 80px !important; }
