/* Shared responsive controls and content icons; loaded after each page's existing styles. */
/* Keep the 73px public header reachable on short screens. The consent panel
   scrolls independently so its heading, choices and actions remain available. */
body .sherm-privacy {
  display: flex;
  flex-direction: column;
  /* Percentages follow the fixed containing block even under CSS zoom. */
  max-width: min(360px, calc(100% - 32px));
  max-height: calc(100% - 112px);
}
.sherm-privacy > #sherm-privacy-options {
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body:has(#mobile-menu:not([hidden])) .sherm-privacy,
body:has(.sherman-chat[open]) .sherm-privacy {
  display: none;
}

#insight-search,
#site-search-input,
#sherman-question {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.sherman-chat .sherman-close,
.sherman-chat .sherman-composer [type="submit"] {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex-shrink: 0;
}

.sherman-chat .sherman-info,
.sherman-chat .sherman-session-actions button,
.search-dialog .discovery-filters button,
.sherm-privacy > button[data-open],
.sherm-privacy .sherm-privacy-actions button {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
}

.sherman-chat .sherman-modes button {
  min-height: 44px;
}

.privacy-shortcut {
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
  max-width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.site-header .mobile-menu > .privacy-shortcut {
  align-self: stretch;
  padding: 11px 4px;
  font-size: 13px;
}

.sherman-alternatives .privacy-shortcut {
  padding: 8px 0;
  color: #27634e;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-shortcut:focus-visible {
  outline: 3px solid #84ad60;
  outline-offset: 3px;
}

/* Preserve the desktop CTA width while allowing contact-form zoom reflow. */
.contact-form-panel form > .button {
  min-width: min(210px, 100%);
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Let the logo shrink within a zoom-constrained header without hiding navigation. */
.site-header .brand { min-width: 0; }
.site-header .brand-mark { max-width: 100%; }

/* Larger touch targets must remain reachable when the keyboard reduces height. */
@media (max-height: 360px) {
  .sherman-chat {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

/* Match the homepage trust strip. Scale the glyph from its original size. */
.challenge-card .challenge-icon,
.challenge-card:is(:hover, :focus-visible) .challenge-icon,
.module-button .challenge-icon,
.module-button:is(:hover, :focus-visible) .challenge-icon,
.module-dialog .challenge-icon,
.platform-highlights > li > span,
.industry-system-icon,
.industry-system .industry-system-card:nth-child(2n) .industry-system-icon,
.contact-success .success-symbol {
  width: max-content;
  height: auto;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.challenge-icon { --content-icon-size: 30px; }
.why-item { --content-icon-size: 28px; }
.industry-system-icon { --content-icon-size: 27px; }
.check-list > li { --content-icon-size: 19px; }
.pricing-reassurance { --content-icon-size: 18px; }
.quote-sidebar-note { --content-icon-size: 25px; }

@media (max-width: 599px) {
  .industry-system-icon { --content-icon-size: 24px; }
}

:is(.challenge-icon, .why-item, .platform-highlights > li > span,
    .industry-system-icon, .check-list > li, .pricing-reassurance,
    .quote-sidebar-note, .company-video-lock, .success-symbol) > :is(.icon, .solution-icon) {
  --solution-accent: currentColor;
  width: calc(var(--content-icon-size, 22px) * 1.3);
  height: calc(var(--content-icon-size, 22px) * 1.3);
  color: #3b7253;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.comparison-homepage .workforce-tasks li::before,
.content-check {
  color: #3b7253;
  font-size: 1.3em;
}
