/* P11B-R7 — six-check closure marker p11b-r7 (immutable hashed deploy) */

/* Keep R6 closures that already PASS, with corrected source-of-truth tokens */

body.enumara-public-preview {
  --enumara-preview-muted: rgb(107, 114, 128);
}

/* R7-08 muted color — panel source-of-truth rgb(107,114,128) */
body.enumara-public-preview .text-secondary,
body.enumara-public-preview .enumara-purchase-toolbar .text-secondary,
body.enumara-public-preview .enumara-preview-muted,
body.enumara-public-preview .enumara-preview-auth__lead,
body.enumara-public-preview .enumara-preview-auth__register,
body.enumara-public-preview .enumara-service-card__stock,
body.enumara-public-preview .enumara-preview-status-meta__row dt {
  color: rgb(107, 114, 128) !important;
}

/* Preserve auth card border from R6 PASS */
body.enumara-public-preview .enumara-preview-auth__card,
body.enumara-public-preview .enumara-preview-contact__form-card.enumara-card {
  border-color: rgb(55, 65, 81) !important;
}

/* R7-10 search focus ring — exact panel computed channels */
body.enumara-public-preview #enumaraServiceSearch:focus,
body.enumara-public-preview #enumaraServiceSearch:focus-visible,
body.enumara-public-preview .enumara-purchase-panel .form-control:focus,
body.enumara-public-preview .enumara-purchase-panel .form-control:focus-visible,
body.enumara-public-preview .enumara-preview-services-search__input:focus,
body.enumara-public-preview .enumara-preview-services-search__input:focus-visible {
  border-color: rgb(131, 183, 232) !important;
  outline: rgb(55, 65, 81) none 0px !important;
  outline-offset: -2px !important;
  box-shadow: rgba(31, 41, 55, 0.06) 0px 1px 1px 0px, rgba(6, 111, 209, 0.25) 0px 0px 0px 4px !important;
  background-color: rgb(255, 255, 255) !important;
}

/* R7-16 desktop nav row height — exact panel content box */
body.enumara-public-preview .enumara-header-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 32.78125px !important;
  min-height: 32.78125px !important;
  max-height: 32.78125px !important;
  line-height: 20px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.enumara-public-preview .enumara-header-nav .enumara-nav-links {
  display: flex !important;
  align-items: center !important;
  height: 32.78125px !important;
  min-height: 32.78125px !important;
  max-height: 32.78125px !important;
}

body.enumara-public-preview .enumara-header-nav .nav-link,
body.enumara-public-preview .enumara-nav-links .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  height: 32.78125px !important;
  min-height: 32.78125px !important;
  max-height: 32.78125px !important;
  padding-top: 6.4px !important;
  padding-bottom: 6.4px !important;
  padding-left: 10.4px !important;
  padding-right: 10.4px !important;
  line-height: 20px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  border-width: 0 !important;
}

/* Keep R6 header right control PASS */
body.enumara-public-preview .enumara-header-actions .enumara-preview-btn--desktop,
body.enumara-public-preview .enumara-header-actions .enumara-preview-btn.enumara-preview-btn--desktop {
  min-height: 42px !important;
  height: 42px !important;
  max-height: 42px !important;
  box-sizing: border-box !important;
  border-width: 1px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* R7-71 status badge — exact panel .badge.bg-success metrics */
body.enumara-public-preview .enumara-preview-status-badge {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 12px !important;
  padding: 3.36px 6px !important;
  border-radius: 6px !important;
  border-style: solid !important;
  border-width: 1px !important;
  border-color: transparent !important;
  box-sizing: border-box !important;
  height: 20.71875px !important;
  min-height: 20.71875px !important;
  max-height: 20.71875px !important;
  vertical-align: baseline !important;
}

/* R7-50 contact textarea radius — panel source-of-truth 6px */
body.enumara-public-preview .enumara-preview-contact__textarea,
body.enumara-public-preview .enumara-preview-contact__textarea.form-control {
  border-radius: 6px !important;
}

body.enumara-public-preview .enumara-preview-contact__textarea:focus,
body.enumara-public-preview .enumara-preview-contact__textarea.is-invalid,
body.enumara-public-preview .enumara-preview-contact__textarea.form-control:focus,
body.enumara-public-preview .enumara-preview-contact__textarea.form-control.is-invalid {
  border-radius: 6px !important;
}

/* R7-51 validation color — exact panel .is-invalid border */
body.enumara-public-preview .enumara-preview-contact__input.is-invalid,
body.enumara-public-preview .enumara-preview-contact__textarea.is-invalid,
body.enumara-public-preview .enumara-preview-auth__input.is-invalid,
body.enumara-public-preview .form-control.is-invalid {
  border-color: rgb(214, 57, 57) !important;
  border-top-color: rgb(214, 57, 57) !important;
  border-right-color: rgb(214, 57, 57) !important;
  border-bottom-color: rgb(214, 57, 57) !important;
  border-left-color: rgb(214, 57, 57) !important;
}
