/* CLEAR DAY overrides, loaded last in <head> (12.11.2026).
   Page-level <style> blocks were written for CHART DATUM (ruled rows, mono caps).
   These rules turn their recurring parts into the app's plates. Same-or-higher
   specificity than the page rules, so load order decides. Tokens only. */

/* ---- direct-answer blocks: one white plate under the headline ---------- */
[class$="-answer"], [class*="-answer "], .answer-box {
  border: 0 !important; background: var(--plate); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 1.25rem clamp(1.1rem, 3vw, 1.6rem) 1.35rem !important;
}
[class$="-answer"] + .ai-strip, [class*="-answer "] + .ai-strip { border-top: 0; margin-top: 1rem; }
.article-body [class*="answer-actions"] a.btn, .article-body .answer-cta a.btn { border-bottom: 0; }
.article-body .answer-cta { padding-left: 0; }

/* ---- small labels: sentence case, readable size ----------------------- */
[class$="-eyebrow"] { color: var(--cobalt-ink); font-weight: 560; font-size: 14px !important; }
[class$="-crumbs"] { font-size: 13.5px !important; color: var(--ink-3); }
[class$="-crumbs"] a { color: var(--ink-soft); }
[class$="-crumbs"] a:hover { color: var(--cobalt-ink); }

/* ---- tables: a plate with a quiet head ------------------------------- */
.fm-table-wrap, [class$="-tbl-wrap"] {
  background: var(--plate); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .3rem clamp(.7rem, 2vw, 1.1rem); border-top: 0 !important;
}
.article-body table:not(.compare-table) th { color: var(--ink-soft); font-weight: 600; }
.article-body table:not(.compare-table) td, .article-body table:not(.compare-table) th { border-color: var(--line); }

/* ---- calculators and figure plates ----------------------------------- */
[class$="-calc"], .calc, [class$="-chat"], .fx-plate {
  background: var(--plate); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 0 !important; padding-inline: clamp(1rem, 3vw, 1.6rem) !important;
}
.calc-out { border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--tint) !important; border-top: 0 !important; }
.calc-head { border-bottom-color: var(--line) !important; }
input[type="number"], input[type="text"], input[type="email"], select { border-radius: var(--radius-ctl); }
input[type="range"] { accent-color: var(--cobalt); }

/* ---- ruled lists keep their rows, on hairlines --------------------------- */
[class$="-rule"] { background: var(--line) !important; height: 1px !important; }

/* ---- figures inside articles float like the hero plate --------------- */
.article-body figure img, .article-body picture img { border-radius: var(--radius-lg); }

/* ---- links inside running text --------------------------------------- */
.faq-body a { color: var(--cobalt-ink); border-bottom-color: rgba(43,80,240,.35) !important; }

/* ---- text inside the solid cobalt plan card ------------------------- */
.pricing-card.popular p[style], .pricing-card.popular [style*="ink-soft"] { color: rgba(254,254,255,.86) !important; }

/* landing figures: floating plates like the hero art */
figure[class$="-fig"] img { border: 0 !important; border-radius: var(--radius-lg, 24px); box-shadow: var(--shadow-up); background: var(--plate); }
figure[class$="-fig"] figcaption { font-family: var(--body); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink-3); margin-top: .7rem; }
.article-tag, .section-label, [class$="-chip"] { justify-self: start; align-self: start; width: fit-content; max-width: 100%; }
