/* Strong selected/unselected states for calculator mode and battery chemistry. */
#calculator .pc-mode-choice,
#calculator .pc-battery-type button{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid #3a403a!important;
  background:linear-gradient(180deg,#111312,#0d0f0e)!important;
  color:#d9ddda!important;
  opacity:.78;
  transform:none!important;
  transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,opacity .16s ease,transform .16s ease!important;
}

#calculator .pc-mode-choice:hover,
#calculator .pc-battery-type button:hover{
  opacity:1;
  border-color:#667064!important;
  background:linear-gradient(180deg,#151816,#101210)!important;
  transform:translateY(-1px)!important;
}

#calculator .pc-mode-choice.on,
#calculator .pc-battery-type button.on{
  opacity:1!important;
  border:2px solid #a8ef67!important;
  background:linear-gradient(135deg,#1c2a14,#121a0f 72%)!important;
  color:#f4ffe9!important;
  box-shadow:inset 0 0 0 1px rgba(202,255,158,.14),inset 5px 0 0 #9de65d,0 0 0 3px rgba(157,230,93,.08),0 10px 24px rgba(0,0,0,.24)!important;
  transform:translateY(-1px)!important;
}

#calculator .pc-mode-choice.on b,
#calculator .pc-battery-type button.on span{
  color:#caff9e!important;
}

#calculator .pc-mode-choice:not(.on) small,
#calculator .pc-battery-type button:not(.on) small{
  color:#777f78!important;
}

#calculator .pc-mode-choice.on small,
#calculator .pc-battery-type button.on small{
  color:#a9bd9d!important;
}

#calculator .pc-mode-choice.on{padding-right:112px!important}
#calculator .pc-battery-type button.on{padding-right:92px!important}

#calculator .pc-mode-choice.on::after,
#calculator .pc-battery-type button.on::after{
  position:absolute;
  top:10px;
  right:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:4px 8px;
  border:1px solid #86c84f;
  border-radius:999px;
  background:#274019;
  color:#d8ffb2;
  font-size:8.5px;
  font-weight:950;
  line-height:1;
  letter-spacing:.55px;
  white-space:nowrap;
  box-shadow:0 3px 12px rgba(0,0,0,.24);
}

#calculator .pc-mode-choice.on::after{content:'✓ SELECTED'}
#calculator .pc-battery-type button.on::after{content:'✓ CHOSEN'}

#calculator .pc-mode-choice.on::before,
#calculator .pc-battery-type button.on::before{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg,rgba(168,239,103,.08),transparent 42%);
}

/* Make the confirmation sentence read as confirmation, not the only indication of state. */
#calculator .pc-chemistry-note{
  margin-top:10px!important;
  padding:9px 11px!important;
  border:1px solid #31402d!important;
  border-radius:8px!important;
  background:#0c120a!important;
  color:#aeb9a9!important;
  font-size:10.5px!important;
}
#calculator .pc-chemistry-note b{color:#caff9e!important}

@media(max-width:720px){
  #calculator .pc-mode-choice.on{padding-right:104px!important}
  #calculator .pc-battery-type button.on{padding-right:92px!important}
  #calculator .pc-mode-choice.on::after,
  #calculator .pc-battery-type button.on::after{top:9px;right:9px;font-size:8px}
}
