/* Shared right-arrow disclosures. Q&A deliberately keeps its original design. */
.site-section-heading { position: relative; width: 100%; min-width: 0; min-height: 44px; display: flex; align-items: center; }
.site-section-heading > [data-site-section-title] { margin: 0 !important; padding: 8px 38px 8px 0; white-space: normal; }
body .site-section-button { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; color: inherit; cursor: pointer; padding: 0; border-radius: 4px; }
.site-section-arrow { position: absolute; right: 5px; top: 50%; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.site-section-button[aria-expanded="false"] .site-section-arrow { transform: translateY(-50%) rotate(-45deg); }
.site-section-button:hover { color: var(--site-primary); }
.site-section-button:focus-visible { outline: 2px solid var(--site-primary); outline-offset: 2px; }
.site-section-header-path { width: 100%; min-width: 0; flex-basis: 100%; flex-wrap: wrap; }
.site-section-hidden { display: none !important; }
/* Stack Up keeps its original toggle behavior, with the arrow moved right. */
body .sec-toggle { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; gap: 12px; }
body .sec-toggle .sec-arrow { order: 2; flex: none; width: 18px; height: 18px; }
body .card-head > h2 { width: 100%; }
body .site-compare-title { grid-column: 1 / -1; margin-bottom: 0; }
body .sec-toggle > span { text-align: left; }
/* Existing full-width section headers use the same size and tap target. */
body .collapse-head, body .sec-head { min-height: 44px; }
body .collapse-head .chev { flex: none; width: 18px; height: 18px; }
/* Native main-section disclosures (Minimum Wage and source notes), excluding Q&A. */
body details.fold > summary, body details.src > summary {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px; list-style: none; cursor: pointer;
}
body details.fold > summary { font-size: var(--site-section-heading-size, 22px) !important; line-height: 1.3; font-weight: 600; }
body details.fold > summary::-webkit-details-marker, body details.src > summary::-webkit-details-marker { display: none; }
body details.fold > summary::marker, body details.src > summary::marker { content: ''; }
body details.fold > summary > .chev { display: none; }
body details.fold > summary::after, body details.src > summary::after {
  content: ''; display: block; flex: none; width: 9px; height: 9px; margin-right: 5px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}
body details.fold[open] > summary::after, body details.src[open] > summary::after { transform: rotate(45deg); }
/* Source and assumptions disclosures also put their arrow at the far right. */
body .src-toggle, body .source-toggle, body .adv-toggle {
  display: flex; width: 100%; min-height: 44px; justify-content: space-between; align-items: center; gap: 12px;
}
body .src-toggle .src-arrow { order: 2; flex: none; }

/* Match the heading text itself, including Stack Up's nested button labels. */
body h2 .sec-toggle, body h3 .sec-toggle,
body h2 .sec-toggle > span, body h3 .sec-toggle > span {
  font-size: var(--site-section-heading-size, 22px) !important;
  font-weight: 600;
  line-height: 1.3;
}
