/* TH826_TAB3_STEP7_CHANNEL_SCALE_CSS_V1 */

.th826-step7-block{
  display:grid;
  gap:11px;
}

.th826-step7-inherit-note{
  display:grid;
  gap:3px;
  padding:8px 10px;
  border:1px solid rgba(44,166,234,.28);
  border-radius:9px;
  background:rgba(8,64,103,.24);
}

.th826-step7-inherit-note b{
  color:#7ed7ff;
  font-size:10.5px;
}

.th826-step7-inherit-note span{
  color:#a8cce6;
  font-size:9.5px;
  line-height:1.4;
}

.th826-step7-main-grid{
  display:grid;
  grid-template-columns:
    minmax(0,1.15fr)
    minmax(330px,.85fr);
  gap:12px;
  align-items:stretch;
}

.th826-step7-channel-actions{
  display:flex;
  justify-content:flex-end;
  gap:6px;
  margin-bottom:8px;
}

.th826-step7-channel-actions button{
  min-height:27px;
  padding:0 9px;
  border:1px solid rgba(51,146,219,.42);
  border-radius:7px;
  color:#bfe7ff;
  background:rgba(8,58,98,.48);
  font-size:8.8px;
  font-weight:800;
  cursor:pointer;
}

.th826-step7-channel-actions button:hover{
  border-color:#32aaff;
  background:rgba(15,101,170,.58);
}

.th826-step7-channel-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}

.th826-step7-channel-grid label{
  min-height:48px;
  display:grid;
  grid-template-columns:
    15px 30px minmax(0,1fr);
  gap:7px;
  align-items:center;
  padding:6px 8px;
  border:1px solid rgba(52,126,195,.25);
  border-radius:9px;
  background:rgba(5,23,42,.72);
  cursor:pointer;
}

.th826-step7-channel-grid label:hover{
  border-color:rgba(42,164,248,.52);
  background:rgba(10,61,104,.60);
}

.th826-step7-channel-grid label:has(input:checked){
  border-color:#2da8fa;
  background:rgba(13,93,162,.48);
}

.th826-step7-channel-grid input{
  width:13px;
  height:13px;
  margin:0;
}

.th826-step7-channel-icon{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#fff;
  background:linear-gradient(
    145deg,
    #159dff,
    #0864c6
  );
  font-size:10px;
  font-weight:950;
}

.th826-step7-channel-grid b{
  display:block;
  color:#f4fbff;
  font-size:9.8px;
  line-height:1.2;
}

.th826-step7-channel-grid small{
  display:block;
  margin-top:2px;
  color:#89b6d6;
  font-size:8.4px;
  line-height:1.25;
}

.th826-step7-channel-strategy{
  margin-top:10px;
}

.th826-step7-scale-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
}

.th826-step7-number-input{
  display:grid;
  grid-template-columns:minmax(0,1fr) 54px;
  align-items:center;
  gap:6px;
}

.th826-step7-number-input b{
  color:#8fc9eb;
  font-size:8.8px;
  text-align:center;
}

#th826Step7CustomSourceField,
#th826Step7CustomVariantField{
  opacity:.48;
  transition:opacity .16s ease;
}

#th826Step7CustomSourceField.is-active,
#th826Step7CustomVariantField.is-active{
  opacity:1;
}

.th826-step7-scale-note{
  display:grid;
  gap:3px;
  margin-top:10px;
  padding:8px 9px;
  border:1px solid rgba(48,140,214,.25);
  border-radius:9px;
  background:rgba(7,44,78,.38);
}

.th826-step7-scale-note b{
  color:#85d5ff;
  font-size:9.5px;
}

.th826-step7-scale-note span{
  color:#9cc5e3;
  font-size:8.8px;
  line-height:1.4;
}

.th826-step7-output-card{
  padding:11px;
  border:1px solid rgba(40,199,139,.32);
  border-radius:10px;
  background:rgba(6,70,53,.18);
}

.th826-step7-output-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
}

.th826-step7-output-head b{
  display:block;
  color:#eafff5;
  font-size:11px;
  font-weight:850;
}

.th826-step7-output-head span{
  display:block;
  margin-top:3px;
  color:#9ed8c3;
  font-size:8.9px;
  line-height:1.35;
}

.th826-step7-output-head em{
  flex:0 0 auto;
  min-height:23px;
  display:inline-flex;
  align-items:center;
  padding:3px 9px;
  border:1px solid rgba(47,218,152,.42);
  border-radius:999px;
  color:#8ff1c6;
  background:rgba(17,115,80,.30);
  font-size:8.8px;
  font-style:normal;
  font-weight:900;
}

.th826-step7-kpis{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:7px;
  margin-top:10px;
}

.th826-step7-kpis article{
  min-height:55px;
  display:grid;
  align-content:center;
  gap:4px;
  padding:7px 8px;
  border:1px solid rgba(41,153,123,.25);
  border-radius:8px;
  background:rgba(3,42,35,.42);
}

.th826-step7-kpis span{
  color:#8fc9b4;
  font-size:8.4px;
}

.th826-step7-kpis b{
  color:#f0fff9;
  font-size:16px;
  line-height:1;
}

.th826-step7-formulas{
  display:grid;
  gap:4px;
  margin-top:9px;
  padding:9px 10px;
  border-radius:8px;
  background:rgba(1,28,24,.52);
}

.th826-step7-formulas strong{
  color:#75efbb;
  font-size:10.5px;
}

.th826-step7-formulas span{
  color:#a2d9c5;
  font-size:9px;
}

.th826-step7-scale-warning{
  margin-top:8px;
  padding:7px 9px;
  border:1px solid rgba(239,177,61,.34);
  border-radius:8px;
  color:#ffd99a;
  background:rgba(112,72,8,.18);
  font-size:9px;
  line-height:1.4;
}

.th826-step7-scale-warning.is-ok{
  border-color:rgba(42,208,143,.34);
  color:#91ebc3;
  background:rgba(7,91,62,.18);
}

.th826-step7-scale-warning.is-large{
  border-color:rgba(255,151,45,.42);
  color:#ffd09b;
  background:rgba(119,58,7,.23);
}

.th826-step7-legacy{
  display:none !important;
}

#th826Step7ChannelScale select,
#th826Step7ChannelScale input[type="number"]{
  min-height:36px;
}

@media(max-width:1250px){
  .th826-step7-main-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:900px){
  .th826-step7-channel-grid,
  .th826-step7-scale-grid{
    grid-template-columns:1fr;
  }

  .th826-step7-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .th826-step7-output-head{
    flex-direction:column;
  }
}

/* END_TH826_TAB3_STEP7_CHANNEL_SCALE_CSS_V1 */
