#tea-buyers-calculator-v2 {
  max-width: 760px;
  margin: 32px auto;
  font-family: Arial, sans-serif;
  color: #1f2937;
}

#tea-buyers-calculator-v2 * {
  box-sizing: border-box;
}

#tea-buyers-calculator-v2 .tea-calc-card {
  background: #fffdf9;
  border: 1px solid #e7dccb;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
  padding: 30px;
  margin-bottom: 36px;
}

#tea-buyers-calculator-v2 .tea-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a7b4f;
  font-weight: 700;
}

#tea-buyers-calculator-v2 h2,
#tea-buyers-calculator-v2 h3 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-weight: 700;
  color: #14325c;
  font-family: Georgia, serif;
}

#tea-buyers-calculator-v2 h2 {
  font-size: 30px;
}

#tea-buyers-calculator-v2 h3 {
  font-size: 28px;
}

#tea-buyers-calculator-v2 .tea-subtext {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.55;
  color: #6b7280;
}

#tea-buyers-calculator-v2 .tea-calc-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 18px;
}

#tea-buyers-calculator-v2 .tea-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

#tea-buyers-calculator-v2 .tea-field input[type="tel"],
#tea-buyers-calculator-v2 .tea-field select {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 16px;
  background: #fff;
  color: #1f2937;
}

#tea-buyers-calculator-v2 .tea-field input[type="tel"]:focus,
#tea-buyers-calculator-v2 .tea-field select:focus {
  outline: none;
  border-color: #cfb894;
  box-shadow: 0 0 0 3px rgba(154, 123, 79, 0.10);
}

#tea-buyers-calculator-v2 .tea-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

#tea-buyers-calculator-v2 .tea-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#tea-buyers-calculator-v2 .tea-btn:hover {
  transform: translateY(-1px);
}

#tea-buyers-calculator-v2 .tea-btn-primary {
  background: #9a7b4f;
  color: #fff;
}

#tea-buyers-calculator-v2 .tea-btn-primary:hover {
  background: #876b44;
}

#tea-buyers-calculator-v2 .tea-btn-secondary {
  background: transparent;
  color: #111827;
  border: 1px solid #e5e7eb;
}

#tea-buyers-calculator-v2 .tea-btn-secondary:hover {
  background: #f8f8f8;
}

#tea-buyers-calculator-v2 .tea-results {
  border-top: 1px solid #e5e7eb;
  padding-top: 22px;
  animation: teaFadeIn 0.35s ease;
}

#tea-buyers-calculator-v2 .tea-total-box {
  padding: 20px;
  border-radius: 18px;
  background: #f6efe3;
  border: 1px solid #e7dccb;
  margin-bottom: 16px;
}

#tea-buyers-calculator-v2 .tea-total-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7e633d;
  font-weight: 700;
  margin-bottom: 8px;
}

#tea-buyers-calculator-v2 .tea-total-value {
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  color: #111827;
}

#tea-buyers-calculator-v2 .tea-total-sub {
  display: block;
  margin-top: 12px;
  font-size: 12px;
  color: #7e633d;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

#tea-buyers-calculator-v2 .tea-total-sub-value {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: #374151;
  margin-top: 4px;
}

#tea-buyers-calculator-v2 .tea-breakdown {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
}

#tea-buyers-calculator-v2 .tea-breakdown-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  align-items: center;
}

#tea-buyers-calculator-v2 .tea-breakdown-row:last-child {
  border-bottom: 0;
}

#tea-buyers-calculator-v2 .tea-breakdown-row-total {
  background: #fcf8f2;
  font-weight: 700;
}

#tea-buyers-calculator-v2 .tea-note {
  margin: 12px 2px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.tea-warning-box {
  background: #fff8e8;
  border: 1px solid #e7dccb;
  border-left: 5px solid #d4a24c;
  border-radius: 16px;
  padding: 22px 24px;
  margin: 0 0 32px;
  color: #374151;
}

.tea-warning-box h3 {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
  color: #9a7b4f;
  font-family: Georgia, serif;
}

.tea-warning-box p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.7;
}

.tea-warning-box ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

.tea-warning-box li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.tea-article-meta,
.tea-article-sources {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.tea-article-meta p,
.tea-article-sources p {
  margin: 0 0 0.75rem;
}

.tea-article-sources h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.tea-article-sources ul {
  margin: 0;
  padding-left: 1.25rem;
}

.tea-article-sources li {
  margin-bottom: 0.5rem;
}

@keyframes teaFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  #tea-buyers-calculator-v2 .tea-calc-card {
    padding: 22px;
  }

  #tea-buyers-calculator-v2 h2 {
    font-size: 26px;
  }

  #tea-buyers-calculator-v2 .tea-total-value {
    font-size: 26px;
  }

  #tea-buyers-calculator-v2 .tea-total-sub-value {
    font-size: 18px;
  }

  #tea-buyers-calculator-v2 .tea-breakdown-row {
    flex-direction: column;
    align-items: flex-start;
  }

  #tea-buyers-calculator-v2 .tea-btn {
    width: 100%;
  }
}
/* Fit the responsive theme and keep the complete breakdown inside the card. */
#tea-buyers-calculator-v2{width:100%;font-family:var(--sans,Arial,sans-serif)}
#tea-buyers-calculator-v2 .tea-calc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#tea-buyers-calculator-v2 .tea-field{min-width:0}
#tea-buyers-calculator-v2 .tea-field>br,
#tea-buyers-calculator-v2 .tea-button-row>br,
#tea-buyers-calculator-v2 .tea-breakdown-row>br{display:none}
#tea-buyers-calculator-v2 .tea-btn{min-height:48px}
#tea-buyers-calculator-v2 .tea-btn-primary{background:#102f46}
#tea-buyers-calculator-v2 .tea-btn-primary:hover{background:#1e485f}
#tea-buyers-calculator-v2 .tea-eyebrow{color:#756147}
#tea-buyers-calculator-v2 .tea-field input:focus-visible,
#tea-buyers-calculator-v2 .tea-field select:focus-visible,
#tea-buyers-calculator-v2 .tea-btn:focus-visible{outline:3px solid #a96a1f;outline-offset:3px}
#tea-buyers-calculator-v2 .tea-total-box>p{margin:0}
#tea-buyers-calculator-v2 .tea-breakdown-row{gap:12px;flex-direction:row;align-items:flex-start}
#tea-buyers-calculator-v2 .tea-breakdown-row>strong{margin-left:auto;flex-shrink:0;white-space:nowrap;text-align:right}
#tea-buyers-calculator-v2 .tea-input-error{margin:0 0 14px;color:#9c2424;font-size:15px}
#tea-buyers-calculator-v2 .tea-input-error[hidden]{display:none}
#tea-buyers-calculator-v2 input[aria-invalid=true]{border-color:#9c2424}
@media(max-width:640px){
 #tea-buyers-calculator-v2 .tea-calc-grid{grid-template-columns:minmax(0,1fr)}
 #tea-buyers-calculator-v2 .tea-calc-card{padding:20px}
 #tea-buyers-calculator-v2 .tea-breakdown-row{padding:12px;font-size:13px}
 #tea-buyers-calculator-v2 .tea-total-box{padding:16px}
}
@media(prefers-reduced-motion:reduce){#tea-buyers-calculator-v2 .tea-results{animation:none}#tea-buyers-calculator-v2 .tea-btn{transition:none}}
