/* Scoped mini-reset (Tailwind preflight is disabled so the theme is not affected) */
.tcs-wlc,
.tcs-wlc *,
.tcs-wlc *::before,
.tcs-wlc *::after {
  box-sizing: border-box;
}
.tcs-wlc *,
.tcs-wlc *::before,
.tcs-wlc *::after {
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
.tcs-wlc {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.5;
  text-align: left;
  -webkit-text-size-adjust: 100%;
}
.tcs-wlc h1, .tcs-wlc h2, .tcs-wlc h3, .tcs-wlc p, .tcs-wlc hr, .tcs-wlc label { margin: 0; padding: 0; }
.tcs-wlc h1, .tcs-wlc h2, .tcs-wlc h3 { font-size: inherit; font-weight: inherit; line-height: inherit; text-transform: none; letter-spacing: inherit; }
.tcs-wlc hr { height: 0; border-top-width: 1px; background: none; }
.tcs-wlc svg, .tcs-wlc img { display: block; vertical-align: middle; max-width: 100%; }
.tcs-wlc button,
.tcs-wlc input {
  font-family: inherit;
  font-size: 100%;
  line-height: inherit;
  margin: 0;
  letter-spacing: normal;
  text-transform: none;
  box-shadow: none;
  -webkit-appearance: button;
}
.tcs-wlc button { background-color: transparent; background-image: none; cursor: pointer; }
.tcs-wlc input { -webkit-appearance: none; appearance: none; }
.tcs-wlc table { text-indent: 0; border-color: inherit; border-collapse: collapse; width: 100%; margin: 0; }
.tcs-wlc th, .tcs-wlc td { background: transparent; }
.tcs-wlc thead th { text-align: left; }
.tcs-wlc code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.tcs-wlc strong { font-weight: 700; }

/* Range slider */
.tcs-wlc input[type="range"].eco-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: #e2ede0;
  outline: none;
  cursor: pointer;
}
.tcs-wlc input[type="range"].eco-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1b4332;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.tcs-wlc input[type="range"].eco-slider::-webkit-slider-thumb:hover { transform: scale(1.12); background: #2d5a27; }
.tcs-wlc input[type="range"].eco-slider::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #1b4332;
  border: 4px solid #ffffff;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}
.tcs-wlc input[type="range"].eco-slider::-moz-range-thumb:hover { transform: scale(1.12); background: #2d5a27; }

/* Plan term pills */
.tcs-wlc .term-pill { transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1); }
.tcs-wlc .term-pill:hover { border-color: #2d5a27; transform: translateY(-1px); }

/* Hide number spinners */
.tcs-wlc input[type="number"]::-webkit-inner-spin-button,
.tcs-wlc input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tcs-wlc input[type="number"] { -moz-appearance: textfield; appearance: textfield; }

/* Scrollbars */
.tcs-wlc .custom-scrollbar::-webkit-scrollbar { width: 6px; height: 6px; }
.tcs-wlc .custom-scrollbar::-webkit-scrollbar-track { background: #f4f4ee; border-radius: 9999px; }
.tcs-wlc .custom-scrollbar::-webkit-scrollbar-thumb { background: #c5dbc2; border-radius: 9999px; }
.tcs-wlc .custom-scrollbar::-webkit-scrollbar-thumb:hover { background: #2d5a27; }

/* Modal fade */
@keyframes tcsWlcFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tcs-wlc .tcs-wlc-fade { animation: tcsWlcFade .18s ease-out; }
body.tcs-wlc-lock { overflow: hidden; }
