/* Mobile Visual Dev R2: source-rendered progressive reading and visual rhythm. */
.mobile-r2-section-disclosure {
  border: 0;
  background: transparent;
}

.mobile-r2-section-disclosure > summary {
  display: none;
}

.mobile-r2-explainer {
  border: 0;
  background: transparent;
}

.mobile-r2-explainer > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0;
  color: var(--color-navy);
  list-style: none;
  cursor: pointer;
}

.mobile-r2-explainer > summary::-webkit-details-marker,
.mobile-r2-form-disclosure > summary::-webkit-details-marker,
.mobile-r2-section-disclosure > summary::-webkit-details-marker {
  display: none;
}

.mobile-r2-explainer > summary h2 {
  margin: 0;
}

.mobile-r2-explainer > summary span {
  display: none;
}

.mobile-r2-explainer__body {
  margin-top: 1rem;
}

.mobile-r2-form-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: 2rem;
  padding: 0;
  color: var(--color-navy);
  font-weight: 850;
  list-style: none;
  cursor: pointer;
}

.mobile-r2-form-disclosure > summary::after {
  content: '−';
  color: var(--color-brand-strong);
  font-size: 1.25rem;
}

.mobile-r2-form-disclosure:not([open]) > summary::after {
  content: '+';
}

.mobile-r2-form-disclosure > fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 42rem) {
  :root {
    --mobile-r2-line: #d7e5e9;
    --mobile-r2-soft: #f3f9fa;
  }

  main#content :where(.section) {
    padding-block: clamp(2rem, 8vw, 3.8rem);
  }

  main#content :where(.section-heading) {
    margin-bottom: 1.5rem;
  }

  main#content :where(.section-heading h2) {
    margin-block: .35rem .7rem;
    font-size: clamp(1.7rem, 7.7vw, 2.2rem);
    line-height: 1.08;
    letter-spacing: -.025em;
  }

  main#content :where(.section-heading > p:last-child) {
    font-size: .98rem;
    line-height: 1.58;
  }

  html body main#content :where(.job-grid,.focus-grid,.painter-situation-grid,.branch-operations-grid,.conversion-journey ol,.conversion-assurance,.module-workflow-grid,.workflow-list,.related-grid) {
    gap: 0;
  }

  html body main#content :where(
    .job-grid > article,
    .focus-grid > article,
    .painter-situation-grid > article,
    .branch-operations-grid > article,
    .conversion-journey li,
    .conversion-assurance > div,
    .module-workflow-grid > section,
    .workflow-list > li,
    .related-grid > a
  ) {
    padding: 1rem 0;
    border: 0;
    border-bottom: 1px solid var(--mobile-r2-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  html body main#content :where(
    .job-grid > article:first-child,
    .focus-grid > article:first-child,
    .painter-situation-grid > article:first-child,
    .branch-operations-grid > article:first-child,
    .conversion-journey li:first-child,
    .conversion-assurance > div:first-child,
    .module-workflow-grid > section:first-child,
    .workflow-list > li:first-child,
    .related-grid > a:first-child
  ) {
    padding-top: .25rem;
  }

  html body main#content :where(
    .job-grid > article:last-child,
    .focus-grid > article:last-child,
    .painter-situation-grid > article:last-child,
    .branch-operations-grid > article:last-child,
    .conversion-journey li:last-child,
    .conversion-assurance > div:last-child,
    .module-workflow-grid > section:last-child,
    .workflow-list > li:last-child,
    .related-grid > a:last-child
  ) {
    border-bottom: 0;
  }

  main#content .conversion-journey li {
    grid-template-columns: 2.35rem minmax(0, 1fr);
    align-items: start;
  }

  main#content .conversion-assurance {
    margin-top: .75rem;
    border-top: 1px solid var(--mobile-r2-line);
  }

  .mobile-r2-section-disclosure {
    width: 100%;
    margin: 0;
    border-block: 1px solid var(--mobile-r2-line);
  }

  html body .mobile-r2-section-disclosure > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    min-height: 3.25rem;
    padding: .75rem 0;
    color: var(--color-navy);
    font-weight: 850;
    line-height: 1.25;
    list-style: none;
    cursor: pointer;
  }

  .mobile-r2-section-disclosure > summary::after {
    content: '+';
    display: grid;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--mobile-r2-soft);
    color: var(--color-brand-strong);
    font-size: 1.2rem;
  }

  .mobile-r2-section-disclosure[open] > summary::after {
    content: '−';
  }

  .mobile-r2-section-disclosure > .mobile-r2-section-body {
    padding-block: .35rem .75rem;
  }

  .mobile-r2-section-disclosure .mobile-r2-desktop-heading {
    display: none;
  }

  html body .mobile-r2-explainer {
    display: block;
    border-block: 1px solid var(--mobile-r2-line);
  }

  html body .mobile-r2-explainer > summary {
    min-height: 3.25rem;
    padding: .65rem 0;
  }

  html body .mobile-r2-explainer > summary h2 {
    font-size: 1.3rem;
    line-height: 1.12;
  }

  .mobile-r2-explainer > summary span {
    display: inline;
    flex: none;
    color: var(--color-brand-strong);
    font-size: .78rem;
    font-weight: 850;
  }

  .mobile-r2-explainer__body {
    margin: 0;
    padding: 0 0 .85rem;
  }

  html body .mobile-r2-form-disclosure {
    padding: 0 .8rem;
  }

  html body .mobile-r2-form-disclosure > summary {
    min-height: 3.25rem;
    padding: .65rem 0;
    font-size: .9rem;
    line-height: 1.3;
  }

  html body .mobile-r2-form-disclosure > fieldset {
    padding: 0 0 .8rem;
  }

  .mobile-r2-progressive-toggle {
    display: flex;
    width: 100%;
    min-height: 2.9rem;
    margin-top: .75rem;
    padding: .65rem .85rem;
    align-items: center;
    justify-content: center;
    border: 1px solid #9fc6cc;
    border-radius: .75rem;
    background: var(--mobile-r2-soft);
    color: #07556a;
    font: inherit;
    font-size: .88rem;
    font-weight: 850;
    line-height: 1.3;
    cursor: pointer;
  }

  .mobile-r2-progressive-toggle::after {
    content: '↓';
    margin-left: .5rem;
  }

  .mobile-r2-progressive-toggle[aria-expanded='true']::after {
    content: '↑';
  }

  .mobile-r2-progressive-toggle:focus-visible {
    outline: 3px solid #0b6d78;
    outline-offset: 3px;
  }

}

@media (max-width: 23rem) {
  main#content :where(.section) {
    padding-block: 2.35rem;
  }
}
