/* ============================================================
   guide.css — Guide & Updates (About) + the SOP Library's Pricing
   shelf. Scoped, additive, tokens only. v24 "Zen Desk".
   Needs a <link rel="stylesheet" href="css/guide.css"> in
   index.html <head> (index.html head is owned by the repo lead).
   ============================================================ */

.guide-ver {
  display: inline-block;
  margin-left: 8px;
  font-family: var(--mono, monospace);
  font-size: 11px;
  color: var(--muted);
}

/* ---- User guide: two-pane layout ---- */
.guide-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: var(--s-4, 16px);
  align-items: start;
}
@media (max-width: 760px) {
  .guide-layout { grid-template-columns: 1fr; }
}
.guide-nav {
  position: sticky;
  top: 8px;
  border-left: 3px solid var(--c-slate);
  background: color-mix(in srgb, var(--c-slate) 6%, var(--surface));
  border-radius: var(--r-md, 8px);
  padding: var(--s-2, 10px);
}
.guide-search { width: 100%; margin-bottom: 8px; }
.guide-seclist { display: flex; flex-direction: column; gap: 2px; max-height: 64vh; overflow: auto; }
.guide-secitem {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 8px; border-radius: var(--r-sm, 6px); border: none; background: transparent;
  text-align: left; font-size: var(--fs-sm, 13px); color: var(--ink); cursor: pointer;
}
.guide-secitem:hover { background: var(--surface-2); }
.guide-secitem.on { background: var(--navy); color: #fff; font-weight: 600; }
.guide-sec-ic { flex: 0 0 auto; }

.guide-body {
  border-left: 3px solid var(--c-navy, var(--navy));
  background: color-mix(in srgb, var(--navy) 5%, var(--surface));
  border-radius: var(--r-md, 8px);
  padding: var(--s-4, 16px) var(--s-5, 18px);
  min-height: 200px;
}
.guide-body h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; }
.guide-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; }
.guide-steps li { font-size: var(--fs-sm, 13.5px); line-height: var(--lh-normal, 1.5); }
.guide-steps b { color: var(--ink); }

/* ---- Build log ---- */
.guide-rel { border-left: 3px solid var(--c-teal); margin-bottom: 12px; }
.guide-rel-h { display: flex; align-items: center; gap: 10px; }
.guide-rel-v { font-family: var(--mono, monospace); }
.guide-rel-d { color: var(--muted); font-size: var(--fs-xs, 12px); }
.guide-rel-t { font-weight: 600; margin: 6px 0 6px; }
.guide-rel-items { margin: 8px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.guide-rel-items li { font-size: var(--fs-sm, 13px); }
.guide-rel-items li span { display: block; color: var(--muted); }
.guide-acked { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs, 12px); color: var(--good, var(--c-green)); }

/* ---- SOP Library: Pricing & Verticals shelf mount ---- */
#sopPricingMount .view-head { margin-top: 0; }
