/* Tutorial page: figures (inline SVG) and small tables. Colors come from the site variables, so dark mode works. */
.tut-fig { margin: 1.2rem 0; padding: 0.8rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); }
.tut-fig figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 0.4rem; }
.tut-svg { display: block; width: 100%; height: auto; max-width: 560px; margin: 0 auto; }
.tut-svg .tx { fill: var(--text); font: 13px system-ui, -apple-system, "Segoe UI", sans-serif; }
.tut-svg .tx.mu { fill: var(--muted); font-size: 12px; }
.tut-svg .tx.onbar { fill: var(--on-brand); }
.tut-svg .tx.req-t { fill: #e5484d; }
.tut-svg .ax { stroke: var(--muted); stroke-width: 1.5; }
.tut-svg .bar { fill: var(--brand); }
.tut-svg .bar3 { fill: var(--brand); opacity: 0.75; }
.tut-svg .nc { fill: none; stroke: #e5484d; stroke-width: 2; stroke-dasharray: 5 4; }
.tut-svg .bar2 { fill: var(--line); }
.tut-svg .tri { fill: var(--brand); opacity: 0.35; stroke: var(--brand); stroke-width: 2; }
.tut-svg .req { stroke: #e5484d; stroke-width: 2; stroke-dasharray: 5 4; }
.tut-svg .wc { stroke: var(--text); stroke-width: 3; }
.tut-svg .rssl { stroke: #e5484d; stroke-width: 3; stroke-dasharray: 6 4; }
.tut-svg .cv { stroke: #22aa5a; stroke-width: 3; }
.tut-table { border-collapse: collapse; margin: 0.8rem 0; width: 100%; max-width: 640px; font-size: 0.95rem; }
.tut-table th, .tut-table td { border-bottom: 1px solid var(--line); padding: 0.4rem 0.5rem; text-align: right; }
.tut-table th:first-child, .tut-table td:first-child { text-align: left; }
.tut-table th { color: var(--muted); font-weight: 600; }
.tut-wrap { overflow-x: auto; }
.tut-box { background: var(--bg-soft); border-left: 4px solid var(--brand); padding: 0.6rem 0.9rem; border-radius: 8px; margin: 1rem 0; }
.tut-box p { margin: 0.3rem 0; }
