.functionsColumn button {
  width: 100%;
  height: 68px;
  border: 0;
  border-radius: 4px;
  background: #eeeeee;
  color: #222222;
  font-size: 24px;
  cursor: pointer;
}
.functionsColumn button.head,
.functionsColumn button.head:hover,
.functionsColumn button.head:target {
  height: 38px;
  margin: 0 0 -4px;
  padding-left: 15px;
  background: #ecebeb;
  border-radius: 8px 8px 0 0;
  border-top: 1px solid #d7d6d6;
  font-size: 16px;
  font-weight: 400 !important;
  text-shadow: 0 1px 2px #fff;
  color: var(--ppi-text);
  text-align: left;
}
.functionsColumn button.child,
.functionsColumn a.child {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 0 -5px 0;
  padding: 0 0 0 15px;
  border-radius: 0;
  background: #fafafa;
  border: none;
  border-bottom: 1px solid rgba(61, 61, 61, 0.05);
  color: #222;
  font-size: 14px !important;
  line-height: 20px !important;
  cursor: pointer;
  text-align: left;
}
.functionsColumn a.child {
  height: 30px;
  padding-top: 5px;
  line-height: 24px !important;
}
.functionsColumn button.child:last-child,
.functionsColumn a.child:last-child {
  margin-bottom:1px;
}

.functionsColumn button:hover,
.functionsColumn a:hover {
  background: #70ae40;
  border-radius: 0;
  color: #fff;
}

body.dark-theme .functionsColumn a.child {
  background: #333333;
  color: #e8e8e8;
}

body.dark-theme .functionsColumn a.child:hover {
  background: #70ae40;
  color: #ffffff;
}

.functionsColumn button.back {
  height: 34px;
  background: #efefef;
  border-bottom: 1px solid #585858;  
  border-radius: 0 0 8px 8px;
  color: #222;
  text-shadow: 0 1px 2px #fff;
  font-size: 14px !important;
  font-weight: 600;
  text-align: center;
}

.dark-theme .functionsColumn button.back {
  background: #d1d1d1;
  color: var(--ppi-white);
  font-weight: 600;
}

.functionsColumn button.child:hover *,
.functionsColumn button.back:hover {
  background: #70ae40;
  color: #fff;
  text-shadow: none;
}

body.dark-theme .functionsColumn button.back {
  background: #393838;
  color: #e8e8e8;
}

section.functional .functions.secondary .line button.selected {
    background: var(--ppi-green) !important;
    border: 1px solid var(--ppi-green) !important;
    color: #fff;
}
.functions.secondary .line button.watchList.selected span {
    color: #fff;
}
.dark-theme section.functional .functions.secondary .line button.selected {
    background: var(--ppi-green-dark);
    color: #fff;
}

body.dark-theme .functionsColumn button {
  background: #333333;
  color: #e8e8e8;
  text-shadow: none;
}

body.dark-theme .functionsColumn {
  border-bottom: 1px solid #3f3f3f;
}

body.dark-theme .functionsColumn button.head,
body.dark-theme .functionsColumn button.head:hover,
body.dark-theme .functionsColumn button.head:target {
  background: #444;
  border-top: 1px solid #777;
}

body.dark-theme .functionsColumn button:hover {
  background: var(--ppi-green);
  color: var(--ppi-card-bg);
}

.dark-theme button.child:hover,
.dark-theme button.child:target {
  background: var(--ppi-green-dark);
}

.functionsColumn button.child span {
  width:calc(100% - 35px);
}
.functionsColumn button.child i {
  width:30px;
}
.functionsColumn button.child span, 
.functionsColumn button.child i {
    display: inline-block;
    font-style: normal;
    font-size: 14px;
    color: var(--ppi-text);
}
.dark-theme .functionsColumn button.child span, 
.dark-theme .functionsColumn button.child i {
    color: var(--ppi-dark-text);
}

