/* YakData launch rendering fixes, 2026-08-27. Loaded last to override stale/legacy page rules. */

/* FDE Lab: preserve 77 Rules artwork, readable lessons, and a visible capture form. */
body[data-page="fde_lab"] .lab-case-visual img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1600 / 845!important;
  object-fit:contain!important;
  object-position:center!important;
  border-radius:14px!important;
}
body[data-page="fde_lab"] .lab-case-visual{align-self:start!important;min-width:0!important}
body[data-page="fde_lab"] .lab-lessons{
  background:#0B1D2D!important;
  color:#fff!important;
  border-top:4px solid #C49A2C!important;
}
body[data-page="fde_lab"] .lab-lessons .section-head h2{color:#fff!important}
body[data-page="fde_lab"] .lab-lessons .eyebrow{color:#C49A2C!important}
body[data-page="fde_lab"] .lesson-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  background:#10263A!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-top:4px solid #C49A2C!important;
}
body[data-page="fde_lab"] .lesson-grid article{
  min-width:0!important;
  background:#10263A!important;
  border-right:1px solid rgba(255,255,255,.16)!important;
  padding:24px 20px!important;
}
body[data-page="fde_lab"] .lesson-grid article:last-child{border-right:0!important}
body[data-page="fde_lab"] .lesson-grid b{color:#fff!important}
body[data-page="fde_lab"] .lesson-grid p{color:#D2DAE1!important}
body[data-page="fde_lab"] .lesson-grid span{color:#D5A830!important}

/* Native capture is always visible. Kit can replace it later when the correct form exists. */
body[data-page="fde_lab"] .kit-capture{min-height:0!important;padding:26px!important}
body[data-page="home"] .kit-capture{min-height:0!important;padding:26px!important}
body[data-page="fde_lab"] .kit-embed-host{display:none!important}
body[data-page="fde_lab"] .kit-fallback-form{display:block!important;margin-top:16px!important}
body[data-page="fde_lab"] .kit-fallback-form label{display:block!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#0B1D2D!important;margin-bottom:7px!important}
body[data-page="fde_lab"] .kit-fallback-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:stretch!important}
body[data-page="fde_lab"] .kit-fallback-row input{
  display:block!important;width:100%!important;min-width:0!important;min-height:48px!important;
  border:2px solid #8A98A5!important;background:#fff!important;color:#1C2733!important;
  padding:11px 13px!important;font:inherit!important;font-size:16px!important;border-radius:2px!important;
}
body[data-page="fde_lab"] .kit-fallback-row input:focus{border-color:#C49A2C!important;outline:3px solid rgba(196,154,44,.22)!important;outline-offset:1px!important}
body[data-page="fde_lab"] .kit-fallback-row .btn{white-space:nowrap!important}
body[data-page="fde_lab"] .kit-fallback-note{margin-top:10px!important;font-size:11px!important;line-height:1.5!important;color:#6C747C!important}

/* Production Reviews: simple, separated cards. No run-together text. */
body[data-page="production_reviews"] .compact-head{
  display:block!important;
  max-width:900px!important;
  margin:0 0 30px!important;
}
body[data-page="production_reviews"] .compact-head .eyebrow{margin-bottom:9px!important;padding-top:0!important}
body[data-page="production_reviews"] .compact-head h2,
body[data-page="production_reviews"] .reviews-close h2,
body[data-page="production_reviews"] .reviews-recognition h2{
  font-size:clamp(32px,3.2vw,46px)!important;
  line-height:1.06!important;
  max-width:900px!important;
  margin:0!important;
}
body[data-page="production_reviews"] .compact-head .lede{margin-top:12px!important;max-width:800px!important}

body[data-page="production_reviews"] .review-lens-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:14px!important;
  border:0!important;
  background:transparent!important;
}
body[data-page="production_reviews"] .review-lens-grid article,
body[data-page="production_reviews"] .review-lens-grid article:nth-child(4n),
body[data-page="production_reviews"] .review-lens-grid article:nth-child(n+5){
  display:grid!important;
  grid-template-columns:44px minmax(0,1fr)!important;
  grid-template-areas:"num title" "num copy"!important;
  column-gap:14px!important;
  row-gap:5px!important;
  min-width:0!important;
  min-height:0!important;
  padding:20px!important;
  background:#fff!important;
  border:1px solid #D2D5D8!important;
}
body[data-page="production_reviews"] .review-lens-grid article:last-child{grid-column:1/-1!important}
body[data-page="production_reviews"] .review-lens-grid i{grid-area:num!important;margin:0!important;font-size:22px!important;line-height:1.2!important}
body[data-page="production_reviews"] .review-lens-grid b{grid-area:title!important;margin:0!important;font-size:20px!important;line-height:1.18!important}
body[data-page="production_reviews"] .review-lens-grid span{grid-area:copy!important;font-size:12.5px!important;line-height:1.55!important;color:#54626F!important}

body[data-page="production_reviews"] .reviews-close{padding:64px 0!important}
body[data-page="production_reviews"] .reviews-interest-layout{
  display:grid!important;
  grid-template-columns:minmax(0,.9fr) minmax(420px,1.1fr)!important;
  gap:44px!important;
  align-items:start!important;
}
body[data-page="production_reviews"] .reviews-interest-copy>p{font-size:15px!important;line-height:1.65!important}
body[data-page="production_reviews"] .offer-terms li{
  display:grid!important;grid-template-columns:170px minmax(0,1fr)!important;gap:16px!important;
  padding:13px 0!important;
}
body[data-page="production_reviews"] .offer-terms b{font-size:12.5px!important;line-height:1.45!important}
body[data-page="production_reviews"] .offer-terms span{font-size:12.5px!important;line-height:1.55!important}
body[data-page="production_reviews"] .checkout-ready-panel{padding:26px!important;margin-bottom:22px!important}
body[data-page="production_reviews"] .checkout-ready-panel h3{font-size:30px!important}
body[data-page="production_reviews"] .checkout-ready-panel p{font-size:13px!important;line-height:1.6!important}

body[data-page="production_reviews"] .question-form-wrap{
  margin-top:0!important;
  padding:24px!important;
  background:#fff!important;
  border:1px solid #D2D5D8!important;
  border-top:4px solid #C49A2C!important;
}
body[data-page="production_reviews"] .question-form-wrap h3{font-size:28px!important;margin:0 0 7px!important}
body[data-page="production_reviews"] .question-form-wrap>p{font-size:13px!important;margin:0 0 18px!important}
body[data-page="production_reviews"] .form-shell{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
body[data-page="production_reviews"] .form-grid{display:grid!important;grid-template-columns:1fr!important;gap:16px!important}
body[data-page="production_reviews"] .field.full{grid-column:auto!important}
body[data-page="production_reviews"] .field label{
  display:block!important;margin:0 0 7px!important;font-size:11px!important;font-weight:700!important;
  letter-spacing:.08em!important;text-transform:uppercase!important;color:#0B1D2D!important;
}
body[data-page="production_reviews"] .field input,
body[data-page="production_reviews"] .field textarea,
body[data-page="production_reviews"] .field select{
  display:block!important;width:100%!important;min-height:48px!important;
  border:2px solid #8A98A5!important;background:#FBFAF7!important;color:#1C2733!important;
  padding:11px 13px!important;font:inherit!important;font-size:16px!important;border-radius:2px!important;
}
body[data-page="production_reviews"] .field textarea{min-height:118px!important;resize:vertical!important;line-height:1.5!important}
body[data-page="production_reviews"] .field input:focus,
body[data-page="production_reviews"] .field textarea:focus,
body[data-page="production_reviews"] .field select:focus{border-color:#C49A2C!important;outline:3px solid rgba(196,154,44,.22)!important;outline-offset:1px!important}
body[data-page="production_reviews"] .submit-btn{margin-top:18px!important}
body[data-page="production_reviews"] .form-note{font-size:11px!important;line-height:1.55!important;margin-top:12px!important}

@media(max-width:1050px){
  body[data-page="fde_lab"] .lesson-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body[data-page="fde_lab"] .lesson-grid article{border-bottom:1px solid rgba(255,255,255,.16)!important}
  body[data-page="fde_lab"] .lesson-grid article:nth-child(2n){border-right:0!important}
  body[data-page="fde_lab"] .lesson-grid article:last-child{grid-column:1/-1!important}
  body[data-page="production_reviews"] .reviews-interest-layout{grid-template-columns:1fr!important}
}
@media(max-width:760px){
  body[data-page="fde_lab"] .lesson-grid{grid-template-columns:1fr!important}
  body[data-page="fde_lab"] .lesson-grid article{border-right:0!important}
  body[data-page="fde_lab"] .lesson-grid article:last-child{grid-column:auto!important}
  body[data-page="fde_lab"] .kit-fallback-row{grid-template-columns:1fr!important}
  body[data-page="fde_lab"] .kit-fallback-row .btn{width:100%!important}
  body[data-page="production_reviews"] .review-lens-grid{grid-template-columns:1fr!important}
  body[data-page="production_reviews"] .review-lens-grid article:last-child{grid-column:auto!important}
  body[data-page="production_reviews"] .offer-terms li{grid-template-columns:1fr!important;gap:4px!important}
  body[data-page="production_reviews"] .question-form-wrap{padding:20px!important}
}

/* Home uses the same visible native capture fallback. */
body[data-page="home"] .kit-embed-host{display:none!important}
body[data-page="home"] .kit-fallback-form{display:block!important;margin-top:16px!important}
body[data-page="home"] .kit-fallback-form label{display:block!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#0B1D2D!important;margin-bottom:7px!important}
body[data-page="home"] .kit-fallback-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;align-items:stretch!important}
body[data-page="home"] .kit-fallback-row input{display:block!important;width:100%!important;min-width:0!important;min-height:48px!important;border:2px solid #8A98A5!important;background:#fff!important;color:#1C2733!important;padding:11px 13px!important;font:inherit!important;font-size:16px!important;border-radius:2px!important}
body[data-page="home"] .kit-fallback-row input:focus{border-color:#C49A2C!important;outline:3px solid rgba(196,154,44,.22)!important;outline-offset:1px!important}
body[data-page="home"] .kit-fallback-row .btn{white-space:nowrap!important}
body[data-page="home"] .kit-fallback-note{margin-top:10px!important;font-size:11px!important;line-height:1.5!important;color:#6C747C!important}
.kit-capture.is-known .kit-fallback-form{display:none!important}
@media(max-width:760px){body[data-page="home"] .kit-fallback-row{grid-template-columns:1fr!important}body[data-page="home"] .kit-fallback-row .btn{width:100%!important}}
