/* 7VEN JUICES3 · AUDIT 8 — contraste obligatorio y matriz universal */

/* Guardia maestra: cualquier panel claro del editor de pedido usa texto oscuro legible. */
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-plan-confirm,
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-partial-note,
.screen-07 .ju3-cart-rule-card .a5-item-body > .a7-account-note,
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-allocation-head{
  background:var(--ju3-field-bg,#fff)!important;
  color:var(--ju3-field-text,#0c3120)!important;
  -webkit-text-fill-color:var(--ju3-field-text,#0c3120)!important;
}
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-plan-confirm > *,
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-partial-note > b,
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-partial-note > p,
.screen-07 .ju3-cart-rule-card .a5-item-body > .a7-account-note,
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-allocation-head > *{
  color:var(--ju3-field-text,#0c3120)!important;
  -webkit-text-fill-color:var(--ju3-field-text,#0c3120)!important;
  opacity:1!important;
}
.screen-07 .ju3-cart-rule-card .a5-allocation-status,
.screen-07 .ju3-cart-rule-card .a5-allocation-status > *,
.screen-07 .ju3-cart-rule-card .a5-allocation-status.ok,
.screen-07 .ju3-cart-rule-card .a5-allocation-status.bad{
  color:var(--ju3-field-text,#0c3120)!important;
  -webkit-text-fill-color:var(--ju3-field-text,#0c3120)!important;
  opacity:1!important;
  font-weight:900!important;
}
.screen-07 .a5-allocation-grid .a8-quantity-stepper input[type="number"]{
  appearance:textfield!important;
  -moz-appearance:textfield!important;
  cursor:default;
}
.screen-07 .a5-allocation-grid .a8-quantity-stepper input[type="number"]::-webkit-inner-spin-button,
.screen-07 .a5-allocation-grid .a8-quantity-stepper input[type="number"]::-webkit-outer-spin-button{
  -webkit-appearance:none!important;
  appearance:none!important;
  margin:0!important;
}
.screen-07 .a5-allocation-grid .a8-quantity-stepper button{
  touch-action:manipulation;
  cursor:pointer!important;
  position:relative;
  z-index:2;
}
.screen-07 .a5-allocation-grid .a8-quantity-stepper button:active{transform:scale(.94)}
.screen-07 .a5-payment-card .a8-mixed-payment,
.screen-07 .a5-payment-card .a8-mixed-payment *{
  opacity:1;
}
.screen-07 .ju3-cart-rule-card .a5-item-body .a7-partial-note > div > span{
  background:#eaf3e5!important;
  color:#1f5224!important;
  -webkit-text-fill-color:#1f5224!important;
  opacity:1!important;
}
.screen-07 .ju3-cart-rule-card .a7-month-mode > span{
  color:var(--ju3-inner-t3,#fff)!important;
  -webkit-text-fill-color:var(--ju3-inner-t3,#fff)!important;
}
.screen-07 .ju3-cart-rule-card .a7-month-mode select,
.screen-07 .ju3-cart-rule-card .a7-month-mode option,
.screen-07 .ju3-cart-rule-card .a5-date-select select,
.screen-07 .ju3-cart-rule-card .a5-date-select option{
  color:var(--ju3-field-text,#0c3120)!important;
  -webkit-text-fill-color:var(--ju3-field-text,#0c3120)!important;
  background:var(--ju3-field-bg,#fff)!important;
}

/* Apariencia individual controlada por la matriz. Transform conserva el flujo estructural. */
.a8-styled-text{
  color:var(--a8-text-color,inherit)!important;
  -webkit-text-fill-color:var(--a8-text-color,inherit)!important;
  font-size:var(--a8-text-size,inherit)!important;
  font-weight:var(--a8-text-weight,inherit)!important;
  text-align:var(--a8-text-align,inherit)!important;
  transform:translate(var(--a8-text-x,0),var(--a8-text-y,0)) scale(var(--a8-text-scale,1))!important;
  transform-origin:left center!important;
  position:relative;
  z-index:1;
}
.a8-styled-text[data-a8-gradient="1"]{
  background-image:var(--a8-text-paint)!important;
  background-clip:text!important;
  -webkit-background-clip:text!important;
  color:transparent!important;
  -webkit-text-fill-color:transparent!important;
}

/* Inspector: matriz corta, buscable y sin perder controles. */
.a8-text-matrix{display:grid;gap:10px;padding-bottom:30px}
.a8-text-matrix>h3{margin:4px 0;color:#0c3120}
.a8-text-matrix .success-box{margin:0;font-size:.78rem}
.a8-text-matrix .success-box p{margin:5px 0 0}
.a8-search{position:sticky;top:0;z-index:4;background:#f7f9f7;padding:8px 0}
.a8-search input{border:2px solid #69b42c!important}
.a8-matrix-count{font-size:.7rem;font-weight:850;color:#516057;background:#eef4ee;border-radius:8px;padding:8px 10px}
.a8-text-row{border:1px solid #d5dfd7;border-radius:10px;background:#fff;overflow:hidden}
.a8-text-row[hidden]{display:none!important}
.a8-text-row>summary{display:grid;gap:3px;padding:10px 11px;cursor:pointer;list-style:none;color:#0c3120}
.a8-text-row>summary::-webkit-details-marker{display:none}
.a8-text-row>summary span{font-size:.76rem;font-weight:900;text-transform:uppercase}
.a8-text-row>summary small{font-size:.68rem;color:#66766c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.a8-text-row[open]>summary{background:#eef6ea;border-bottom:1px solid #d5dfd7}
.a8-text-row-body{display:grid;gap:9px;padding:10px}
.a8-text-row textarea{min-height:72px;resize:vertical}
.a8-control-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.a8-control-grid>.field{min-width:0}
.a8-control-grid input[type="range"]{width:100%}
.a8-text-paint .j2-palette-grid{grid-template-columns:repeat(7,1fr)}
.a8-text-paint .j2-metal-grid{grid-template-columns:repeat(4,1fr)}
.a8-dynamic-note{border-left:4px solid #ffc911;background:#fff8dc;color:#5f4a00;padding:8px 10px;border-radius:7px;font-size:.7rem;font-weight:750}
.a8-dynamic-title{margin-top:18px!important}
.a8-cancel-pending{margin-top:10px;width:100%}

@media(max-width:760px){.a8-control-grid{grid-template-columns:1fr}}