.watchListPanel {
  position: absolute;
  z-index: 1200;
  top: 85px;
  left: 33px;
  width: 360px;
  padding: 10px 16px 16px 16px;
  border: none;
  background-color: #fff;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
  border-radius: 8px;
}

.watchListPanel.hidden {
  display: none !important;
}

.watchListPanel h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: var(--ppi-text, #222);
}

.watchSearch, 
.watchSearch input[type=text] {
    border: none;
    border-radius: 8px;
}

.watchSearch input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--ppi-border, #ddd);
  background: var(--ppi-bg, #fff);
  color: var(--ppi-text, #222);
}

.watchSearch input[type=text] {
    background: #f4f4f4;
    box-shadow: inset 0px 1px #777;
}
.watchSearch input[type=text]:focus,
.watchSearch input[type=text]:target {
    background: #fff;
}
.watchSearch input[type=text]::placeholder {
  border: none;
  outline: none;
  color: #333;
}
.watchSearch input[type=text],
.watchSearch input[type=text]:focus {
  border: none;
  outline: none;
  box-shadow: none;
  background-color: #f2f2f2;
  background-image: url('../img/svg/thin-search-ui.svg');
  background-size: auto 22px;
  background-repeat: no-repeat;
  background-position: calc(100% + 18px);
}
.watchSearch input[type=text]:focus,
.watchSearch input[type=text]:focus-visible{
  outline: none !important;
  box-shadow: none !important;
  border-color: #70ae40;
}
.watchModes {
  margin: 0 -16px 16px -16px;
  background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
  border-bottom: 3px solid #cdcdcd;  
}
.dark-theme .watchModes {
  background: transparent;
  border-bottom: 3px solid #5c5c5c;
}
.watchModes button,
.watchModes button:hover,
.watchModes button:target {
  height: 30px;
  margin-right: -5px;
  margin-bottom: -3px;
  padding: 0 15px 3px 15px;
  background: transparent;
  border-bottom: 3px solid #cdcdcd;  
  border-radius: 0;  
}
.dark-theme .calc-ui #formCard .watchModes button {
  border-bottom: 3px solid #5c5c5c;
}
.watchModes button.active,
.watchModes button.active:hover,
.watchModes button.active:target,
.watchModes button.active:focus,
.dark-theme .calc-ui #formCard .watchModes button.active,
.dark-theme .calc-ui #formCard .watchModes button.active:hover,
.dark-theme .calc-ui #formCard .watchModes button.active:target,
.dark-theme .calc-ui #formCard .watchModes button.active:focus {
  background: transparent !important;  
  border-bottom: 3px solid #6fb040;
  outline: none;
  font-size: 14px;
  color: #111;
}
.dark-theme .calc-ui #formCard .watchModes button,
.dark-theme .calc-ui #formCard .watchModes button:hover,
.dark-theme .calc-ui #formCard .watchModes button:target,
.dark-theme .calc-ui #formCard .watchModes button.active,
.dark-theme .calc-ui #formCard .watchModes button.active:hover,
.dark-theme .calc-ui #formCard .watchModes button.active:target {
  color: #e7e7e7;
}
.watchNotice {
  margin: 10px 0;
  font-size: 14px;
  color: var(--ppi-text);
}
.watchListItems {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 280px;
  overflow-y: auto;
}
.calc-ui #formCard .watchOption {
  display: grid;
  grid-template-columns: 0.08fr 1fr 0.45fr;
  gap: 6px;  
  justify-content: space-between;
  min-height: 38px;
  padding: 8px 16px 8px 10px !important;
  border: 0;
  border-radius: 8px;
  background: #f4f4f4;
  color: #222222;
  cursor: pointer;
  text-align: left;
}
.dark-theme .calc-ui #formCard .watchOption {
  background: rgb(119 119 119 / 50%);
  color: #fff;
}
.dark-theme .calc-ui #formCard .watchOption * {
  color: #fff;
}
.dark-theme .calc-ui #formCard .watchOption.active span,
.dark-theme .calc-ui #formCard .watchOption.active em.watchProjects {
  color: #111;
}
.watchOption i {
  width: 14px;
  height: 14px;
  margin: 4px 0;
  border: none;
  background-color: transparent;
  background-size: 16px auto;
  background-image: url('../img/svg/checkbox.svg');
  background-position: 0 0;
}
.watchOption.active {
  background: linear-gradient(to bottom, rgb(196 236 193 / 85%) 0%, rgb(175 214 168 / 90%) 100%) !important;
  border: none;
  color: #317018 !important;
}
button.watchOption:not(.disabled):hover,
button.watchOption:not(.disabled):target {
  background: var(--ppi-green-dark) !important;
  color: rgb(255, 255, 255);
}
button.watchOption:hover *,
button.watchOption:target *,
button.watchOption.active:hover *,
button.watchOption.active:target * {
  color: #fff;  
}
button.watchOption.disabled:hover *,
button.watchOption.disabled:target * {
  color: var(--ppi--text);
}
button.watchOption.active i {
  width: 14px;
  height: 14px;
  margin: 4px 0;
  border: none;
  background-color: transparent;
  background-size: 18px auto;
  background-image: url('../img/svg/checkbox.svg');
  background-position: -1px -163px; 
  border-radius: 0;
  font-size: 0;
}
.watchOption.limitError {
  background: #bd403a !important;
  color: #ffffff !important;
}
em.watchProjects {
  padding-top: 2px;
  font-size: 13px;
  font-style: normal;
  color: #525252;
}
.watchActions {
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 14px;
}

