.cc-yearbox{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  border:1px solid #e5e7eb;
  background:#f3f4f6;
  border-radius:12px;
  box-shadow:0 1px 0 rgba(0,0,0,.04) inset;
}

.cc-yearbox__title{
  font-weight:800;
  color:#111827;
  font-size:13px;
  background:#ffffff;
  border:1px solid #e5e7eb;
  border-radius:999px;
  padding:4px 10px;
  white-space:nowrap;
}

.cc-yearbox__fields{
  display:flex;
  gap:10px;
  align-items:center;
}

.cc-inline-help-wrap{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.cc-inline-help-wrap--lock{
  margin-top:0;
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:nowrap;
}

.cc-lite-actions-row{
  margin-top:12px;
  display:flex;
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.cc-actions-row--bottom{
  display:flex;
  align-items:stretch;   /* 22*/
  justify-content:flex-start;
  gap:12px;
  flex-wrap:nowrap;      /* 23*/
}

/* 24*/
.cc-actions-row--bottom > .cc-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height:48px;
  min-height:48px;

  padding:0 16px;
  margin:0;

  line-height:1;         /* 25 */
  box-sizing:border-box; /* 26 */

  white-space:nowrap;
}

.cc-actions-row--bottom > .cc-btn-accent,
.cc-actions-row--bottom > .cc-btn-primary{
  height:48px;
  min-height:48px;
  display:inline-flex;
  align-items:center;
}

.cc-actions-row--bottom button{
  font-size:14px;
}

#cc-general-success{
  margin-left:auto;
  align-self:stretch;
}

.cc-general-success-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:48px;
  height:48px;
  padding:0 14px;
  border-radius:12px;
  border:1px solid var(--cc-border);
  background:#f8fafc;
  font-weight:700;
  box-sizing:border-box;
}

.cc-general-success-label{
  color:var(--cc-muted);
  font-size:13px;
  white-space:nowrap;
}

.cc-general-success-value{
  color:var(--cc-text);
  font-size:16px;
  font-weight:800;
  line-height:1;
}

.cc-card-header--calculator{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.cc-card-header__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:24px;
}

.cc-card-header__intro{
  flex:1 1 auto;
  min-width:0;
}

.cc-card-header__side{
  flex:0 0 auto;
  display:flex;
  justify-content:flex-end;
}

.cc-card-header__bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.cc-card-header__actions{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  min-width:0;
}

.cc-card-header__bottom .cc-metrics{
  margin:0;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.cc-yearbox-wrap{
  display:flex;
  flex-direction:row;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  padding-left:24px;
  border-left:1px solid var(--cc-border);
}

.cc-yearbox input:disabled,
.cc-yearbox input[readonly]{
  background:#e5e7eb !important;
  color:#6b7280 !important;
  border-color:#d1d5db !important;
  box-shadow:none !important;
  cursor:not-allowed;
}

.cc-yearbox input:disabled::placeholder,
.cc-yearbox input[readonly]::placeholder{
  color:#9ca3af;
}

@media (max-width:900px){
  .cc-card-header__top{
    flex-direction:column;
    align-items:stretch;
  }

  .cc-card-header__side{
    justify-content:flex-start;
  }

  .cc-card-header__bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .cc-card-header__actions{
    width:100%;
  }

  .cc-card-header__bottom .cc-metrics{
    width:100%;
  }

  .cc-yearbox-wrap{
    width:100%;
    flex-direction:column;
    align-items:flex-start;
    padding-left:0;
    border-left:none;
  }

  .cc-yearbox{
    flex-direction:column;
    align-items:flex-start;
  }

  .cc-yearbox__fields{
    width:100%;
    flex-wrap:wrap;
  }

  .cc-inline-help-wrap--lock{
    flex-wrap:wrap;
  }

  .cc-actions-row--bottom{
    flex-wrap:wrap;
    align-items:center;
  }

  .cc-actions-row--bottom > .cc-btn{
    align-self:center;
  }

  .cc-general-success-badge{
    width:100%;
    height:auto;
    min-height:48px;
    justify-content:space-between;
  }
}

.cc-help{
  position:relative;
  display:inline-flex;
  align-items:center;
  vertical-align:middle;
  margin-left:6px;
}

.cc-help__btn{
  width:20px;
  height:20px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d1d5db;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
  font-size:12px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  padding:0;
}

.cc-help__btn:hover,
.cc-help__btn:focus{
  background:#111827;
  color:#fff;
  border-color:#111827;
  outline:none;
}

.cc-help__bubble{
  position:absolute;
  left:50%;
  top:calc(100% + 10px);
  transform:translateX(-50%);
  min-width:220px;
  max-width:320px;
  padding:10px 12px;
  border-radius:12px;
  background:#111827;
  color:#fff;
  font-size:12px;
  line-height:1.45;
  text-align:left;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:1000;
  white-space:normal;
}

.cc-help__bubble::before{
  content:"";
  position:absolute;
  left:50%;
  top:-6px;
  transform:translateX(-50%);
  width:12px;
  height:12px;
  background:#111827;
  rotate:45deg;
}

.cc-inline-help-wrap--pdf .cc-help__bubble,
.cc-inline-help-wrap--lock .cc-help__bubble{
  left:auto;
  right:0;
  transform:none;
}

.cc-inline-help-wrap--pdf .cc-help__bubble::before,
.cc-inline-help-wrap--lock .cc-help__bubble::before{
  left:auto;
  right:14px;
  transform:none;
}

.cc-help:hover .cc-help__bubble,
.cc-help:focus-within .cc-help__bubble{
  opacity:1;
  visibility:visible;
}

.cc-inline-help-wrap{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

@media (max-width:680px){
  .cc-help__bubble{
    left:0;
    transform:none;
    min-width:220px;
    max-width:min(280px, calc(100vw - 32px));
  }

  .cc-help__bubble::before{
    left:18px;
    transform:none;
  }
}

/* 27 */

/* 28*/

.cc-actions-row--bottom{
  display:flex;
  align-items:center !important;
  gap:12px;
  flex-wrap:nowrap;
}

.cc-actions-row--bottom > button,
.cc-actions-row--bottom > .cc-btn,
.cc-actions-row--bottom #cc-improve-btn,
.cc-actions-row--bottom #cc-improve-button,
.cc-actions-row--bottom #cc-toggle-mode{
  height:48px !important;
  min-height:48px !important;
  margin:0 !important;
  padding:0 16px !important;
  line-height:1 !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  box-sizing:border-box !important;
  vertical-align:middle !important;
  position:relative !important;
  top:0 !important;
  transform:none !important;
}
.cc-actions-row--bottom{
  align-items:stretch;
}

.cc-actions-row--bottom > *{
  height:48px;
}