/* SUBSCRIBE REDESIGN, SEAT SHEET — /support-cae/subscribe/ only. Kate's own file decides the design:
 * assets/css/subscribe-redesign-kate.css (byte-for-byte, 2026-11-30), enqueued right after this sheet and after every
 * cae-sitewide-mobile-qa* sheet by inc/cae-subscribe-redesign.php. This sheet keeps only what her file needs and does not say:
 * every rule here either carries her own values or keeps a hidden element hidden. */

/* THANK-YOU VIEW = CONTACT'S (Kate, ClickUp 1amzwvgdyfn 22:12Z): "Keep the form title visible ("STAY UPDATED WITH CAE") above
 * the panel ... Remove the sx--done rule that hides h1/h2." That rule is in HER file (section.sx.sx--done h1, h2{display:none!important}),
 * which stays byte-for-byte, so it is neutralised here, one ID higher: the page title shows (block, as on the unsent page) and so
 * does the panel's own heading (block, as Contact's). Her other sx--done hides (fields, Turnstile, Submit, spam note) stand. */
html body:not(#z) section.sx.sx--done :is(h1, h2) {
  display: block !important;
}
/* Her section.sx h2{color:#B15533!important} would paint Contact's white panel heading brick; the panel keeps the component's
 * own colour (style.css, the composition's heading: var(--wp--preset--color--white)). No new value. */
html body:not(#z) section.sx .site-form__thanks[data-site-form-thanks] .wp-block-heading {
  color: var(--wp--preset--color--white) !important;
}

/* KATE'S FILE DECIDES SUBSCRIBE AT PHONE WIDTH TOO. Her QA #25 sheet (all forms, <= 781 px) uses a 6-ID prefix with
 * !important, so it outranks her Subscribe file at any load order: measured at 390 and 430 before this block, the Subscribe
 * boxes were 22 px, the card boxes sat outside the cards on the left, the cards lost their white ground and padding, and the
 * spam note took QA #14's 20 px. Each rule below restates HER Subscribe file's own value for that property (base rules, and
 * her <= 760 px block where it sets one) under a 7-ID prefix, inside QA #25's own range. No new values. */
@media (max-width: 781px) {
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx :is(.sx-nl__card > input[type=checkbox], .sx-nl__all > input[type=checkbox], input[name=submit_as_company], input[name=physical_mailings], input[name=address_type]) {
    flex: 0 0 32px !important; width: 32px !important; height: 32px !important; min-width: 32px !important;
    border: 2px solid #F2A518 !important; border-radius: 3px !important; background: #fff center/22px no-repeat !important;
    box-shadow: none !important; margin: 0 !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx.sx input[name=address_type][type=radio] { border-radius: 50% !important; }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx :is(.sx-nl__card > input[type=checkbox], .sx-nl__all > input[type=checkbox], input[name=submit_as_company], input[name=physical_mailings]):checked {
    background-color: #F2A518 !important; border-color: #F2A518 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx.sx input[name=address_type][type=radio]:checked {
    background: #fff radial-gradient(circle, #F2A518 0 7px, transparent 8px) !important; box-shadow: none !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .site-form__field--checkbox .site-form__choice-group.sx-nl {
    display: flex !important; flex-direction: column !important; gap: 14px !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .sx-nl__all {
    display: flex !important; align-items: center !important; gap: 12px !important; padding: 0 0 4px !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .site-form__choice-option.sx-nl__card {
    position: relative !important; display: block !important; background: #fff !important; border: 1px solid #D8D6C8 !important;
    padding: 16px 72px 16px 16px !important; border-radius: 0 !important; margin: 0 !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .sx-nl__card > input {
    position: absolute !important; top: 50% !important; right: 20px !important; transform: translateY(-50%) !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .sx-nl__card > label {
    display: grid !important; grid-template-columns: 150px 1fr !important; gap: 20px !important; align-items: center !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx fieldset.sx-pm .site-form__choice-option {
    display: flex !important; align-items: flex-start !important; gap: 16px !important; padding: 0 !important; margin: 0 !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .site-form__choice-option:is(:has(input[name=submit_as_company]), :has(input[name=address_type])) {
    display: flex !important; align-items: center !important; gap: 12px !important; padding: 4px 0 !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx :is(.sx-note, .sx-note *) {
    font-size: 19.18px !important; line-height: 28px !important;
  }
}
@media (max-width: 760px) {
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .site-form__choice-option.sx-nl__card {
    padding: 14px 56px 14px 14px !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .sx-nl__card > input {
    top: 14px !important; right: 14px !important; transform: none !important;
  }
  html:not(#z):not(#y):not(#x):not(#w):not(#v):not(#u) body:not(#z) section.sx .sx-nl .sx-nl__card > label {
    grid-template-columns: 84px 1fr !important; gap: 14px !important; align-items: start !important;
  }
}
