/* Plan 032: repair guide (procedure) and reference pages, loaded only by those templates (after guide.css). Steps read like a manual: a large diagram where
   one is cited, short lines, few boxes; color only for actions and safety. */
.g-facts { list-style: none; padding: 0; margin: .25rem 0 .5rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem;
           font-size: .95rem; color: var(--muted); }
.g-from { font-size: .85rem; }
.g-steps-sec h2, .g-variants h2, .g-outcome h2, .g-hazard h2 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
.g-steps { list-style: none; padding: 0; margin: 0; }
.g-step { padding: 1rem 0; border-top: 1px solid var(--g-line); }
.g-step h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.15rem; margin: 0 0 .5rem; }
.g-step .visual { margin: .5rem 0 .75rem; }
.g-lines { margin: 0; padding-left: 1.2rem; font-size: 1.05rem; }
.g-lines li { margin: .35rem 0; }
.g-variants .g-sec > summary h3 { font-size: 1rem; margin: 0; flex: 1; }
.g-variants ol { margin: 0 0 .5rem; padding-left: 1.25rem; }
.g-outcome { margin: 1.5rem 0; padding: 1rem; background: var(--g-soft); border-radius: var(--g-radius); }
.g-outcome h2 { margin-top: 0; }
.g-outcome-yes { margin: 0 0 .75rem; }
.g-outcome-no { margin: .25rem 0; font-weight: 600; }
.g-continue { padding-left: 1.1rem; margin: 0; }
.g-continue li { margin: .5rem 0; }
.g-applies { padding-left: 1.1rem; }
.g-applies li { margin: .5rem 0; }
.g-chips ul { list-style: none; padding: 0; margin: .5rem 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.g-chips a { display: inline-block; padding: .45rem .8rem; min-height: 44px; box-sizing: border-box;
             border: 1px solid var(--g-line); border-radius: 999px; text-decoration: none; color: var(--g-ink); }
.g-hazard { border-top: 1px solid var(--g-line); }
.g-precaution { margin: .5rem 0 1rem; }
.g-precaution h3 { margin: .5rem 0 .25rem; }
.g-precaution p { margin: .25rem 0; }
.g-hazard-stop { border-top: 3px solid var(--stop-border); }
.g-hazard-stop h2 { color: var(--stop-border); }
.g-used { font-size: .875rem; }
@media (min-width: 40rem) { .g-step .visual { max-width: 36rem; } }
/* Plan 033: "it came back" continues the code's diagnosis; the button names the check it continues at. */
.g-q { margin: .25rem 0 .5rem; }
a.g-btn-alt { display: block; padding: .6rem 1rem; text-align: center; text-decoration: none; color: #fff;
             background: var(--accent); box-sizing: border-box; }
.g-btn-sub { display: block; font-weight: 400; font-size: .9rem; }
.g-step .visual-legend { font-size: 1rem; }
@media (min-width: 40rem) { a.g-btn-alt { display: inline-block; text-align: left; } }
/* Step diagrams: the zoom buttons sit in a band under the drawing, never over it; legend numbers beside
   their text. */
.g-step .visual-stage { padding-bottom: 2.75rem; }
.g-step .visual-controls { top: auto; bottom: .35rem; }
.g-step .visual-legend li { display: flex; align-items: center; gap: .5rem; }
.g-step .g-lines { list-style: none; padding: 0; font-weight: 600; }
.g-drawn { margin: 0 0 .5rem; font-size: .875rem; }
