/* oilandgasestimating.com — single stylesheet, no external assets */
:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #5a6270;
  --line: #e2e5ea;
  --soft: #f5f6f8;
  --accent: #1946ff;
  --note-bg: #fff8e6;
  --note-line: #f0d48a;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --text: #e8eaee;
    --muted: #a3aab6;
    --line: #2a2e36;
    --soft: #1a1d23;
    --accent: #8cadff;
    --note-bg: #2a2414;
    --note-line: #6b5a26;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
.disclosure {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.6rem 16px;
  text-align: center;
}
.disclosure strong { color: var(--text); }
header.site, main, footer.site {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}
header.site {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
header.site .brand { font-weight: 700; color: var(--text); text-decoration: none; }
header.site nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.9rem; }
main { padding-top: 2rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.75rem; letter-spacing: -0.01em; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 1.75rem 0 0.5rem; }
.meta { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.answer {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  padding: 1rem 1.25rem;
  margin: 0 0 2rem;
}
.answer p:first-child { margin-top: 0; }
.answer p:last-child, .answer ul:last-child { margin-bottom: 0; }
.note {
  background: var(--note-bg);
  border: 1px solid var(--note-line);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}
.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--line); }
th { background: var(--soft); font-weight: 600; }
.toc { font-size: 0.95rem; }
.toc ol { padding-left: 1.25rem; }
.sources { font-size: 0.9rem; }
.sources li { margin-bottom: 0.35rem; word-break: break-word; }
footer.site {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}
footer.site strong { color: var(--text); }
@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  th, td { padding: 0.45rem 0.4rem; }
}
