/* Tutoriel du carnet de l'assistante maternelle — chargé après otoolia.css (variables --ot-*) */
.am-tuto { max-width: 900px; }
.am-tuto h1 { margin-bottom: .3em; }
.am-tuto h2 { margin-top: 2.4em; padding-top: .6em; border-top: 1px solid var(--ot-border); scroll-margin-top: 80px; }
.am-tuto h3 { margin-top: 1.6em; }
.am-tuto .lead { font-size: 1.1rem; color: var(--ot-text-soft); }
.am-tuto .cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 1.1em 0 1.4em; }
.am-tuto .cast { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; margin: 18px 0; }
.am-tuto .cast div { border: 1px solid var(--ot-border); border-radius: var(--ot-radius-s); padding: 12px 14px; background: var(--ot-surface); }
.am-tuto .cast b { display: block; }
.am-tuto .cast span { font-size: .92rem; color: var(--ot-text-soft); }
.am-tuto .cast span.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.am-tuto .dot--b { background: #2563eb; } .am-tuto .dot--g { background: #16a34a; } .am-tuto .dot--p { background: #db2777; }
.am-tuto nav.toc { background: var(--ot-surface); border: 1px solid var(--ot-border); border-radius: var(--ot-radius); padding: 14px 20px 16px; margin: 20px 0; }
.am-tuto nav.toc b { display: block; margin-bottom: 4px; }
.am-tuto nav.toc ol { margin: 0; padding-left: 1.4em; columns: 2 260px; column-gap: 28px; }
.am-tuto nav.toc li { break-inside: avoid; margin: 0 0 .2em; }
.am-tuto figure { margin: 1.4em 0; }
.am-tuto figure img { display: block; width: 100%; height: auto; margin: 0 auto; background: #fff; border: 1px solid var(--ot-border); border-radius: var(--ot-radius-s); box-shadow: var(--ot-shadow); }
.am-tuto figure.narrow img { max-width: 420px; }
.am-tuto figure.mid img { max-width: 640px; }
.am-tuto figcaption { margin-top: .6em; font-size: .93rem; color: var(--ot-text-soft); }
.am-tuto figcaption b { color: var(--ot-text); }
.am-tuto ol.steps li { margin: .35em 0; }
.am-tuto .tip, .am-tuto .warn { border-radius: 0 var(--ot-radius-s) var(--ot-radius-s) 0; padding: 10px 16px; margin: 1.1em 0; border-left: 4px solid var(--ot-brand); background: color-mix(in srgb, var(--ot-brand) 8%, var(--ot-surface)); }
.am-tuto .warn { border-left-color: #b45309; background: color-mix(in srgb, #f59e0b 12%, var(--ot-surface)); }
.am-tuto .calc { font-variant-numeric: tabular-nums; background: var(--ot-surface-2); border-radius: 6px; padding: 1px 6px; white-space: nowrap; }
.am-tuto .scroll { overflow-x: auto; margin: 1em 0; }
.am-tuto table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.am-tuto th, .am-tuto td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--ot-border); }
.am-tuto th { background: var(--ot-surface-2); font-weight: 700; }
.am-tuto td.n, .am-tuto th.n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.am-tuto .btn { display: inline-block; font-weight: 600; font-size: .85em; background: var(--ot-brand); color: var(--ot-brand-ink); border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.am-tuto .btn.ghost { background: var(--ot-surface); color: var(--ot-text); border: 1px solid var(--ot-border); }
.am-tuto .by { margin-top: 2.4em; font-size: .9rem; }
@media (max-width: 600px) { .am-tuto nav.toc ol { columns: 1; } .am-tuto table { font-size: .88rem; } }
@media print { .ot-header, .ot-footer, .ot-skip, .am-tuto .cta, .am-tuto nav.toc { display: none !important; } .am-tuto figure { break-inside: avoid; } }
