

/* ================== KEEP 3×3 MATERIAL GRID EXACTLY AS BEFORE ================== */
#calculator .rc-top3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr)); /* 3 columns, wraps if >3 */
  gap: .35rem;
  margin-top: .75rem;
}
#calculator .rc-top3 .col {
  text-align: center;
  padding: .25rem .5rem;
}
#calculator .rc-top3 .col:not(:nth-child(3n+1)) {
  border-left: 1px solid rgba(255,255,255,.12); /* vertical dividers */
}
#calculator .rc-top3 .label {
  font-size: .65rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .15rem;
  white-space: nowrap; text-overflow: ellipsis; overflow: hidden;
}
#calculator .rc-top3 .value {
  font-weight: 600;
  font-size: .85rem;
  color: var(--hi,#eeff25);
}
/* remove border if only 1 item */
#calculator .rc-top3 .col:first-child { border-left: none; }

/* ================== SECTION BASE (ensures white text on dark bg) ================== */
#calculator {
  background: #0d2f2f;           /* if not already set elsewhere */
  color: #fff;                    /* default text color inside calculator */
  --hi: #eeff25;                  /* safe fallbacks for tokens */
  --emerald: #064e3b;
}

/* Intro paragraph should be white */
#calculator #rc-intro { color: rgba(255,255,255,.9);}

/* ================== TITLE SIZE ================== */
#calculator h2#rc-biz-h2 {
  font-size: 1.6rem !important;
  line-height: 1.2;
  color: #fff;
}

/* ================== INPUT FIELD ================== */
#calculator .rc-input {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  padding: .7rem .8rem;
  width: 100%;
  color: #111;
  font-size: 1rem;
  margin-bottom: .5rem;
}

/* ================== BUTTON (PRIMARY) ================== */
/* Make .rc-btn flex so justify-content works */
#calculator .rc-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

/* Baseline button rules */
#calculator button.rc-btn {
  width: 100% !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(238,255,37,.3) !important;
  border: 6px solid #eeff25 !important;
  border-radius: 4px;
  font-weight: 700 !important;
}

/* Primary palette */
#calculator .rc-btn-primary {
  background: var(--hi, #eeff25) !important;
  border-color: var(--hi, #eeff25) !important;
  color: var(--emerald, #064e3b) !important;
}



