/* Final production-only visual boundary. Historical review and validation layers remain available outside product mode. */
html[data-product-surface="production"] .q-worldclass-context[data-qelly-product-boundary="suppressed"],
html[data-product-surface="production"] .q-worldclass-context:empty,
html[data-product-surface="production"] .q-scroll-progress,
html[data-product-surface="production"] #context-shelf,
html[data-product-surface="production"] #persona-ribbon,
html[data-product-surface="production"] #edge-dock,
html[data-product-surface="production"] #rail,
html[data-product-surface="production"] #compare-tray,
html[data-product-surface="production"] #mobile-navigation,
html[data-product-surface="production"] .q-global-strip {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-product-surface="production"] .skip-link {
  top: -120px !important;
  left: 12px !important;
  z-index: 2000 !important;
}

html[data-product-surface="production"] .skip-link:focus:not(:focus-visible) {
  top: -120px !important;
}

html[data-product-surface="production"] .skip-link:focus-visible {
  top: 12px !important;
}

html[data-product-surface="production"] #main:focus,
html[data-product-surface="production"] #main:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

html[data-product-surface="production"] .q-panel {
  overflow: hidden;
  border-color: var(--q-product-line) !important;
  background: var(--q-product-surface) !important;
  box-shadow: var(--q-product-shadow) !important;
}

html[data-product-surface="production"] .q-panel-head {
  min-height: 76px;
  padding: 18px 20px !important;
  border-bottom: 1px solid var(--q-product-line) !important;
  background-color: var(--q-product-surface-2) !important;
  background-image: linear-gradient(180deg,
    color-mix(in srgb, var(--q-product-surface-2) 90%, var(--q-product-surface)),
    var(--q-product-surface)) !important;
  color: var(--q-product-text) !important;
}

html[data-product-surface="production"] .q-panel-head h2 {
  margin: 2px 0 0;
  color: var(--q-product-text) !important;
  font-size: 18px !important;
  line-height: 1.22;
}

html[data-product-surface="production"] .q-panel-head p:not(.q-eyebrow) {
  margin: 5px 0 0;
  color: var(--q-product-muted) !important;
  font-size: 13px !important;
  line-height: 1.45;
}

html[data-product-surface="production"] .q-calculator-detail-page .q-state-banner,
html[data-product-surface="production"] .q-calculator-center-page .q-state-banner {
  align-items: center;
  min-height: 58px;
  padding: 14px 18px;
  border-color: var(--q-product-line);
  background: var(--q-product-surface);
}

html[data-product-surface="production"] .q-calculator-detail-page .q-state-banner p,
html[data-product-surface="production"] .q-calculator-center-page .q-state-banner p {
  color: var(--q-product-muted);
  font-size: 13px;
  line-height: 1.45;
}

html[data-product-surface="production"] .q-structured-field small {
  font-size: 12.5px;
  line-height: 1.45;
}

html[data-product-surface="production"] .q-auth-secondary-link {
  width: max-content;
  min-height: 36px;
  margin-top: 2px;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--q-product-accent-strong);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  opacity: 1;
}

html[data-product-surface="production"] .q-auth-secondary-link:hover {
  color: var(--q-product-text);
}

html[data-product-surface="production"] .q-auth-secondary-link:disabled {
  color: var(--q-product-muted);
  background: transparent;
  text-decoration: none;
}

html[data-product-surface="production"] .q-auth-proof-grid span {
  margin-top: 6px;
  line-height: 1.45;
  word-spacing: normal;
}

html[data-product-surface="production"] .q-calculator-center-page {
  width: min(1480px,100%);
  margin: 0 auto;
  padding: clamp(24px,4vw,56px) clamp(16px,3vw,44px) 80px;
}

html[data-product-surface="production"] .q-calculator-featured,
html[data-product-surface="production"] .q-calculator-browser {
  margin-top: clamp(42px,6vw,76px);
}

html[data-product-surface="production"] .q-calculator-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

html[data-product-surface="production"] .q-calculator-section-head h2 {
  margin: 4px 0 0;
  color: var(--q-product-text);
  font-size: clamp(28px,3vw,44px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

html[data-product-surface="production"] .q-calculator-section-head p:not(.q-eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--q-product-muted);
}

html[data-product-surface="production"] .q-calculator-browser {
  padding: clamp(22px,3vw,34px);
  border: 1px solid var(--q-product-line);
  border-radius: 24px;
  background: var(--q-product-surface);
  box-shadow: var(--q-product-shadow);
}

html[data-product-surface="production"] .q-calculator-browser__toolbar {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(220px,320px);
  gap: 14px;
  margin-bottom: 22px;
}

html[data-product-surface="production"] .q-calculator-browser__toolbar label {
  display: grid;
  gap: 7px;
  color: var(--q-product-text);
  font-size: 13px;
  font-weight: 650;
}

html[data-product-surface="production"] .q-calculator-browser__toolbar input,
html[data-product-surface="production"] .q-calculator-browser__toolbar select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--q-product-line);
  border-radius: 12px;
  background: var(--q-product-surface-2);
  color: var(--q-product-text);
  padding: 10px 13px;
  font: inherit;
  font-size: 16px;
}

