@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root .swalg-tool, .tc-wp-tool-root .swalg-tool *{
  box-sizing: border-box;
}.tc-wp-tool-root .swalg-tool{
  width: 100%;
  max-width: none;
  border-radius: 0 !important;
  overflow-x: hidden;
  position: relative;
  color: #ecfeff;
  background:
    radial-gradient(circle at 12% 8%, rgba(45, 212, 191, 0.24), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(129, 140, 248, 0.24), transparent 38%),
    linear-gradient(135deg, #07111f 0%, #0c2238 42%, #11143a 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}.tc-wp-tool-root .swalg-shell{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}.tc-wp-tool-root .swalg-hero{
  text-align: center;
}.tc-wp-tool-root .swalg-hero h1{
  margin: 0;
  text-align: center;
  font-size: clamp(1.5rem, 5vw, 2.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  color: #f8fafc;
}.tc-wp-tool-root .swalg-subtitle{
  margin: 12px auto 0;
  max-width: 680px;
  color: #b6e8ef;
  line-height: 1.55;
}.tc-wp-tool-root .swalg-layout{
  display: grid;
  width: 100%;
  gap: 18px;
  align-items: start;
}.tc-wp-tool-root .swalg-card{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.82), rgba(17, 24, 59, 0.7));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}.tc-wp-tool-root .swalg-card:hover{
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.42);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.36), 0 0 34px rgba(45, 212, 191, 0.08);
}.tc-wp-tool-root .swalg-card-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}.tc-wp-tool-root .swalg-card-head h2{
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}.tc-wp-tool-root .swalg-label{
  display: block;
  margin: 0 0 8px;
  color: #a7f3d0;
  font-size: 0.82rem;
  font-weight: 700;
}.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 14px;
  background-color: rgba(4, 13, 30, 0.88);
  color: #f8fafc;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}.tc-wp-tool-root .swalg-expression{
  resize: vertical;
  min-height: 132px;
  line-height: 1.5;
}.tc-wp-tool-root .swalg-expression::placeholder{
  color: #76a6b5;
}.tc-wp-tool-root .swalg-expression:focus, .tc-wp-tool-root .swalg-select:focus{
  border-color: rgba(45, 212, 191, 0.88);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15), 0 0 24px rgba(34, 211, 238, 0.14);
}.tc-wp-tool-root .swalg-select{
  appearance: none;
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, #67e8f9 50%),
    linear-gradient(135deg, #67e8f9 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}.tc-wp-tool-root .swalg-select option, .tc-wp-tool-root .swalg-select option:checked, .tc-wp-tool-root .swalg-select option:hover, .tc-wp-tool-root .swalg-select option:focus{
  background-color: #081827;
  color: #f8fafc;
}.tc-wp-tool-root .swalg-control-grid{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 0.45fr);
  gap: 12px;
  margin-top: 14px;
}.tc-wp-tool-root .swalg-var-count{
  width: 100%;
  min-height: 46px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 14px;
  background: rgba(8, 22, 42, 0.78);
  color: #d9fbff;
  font-weight: 700;
}.tc-wp-tool-root .swalg-vars{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  margin: 14px 0;
  width: 100%;
  max-width: 100%;
}.tc-wp-tool-root .swalg-var{
  min-width: 0;
  border: 1px solid rgba(45, 212, 191, 0.22);
  border-radius: 14px;
  padding: 8px;
  background: rgba(5, 16, 32, 0.62);
}.tc-wp-tool-root .swalg-var-name{
  display: block;
  margin-bottom: 7px;
  color: #e0f2fe;
  font-size: 0.78rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}.tc-wp-tool-root .swalg-var select{
  height: 38px;
  border-radius: 11px;
}.tc-wp-tool-root .swalg-actions{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}.tc-wp-tool-root .swalg-btn, .tc-wp-tool-root .swalg-copy{
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  white-space: nowrap;
  text-align: center;
  font-weight: 800;
  line-height: 1;
  transition: transform 130ms ease, box-shadow 160ms ease, filter 160ms ease;
}.tc-wp-tool-root .swalg-btn{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  color: #03131b;
}.tc-wp-tool-root .swalg-solve{
  background: linear-gradient(135deg, #5eead4, #22d3ee 48%, #818cf8);
  box-shadow: 0 12px 30px rgba(34, 211, 238, 0.24);
}.tc-wp-tool-root .swalg-clear{
  color: #f8fafc;
  background: linear-gradient(135deg, #334155, #1e293b);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28);
}.tc-wp-tool-root .swalg-btn:hover, .tc-wp-tool-root .swalg-copy:hover{
  filter: brightness(1.08);
  box-shadow: 0 16px 38px rgba(34, 211, 238, 0.24);
}.tc-wp-tool-root .swalg-btn:active, .tc-wp-tool-root .swalg-copy:active{
  transform: translateY(1px) scale(0.99);
}.tc-wp-tool-root .swalg-btn:focus-visible, .tc-wp-tool-root .swalg-copy:focus-visible{
  outline: 3px solid rgba(167, 243, 208, 0.9);
  outline-offset: 3px;
}.tc-wp-tool-root .swalg-output-grid{
  display: grid;
  gap: 14px;
  min-width: 0;
}.tc-wp-tool-root .swalg-copy{
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 10px 13px;
  background: rgba(45, 212, 191, 0.14);
  color: #ccfbf1;
  border: 1px solid rgba(94, 234, 212, 0.28);
}.tc-wp-tool-root .swalg-box{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  border: 1px solid rgba(125, 211, 252, 0.17);
  border-radius: 14px;
  background: rgba(3, 10, 24, 0.6);
  color: #e5fbff;
  line-height: 1.55;
  overflow-wrap: anywhere;
  word-break: break-word;
  animation: swalgReveal 220ms ease both;
}.tc-wp-tool-root .swalg-result-box{
  max-height: 240px;
  font-weight: 800;
}.tc-wp-tool-root .swalg-formula-box{
  max-height: 180px;
}.tc-wp-tool-root .swalg-steps-box{
  max-height: 240px;
}.tc-wp-tool-root .swalg-table-box{
  max-height: 260px;
}.tc-wp-tool-root .swalg-box::-webkit-scrollbar{
  width: 10px;
  height: 10px;
}.tc-wp-tool-root .swalg-box::-webkit-scrollbar-track{
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
}.tc-wp-tool-root .swalg-box::-webkit-scrollbar-thumb{
  background: linear-gradient(135deg, #14b8a6, #6366f1);
  border-radius: 999px;
}.tc-wp-tool-root .swalg-steps{
  margin: 0;
  padding-left: 20px;
}.tc-wp-tool-root .swalg-steps li{
  margin: 0 0 8px;
}.tc-wp-tool-root .swalg-table-wrap{
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
}.tc-wp-tool-root .swalg-table{
  width: 100%;
  border-collapse: collapse;
  color: #f8fafc;
}.tc-wp-tool-root .swalg-table th, .tc-wp-tool-root .swalg-table td{
  border-bottom: 1px solid rgba(125, 211, 252, 0.14);
  text-align: center;
  padding: 9px 10px;
  white-space: nowrap;
}.tc-wp-tool-root .swalg-table th{
  color: #a7f3d0;
  background: rgba(20, 184, 166, 0.12);
  font-weight: 900;
}.tc-wp-tool-root .swalg-pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(34, 211, 238, 0.12);
  color: #cffafe;
  font-weight: 900;
}.tc-wp-tool-root .swalg-toast{
  position: fixed;
  z-index: 9999;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 16px;
  border: 1px solid rgba(94, 234, 212, 0.34);
  background: rgba(6, 20, 38, 0.94);
  color: #ecfeff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), 0 0 34px rgba(45, 212, 191, 0.16);
  text-align: center;
  font-weight: 800;
  transition: opacity 180ms ease, transform 180ms ease;
}.tc-wp-tool-root .swalg-toast.swalg-show{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}@keyframes swalgReveal {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}@media (min-width: 320px) and (max-width: 374px) {.tc-wp-tool-root .swalg-tool{ padding: 22px 10px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; padding: 0; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 0.86rem; }.tc-wp-tool-root .swalg-layout, .tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr !important; gap: 12px; }.tc-wp-tool-root .swalg-card{ padding: 13px; border-radius: 14px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 0.9rem; padding: 11px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-control-grid, .tc-wp-tool-root .swalg-vars{ grid-template-columns: 1fr !important; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }.tc-wp-tool-root .swalg-btn{ height: 50px; max-height: 56px; padding: 0 8px; font-size: 0.88rem; }.tc-wp-tool-root .swalg-copy{ font-size: 0.78rem; padding: 9px 10px; }.tc-wp-tool-root .swalg-box{ padding: 12px; font-size: 0.86rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 0.9rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.84rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.78rem; }.tc-wp-tool-root .swalg-table th, .tc-wp-tool-root .swalg-table td{ padding: 7px 8px; }}@media (min-width: 375px) and (max-width: 429px) {.tc-wp-tool-root .swalg-tool{ padding: 26px 12px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; padding: 0; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 0.9rem; }.tc-wp-tool-root .swalg-layout, .tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr !important; gap: 13px; }.tc-wp-tool-root .swalg-card{ padding: 15px; border-radius: 15px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 0.92rem; padding: 12px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-control-grid, .tc-wp-tool-root .swalg-vars{ grid-template-columns: 1fr !important; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }.tc-wp-tool-root .swalg-btn{ height: 52px; max-height: 56px; padding: 0 10px; font-size: 0.92rem; }.tc-wp-tool-root .swalg-box{ padding: 13px; font-size: 0.9rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 0.94rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.88rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.82rem; }}@media (min-width: 430px) and (max-width: 767px) {.tc-wp-tool-root .swalg-tool{ padding: 30px 14px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; padding: 0; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 0.95rem; }.tc-wp-tool-root .swalg-layout, .tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr !important; gap: 14px; }.tc-wp-tool-root .swalg-card{ padding: 17px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 0.95rem; padding: 13px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-control-grid{ grid-template-columns: 1fr !important; }.tc-wp-tool-root .swalg-vars{ grid-template-columns: 1fr !important; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }.tc-wp-tool-root .swalg-btn{ height: 54px; max-height: 56px; padding: 0 12px; font-size: 0.96rem; }.tc-wp-tool-root .swalg-box{ padding: 14px; font-size: 0.94rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 0.98rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.92rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.86rem; }}@media (min-width: 768px) and (max-width: 1023px) {.tc-wp-tool-root .swalg-tool{ padding: 38px 18px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 1rem; }.tc-wp-tool-root .swalg-layout{ grid-template-columns: 1fr !important; gap: 16px; }.tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }.tc-wp-tool-root .swalg-table-card{ grid-column: 1 / -1; }.tc-wp-tool-root .swalg-card{ padding: 19px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 0.97rem; padding: 13px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }.tc-wp-tool-root .swalg-btn{ height: 56px; padding: 0 14px; font-size: 1rem; }.tc-wp-tool-root .swalg-box{ padding: 15px; font-size: 0.95rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 1rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.94rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.9rem; }}@media (min-width: 1024px) and (max-width: 1199px) {.tc-wp-tool-root .swalg-tool{ padding: 46px 22px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 1.02rem; }.tc-wp-tool-root .swalg-layout{ grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 18px; }.tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }.tc-wp-tool-root .swalg-table-card{ grid-column: 1 / -1; }.tc-wp-tool-root .swalg-card{ padding: 20px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 1rem; padding: 14px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)); }.tc-wp-tool-root .swalg-btn{ height: 56px; padding: 0 15px; font-size: 1rem; }.tc-wp-tool-root .swalg-box{ padding: 16px; font-size: 0.96rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 1.02rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.94rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.9rem; }}@media (min-width: 1200px) {.tc-wp-tool-root .swalg-tool{ padding: 54px 28px; border-radius: 0 !important; }.tc-wp-tool-root .swalg-shell{ width: 100%; }.tc-wp-tool-root .swalg-hero{ margin-bottom: 24px; }.tc-wp-tool-root .swalg-hero h1{ font-size: clamp(1.5rem, 5vw, 2.8rem); }.tc-wp-tool-root .swalg-subtitle{ font-size: 1.04rem; }.tc-wp-tool-root .swalg-layout{ grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr); gap: 20px; }.tc-wp-tool-root .swalg-output-grid{ grid-template-columns: 1fr 1fr; gap: 16px; }.tc-wp-tool-root .swalg-table-card{ grid-column: 1 / -1; }.tc-wp-tool-root .swalg-card{ padding: 22px; }.tc-wp-tool-root .swalg-expression, .tc-wp-tool-root .swalg-select, .tc-wp-tool-root .swalg-var-count{ font-size: 1rem; padding: 14px; }.tc-wp-tool-root .swalg-select option{ background-color: #081827; color: #f8fafc; }.tc-wp-tool-root .swalg-actions{ grid-template-columns: repeat(2, minmax(0, 1fr)); }.tc-wp-tool-root .swalg-btn{ height: 58px; padding: 0 16px; font-size: 1rem; }.tc-wp-tool-root .swalg-box{ padding: 16px; font-size: 0.98rem; }.tc-wp-tool-root .swalg-result-box{ font-size: 1.05rem; }.tc-wp-tool-root .swalg-formula-box{ font-size: 0.96rem; }.tc-wp-tool-root .swalg-table{ font-size: 0.92rem; }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}

.tc-wp-tool-root .swalg-input-card {}
.tc-wp-tool-root .swalg-output-card {}
.tc-wp-tool-root .swalg-result-card {}