/* Reading and support pages. All interactive product and payment screens have their own styles. */
:root {
  color-scheme: light;
  --cream: #fffbf5;
  --ink: #103f48;
  --action: #006c70;
  --accent: #97431f;
  --subtle: #405c62;
  --rule: #b9ccca;
  --paper: #ffffff;
  --tint: #d6f2eb;
  --apricot: #ffb487;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body.reader {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 1.125rem/1.65 var(--sans);
  font-variant-numeric: lining-nums tabular-nums;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.reader a { color: var(--action); text-decoration-thickness: .09em; text-underline-offset: .2em; }
.reader a:hover { text-decoration-thickness: .14em; }
.reader :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.reader [hidden] { display: none !important; }
.reader .skip { position: absolute; top: .4rem; left: .5rem; z-index: 10; background: white; padding: .7rem 1rem; transform: translateY(-160%); }
.reader .skip:focus { transform: none; }
.reader-header { border-bottom: 1px solid var(--rule); }
.reader-bar, .reader-footer-grid, .reader main {
  width: min(71rem, calc(100% - clamp(2rem, 9vw, 8rem)));
  margin-inline: auto;
}
.reader-bar { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.reader-bar img, .reader-maker img { display: block; width: clamp(9.3rem, 17vw, 12.8rem); height: auto; }
.reader-bar nav, .reader-social { display: flex; flex-wrap: wrap; gap: clamp(.7rem, 2.3vw, 2rem); align-items: center; }
.reader-bar nav a { display: inline-flex; align-items: center; min-height: 3rem; padding-block: .65rem; text-decoration: underline; font-size: 1rem; font-weight: 600; }
.reader-bar nav [aria-current=page] { color: var(--ink); text-decoration-thickness: 2px; }
.reader-bar nav a.nav-primary { color: white; text-decoration: none; }
.reader .nav-primary, .reader .button, .reader .checklist-action, .reader .checklist-actions button, .reader .guide-actions button {
  display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 3rem; max-width: 100%; padding: .65rem 1.15rem;
  border: 1px solid var(--action); border-radius: .75rem; background: var(--action); color: #fff;
  font: 650 1rem/1.45 var(--sans);
  text-align: center; text-decoration: none; cursor: pointer;
}
.reader .checklist-actions .secondary, .reader .guide-actions button, .reader .button-light { background: transparent; color: var(--ink); }
.reader button:disabled { opacity: .6; cursor: wait; }
.reader main { padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem); }
.reader main:focus-visible { outline: 0; }
.reader main > .public-hero, .reader .checklist-hero, .reader .resource-hero, .reader .guide-hero {
  padding: 0 0 clamp(1.8rem, 5vw, 3.5rem);
}
.reader h1, .reader h2, .reader h3 { margin: 0; text-wrap: pretty; }
.reader h1, .reader main h2, .reader main h3 { font-family: var(--sans); font-weight: 650; }
.reader h1 { max-width: 19ch; font-size: clamp(2.45rem, 4.8vw, 4.5rem); line-height: 1.03; letter-spacing: -.046em; }
.reader main h2 { font-size: clamp(1.5rem, 2.4vw, 2.15rem); line-height: 1.16; letter-spacing: -.034em; }
.reader main h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); line-height: 1.26; letter-spacing: -.022em; }
.reader p, .reader ol, .reader ul, .reader blockquote, .reader dl { margin: 0 0 1rem; }
.reader h1 + p { margin-top: 1.25rem; }
.reader h2 + p, .reader h3 + p { margin-top: .8rem; }
.reader p:last-child, .reader ul:last-child { margin-bottom: 0; }
.reader .public-lead, .reader .resource-hero .lead, .reader .checklist-hero > p:first-of-type, .reader .guide-lead {
  max-width: 64ch; font-size: clamp(1.125rem, 1.5vw, 1.32rem); line-height: 1.55;
}
.reader .small-muted, .reader .checklist-small, .reader .guide-meta, .reader .guide-source-note { font-size: 1rem; color: var(--subtle); }
.reader .actions, .reader .guide-actions, .reader .checklist-contact-actions, .reader .checklist-actions {
  display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-items: center; margin-block: 1.2rem;
}
.reader :is(.nav-primary, .button, .checklist-action, .checklist-actions button):hover { background: var(--ink); border-color: var(--ink); color: white; }
.reader :is(.checklist-items label, .launch-consent, .guide-actions a, .resource-foot nav a, .reader-bar > a) { min-height: 3rem; }
.reader :is(.guide-actions a, .resource-foot nav a, .reader-bar > a) { display: inline-flex; align-items: center; }
.reader .resource-note > a, .reader .checklist-contact-actions a { display: inline-flex; align-items: center; min-height: 3rem; }
.reader main > .public-legal { max-width: 48rem; }
.reader .public-legal > h2 { margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.reader .public-legal > h2:first-child { margin-top: 0; }
.reader .local-jumps, .reader .guide-topics { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 1.5rem; }
.reader .local-jumps a, .reader .guide-topics a, .reader .actions a { display: inline-flex; align-items: center; min-width: 3rem; min-height: 3rem; padding-block: .4rem; font-weight: 600; }
.reader .public-legal a, .reader .contact-grid a, .reader .launch-main a { overflow-wrap: anywhere; }
.reader .care-why-hero, .reader .guide-hero { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.9fr); align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.reader .care-record-key, .reader .guide-answer, .reader .checklist-side, .reader .contact-aside, .reader .guide-cta, .reader .checklist-invite {
  padding: clamp(1.3rem, 3.4vw, 2.75rem); border: 1px solid var(--rule); background: var(--tint); border-radius: 1rem;
}
.reader .care-record-key > div + div { border-top: 1px solid var(--rule); margin-top: 1.4rem; padding-top: 1.4rem; }
.reader .care-record-key dt { font: 650 1.45rem/1.3 var(--sans); }
.reader .care-record-key dd { margin: .5rem 0 0; }
.reader .contact-grid, .reader .checklist-layout, .reader .checklist-invite { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: clamp(1.5rem,5vw,5rem); align-items: start; }
.reader .contact-card { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.reader .contact-email { display: inline-flex; align-items: center; min-height: 3rem; font-family: var(--sans); font-size: clamp(1.25rem, 3vw, 2.1rem); font-weight: 650; }
.reader .public-note, .reader .resource-note, .reader .checklist-privacy, .reader .guide-caution {
  border-left: .28rem solid var(--accent); background: #ffead9; color: var(--ink);
  padding: 1rem 1.25rem; margin-block: 1.4rem;
}
.reader .resource-note { max-width: 53rem; }
.reader .resource-note h2 { font-size: 1.55rem; }
.reader .resource-route { max-width: 59rem; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; margin-block: 2.5rem; }
.reader .resource-route a { display: inline-flex; align-items: center; min-height: 3rem; padding-block: .3rem; }
.reader .resource-route p { margin-top: .4rem; color: var(--subtle); }
.reader .resource-card, .reader .resource-foot, .reader .checklist-questions, .reader .checklist-sources, .reader .guide-section, .reader .guide-sources {
  max-width: 51rem; border-top: 1px solid var(--rule); padding: clamp(1.45rem, 3.5vw, 2.65rem) 0;
}
.reader .resource-links { display: grid; gap: .9rem; margin: 1.35rem 0 0; }
.reader .resource-links a { width: fit-content; font-weight: 600; }
.reader .resource-links span { display: block; color: var(--subtle); font-size: 1rem; font-weight: 400; }
.reader blockquote, .reader .guide-question { padding: .75rem 1.25rem; border-left: 3px solid var(--action); color: var(--ink); font-family: var(--sans); font-size: 1.26rem; }
.reader .resource-foot nav { display: flex; gap: .6rem 1.1rem; flex-wrap: wrap; }
.reader .checklist-layout { margin-bottom: 2rem; }
.reader .checklist-items { list-style: none; padding: 0; }
.reader .checklist-items li { border-top: 1px solid var(--rule); padding: 1.05rem 0; }
.reader .checklist-items label, .reader .launch-consent { display: grid; grid-template-columns: 1.5rem minmax(0,1fr); align-items: start; gap: .8rem; cursor: pointer; }
.reader input[type=checkbox] { width: 1.4rem; height: 1.4rem; margin: .2rem 0 0; accent-color: var(--action); }
.reader .checklist-items strong, .reader .checklist-items span span { display: block; }
.reader .checklist-items strong { font-size: 1.1rem; margin-bottom: .3rem; }
.reader .checklist-progress { font-weight: 650; }
.reader .checklist-questions li, .reader .guide-section li { margin-block: .55rem; }
.reader .checklist-copy textarea, .reader .launch-panel input[type=email] {
  font: inherit; color: var(--ink); background: var(--paper); border: 1px solid #617d80; border-radius: .3rem; padding: .7rem .8rem; width: 100%; }
.reader .checklist-copy textarea { min-height: 10rem; }
.reader .checklist-invite h2 { font-size: 1.6rem; }
.reader .launch-panel { max-width: 42rem; padding: clamp(1.2rem,3.3vw,2.6rem); border: 1px solid var(--rule); background: var(--paper); border-radius: 1rem; }
.reader .launch-panel form > label:first-child { display: block; font-weight: 600; margin-bottom: .4rem; }
.reader .launch-consent, .reader #saved-request { margin: 1.35rem 0; }
.reader #launch-status, .reader #saved-request { font-weight: 500; }
.reader .launch-trap { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.reader .launch-panel + .checklist-sources { margin: 2rem 0; }
.reader #launch-submit + p { margin-top: .8rem; }
.reader .guide-breadcrumbs a { display: inline-flex; align-items: center; min-width: 3rem; min-height: 3rem; }
.reader .guide-breadcrumbs { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; color: var(--subtle); font-size: 1rem; margin: 0 0 1.75rem; }
.reader .guide-photo { margin: 0; }
.reader .guide-photo img { width: 100%; height: auto; border-radius: 1.65rem 1.65rem 1.65rem .55rem; display: block; }
.reader .guide-answer, .reader .guide-cta { max-width: 54rem; }
.reader .guide-content { margin: 2.2rem 0; }
.reader .guide-example { padding: 1.5rem; margin: 1.5rem 0; border: 1px solid var(--rule); background: var(--paper); border-radius: .4rem; }
.reader .guide-tag { display: block; margin-bottom: .65rem; color: var(--subtle); font-weight: 600; }
.reader .guide-formula { font-weight: 650; font-variant-numeric: tabular-nums; }
.reader .guide-table-wrap { overflow: auto; margin: 1.4rem 0; }
.reader .guide-table { table-layout: fixed; border-collapse: collapse; font-size: 1rem; width: 100%; }
.reader .guide-table th, .reader .guide-table td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.reader .guide-table th { background: var(--tint); }
.reader .guide-cta { margin: 1.5rem 0 2.2rem; }
.reader-footer { background: var(--ink); color: var(--cream); padding: clamp(2rem,4.5vw,4rem) 0; }
.reader-footer-grid { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3,minmax(0,1fr)); gap: clamp(1rem,4.5vw,4rem); }
.reader-maker p { max-width: 27ch; margin-top: 1rem; }
.reader-footer .reader-social a { color: var(--cream); min-height: 3rem; display: inline-flex; align-items: center; }
.reader-footer nav h2 { font: 600 1rem/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; margin: .17rem 0 .8rem; }
.reader-footer nav a, .reader-footer [data-privacy-choice-slot] button { display: flex; align-items: center; min-height: 3rem; width: fit-content; color: inherit; padding: .4rem 0; font: inherit; font-size: 1rem; text-decoration: underline; text-underline-offset: .22em; }
.reader-footer [data-privacy-choice-slot] button { background: transparent; border: 0; cursor: pointer; margin: 0; }
.reader-footer :focus-visible { outline-color: var(--apricot); }
.reader :is(.reader-header, .reader-footer) img { max-width: 100%; }
.reader .text-link { font-weight: 600; }
@media (max-width: 47rem) {
  .reader .care-why-hero, .reader .guide-hero, .reader .contact-grid, .reader .checklist-layout, .reader .checklist-invite { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .reader .guide-photo { max-width: 32rem; }
  .reader .resource-route { grid-template-columns: 1fr; gap: .9rem; }
  .reader-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.8rem; }
}
@media (max-width: 38rem) {
  .reader-bar { flex-wrap: wrap; padding: 1rem 0 .65rem; gap: .4rem 1rem; }
  .reader-bar nav { width: 100%; display: flex; flex-wrap: wrap; gap: .25rem .7rem; }
  .reader-bar nav a { font-size: 1rem; }
  .reader-bar nav .nav-primary { padding: .5rem .7rem; }
  .reader .guide-table th, .reader .guide-table td { padding: .5rem; }
}
@media (max-width: 28rem) {
  .reader-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .reader .public-legal, .reader .checklist-invite > *, .reader .checklist-sources, .reader-bar nav, .reader-footer nav { min-width: 0; }
  .reader .reader-footer nav a, .reader .checklist-small { max-width: 100%; overflow-wrap: anywhere; }
}
@media (max-width: 23rem) {
  .reader-bar { display: grid; grid-template-columns: 1fr; gap: .1rem; }
  .reader-bar nav .nav-primary { padding-inline: .55rem; }
  .reader-footer-grid { gap: 1.5rem 1rem; }
}
/* The payment guide opens with a ledger, then offers direct routes to the tool and unposted-payment example. */
.reader-bill-and-eob .payment-opening {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4.5rem);
  align-items: center;
}
.reader-bill-and-eob .payment-intro .guide-lead { max-width: 38ch; }
.reader-bill-and-eob .payment-example {
  border: 1px solid #abc8c4;
  border-radius: 1.25rem 1.25rem 1.25rem .45rem;
  padding: clamp(1rem, 3vw, 2.15rem);
  background: var(--tint);
}
.reader-bill-and-eob .payment-example h2 { font-size: clamp(1.25rem, 2.15vw, 1.7rem); }
.reader-bill-and-eob .payment-lines { margin: 1rem 0; }
.reader-bill-and-eob .payment-lines div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .15rem .7rem;
  padding: .55rem 0;
}
.reader-bill-and-eob .payment-lines dt { flex: 1 1 9em; }
.reader-bill-and-eob .payment-lines dd {
  margin: 0 0 0 auto;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 650;
  font-variant-numeric: lining-nums tabular-nums;
}
.reader-bill-and-eob .payment-lines div:last-child { border-top: 2px solid var(--action); font-weight: 650; }
.reader-bill-and-eob .payment-shortcuts {
  display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.25rem;
  margin: 1.3rem 0 .5rem;
}
.reader-bill-and-eob .payment-shortcuts :is(a,button) {
  display: inline-flex; align-items: center; min-height: 3rem; max-width: 100%;
}
.reader-bill-and-eob .payment-shortcuts button {
  font: inherit; font-size: 1rem; color: var(--action); background: transparent; cursor: pointer;
  border: 1px solid var(--action); border-radius: .75rem; padding: .55rem .9rem;
}
.reader-bill-and-eob #questions .guide-photo { float: right; width: min(36%,17rem); margin: .4rem 0 1rem 1.5rem; }
.reader-bill-and-eob #questions::after { display: block; clear: both; content: ""; }
@media (max-width: 47rem) {
  .reader-bill-and-eob .payment-opening { grid-template-columns: minmax(0,1fr); gap: 1.25rem; }
  .reader-bill-and-eob #questions .guide-photo { float: none; width: min(100%,23rem); margin: 1rem 0; }
}
@media print { .reader-bill-and-eob :is(.payment-shortcuts,.guide-breadcrumbs) { display: none; } }
@media print {
  .reader-header, .reader-footer, .reader .skip, .reader .guide-actions, .reader .guide-topics, .reader .local-jumps, .reader .metrics-banner,
  .reader .checklist-actions, .reader .checklist-invite, .reader .checklist-copy, .reader #action-status, .reader .guide-photo { display: none !important; }
  body.reader { background: white; color: black; font: 11pt/1.45 var(--sans); }
  .reader main { width: 100%; padding: 0; }
  .reader h1 { font-size: 28pt; }
  .reader main h2 { font-size: 17pt; }
  .reader main h3 { font-size: 13pt; }
  .reader .checklist-layout, .reader .guide-hero { display: block; }
  .reader .guide-example,.reader .checklist-items li,.reader h2,.reader h3 { break-inside: avoid; }
}
