/* ==========================================================================
   E-invoicing content: a clean base inside <main class="ei-body">
   The e-invoicing sections are drawn on the browser's default element styles.
   The page that hosts them (/uae-e-invoicing) loads Bootstrap for the shared
   header and footer, and Bootstrap's reboot restyles every
   h1–h6, p, a, button, list… on the page. This puts those elements back to the
   browser defaults inside the e-invoicing content only.

   Loaded after Bootstrap and before books-v4.css / einvoicing-v1.css, at the
   lowest specificity that still beats Bootstrap's element rules — so every
   e-invoicing component rule still wins, and the header/footer are untouched.
   ========================================================================== */

:where(.ei-body) :is(h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, dl, dt, dd, figure, blockquote, hr,
  small, strong, b, em, mark, sub, sup, code, label, button, input, select, textarea, table, caption, th, td, legend, fieldset, summary, details) {
  all: revert;
}
/* img/svg: only the property Bootstrap changes (all: revert would also drop their
   width/height attributes, which the browser treats as author styles) */
:where(.ei-body) :is(img, svg) { vertical-align: revert; }

/* Bootstrap's reboot also sets these with a little more specificity */
:where(.ei-body) a:is(:hover) { color: revert; text-decoration: revert; }
:where(.ei-body) :is(button, [type="button"], [type="submit"], [type="reset"]):is(:not(:disabled)) { cursor: revert; }

/* Bootstrap makes every box border-box; the design keeps the browser default */
:where(.ei-body), :where(.ei-body) :is(*, ::before, ::after) { box-sizing: revert; }

/* the host page's body type features (e.g. Inter's alternate glyphs) don't carry into the content */
:where(.ei-body) { font-feature-settings: normal; }
