/* How It Works: the Inbox guide (hubguide.js + howitworks.js). Everything is scoped to .hw, so no other page changes. */
.hw .hw-def { display: grid; grid-template-columns: minmax(120px, 190px) 1fr; gap: 12px 18px; margin: 6px 0 0; }
.hw .hw-def dt { font-weight: 700; font-size: 13.5px; color: var(--text); line-height: 1.45; }
.hw .hw-def dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.hw .hw-def dd b { color: var(--text); font-weight: 600; }
.hw .hw-group { margin-top: 18px; }
.hw .hw-group:first-of-type { margin-top: 10px; }
.hw .hw-group > h3 { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--muted); }
.hw .hw-group > h3 span { margin-left: 8px; font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 13px; }
.hw .hw-card { border-top: 1px solid var(--line); padding: 12px 0 4px; margin-top: 8px; }
.hw .hw-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 6px; }
.hw .hw-name b { font-size: 15px; }
.hw .hw-name .muted { font-size: 13px; }
.hw .hw-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--tone, var(--gray)); flex: none; }
.hw .hw-dot.tone-red { --tone: #ff3b4e; }
.hw .hw-dot.tone-amber { --tone: #fbbf24; }
.hw .hw-dot.tone-green { --tone: #34d399; }
.hw .hw-dot.tone-violet { --tone: #9b93f5; }
.hw .hw-dot.tone-steel { --tone: #8cb4d6; }
.hw .hw-dot.tone-gray { --tone: #9aa3b2; }
.hw .hw-line { display: grid; grid-template-columns: 130px 1fr; gap: 4px 14px; margin: 6px 0 10px; font-size: 13.5px; line-height: 1.6; }
.hw .hw-k { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .4px; padding-top: 1px; }
.hw ul.hw-list { margin: 8px 0 0 18px; }
.hw ul.hw-list li { margin-bottom: 6px; line-height: 1.55; font-size: 13.5px; }
.hw .hw-open { margin-top: 12px; }
.hw .card h2 .tag, .hw .chip { font-size: 12px; }
@media (max-width: 600px) {
  .hw .hw-def, .hw .hw-line { grid-template-columns: 1fr; gap: 2px; }
  .hw .hw-def dd { margin-bottom: 10px; }
  .hw .hw-line { margin: 4px 0 10px; }
}

/* Your path (How It Works, 11 Nov): four numbered steps for a new setter. Reuses the card, tag, button and text colors of this page; no new colors. */
.hw-path .hw-path-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.hw-path .hw-path-head h2 { margin: 0; }
.hw-path-steps, .hw-batch-steps, .hw-follow-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; }
.hw-path-step, .hw-batch-step, .hw-follow-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.hw-path-step:first-child, .hw-batch-step:first-child, .hw-follow-step:first-child { border-top: 0; padding-top: 4px; }
.hw-path-step .hw-n, .hw-batch-step .hw-n, .hw-follow-step .hw-n { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.hw-path-step h3, .hw-batch-step h3, .hw-follow-step h3 { margin: 0 0 6px; font-size: 15px; }
.hw-path-step p, .hw-batch-step p, .hw-follow-step p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.hw-path-step p b, .hw-batch-step p b, .hw-follow-step p b { color: var(--text); font-weight: 600; }
.hw-path-step p.hw-live, .hw-batch-step p.hw-copied { color: var(--text); }
.hw-batch .hw-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hw-batch .hw-copied { margin: 10px 0 0; }
/* the stop rules: the same plain outline as the journey chips, no new color (red is kept for what needs a manager) */
.hw-batch .hw-stop { margin: 4px 0 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; }
.hw-batch .hw-stop h3 { margin: 0 0 6px; font-size: 14px; }
.hw-batch .hw-stop ul { margin: 0 0 0 18px; padding: 0; }
.hw-batch .hw-stop li { font-size: 13.5px; line-height: 1.6; color: var(--muted); margin-bottom: 2px; }
.hw-journey { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 2px 0 12px; padding: 0 0 0 4px; }
.hw-journey span { font-size: 12px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--text); position: relative; }
.hw-journey span:not(:last-child)::after { content: "\2192"; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.hw-path .hw-def { display: grid; grid-template-columns: minmax(120px, 170px) 1fr; gap: 8px 16px; margin: 4px 0 12px; }
.hw-path .hw-def dt { font-weight: 700; font-size: 13.5px; color: var(--text); }
.hw-path .hw-def dd { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.55; }
@media (max-width: 600px) {
  .hw-path-step, .hw-batch-step, .hw-follow-step { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .hw-path .hw-def { grid-template-columns: 1fr; gap: 1px; }
  .hw-path .hw-def dd { margin-bottom: 8px; }
  .hw-path .btn { min-height: 44px; }
}
