/* ZEN — assembly guide page styles (rides on e24.css + zen.css + zen-firmware.css) */

/* phase intro lead */
.fw-sec > .wrap > .ho-lead { color: var(--ink-2); font-size: 17px; line-height: 1.9; max-width: 70ch; }

/* parts chips */
.ho-parts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ho-parts li {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 15px; font-weight: 700; color: var(--ink);
}
.ho-parts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* step list */
.ho-steps { margin-top: 8px; counter-reset: hostep; }
.ho-step {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(22px, 4vw, 56px);
  align-items: start; padding: clamp(30px, 4.5vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}
.ho-step:first-child { padding-top: clamp(20px, 3vw, 32px); }
.ho-step:last-child { border-bottom: none; }
.ho-step.start-offset { counter-set: hostep var(--start); }

.ho-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ho-n {
  font-family: var(--font-mono); font-weight: 700; font-size: 15px; color: #fff;
  background: var(--accent); width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; flex: none;
}
.ho-head h3 { font-size: clamp(19px, 2.3vw, 25px); margin: 0; line-height: 1.3; letter-spacing: -.01em; word-break: auto-phrase; }
.ho-step .ho-body > p { color: var(--ink-2); font-size: 16.5px; line-height: 1.85; margin: 0; word-break: auto-phrase; }

.ho-note {
  display: flex; gap: 8px; margin-top: 16px; padding: 14px 16px;
  background: var(--paper-3); border-left: 3px solid var(--accent); border-radius: var(--r-md);
  font-size: 14.5px; line-height: 1.8; color: var(--ink-2); word-break: auto-phrase;
}
.ho-note::before { content: "※"; color: var(--accent); font-weight: 700; flex: none; }

/* figures column (reuses .fw-fig look + lightbox; stacked) */
.ho-figs { display: grid; gap: 14px; }
.ho-figs .fw-fig { margin: 0; }

@media (max-width: 820px){
  .ho-step { grid-template-columns: 1fr; gap: 22px; }
}

/* troubleshooting: reattach steps with figures */
.ho-trouble-steps { list-style: none; padding: 0; margin: 4px 0 0; counter-reset: tstep; max-width: 72ch; }
.ho-trouble-steps li {
  position: relative; padding: 12px 0 12px 46px; color: var(--ink-2); font-size: 16.5px; line-height: 1.75;
  border-bottom: 1px solid var(--line-2); counter-increment: tstep; word-break: auto-phrase;
}
.ho-trouble-steps li:last-child { border-bottom: none; }
.ho-trouble-steps li::before {
  content: counter(tstep); position: absolute; left: 0; top: 11px;
  width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff;
  font-family: var(--font-mono); font-size: 13px; font-weight: 700; display: grid; place-items: center;
}
