/* ---------- ArbitrageShark Docs Styles v1.0.4 (scoped) ---------- */
body[data-arbs-howto="1"] .entry-content h2,
body[data-arbs-howto="1"] .entry-content h3 {
  color:#0f172a !important;
  font-weight:800 !important;
}

/* Base card */
body[data-arbs-howto="1"] .entry-content .doc-card,
body[data-arbs-howto="1"] .entry-content .calc,
body[data-arbs-howto="1"] .entry-content .callout,
body[data-arbs-howto="1"] .entry-content .example,
body[data-arbs-howto="1"] .entry-content .note {
  background:#f8fafc !important;
  border:2px solid #475569 !important;
  color:#0b1220 !important;
  border-radius:12px !important;
  padding:14px 16px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.05) !important;
  margin:14px 0 !important;
  opacity:1 !important;
}
/* Ensure ALL nested text becomes readable (keep links styled) */
body[data-arbs-howto="1"] .entry-content .example *:not(a):not(code),
body[data-arbs-howto="1"] .entry-content .doc-card *:not(a):not(code) {
  color:#0b1220 !important;
  opacity:1 !important;
}
/* Links inside boxes */
body[data-arbs-howto="1"] .entry-content .example a,
body[data-arbs-howto="1"] .entry-content .doc-card a {
  color:#0f172a !important;
  text-decoration:underline !important;
  text-underline-offset:2px !important;
}

/* Formula emphasis */
body[data-arbs-howto="1"] .entry-content .formula,
body[data-arbs-howto="1"] .entry-content .formula-box,
body[data-arbs-howto="1"] .entry-content .equation,
body[data-arbs-howto="1"] .entry-content .gross,
body[data-arbs-howto="1"] .entry-content .gross-net,
body[data-arbs-howto="1"] .entry-content .net-box,
body[data-arbs-howto="1"] .entry-content .math {
  background:#f8fafc !important;
  border:2px solid #475569 !important;
  color:#0b1220 !important;
  border-radius:12px !important;
  padding:14px 16px !important;
  box-shadow:0 10px 24px rgba(0,0,0,.05) !important;
}

/* Fallbacks for unclassified blocks under target sections */
body[data-arbs-howto="1"] .entry-content .columns-calculations > div,
body[data-arbs-howto="1"] .entry-content .columns-calculations div:not([class]),
body[data-arbs-howto="1"] .entry-content .worked-examples > div,
body[data-arbs-howto="1"] .entry-content .worked-examples div:not([class]) {
  background:#f8fafc !important;
  border:2px solid #475569 !important;
  color:#0b1220 !important;
  border-radius:12px !important;
  padding:12px 14px !important;
  opacity:1 !important;
}

/* Tables */
body[data-arbs-howto="1"] .entry-content .doc-table,
body[data-arbs-howto="1"] .entry-content table {
  border:1.5px solid #cbd5e1 !important;
  border-radius:12px !important;
  border-collapse:separate !important;
  border-spacing:0 !important;
  overflow:hidden !important;
  width:100% !important;
}
body[data-arbs-howto="1"] .entry-content .doc-table thead th,
body[data-arbs-howto="1"] .entry-content table thead th {
  background:#111827 !important;
  color:#fff !important;
  font-weight:800 !important;
  padding:10px 12px !important;
  text-align:left !important;
  white-space:nowrap !important;
}
body[data-arbs-howto="1"] .entry-content .doc-table tbody td,
body[data-arbs-howto="1"] .entry-content table tbody td {
  color:#0f172a !important;
  border-bottom:1px solid #e5e7eb !important;
  padding:10px 12px !important;
}

/* Code blocks */
body[data-arbs-howto="1"] .entry-content code {
  background:#0b1220 !important;
  color:#e5e7eb !important;
  padding:.15em .35em !important;
  border-radius:6px !important;
  font-weight:600 !important;
}
body[data-arbs-howto="1"] .entry-content pre {
  background:#0b1220 !important;
  color:#e5e7eb !important;
  border-radius:12px !important;
  padding:14px !important;
  overflow:auto !important;
  border:1.5px solid #1f2937 !important;
}
