/* Shared by the /guide pages, on top of site.css.
 *
 * Tables and breadcrumbs appear on most guides; the rest of the styling comes
 * from site.css. Loaded as a second stylesheet rather than inlined per page so
 * the guides cannot drift apart from each other.
 */

.crumbs {
  font-size: 13px;
  color: var(--dim);
  margin: -14px 0 16px;
  text-align: center;
}
.crumbs a { color: var(--dim); text-decoration: none; }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs span { color: var(--text); }

.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 14px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 480px; }
th, td {
  text-align: left; padding: 10px 12px;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
th {
  color: var(--dim); font-weight: 600; font-size: 12.5px;
  text-transform: uppercase; letter-spacing: 0.4px;
}
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td code { font-size: 12.5px; color: var(--accent); }

.related { display: grid; gap: 8px; margin-top: 10px; }
.related a { font-weight: 600; }

.cta { text-align: center; padding: 30px 24px; }
.cta p { color: var(--dim); max-width: 46ch; margin: 0 auto 20px; }

/* Guide hub */
.guide-list { display: grid; gap: 12px; margin-top: 18px; }
.guide-item {
  display: block; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px;
  background: rgba(255, 255, 255, 0.015);
}
.guide-item:hover { border-color: var(--accent); }
.guide-item b { display: block; font-size: 16px; margin-bottom: 3px; }
.guide-item span { color: var(--dim); font-size: 14.5px; line-height: 1.5; }
.group-label {
  font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.1px;
  color: var(--accent); font-weight: 600; margin: 30px 0 2px;
}
.group-label:first-of-type { margin-top: 20px; }
