/* The tools guide's own additions over the shared site.css: the icon strip, the
   fact row under each title, screenshot frames and their placeholders. */

.hero { display: flex; gap: 18px; align-items: flex-start; }
.hero-icon { width: 64px; height: 64px; flex: none; margin-top: 6px; image-rendering: auto; }
.hero h1 { margin-top: 0; }

.facts {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 26px;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px;
  background: var(--surface-2); font-size: 13px;
}
.fact { display: flex; flex-direction: column; gap: 2px; min-width: 120px; }
.fact-k { font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.fact-v { color: var(--ink); }
.fact-v kbd { font-size: 12px; }

.tool-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px; margin: 14px 0 34px;
}
.tool-card {
  display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto;
  column-gap: 12px; align-items: start; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 8px; text-decoration: none;
  background: var(--surface); color: var(--ink);
}
.tool-card:hover { border-color: var(--accent); }
.tool-card img, .tool-card .no-icon { grid-row: 1 / span 2; width: 40px; height: 40px; }
.tool-card .c-t { font-weight: 600; font-size: 14px; }
.tool-card .c-d { color: var(--muted); font-size: 12.5px; line-height: 1.4; }
.panel-lead { color: var(--muted); margin-top: -6px; }

.pages .nav-icon {
  display: inline-block; width: 16px; height: 16px; margin-right: 8px;
  vertical-align: -3px;
}

figure.shot { margin: 18px 0 22px; }
figure.shot img {
  display: block; max-width: 100%; border: 1px solid var(--line); border-radius: 6px;
}
figure.shot.wide img { max-width: none; width: 100%; }
figure.shot figcaption { font-size: 12.5px; color: var(--muted); margin-top: 8px; line-height: 1.45; }
.shot-box {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 150px; border: 1px dashed var(--line); border-radius: 6px;
  background: var(--surface-2); color: var(--muted);
}
.shot-label { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.shot-name { font-family: var(--mono); font-size: 12px; }

.steps { counter-reset: step; padding-left: 0; list-style: none; }
.steps li { position: relative; padding-left: 36px; margin: 10px 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 12px;
  background: var(--accent-wash); color: var(--accent); font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

.side-link { font-size: 11.5px; color: var(--muted); text-decoration: none; }
.side-link:hover { color: var(--ink); }

@media (max-width: 640px) {
  .hero { flex-direction: column; gap: 8px; }
  .hero-icon { width: 48px; height: 48px; }
}
