/* Shared reading aids for the ContraxAware blog. */
.blog-guide-brief {
  margin-block: 0 clamp(26px, 4vw, 54px);
}
.blog-guide-brief > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  gap: 12px clamp(20px, 3.4vw, 52px);
  max-width: 1086px;
  margin-inline: auto;
  padding: clamp(18px, 2.6vw, 30px) clamp(20px, 3.2vw, 42px);
  border: 1px solid #cbddeb;
  border-inline-start: 4px solid #2978ae;
  border-radius: 14px;
  background: #eff6fc;
}
.blog-guide-brief h2 {
  margin: 0;
  color: #164f79;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.015em;
}
.blog-guide-brief p {
  margin: 0;
  max-width: 72ch;
  color: #234764;
  font-size: 1.0625rem;
  line-height: 1.65;
}
.blog-guide-byline {
  margin-block: 14px 0;
  color: #4e667c;
  font-size: .875rem;
  line-height: 1.5;
}
:root body.site-light .blog-guide-layout {
  padding-top: clamp(26px, 4vw, 54px);
}
.blog-guide-contents ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
:root body.site-light .blog-guide-contents > p {
  color: #173e60;
  font-size: .875rem;
  letter-spacing: 0;
  font-weight: 750;
}
:root body.site-light .blog-guide-contents a {
  display: block;
  font-size: .875rem;
}
.blog-guide-layout :is(section[id], figure[id]),
#blog-visual {
  scroll-margin-top: 88px;
}

.blog-guide-visual {
  margin: 0 0 clamp(28px, 4vw, 54px);
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid #cbddeb;
  border-radius: 16px;
  background: #f5f9fd;
  color: #1b405e;
}
.blog-guide-visual figcaption {
  display: block;
  margin: 0 0 18px;
}
.blog-guide-visual figcaption strong {
  color: #153f62;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: -.025em;
}
:root body.site-light .blog-guide-visual figcaption p {
  margin: 8px 0 0;
  max-width: 66ch;
  color: #415e76;
  font-size: .9375rem;
  line-height: 1.55;
}
.blog-guide-table {
  overflow: auto;
  border: 1px solid #d1e0eb;
  border-radius: 10px;
  background: #fff;
}
.blog-guide-table table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  line-height: 1.55;
  font-size: 1rem;
}
.blog-guide-table .blog-guide-wide-table {
  min-width: 32rem;
}
.blog-guide-table :is(th, td) {
  padding: 12px clamp(10px, 2vw, 16px);
  border-bottom: 1px solid #dbe6ef;
  text-align: start;
  vertical-align: top;
}
.blog-guide-table thead th {
  color: #15446a;
  background: #e8f2fb;
  font-weight: 700;
}
.blog-guide-table tbody th {
  width: 33%;
  color: #234764;
  font-weight: 650;
}
.blog-guide-table tbody td {
  color: #3b556d;
}
.blog-guide-table tbody tr:last-child > * {
  border-bottom: 0;
}

.blog-guide-steps,
.blog-guide-rates {
  display: grid;
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-guide-steps {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  counter-reset: guide-step;
}
.blog-guide-steps.blog-guide-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.blog-guide-steps > li {
  counter-increment: guide-step;
  position: relative;
  margin: 0;
  padding: 18px 15px 16px 49px;
  border: 1px solid #d1e0eb;
  border-radius: 12px;
  background: #fff;
}
.blog-guide-steps > li::before {
  content: counter(guide-step);
  position: absolute;
  inset: 16px auto auto 13px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dceefb;
  color: #175d8e;
  font-weight: 750;
  font-size: .875rem;
}
.blog-guide-timeline > li {
  padding: 16px;
  border-top: 3px solid #2479ad;
}
.blog-guide-timeline > li::before {
  content: none;
}
.blog-guide-step-date {
  display: block;
  margin-bottom: 6px;
  color: #1a5f8e;
  font-size: .875rem;
  font-weight: 750;
}
.blog-guide-steps > li > strong {
  display: block;
  font-size: 1rem;
  line-height: 1.35;
}
:root body.site-light .blog-guide-steps > li > p,
:root body.site-light p.blog-guide-chart-note {
  margin: 7px 0 0;
  color: #3b556d;
  font-size: 1rem;
  line-height: 1.55;
}

.blog-guide-rates {
  gap: 16px;
  padding: 18px;
  border: 1px solid #d1e0eb;
  border-radius: 12px;
  background: #fff;
}
.blog-guide-rates > li {
  margin: 0;
}
.blog-guide-rates > li > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.45;
}
.blog-guide-rates span {
  font-weight: 750;
  color: #195984;
  font-variant-numeric: tabular-nums;
}
.blog-guide-rates small {
  font-size: .875rem;
  color: #415e76;
  font-weight: 500;
}
.blog-guide-rates meter {
  display: block;
  width: 100%;
  height: 14px;
}
.blog-guide-rates meter::-webkit-meter-bar {
  border: 0;
  border-radius: 8px;
  background: #dce9f4;
}
.blog-guide-rates meter::-webkit-meter-optimum-value {
  border-radius: 8px;
  background: #2479ad;
}
.blog-guide-rates meter::-moz-meter-bar {
  border-radius: 8px;
  background: #2479ad;
}
:root body.site-light p.blog-guide-chart-note {
  margin-top: 14px;
}

