/* Task guides: reuse the site's ocean/coral palette with readable article rhythm. */
.task-guide main { padding-bottom: 48px; }
.task-guide main > .section { padding: 14px 20px; }
.task-guide main > .section > .container {
  max-width: 960px !important;
  padding: 32px 40px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}
.task-guide main > .section:first-child {
  padding: 44px 20px 36px;
  border-bottom: 1px solid #c9e1eb;
}
.task-guide main > .section:first-child > .container {
  padding: 0;
  background: transparent;
  border: 0;
}
.task-guide .guide-breadcrumb { font-size: .85rem; color: var(--color-text-light); }
.task-guide .eyebrow {
  margin: 20px 0 12px;
  color: var(--color-primary);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.task-guide h1 { max-width: 25ch; font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--color-primary-dark); }
.task-guide .guide-intro { max-width: 72ch; margin: 20px 0 24px; font-size: 1.1rem; line-height: 1.75; }
.task-guide main h2 { margin-bottom: 20px; color: var(--color-primary-dark); font-size: 1.5rem; }
.task-guide main h3 { margin: 24px 0 12px; }
.task-guide main p { margin-bottom: 16px; }
.task-guide main p:last-child { margin-bottom: 0; }
.task-guide main section[id] { scroll-margin-top: 92px; }
.task-guide .guide-toc { margin-top: 28px; padding-top: 20px; border-top: 1px solid #bdd9e5; }
.task-guide .guide-toc strong { display: block; margin-bottom: 10px; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.task-guide .guide-toc ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.task-guide .guide-toc a { display: inline-block; padding: 8px 12px; background: white; border: 1px solid #bdd9e5; border-radius: 6px; font-size: .85rem; color: var(--color-primary-dark); }
.task-guide .guide-toc a:hover { background: var(--color-primary); color: white; text-decoration: none; }
.task-guide main > figure { max-width: 960px !important; margin: 28px auto 14px !important; padding: 0 20px !important; }
.task-guide figcaption { padding: 12px 4px; color: var(--color-text-light); line-height: 1.6; }
.task-guide .guide-steps { list-style: none; counter-reset: guide-step; display: grid; gap: 12px; margin: 20px 0 24px; }
.task-guide .guide-steps > li { counter-increment: guide-step; position: relative; padding: 20px 20px 20px 72px; background: var(--color-foam); border: 1px solid #d4e7ee; border-radius: var(--radius-md); line-height: 1.75; }
.task-guide .guide-steps > li::before { content: counter(guide-step); position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; display: grid; place-items: center; color: white; background: var(--color-primary); font-weight: 700; border-radius: 50%; }
.task-guide main code { font-family: Consolas, monospace; font-size: .88em; background: #edf2f5; border: 1px solid #dbe4e9; border-radius: 4px; padding: 2px 5px; overflow-wrap: anywhere; }
.task-guide .route-table { min-width: 0; width: 100%; }
.task-guide .route-table td { overflow-wrap: anywhere; }
.task-guide .route-table tbody td:nth-child(2) { width: auto; white-space: normal; color: var(--color-text-light); }
.task-guide .route-table th, .task-guide .route-table td { padding: 16px; }
.task-guide .route-table tbody tr:nth-child(even) { background: #f5f9fb; }
.task-guide main > .section:last-child > .container { border-left: 4px solid var(--color-accent); background: var(--color-sand); }
@media (max-width: 600px) {
  .task-guide .header-brand-badge { display: none; }
  .task-guide .header-brand-text { font-size: .9rem; }
  .task-guide main > .section { padding: 10px 14px; }
  .task-guide main > .section > .container { padding: 24px 20px; }
  .task-guide main > .section:first-child { padding: 28px 20px; }
  .task-guide main > figure { padding: 0 14px !important; }
  .task-guide main h2 { font-size: 1.3rem; }
  .task-guide .guide-steps > li { padding: 16px 14px 16px 54px; }
  .task-guide .guide-steps > li::before { top: 18px; left: 12px; width: 28px; height: 28px; }
  .task-guide .route-table th, .task-guide .route-table td { padding: 12px 9px; font-size: .8rem; }
}
