/* Xagrose Pages: base styles. Everything else is inline in the page markup. */
body.xagrose-page { margin: 0; background: #F5F7F2; }
.xagrose-page *, .xagrose-page *::before, .xagrose-page *::after { box-sizing: border-box; }
.xagrose-page main { display: block; }
.xagrose-page a { color: #0B1220; }
.xagrose-page a:hover { color: #1E28A8; }
.xagrose-page img { max-width: 100%; }
.xagrose-page summary { cursor: pointer; list-style: none; }
.xagrose-page summary::-webkit-details-marker { display: none; }
.xagrose-page h1, .xagrose-page h2, .xagrose-page h3 { color: #0B1220; text-transform: none; }

/* Tabs on the deMulifier "What replaces what" table */
.xg-tab { background: transparent; color: #0B1220; border: 1px solid #A9B1A3; border-radius: 999px; padding: 0 18px; min-height: 44px; font: 500 14px 'IBM Plex Sans', sans-serif; cursor: pointer; }
.xg-tab[aria-pressed="true"] { background: #3A4AF5; color: #FFFFFF; border-color: #3A4AF5; font-weight: 600; }

/* Mapping tables */
.xg-map tbody th { padding: 16px 20px; text-align: left; font-weight: 500; border-bottom: 1px solid #E6EAE1; }
.xg-map tbody td { padding: 16px 20px; color: #3A4558; border-bottom: 1px solid #E6EAE1; }
.xg-map tbody tr:last-child th, .xg-map tbody tr:last-child td { border-bottom: 0; }

/* Savings estimator fields */
.xg-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; color: #0B1220; }
.xg-field input { min-height: 44px; width: 100%; border: 1px solid #A9B1A3; border-radius: 6px; padding: 0 12px; font: 500 16px 'IBM Plex Mono', monospace; color: #0B1220; background: #F5F7F2; }
.xg-field input:focus { outline: 2px solid #3A4AF5; outline-offset: 1px; }
.xg-field span { font-size: 12px; font-weight: 400; color: #4A5568; }

/* Insurance self-check */
.xg-check { width: 20px; height: 20px; accent-color: #3A4AF5; flex: none; }
