/* Generated by tools/build.py from the client's sr-integration.css, every rule scoped under .sr-page. Do not edit. */
/* Site Robotics Blocks - WordPress / Elementor / hello-elementor integration.
   The client's stylesheets are not changed; this file only stops the theme and the
   Elementor kit from restyling the supplied markup. Written by hand, not generated. */

/* A container holding an SR widget is full-bleed with no gaps: the widget draws the whole section. */
.e-con.sr-shell,
.e-con:has(> .elementor-widget[class*="elementor-widget-sr_"]),
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-sr_"]) {
  --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px; --margin-top: 0px; --margin-bottom: 0px;
  --content-width: 100%;
  padding: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; max-width: 100% !important;
}
.e-con.sr-shell > .e-con-inner,
.e-con:has(> .e-con-inner > .elementor-widget[class*="elementor-widget-sr_"]) > .e-con-inner {
  padding: 0 !important; max-width: 100% !important; gap: 0 !important;
}
.elementor-widget[class*="elementor-widget-sr_"] { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
.elementor-widget[class*="elementor-widget-sr_"] > .elementor-widget-container { margin: 0; padding: 0; }

/* The old site-wide Additional CSS forces `.sr-btn{white-space:nowrap}` (an old-build rule, kept
   because the legacy pages still need it); the client's buttons wrap normally. */
.sr-page .sr-btn { white-space: normal; }

/* hello-elementor paints every <button> white-on-pink while hovered, focused or pressed
   (`[type=button]:hover { color:#fff; background-color:#c36 }`), which made the stage tab labels
   disappear (white on white) after a click. The client's buttons never changed colour that way.
   These sit at 0,3,0, above the theme (0,2,0) and below nothing the client wrote: hiw.css loads
   after this file, so the client's own :hover / [aria-selected] rules (same weight) still win. */
.sr-page .sr-stages__tab:hover, .sr-page .sr-stages__tab:focus, .sr-page .sr-stages__tab:active {
  color: var(--sr-ink); background-color: transparent; text-decoration: none;
}
.sr-page .sr-config__pin:hover, .sr-page .sr-config__pin:focus, .sr-page .sr-config__pin:active {
  color: revert; background-color: transparent; text-decoration: none;
}

/* Same theme trap for the buttons added in the 2026-11-08 package (How It Works v4, Industrial v5): restate the
   client's own resting colour and background for :hover / :focus / :active. Same 0,3,0 weight as above, and the
   page stylesheets load after this file, so the client's :hover, [aria-selected] and [aria-current] rules win. */
.sr-page .sr-parts__tab:hover, .sr-page .sr-parts__tab:focus, .sr-page .sr-parts__tab:active,
.sr-page .sr-how__step:hover, .sr-page .sr-how__step:focus, .sr-page .sr-how__step:active {
  color: var(--sr-ink); background-color: var(--sr-paper); text-decoration: none;
}
.sr-page .sr-steps__tab:hover, .sr-page .sr-steps__tab:focus, .sr-page .sr-steps__tab:active,
.sr-page .sr-autoplay:hover, .sr-page .sr-autoplay:focus, .sr-page .sr-autoplay:active {
  color: var(--sr-ink); background-color: transparent; text-decoration: none;
}
.sr-page .sr-define__tab:hover, .sr-page .sr-define__tab:focus, .sr-page .sr-define__tab:active,
.sr-page .sr-dark .sr-autoplay:hover, .sr-page .sr-dark .sr-autoplay:focus, .sr-page .sr-dark .sr-autoplay:active {
  color: var(--sr-on-dark); background-color: transparent; text-decoration: none;
}
.sr-page .sr-offer__tab:hover, .sr-page .sr-offer__tab:focus, .sr-page .sr-offer__tab:active {
  color: var(--sr-on-dark-muted); background-color: transparent; text-decoration: none;
}

/* Elementor's `.elementor .elementor-widget:not(...):not(...) figure { margin: 0 }` (0,4,1) outranks the
   client's `.sr-finding { margin-top: clamp(32px, 4vw, 48px) }`; restate that one value with more weight. */
html body .elementor .elementor-widget .sr-page figure.sr-finding { margin-top: clamp(32px, 4vw, 48px); }
html { scroll-padding-top: 140px; }

/* Software Integration page (2026-11-23): the client's section title is the page H1 there; give it the
   look their stylesheet gives the same title as an h2 (site-robotics-home.css `.sr-section-head h2`). */
.sr-page .sr-integration .sr-section-head h1 { font-size: var(--sr-h2); line-height: 1.15; letter-spacing: -0.015em; }

/* ==========================================================================
   Contact v3 (2026-11-23): the client's static form "shows the agreed fields and labels only";
   on WordPress it is the WPForms form (form 577). These rules draw the WPForms markup with the
   values of the client's own form rules in site-robotics-contact-v3.css (.sr-form, .sr-form__pair,
   .sr-field, .sr-form input / select / textarea, .sr-btn--primary.sr-btn--wide, .sr-form__thanks).
   Field layout comes from the WPForms layout classes: wpforms-one-half (+ wpforms-first) = a pair.
   ========================================================================== */
.sr-page .sr-form--wp .wpforms-container { margin: 0 !important; padding: 0 !important; max-width: none !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.sr-page .sr-form--wp .wpforms-form { display: grid; gap: 12px; margin: 0; padding: 0; }
.sr-page .sr-form--wp .wpforms-field-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin: 0; padding: 0; }
.sr-page .sr-form--wp .wpforms-form::before, .sr-page .sr-form--wp .wpforms-form::after,
.sr-page .sr-form--wp .wpforms-field-container::before, .sr-page .sr-form--wp .wpforms-field-container::after,
.sr-page .sr-form--wp .wpforms-field::before, .sr-page .sr-form--wp .wpforms-field::after { content: none !important; display: none !important; }
.sr-page .sr-form--wp .wpforms-field {
  display: grid; grid-template-columns: 108px minmax(0, 1fr); align-items: center; gap: 12px; grid-column: 1 / -1;
  width: auto !important; max-width: none !important; float: none !important; clear: none !important; margin: 0 !important; padding: 0 !important;
  font-size: var(--sr-small); font-weight: 600; color: var(--sr-ink);
}
.sr-page .sr-form--wp .wpforms-field.wpforms-one-half { grid-column: auto; }
.sr-page .sr-form--wp .wpforms-field.wpforms-one-half:not(.wpforms-first) { grid-template-columns: auto minmax(0, 1fr); }
.sr-page .sr-form--wp .wpforms-field.wpforms-field-textarea { align-items: start; }
.sr-page .sr-form--wp .wpforms-field .wpforms-field-label {
  display: block; margin: 0 !important; padding: 0 !important; font-family: inherit !important; font-size: inherit !important;
  font-weight: 600 !important; line-height: inherit !important; letter-spacing: normal !important; text-transform: none !important; color: var(--sr-ink) !important;
}
.sr-page .sr-form--wp .wpforms-field.wpforms-field-textarea .wpforms-field-label { padding-top: 10px !important; }
.sr-page .sr-form--wp .wpforms-field .wpforms-required-label { color: var(--sr-yellow-deep) !important; font-weight: inherit !important; }
.sr-page .sr-form--wp .wpforms-field input:not([type="hidden"]),
.sr-page .sr-form--wp .wpforms-field select,
.sr-page .sr-form--wp .wpforms-field textarea {
  font: inherit !important; font-weight: 400 !important; font-size: 0.9375rem !important; color: var(--sr-ink) !important;
  background: #fff !important; border: 1px solid #CFCFD4 !important; border-radius: 10px !important; padding: 9px 12px !important;
  width: 100% !important; max-width: none !important; box-sizing: border-box !important; min-height: 42px !important; height: auto !important;
  margin: 0 !important; box-shadow: none !important; opacity: 1 !important; transition: none;
}
.sr-page .sr-form--wp .wpforms-field select { appearance: auto !important; -webkit-appearance: menulist !important; background-image: none !important; }
.sr-page .sr-form--wp .wpforms-field textarea { resize: vertical; min-height: 84px !important; height: calc(3lh + 20px) !important; }
.sr-page .sr-form--wp .wpforms-field textarea::placeholder { color: #8A8A92 !important; opacity: 1; }
.sr-page .sr-form--wp .wpforms-field input:focus-visible,
.sr-page .sr-form--wp .wpforms-field select:focus-visible,
.sr-page .sr-form--wp .wpforms-field textarea:focus-visible {
  outline: 3px solid var(--sr-yellow) !important; outline-offset: 1px !important; border-color: var(--sr-ink) !important; box-shadow: none !important;
}
/* The WPForms validation message (the static prototype used the browser's own): under the input, in the input column. */
.sr-page .sr-form--wp .wpforms-field em.wpforms-error { grid-column: 2; margin: -6px 0 0 !important; padding: 0 !important; font-size: var(--sr-small) !important; font-style: normal; font-weight: 400; line-height: 1.4; color: #B3261E !important; }
.sr-page .sr-form--wp .wpforms-field em.wpforms-error::before { content: none !important; display: none !important; }
.sr-page .sr-form--wp .wpforms-field input.wpforms-error, .sr-page .sr-form--wp .wpforms-field select.wpforms-error, .sr-page .sr-form--wp .wpforms-field textarea.wpforms-error { border-color: #B3261E !important; }
.sr-page .sr-form--wp .wpforms-error-container { margin: 0 !important; padding: 0 !important; font-size: var(--sr-small); color: #B3261E; }

/* Send Enquiry = the client's .sr-btn.sr-btn--primary.sr-btn--wide, with their arrow drawn from the same path. */
.sr-page .sr-form--wp .wpforms-submit-container { position: relative; margin: 0 !important; padding: 0 !important; }
.sr-page .sr-form--wp button.wpforms-submit,
.sr-page .sr-form--wp button.wpforms-submit:focus,
.sr-page .sr-form--wp button.wpforms-submit:active {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 10px; width: 100% !important; min-height: 48px !important; height: auto !important;
  margin: 4px 0 0 !important; padding: 14px 26px !important; font-family: var(--sr-font) !important; font-size: 0.9375rem !important; font-weight: 600 !important;
  letter-spacing: 0.01em !important; line-height: 1.2 !important; text-transform: none !important; text-decoration: none !important;
  background: var(--sr-yellow) !important; border: 1px solid var(--sr-yellow) !important; border-radius: 0 !important; color: var(--sr-ink) !important;
  box-shadow: none !important; cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.sr-page .sr-form--wp button.wpforms-submit:hover { background: var(--sr-ink) !important; border-color: var(--sr-ink) !important; color: var(--sr-paper) !important; }
.sr-page .sr-form--wp button.wpforms-submit::before { content: none !important; display: none !important; }
.sr-page .sr-form--wp button.wpforms-submit::after {
  content: "" !important; display: block !important; position: static !important; inset: auto !important; flex: none; width: 16px !important; height: 16px !important;
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; opacity: 1 !important; background: currentColor !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sr-page .sr-form--wp button.wpforms-submit:focus-visible { outline: 3px solid var(--sr-ink) !important; outline-offset: 3px !important; }
.sr-page .sr-form--wp .wpforms-submit-spinner { position: absolute; right: 14px; top: calc(50% + 2px); transform: translateY(-50%); margin: 0 !important; width: 22px; height: 22px; }

/* After sending: the WPForms confirmation message drawn as the client's .sr-form__thanks panel (badge + h4 + p). */
.sr-page .sr-form--wp:has(.wpforms-confirmation-container-full) { margin: auto 0; }
.sr-page .sr-form--wp:has(.wpforms-confirmation-container-full) .sr-form__consent { display: none; }
.sr-page .sr-form--wp .wpforms-confirmation-container-full {
  margin: 0 !important; padding: 28px 0 !important; text-align: center; background: none !important; border: 0 !important; box-shadow: none !important; color: inherit !important; outline: none;
}
.sr-page .sr-form--wp .wpforms-confirmation-container-full::before {
  content: ""; display: block; width: 60px; height: 60px; margin: 0 auto; border-radius: 50%;
  background: var(--sr-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4D72C' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 30px 30px no-repeat;
}
.sr-page .sr-form--wp .wpforms-confirmation-container-full h4 { margin: 16px 0 8px !important; font-family: var(--sr-font); font-size: 1.375rem !important; font-weight: bold; line-height: inherit; color: var(--sr-ink) !important; }
.sr-page .sr-form--wp .wpforms-confirmation-container-full p { margin: 0 auto !important; max-width: 26em; font-size: inherit !important; line-height: inherit; color: inherit !important; }

@media (max-width: 559px) {
  .sr-page .sr-form--wp .wpforms-field-container { grid-template-columns: minmax(0, 1fr); }
  .sr-page .sr-form--wp .wpforms-field.wpforms-one-half:not(.wpforms-first) { grid-template-columns: 108px minmax(0, 1fr); }
  .sr-page .sr-form--wp .wpforms-field.wpforms-field-textarea { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .sr-page .sr-form--wp .wpforms-field.wpforms-field-textarea .wpforms-field-label { padding-top: 0 !important; }
  .sr-page .sr-form--wp .wpforms-field em.wpforms-error { grid-column: auto; }
}
