
ol.how li { margin:4px 0; }
code { background:#eef1f4; padding:1px 5px; border-radius:4px; font-size:.92em; }
table.files td:first-child { white-space:nowrap; }
h3 { font-size:17px; margin:18px 0 4px; }
:root { --ink:#16212c; --muted:#5a6775; --line:#d3dae1; --accent:#b4531a; --bg:#fff; --card:#f7f9fb; }
* { box-sizing:border-box; }
html { font:16px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif; color:var(--ink); background:var(--bg); }
body { margin:0 auto; max-width:1180px; padding:16px 16px 60px; }
a { color:#1d5fa8; }
nav.top { display:flex; flex-wrap:wrap; gap:6px 18px; align-items:center; font-size:14px; padding:4px 0 12px; border-bottom:1px solid var(--line); margin-bottom:16px; }
nav.top .sp { flex:1; }
h1 { font-size:28px; margin:8px 0 4px; line-height:1.15; }
h2 { font-size:21px; margin:34px 0 8px; padding-bottom:4px; border-bottom:2px solid var(--ink); }
.lead { color:var(--muted); margin:0 0 12px; }
.meta { display:flex; flex-wrap:wrap; gap:8px 22px; align-items:center; margin:10px 0 6px; }
.meta b { font-size:20px; }
button, .btn { font:inherit; border:1px solid var(--ink); background:#fff; color:var(--ink); border-radius:8px; padding:6px 14px; cursor:pointer; text-decoration:none; display:inline-block; }
button:hover, .btn:hover { background:var(--ink); color:#fff; }
.minimap { width:180px; height:auto; border:1px solid var(--line); border-radius:6px; background:#f1f5f0; }
.tip { background:#fff7e8; border:1px solid #f0d9a8; border-radius:8px; padding:8px 12px; font-size:14px; margin:12px 0; }

table.sort { width:100%; border-collapse:collapse; margin-top:6px; }
table.sort th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:var(--muted); padding:4px 8px; border-bottom:1px solid var(--ink); }
table.sort td { padding:5px 8px; border-bottom:1px solid var(--line); vertical-align:middle; }
table.sort tr.grp td { background:var(--card); font-weight:600; padding:4px 8px; }
table.sort img { width:72px; height:54px; object-fit:contain; display:block; }
table.sort .q { font-size:20px; font-weight:700; text-align:right; white-space:nowrap; }
table.sort .code { color:var(--muted); font-size:12px; }
.sw { display:inline-block; width:14px; height:14px; border-radius:3px; border:1px solid #0006; vertical-align:-2px; margin-right:6px; }
input[type=checkbox] { width:20px; height:20px; accent-color:var(--accent); }

article.step { border:1px solid var(--line); border-radius:12px; margin:18px 0; padding:12px 14px; background:#fff; break-inside:avoid; page-break-inside:avoid; }
article.step.is-done { opacity:.55; }
article.step > header { display:flex; align-items:center; gap:12px; }
article.step .num { background:var(--ink); color:#fff; font-weight:700; font-size:18px; min-width:40px; text-align:center; border-radius:8px; padding:2px 8px; }
article.step h3 { margin:0; font-size:17px; flex:1; }
article.step h3 small { font-weight:400; color:var(--muted); margin-left:8px; }
article.step label.tick { font-size:14px; color:var(--muted); display:flex; gap:6px; align-items:center; cursor:pointer; }
.bar { height:5px; background:var(--line); border-radius:3px; margin:8px 0 10px; overflow:hidden; }
.bar i { display:block; height:100%; background:var(--accent); }
.step .main { margin:0; }
.step figure { margin:0; }
.step figure img { width:100%; height:auto; display:block; border:1px solid var(--line); border-radius:8px; background:#fff; }
.step figcaption { font-size:12px; color:var(--muted); margin:3px 2px 0; text-transform:uppercase; letter-spacing:.04em; }
article.step { display:grid; grid-template-columns:var(--c1,40%) minmax(0,1fr); gap:10px 12px; align-items:start;
  grid-template-areas:"hd hd" "br br" "mn mn" "ov pl" "sd sd"; }
article.step.pw { grid-template-areas:"hd hd" "br br" "mn mn" "ov sd" "pl pl"; }
article.step.tall { --c1:30%; }
article.step > header { grid-area:hd; } article.step > .bar { grid-area:br; margin:0; } article.step > .main { grid-area:mn; }
article.step > .ov { grid-area:ov; text-align:center; } article.step > .pl { grid-area:pl; } article.step > .side { grid-area:sd; }
article.step > .ov img { max-width:100%; }
.stats { font-size:13px; color:var(--muted); margin:6px 0 0; }
svg.plan { width:100%; height:auto; display:block; background:#fff; border:1px solid var(--line); border-radius:8px; max-height:560px; }
svg.plan .tick { font-family:sans-serif; fill:#4d5967; }
svg.plan .lab { font-family:sans-serif; font-weight:700; fill:#0b1b2b; pointer-events:none; }
svg.plan .lab.lite { fill:#fff; }
.note { margin:8px 0 0; font-size:14px; color:#7a3b0f; }
ul.need { list-style:none; margin:10px 0 0; padding:0; display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:6px 12px; }
ul.need li { display:flex; align-items:center; gap:8px; font-size:14px; line-height:1.25; }
ul.need img { width:64px; height:48px; object-fit:contain; flex:none; }
ul.need b { font-size:17px; }
.legend { font-size:12px; color:var(--muted); margin-top:4px; }
.sections { list-style:none; padding:0; margin:12px 0; display:grid; gap:10px; }
.sections li { border:1px solid var(--line); border-radius:12px; padding:12px 14px; display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.sections li a.t { font-weight:700; font-size:18px; text-decoration:none; }
.sections .pill { margin-left:auto; color:var(--muted); font-size:14px; }
.sections .pr { flex-basis:100%; }

@media (max-width:700px) { article.step, article.step.pw { grid-template-columns:1fr; grid-template-areas:"hd" "br" "mn" "ov" "pl" "sd"; } }
@media print {
  /* each step is one full Letter sheet: big close-up, whole model so far, plan, parts list */
  @page { size:letter portrait; margin:0.3in; }
  html { font-size:10.5pt; }
  body { max-width:none; padding:0; }
  nav.top, .noprint, .bar { display:none !important; }
  h1 { font-size:22pt; }
  h2 { break-after:avoid; font-size:15pt; margin:10pt 0 6pt; }
  .sortsec { break-after:page; }
  h2.stepsh { display:none; }
  a { color:inherit; text-decoration:none; }
  .tip { font-size:9.5pt; padding:5px 9px; margin:6px 0; }
  .meta .minimap { width:130px; }
  table.sort tr { break-inside:avoid; }
  table.sort td { padding:2px 6px; font-size:10pt; }
  table.sort td .code { font-size:8pt; }
  table.sort img { width:50px; height:38px; }
  table.sort .q { font-size:13pt; }
  table.sort td:nth-child(3) { white-space:nowrap; }
  article.step { border:none; border-radius:0; padding:0; margin:0; height:10.4in; overflow:hidden; break-after:page; break-inside:avoid;
    --c1:3.85in; grid-template-columns:var(--c1) minmax(0,1fr); gap:0.07in 0.12in; grid-template-rows:auto 0 auto auto auto; align-content:start; }
  article.step.tall { --c1:2.8in; }
  article.step:last-of-type { break-after:auto; }
  article.step.is-done { opacity:1; }
  article.step > header { border-bottom:2px solid var(--ink); padding-bottom:3pt; }
  article.step .num { font-size:16pt; min-width:36pt; }
  article.step h3 { font-size:14pt; }
  article.step h3 small { font-size:10pt; }
  .step .main img { width:100%; height:auto; border-color:#888; border-radius:0; }
  .step .ov img { height:3.0in; width:auto; max-width:none; border-color:#888; border-radius:0; }
  .step .pl svg.plan { width:100%; height:3.0in; max-height:none; border-color:#888; border-radius:0; }
  article.step.pw .pl svg.plan { height:1.75in; }
  .step figcaption { font-size:8pt; margin:1px 0 1px; }
  .stats { font-size:9pt; margin:0 0 2pt; }
  .note { font-size:9.5pt; margin:0 0 2pt; }
  ul.need { grid-template-columns:repeat(4,1fr); gap:3px 8px; margin:2pt 0 0; }
  article.step.pw ul.need { grid-template-columns:repeat(2,1fr); gap:4px 8px; }
  ul.need li { font-size:8.5pt; gap:5px; line-height:1.15; }
  ul.need img { width:0.52in; height:0.39in; }
  ul.need b { font-size:11pt; }
}
