/* ==========================================================================
   Article styles — AI Solutions Engineer cost guide
   The imported body uses bare <table> elements and two callout classes.
   Loaded after platform.css, so it inherits the light platform palette.
   ========================================================================== */

/* --- prose rhythm --- */
.article-prose { font-size: 1.05rem; line-height: 1.75; color: var(--p-on-light-dim, #57536B); }
.article-prose h2 { margin: 3rem 0 1.1rem; }
.article-prose h3 { margin: 2.2rem 0 0.8rem; font-size: 1.35rem !important; color: var(--p-on-light, #14121A) !important; }
.article-prose p { margin: 0 0 1.15rem; }
.article-prose strong { color: var(--p-on-light, #14121A); font-weight: 650; }
.article-prose em { font-style: italic; }
.article-prose ul { margin: 0 0 1.4rem; padding-left: 1.15rem; }
.article-prose li { margin-bottom: 0.7rem; padding-left: 0.25rem; }
.article-prose li::marker { color: var(--p-accent-text, #3F6212); }

/* --- tables: 4 columns need to survive a phone --- */
.article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0 2.2rem;
  font-size: 0.93rem;
  background: #fff;
  border: 1px solid rgba(20,18,26,0.09);
  border-radius: 14px;
  overflow: hidden;
}
.article-prose thead { background: var(--p-dark, #14121A); }
.article-prose th {
  padding: 13px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--p-on-dark, #EDEBF2);
  white-space: nowrap;
}
.article-prose td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(20,18,26,0.07);
  color: var(--p-on-light-dim, #57536B);
  line-height: 1.55;
  vertical-align: top;
}
.article-prose td strong { color: var(--p-on-light, #14121A); }
.article-prose tbody tr:last-child td { border-bottom: none; }
.article-prose tbody tr:hover { background: rgba(63,98,18,0.03); }
/* rowspan cells act as function labels in the agent roster */
.article-prose td[rowspan] {
  font-weight: 650;
  color: var(--p-on-light, #14121A);
  background: rgba(63,98,18,0.045);
  border-right: 1px solid rgba(20,18,26,0.07);
  white-space: nowrap;
}

/* Wide tables scroll inside their own container rather than the page */
.article-prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6rem 0 2.2rem; }
.article-prose .table-scroll table { margin: 0; min-width: 560px; }

/* --- callouts --- */
.zt-callout {
  background: rgba(63,98,18,0.055);
  border: 1px solid rgba(63,98,18,0.18);
  border-radius: 16px;
  padding: 22px 26px;
  margin: 1.8rem 0 2rem;
}
.zt-callout p:last-child, .zt-callout ul:last-child { margin-bottom: 0; }
.zt-callout strong { color: var(--p-accent-text, #3F6212); }

.zt-methodology {
  background: rgba(20,18,26,0.035);
  border: 1px solid rgba(20,18,26,0.08);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 2.4rem 0 1rem;
  font-size: 0.88rem;
  line-height: 1.65;
}
.zt-methodology p { margin-bottom: 0.7rem; }
.zt-methodology p:last-child { margin-bottom: 0; }
.zt-methodology strong { display: block; margin-bottom: 0.5rem; color: var(--p-on-light, #14121A); }

@media (max-width: 640px) {
  .article-prose { font-size: 1rem; }
  .article-prose table { font-size: 0.86rem; }
  .article-prose th, .article-prose td { padding: 10px 12px; }
}
