/* Shared styles for Tekdetek written publisher pages (AdSense-safe, no app shell). */
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  max-width: 46rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 3rem;
  color: #111827;
  background: #fff;
}
h1 { font-size: 1.65rem; line-height: 1.25; margin-top: 0; }
h2 { font-size: 1.2rem; margin: 2rem 0 0.75rem; border-bottom: 1px solid #e5e7eb; padding-bottom: 0.35rem; }
h3 { font-size: 1.05rem; margin: 1.25rem 0 0.5rem; }
p { margin: 0.75rem 0; }
ul, ol { margin: 0.5rem 0 0.75rem 1.25rem; }
li { margin: 0.35rem 0; }
a { color: #1d4ed8; }
.nav { margin-bottom: 0.75rem; font-size: 0.95rem; }
.docs-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  font-size: 0.88rem;
}
.docs-nav a { font-weight: 600; text-decoration: none; }
.docs-nav a[aria-current="page"] { color: #111827; text-decoration: underline; }
.note {
  background: #f3f4f6;
  border-left: 4px solid #6b7280;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
  font-size: 0.95rem;
}
figure {
  margin: 1.25rem 0;
  padding: 0;
}
figure img, figure svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #f9fafb;
}
figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: #4b5563;
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 1rem 0; }
.steps li {
  counter-increment: step;
  margin: 0.85rem 0;
  padding-left: 2.25rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5rem;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}
th, td {
  border: 1px solid #e5e7eb;
  padding: 0.45rem 0.55rem;
  text-align: left;
  vertical-align: top;
}
th { background: #f3f4f6; }
.ad-slot { margin: 1.5rem 0; min-height: 90px; }