.watchActions button {
  min-width: 90px;
  height: 38px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
button.watchOption.disabled {
    background: rgb(255 255 255 / 50%);
}

.watchActions .cancel {
  background: #e9e9e9;
  color: #222;
}
.dark-theme .watchActions .cancel {
  background: #cfcfcf;
}

.watchActions .apply {
  background: #70ae40;
  color: #fff;
  font-weight: 700;
}

body.dark-theme .watchListPanel {
  background-color: rgb(112 112 112 / 32%);
  backdrop-filter: blur(10px);
  border-radius: 0 8px 8px 8px;
  border-bottom: 1px solid #555555;
}

body.dark-theme .watchListPanel h3 {
  color: var(--ppi-dark-text, #e8e8e8);
}

body.dark-theme .watchSearch input {
  width: calc(100% - 40px);
  padding-right: 30px;
  background-color: #303030;
  background-image: url('../img/svg/thin-search-ui.svg');
  background-size: auto 22px;
  background-repeat: no-repeat;
  background-position: calc(100% - 5px);
  border-color: #555;
  color: #e8e8e8;
}

body.dark-theme .watchSearch input::placeholder {
  color: #8d8d8d;
}
body.dark-theme .watchSearch input:focus {
  color: #4a4a4a;
}

.dark-theme .watchNotice,
.dark-theme .watchEmpty {
  font-size: 14px;
  color: #e8e6e6;
}

body.dark-theme .watchOption {
  background: rgba(255, 255, 255, 0.7);
  color: #e8e8e8;
}

body.dark-theme .watchOption.active {
  background: #70ae40;
  color: #ffffff;
}

body.dark-theme .watchActions .clear {
  background: #444444;
  color: #e8e8e8;
}

span#watchListCount, 
span.incrm {
  display: inline-block;
  width: 8px;
  height: 18px;
  margin-left: 3px;
  padding: 0 5px;
  background: #c5e4c1;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 400;
}
span#watchListCount {
  background: #70af40;
  color: #fff;
}
span.incrm {
  background: #95c58f;
  color: #fff;
}
div.ppi.tabs {
  padding: 5px 5px 0 5px;
  background: linear-gradient(to bottom, rgb(230 230 230) 0%, rgb(231 231 231) 50%, rgba(242, 242, 242, 1) 100%);  
  border-radius: 0;
}
.dark-theme .ppi.tabs {
  padding: 5px 5px 0 5px;
  background: linear-gradient(to bottom, rgb(43 43 43) 0%, rgb(43 43 43) 50%, rgb(45 45 45) 100%);
  border-radius: 0;  
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #353535;  
}
button.tab {
  margin-right: -10px; 
  padding: 10px 30px 10px 14px;
  background: linear-gradient(to bottom, rgba(204, 204, 204, 1) 0%, rgba(216, 216, 216, 1) 50%, rgba(234, 234, 234, 1) 100%);
  border-radius: 18px 100px 0 0;  
  border-top: 1px solid #b9b9b9;
  border-left: 1px solid #b9b9b9;
  font-size: 14px;
  color: #494949;  
}
.dark-theme button.tab {
    padding: 10px 30px 10px 14px;
    background: linear-gradient(to bottom, rgb(92 92 92) 0%, rgb(93 93 93) 50%, rgb(76 76 76) 100%);
    border-radius: 18px 100px 0 0;
    border-left: 1px solid rgba(0, 0, 0, 0.25);
    border-top: 1px solid #b9b9b9;
    font-size: 14px;
    color: #d7d7d7;
}

button.tab.overview {
  margin-right: -12px;
}
button.tab.selected {
  position: relative;
  z-index: 1;
  background: #609931;
  color: #fff;
}
.calc-ui button.tab:not(.selected):hover {
  background: #cacaca;
  text-shadow: 0 1px 2px #fff;
}
.dark-theme .calc-ui button.tab:not(.selected):hover {
    background: #636363;
    text-shadow: 0 1px 2px #fff;
}
.watchViewTabs button:not(.selected):hover,
.watchViewTabs button:not(.selected):target {
  background: transparent;
  background-color: transparent;
  color:#e7e7e7;
}
.dark-theme .watchViewTabs button:not(.selected):hover,
.dark-theme .watchViewTabs button:not(.selected):target {
  background: transparent;
  color: var(--ppi-dark-text);
}
.watchViewTabs,
.stockModeSwitch,
.chartsModeSwitch {
  height: 32px;
  border-bottom: 2px solid #ececec;
  background: #f7f7f7;
}
.dark-theme .watchViewTabs,
.dark-theme .stockModeSwitch,
.dark-theme .chartsModeSwitch {
  height: 32px;
  border-bottom: 2px solid #3e3e3e;
  background: #2e2e2e;
}
.watchViewTabs button,
.stockModeSwitch button,
.chartsModeSwitch button {
  height: 34px;
  padding: 0 20px 2px 20px;
  background: transparent;
  border-bottom: 2px solid #ececec;
  border-radius: 0;
  font-size: 13.5px;
  font-weight: 400;
  color: #505050;
}
.dark-theme .watchViewTabs button,
.dark-theme .stockModeSwitch button,
.dark-theme .chartsModeSwitch button {
  border-bottom: 2px solid #3e3e3e;  
  color: #bbbbbb !important;  
}
.watchViewTabs button.active,
.stockModeSwitch button.active,
.chartsModeSwitch  button.active {
  background: transparent; 
  border-bottom: 2px solid #5fa035;
  color: var(--ppi-text) !important; 
}
.dark-theme .watchViewTabs button.active,
.dark-theme .stockModeSwitch button.active,
.dark-theme .chartsModeSwitch  button.active {
  color: var(--ppi-white) !important; 
}
.watchViewTabs button:not(.active):hover,
.watchViewTabs button:not(.active):target {
  background: transparent; 
  color:#555;
  border-bottom: 2px solid #8fc869;
}
.dark-theme .watchViewTabs button:not(.active):hover,
.dark-theme .watchViewTabs button:not(.active):target,
.dark-theme .stockModeSwitch button:not(.active):target {
  color: var(--ppi-dark-text) !important;
}
.calc-ui #formCard .functionsColumn .child.bold{
  font-weight:400;
}

.functionsColumn .child.intendLeft{
  padding-left: 22px;
}