html[data-product-surface="production"] .q-calculator-card-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 16px;
}

html[data-product-surface="production"] .q-calculator-card-grid.is-featured {
  grid-template-columns: repeat(3,minmax(0,1fr));
}

html[data-product-surface="production"] .q-calculator-card {
  display: flex;
  min-width: 0;
  min-height: 250px;
  flex-direction: column;
  border: 1px solid var(--q-product-line);
  border-radius: 18px;
  background: linear-gradient(145deg,var(--q-product-surface),var(--q-product-surface-2));
  color: var(--q-product-text);
  padding: 22px;
  text-decoration: none;
  transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}

html[data-product-surface="production"] .q-calculator-card:hover,
html[data-product-surface="production"] .q-calculator-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb,var(--q-product-accent-strong) 65%,var(--q-product-line));
  box-shadow: 0 18px 45px rgba(0,0,0,.22);
}

html[data-product-surface="production"] .q-calculator-card.is-featured {
  min-height: 280px;
  background: linear-gradient(150deg,var(--q-product-surface),color-mix(in srgb,var(--q-product-surface-2) 80%,var(--q-product-accent) 20%));
}

html[data-product-surface="production"] .q-calculator-card__meta,
html[data-product-surface="production"] .q-calculator-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-product-surface="production"] .q-calculator-card__meta {
  color: var(--q-product-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .055em;
}

html[data-product-surface="production"] .q-calculator-card h3 {
  margin: 34px 0 10px;
  color: var(--q-product-text);
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: -.025em;
}

html[data-product-surface="production"] .q-calculator-card>p {
  margin: 0;
  color: var(--q-product-muted);
  font-size: 14px;
  line-height: 1.55;
}

html[data-product-surface="production"] .q-calculator-card__footer {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--q-product-line);
  color: var(--q-product-muted);
  font-size: 12px;
}

html[data-product-surface="production"] .q-calculator-card__footer strong {
  color: var(--q-product-text);
  font-size: 13px;
  white-space: nowrap;
}

html[data-product-surface="production"] .q-calculator-empty {
  place-items: center;
  min-height: 260px;
  border: 1px dashed var(--q-product-line);
  border-radius: 18px;
  color: var(--q-product-muted);
  text-align: center;
  padding: 34px;
}

html[data-product-surface="production"] .q-calculator-empty:not([hidden]) {
  display: grid;
}

html[data-product-surface="production"] .q-calculator-empty h3 {
  margin: 0;
  color: var(--q-product-text);
  font-size: 22px;
}

html[data-product-surface="production"] .q-calculator-empty p {
  margin: 8px 0 18px;
}

@media (max-width: 1100px) {
  html[data-product-surface="production"] .q-calculator-card-grid,
  html[data-product-surface="production"] .q-calculator-card-grid.is-featured {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 680px) {
  html[data-product-surface="production"] .q-calculator-section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  html[data-product-surface="production"] .q-calculator-browser__toolbar,
  html[data-product-surface="production"] .q-calculator-card-grid,
  html[data-product-surface="production"] .q-calculator-card-grid.is-featured {
    grid-template-columns: 1fr;
  }

  html[data-product-surface="production"] .q-calculator-card,
  html[data-product-surface="production"] .q-calculator-card.is-featured {
    min-height: 230px;
  }
}

@media (max-width: 560px) {
  html[data-product-surface="production"] .q-product-system {
    display: none !important;
  }

  html[data-product-surface="production"] .q-product-actions {
    display: block;
    width: 100%;
  }

  html[data-product-surface="production"] .q-product-account {
    width: 100%;
    min-height: 42px;
    justify-content: center;
    flex: none;
  }

  html[data-product-surface="production"] .q-auth-page {
    padding-top: 32px;
  }

  html[data-product-surface="production"] .q-auth-card {
    padding: 24px !important;
  }

  html[data-product-surface="production"] .q-calculator-center-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  html[data-product-surface="production"] .q-calculator-browser {
    padding: 18px;
  }

  html[data-product-surface="production"] .q-calculator-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