.blog-guide-faq details {
  margin: 0;
}
:root body.site-light .blog-guide-faq details > summary {
  cursor: pointer;
  color: #1a4d73;
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.5;
}
:root body.site-light .blog-guide-faq details > p {
  margin: 12px 0 0;
  max-width: 68ch;
  font-size: 1rem;
  line-height: 1.7;
}

@media (max-width: 760px) {
  .blog-guide-brief > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .blog-guide-steps.blog-guide-timeline {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 490px) {
  .blog-guide-steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .blog-guide-wide-table {
    font-size: .9375rem;
  }
}

/* The article opening uses the same editorial measure as the body and navigation. */
:root .site-light .field-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(17rem, .85fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
  max-width: 1120px;
  padding-block: clamp(1.9rem, 4vw, 3.8rem) clamp(2rem, 4.5vw, 4rem);
}
:root body.site-light .field-opening .field-heading {
  display: block;
  width: auto;
  min-width: 0;
  max-width: none;
  text-align: left;
  padding: 0;
  margin: 0;
  border: 0;
  background: none;
}
:root .site-light .field-heading .eyebrow, :root .site-light .field-index-intro .eyebrow {
  display: block;
  color: #245d81;
  font-size: .79rem;
  letter-spacing: .1em;
  font-weight: 750;
  line-height: 1.5;
  margin: 0 0 .9rem;
  text-transform: uppercase;
}
:root body.site-light .field-opening .field-heading h1, :root body.site-light .field-index-intro h1 {
  font-family: var(--sans, Arial, sans-serif);
  font-size: clamp(2.4rem, 4.15vw, 4.3rem);
  font-weight: 650;
  line-height: 1.07;
  letter-spacing: -.05em;
  color: #102f46;
  margin: 0 0 1.05rem;
  max-width: 24ch;
  text-wrap: balance;
}
:root body.site-light .field-heading .seo-intro, :root body.site-light .field-index-intro > div > p:not(.eyebrow) {
  text-align: left;
  margin: 0;
  max-width: 62ch;
  line-height: 1.58;
  font-size: clamp(1.0625rem, 1.3vw, 1.22rem);
  color: #344f64;
}
:root body.site-light .field-heading :is(p[class$=byline], .seo-trial-note) {
  margin: 1.25rem 0 0;
  color: #435d70;
  font-size: .89rem;
  line-height: 1.55;
}
.field-heading .button, .field-heading .coi-template-shortcut { margin-top: 1rem; }
:root .site-light .field-brief {
  min-width: 0;
  border: 1px solid #c3d9dd;
  border-top: 4px solid #26756e;
  border-radius: 12px;
  background: #f1f8f7;
  padding: clamp(1.1rem, 2.35vw, 1.85rem);
}
:root .site-light .field-brief h2 {
  font-size: 1.16rem;
  font-weight: 740;
  letter-spacing: -.02em;
  margin: 0 0 .8rem;
  color: #164c49;
}
:root .site-light .field-takeaways { padding: 0 0 0 1.08rem; margin: 0; list-style: disc; }
:root .site-light .field-takeaways li { color: #274d4d; line-height: 1.5; font-size: 1rem; padding-left: .15rem; }
.field-takeaways li + li { margin-top: .55rem; }
.field-takeaways li::marker { color: #21716b; }
:root .site-light a.field-quick-download {
  display: block; margin-top: 1rem; border-top: 1px solid #bed8d5; padding-top: .85rem;
  color: #155752; font-weight: 680; font-size: .96rem; line-height: 1.45; text-underline-offset: 3px;
}
:root body.site-light .blog-guide-contents { top: 1rem; max-height: calc(100svh - 2rem); padding: .45rem .65rem; }
:root .site-light .field-toc summary {
  cursor: pointer; color: #173e5a; font-weight: 700; font-size: .96rem; padding: .72rem .4rem;
}
.field-toc[open] summary { border-bottom: 1px solid #cfdee8; margin-bottom: .35rem; }
:root .site-light .field-toc li a { font-size: .9rem; padding: .42rem .55rem; line-height: 1.45; }
:root .site-light .blog-guide-layout { align-items: start; }
:root .site-light .field-section :is(ul, ol) { padding-left: 1.45rem; }
:root .site-light .field-section > :is(ul, ol) > li {
  color: #354e60; font-size: 1.02rem; line-height: 1.68; padding-left: .22rem; margin: .5rem 0;
}
.field-section :is(h2,h3), .blog-guide-layout [id], .field-index-group[id] { scroll-margin-top: 6rem; }
:root .site-light .field-section blockquote, :root .site-light .field-section > aside {
  box-sizing: border-box; margin: 1.25rem 0; padding: .85rem 1.2rem; border-left: 4px solid #438c84;
  color: #224f50; background: #f1f8f7; line-height: 1.65; border-radius: 0 8px 8px 0;
}
:root .site-light .field-section :is(blockquote, aside) > :first-child { margin-top: 0; }
:root .site-light .field-section :is(blockquote, aside) > :last-child { margin-bottom: 0; }
.field-table-scroll { width: 100%; max-width: 100%; margin-block: 1.4rem; overflow-x: auto; }
:root .site-light .field-section table { width: 100%; border-collapse: collapse; color: #243f53; background: #fff; }
:root .site-light .field-section caption {
  caption-side: top; text-align: left; font-weight: 680; line-height: 1.4; color: #143e57; padding: 0 0 .7rem;
}
:root .site-light .field-section :is(th,td) {
  vertical-align: top; text-align: left; padding: .8rem clamp(.6rem, 1.3vw, 1rem);
  border-bottom: 1px solid #d4e0e7; font-size: .98rem; line-height: 1.55; overflow-wrap: break-word;
}
:root .site-light .field-section thead th { color: #1f455b; background: #e9f2f7; font-weight: 680; }
:root .site-light .field-section tbody th { color: #163e57; font-weight: 660; }
:root .site-light .field-section tbody tr:nth-child(even) { background: #f6f9fb; }
:root .site-light .field-section a[href^="/downloads/"][download] {
  font-weight: 690; text-decoration-thickness: 1.5px; text-underline-offset: .19em;
}
:root .site-light .field-capture, :root .site-light .field-video {
  box-sizing: border-box; display: block; margin: 1.6rem 0; padding: .6rem;
  border: 1px solid #c3d7e1; background: #f1f6f8; border-radius: 12px; color: #304d60;
}
:root .site-light .field-zoom { display: block; position: relative; cursor: zoom-in; }
.field-zoom img, .field-video video { display: block; width: 100%; height: auto; border-radius: 6px; }
:root .site-light .field-capture figcaption, :root .site-light .field-video figcaption {
  padding: .75rem .45rem .2rem; color: #304d60; font-size: .96rem; line-height: 1.55;
}
:root .site-light .field-video figcaption:first-child { font-weight: 680; color: #163d55; padding: .25rem .4rem .8rem; }
:root .site-light .field-video details { margin: .65rem .36rem 0; padding: .6rem 0 .15rem; }
:root .site-light .field-zoom-label {
  position: absolute; right: .45rem; bottom: .45rem; border-radius: 4px; padding: .3rem .55rem;
  font-size: .81rem; font-weight: 650; line-height: 1.35; color: #fff; background: #173e52;
}
.field-viewer { box-sizing: border-box; width: max-content; max-width: min(96vw, 1600px); max-height: 94svh; overflow: auto;
  border: 1px solid #9bb6c6; padding: .8rem; border-radius: 12px; color: #183c52; background: #fff; margin: auto; }
.field-viewer::backdrop { background: rgb(10 26 39 / .78); }
.field-viewer img { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
.field-viewer p { font-size: 1rem; line-height: 1.5; margin: .8rem .3rem .2rem; max-width: 85ch; }
.field-viewer-tools { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .7rem; }
:root .site-light .field-viewer-tools a { color: #15597e; text-decoration: underline; font-size: .96rem; text-underline-offset: .15em; }
.field-viewer-tools button { color: #fff; background: #163f56; border: 0; padding: .55rem 1rem; border-radius: 6px; font: inherit; cursor: pointer; }
:root .site-light :is(.field-flow,.field-section .field-flow) {
  margin: 1.4rem 0; padding: clamp(1rem, 2.5vw, 1.5rem); background: #ebf4f5; border: 1px solid #c2d8d8; border-radius: 14px; color: #234b4b;
}
.field-flow figcaption { color: #174d4c; font-size: 1.1rem; font-weight: 700; line-height: 1.45; }
:root .site-light .field-flow :is(ol,ul) { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 11rem),1fr)); gap: .65rem; list-style: none; padding: 0; margin: .9rem 0 0; }
:root .site-light .field-flow li { margin: 0; padding: .85rem; border-radius: 8px; border-top: 3px solid #3b8079; background: #fff; }
:root .site-light .field-flow li strong { color: #174542; font-size: 1rem; }
:root .site-light .field-flow li p { font-size: .97rem; line-height: 1.5; margin: .35rem 0 0; color: #395259; }
:root .site-light .field-index-intro {
  display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.85fr); gap: clamp(2rem,5vw,5rem); align-items: center;
  max-width: 1120px; padding-block: clamp(2.6rem,5vw,5.4rem) clamp(1.6rem,3vw,3rem);
}
.field-index-intro nav { display: flex; flex-wrap: wrap; gap: .4rem .65rem; margin-top: 1.1rem; }
:root .site-light .field-index-intro nav a {
  font-size: .94rem; font-weight: 640; color: #155a68; text-underline-offset: .2em; padding: .36rem 0; margin-right: .4rem;
}
:root .site-light .field-index-feature { display: block; border: 1px solid #bfd4da; border-radius: 12px; overflow: hidden; color: #164651; background: #eff7f6; text-decoration: none; }
.field-index-feature img { display: block; width: 100%; height: auto; border-bottom: 1px solid #bfd4da; }
.field-index-feature strong { display: block; padding: .85rem 1rem; font-size: 1.05rem; line-height: 1.4; }
:root .site-light .field-index-group { max-width: 1120px; border-top: 1px solid #cbdae2; padding-block: clamp(1.55rem,3vw,2.7rem); }
:root .site-light .field-index-group h2 { color: #12384e; font-size: clamp(1.6rem, 2.8vw, 2.35rem); line-height: 1.2; margin: 0 0 1.2rem; letter-spacing: -.035em; }
.field-index-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
:root .site-light .field-index-card { display: block; padding: 1.15rem 1.4rem; background: #fff; border: 1px solid #cbdce3; border-radius: 10px; text-decoration: none; }
.field-index-card:hover, .field-index-card:focus-visible { box-shadow: 0 4px 15px rgb(21 62 87 / .09); }
:root .site-light .field-index-card h3 { color: #154964; font-size: 1.17rem; line-height: 1.35; font-weight: 690; margin: 0 0 .4rem; }
:root .site-light .field-index-card p { color: #425c6d; font-size: 1rem; line-height: 1.55; margin: 0; }
:root .site-light :is(.field-opening, .field-section, .field-toc, .field-viewer, .field-index-group, .field-index-intro) :focus-visible {
  outline: 3px solid #0876ab; outline-offset: 3px;
}
@media (max-width: 850px) {
  :root .site-light .field-opening, :root .site-light .field-index-intro { grid-template-columns: minmax(0,1fr); gap: 1.4rem; }
  :root .site-light .field-index-feature { max-width: 30rem; }
  :root body.site-light .blog-guide-contents { position: static; max-height: none; }
  :root .site-light .field-toc summary { min-height: 2.5rem; box-sizing: border-box; }
  :root .site-light .field-toc li a { padding-block: .68rem; }
}
@media (max-width: 640px) {
  .field-index-grid { grid-template-columns: minmax(0,1fr); }
  :root body.site-light .field-opening .field-heading h1, :root body.site-light .field-index-intro h1 { font-size: clamp(2.05rem, 8.5vw, 3rem); }
  .field-heading :is(.problems-highlights, .problem-highlights) { flex-wrap: wrap; }
  .field-section table.field-stacked, .field-stacked :is(tbody,tr,td,th), .field-stacked caption { display: block; min-width: 0; }
  .field-stacked thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  :root .site-light .field-section table.field-stacked tr { margin-bottom: .75rem; border: 1px solid #cedde2; border-radius: 8px; overflow: hidden; }
  :root .site-light .field-section table.field-stacked tr > :is(th,td) { padding: .65rem .8rem; }
  :root .site-light .field-section table.field-stacked tr > :first-child { background: #e9f2f6; font-weight: 700; }
  :root .site-light .field-section table.field-stacked tr > :last-child { border-bottom: 0; }
  .field-stacked tbody td[data-label]::before { content: attr(data-label); display: block; font-size: .85rem; font-weight: 700; color: #285169; margin-bottom: .22rem; }
}
@media print {
  .field-opening { display: block!important; }
  .field-viewer, .field-zoom-label, .field-index-intro nav { display: none!important; }
  .field-brief,.field-flow,.field-capture,.field-video { break-inside: avoid; }
}
