.team-settlement-upgrade {
  max-width: 760px;
  margin: 14px auto;
  padding: 16px;
  border: 1px solid #d7e6df;
  border-radius: 8px;
  background: #fffefa;
  color: #123d35;
  box-shadow: 0 10px 24px rgba(25, 92, 75, 0.08);
}

.team-settlement-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.team-settlement-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.team-settlement-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e7f7ef;
  color: #08795d;
  font-size: 13px;
  font-weight: 700;
}

.team-price-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: stretch;
  gap: 6px;
  margin-bottom: 12px;
}

.team-price-item {
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  padding: 10px;
  border: 1px solid #dcebe4;
  border-radius: 8px;
  background: #f6fbf8;
  text-align: center;
}

.team-price-item strong {
  margin-top: 5px;
  color: #08795d;
  font-size: 20px;
}

.team-price-item.is-total {
  border-color: #edd48e;
  background: #fff8dd;
}

.team-price-item.is-total strong { color: #a96d0a; }

.team-price-item span {
  color: #5f7770;
  font-size: 12px;
}

.team-price-operator {
  display: grid;
  place-items: center;
  color: #af7a13;
  font-size: 19px;
  font-weight: 700;
}

.team-address-upgrade,
.team-extra-settlement,
.team-completion-box {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid #e4e9e6;
  border-radius: 8px;
  background: #fff;
}

.team-address-label,
.team-extra-title {
  display: block;
  margin-bottom: 6px;
  color: #6a7d77;
  font-size: 12px;
  font-weight: 700;
}

.team-address-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.team-address-text {
  display: block;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 650;
}

.team-copy-address,
.team-complete-upgrade {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  background: #168668;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.team-copy-address {
  padding: 0 14px;
  background: #edf8f3;
  color: #08795d;
  border: 1px solid #bfe2d4;
}

.team-extra-grid {
  display: grid;
  grid-template-columns: minmax(120px, 1.3fr) 1fr 1fr;
  gap: 8px;
}

.team-extra-grid label,
.team-extra-result {
  min-height: 62px;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f7faf8;
}

.team-extra-grid label span,
.team-extra-result span {
  display: block;
  margin-bottom: 4px;
  color: #6b7c76;
  font-size: 11px;
}

.team-extra-grid input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #123d35;
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  outline: none;
}

.team-extra-title strong {
  display: block;
  color: #7f5710;
  font-size: 17px;
}

.team-extra-title span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.team-extra-result strong {
  color: #08795d;
  font-size: 18px;
}

.team-extra-policy {
  margin: 9px 0 0;
  color: #765b20;
  font-size: 13px;
  font-weight: 650;
}

.team-completion-box {
  text-align: center;
  background: #fff9e9;
  border-color: #f0d99b;
}

.team-completion-box p {
  margin: 0 0 10px;
  color: #634a15;
  font-size: 13px;
  font-weight: 700;
}

.team-complete-upgrade {
  width: 100%;
  padding: 0 16px;
}

.team-complete-upgrade:disabled {
  cursor: wait;
  opacity: 0.65;
}

@media (max-width: 680px) {
  .team-settlement-upgrade {
    margin: 10px 12px;
    padding: 12px;
  }

  .team-price-equation {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr);
    gap: 3px;
  }

  .team-price-item {
    min-height: 66px;
    padding: 7px 4px;
  }

  .team-price-item strong {
    font-size: 15px;
  }

  .team-price-item span {
    font-size: 10px;
  }

  .team-price-operator {
    font-size: 15px;
  }

  .team-extra-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-extra-grid label {
    grid-column: 1 / -1;
  }
}
