/* Calculator drawer header — compact light treatment shared by all three calculators. */
.chb-drawer-head {
  min-height: 76px;
  padding: 14px 16px 14px 20px;
  gap: 14px;
  background: #fff;
  color: var(--chb-ink);
  border-bottom: 0;
  box-shadow: none;
}

.chb-drawer-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--chb-font-headings);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: var(--chb-ink);
}

.chb-drawer-close {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #1f2933;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.chb-drawer-close:hover,
.chb-drawer-close:focus-visible {
  background: #f1f5f6;
  color: #129AB1;
}

.chb-drawer-close:focus-visible {
  outline: 2px solid #16B4CF;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .chb-drawer-head {
    min-height: 74px;
    padding: 13px 14px 13px 16px;
  }

  .chb-drawer-title {
    font-size: 1.2rem;
  }

  .chb-drawer-close {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }
}
