.td-stl-tool-wrap {
  max-width: 1200px;
  margin: 32px auto 56px;
  padding: 0 20px;
}

.td-stl-tool-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.td-stl-tool-copy {
  padding: 10px 8px 0 4px;
}

.td-stl-tool-eyebrow {
  margin: 0 0 10px;
  color: #00a0df;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.td-stl-tool-title {
  margin: 0 0 14px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 0.95;
  font-weight: 800;
  color: #1d2433;
}

.td-stl-tool-desc {
  margin: 0 0 20px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.6;
  color: #4a5568;
}

.td-stl-tool-benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.td-stl-tool-benefits li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 24px;
  color: #24324a;
  font-size: 16px;
}

.td-stl-tool-benefits li::before {
  content: none;
  position: absolute;
  left: 6px;
  color: #ff2b8a;
  font-weight: 700;
}

.td-stl-tool-card {
  background: #ffffff;
  border: 1px solid #e6edf5;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(24, 39, 75, 0.08);
  overflow: hidden;
}

.td-stl-tool-form {
  padding: 28px;
}

.td-stl-label {
  display: block;
  margin: 0 0 10px;
  color: #1f2a3d;
  font-size: 15px;
  font-weight: 700;
}

.td-stl-label-inline {
  margin-bottom: 4px;
}

.td-stl-upload {
  display: block;
  border: 2px dashed #cfe0f3;
  border-radius: 18px;
  background: linear-gradient(180deg, #f9fcff 0%, #f5f9fd 100%);
  padding: 22px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.td-stl-upload:hover {
  border-color: #00a0df;
  background: #f8fcff;
  transform: translateY(-1px);
}

.td-stl-upload-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.td-stl-upload-title {
  color: #1f2a3d;
  font-size: 17px;
  font-weight: 700;
}

.td-stl-upload-sub {
  color: #697586;
  font-size: 13px;
}

.td-stl-upload-file {
  color: #ff2b8a;
  font-size: 14px;
  font-weight: 700;
  word-break: break-word;
}

.td-stl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.td-stl-field input[type="number"] {
  width: 100%;
  height: 48px;
  border: 1px solid #d9e4ef;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 16px;
  color: #1f2a3d;
  background: #fff;
  box-sizing: border-box;
}

.td-stl-field input[type="number"]:focus {
  outline: none;
  border-color: #00a0df;
  box-shadow: 0 0 0 3px rgba(0, 160, 223, 0.12);
}

.td-stl-field small,
.td-stl-helper {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.td-stl-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 22px 0 24px;
  padding: 16px 18px;
  border: 1px solid #edf2f7;
  border-radius: 16px;
  background: #fafcff;
}

.td-stl-switch {
  position: relative;
  display: inline-block;
  width: 56px;
  height: 32px;
  flex: 0 0 auto;
}

.td-stl-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.td-stl-slider {
  position: absolute;
  inset: 0;
  background: #d8e2ec;
  border-radius: 999px;
  transition: 0.25s ease;
  cursor: pointer;
}

.td-stl-slider::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  left: 4px;
  top: 4px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(31, 42, 61, 0.18);
  transition: 0.25s ease;
}

.td-stl-switch input:checked + .td-stl-slider {
  background: #00a0df;
}

.td-stl-switch input:checked + .td-stl-slider::before {
  transform: translateX(24px);
}

.td-stl-btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #00a0df 0%, #2f80ed 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 160, 223, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.td-stl-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 160, 223, 0.28);
}

.td-stl-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.td-stl-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.td-stl-status--hidden {
  display: none;
}

.td-stl-status--info {
  display: block;
  background: #f1f8ff;
  color: #135a8a;
  border-color: #cfe7fb;
}

.td-stl-status--success {
  display: block;
  background: #f1fbf5;
  color: #146c43;
  border-color: #cdeed8;
}

.td-stl-status--error {
  display: block;
  background: #fff4f4;
  color: #a12626;
  border-color: #f3d2d2;
}

@media (max-width: 920px) {
  .td-stl-tool-hero {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .td-stl-tool-title {
    font-size: clamp(34px, 8vw, 52px);
  }
}

@media (max-width: 640px) {
  .td-stl-tool-wrap {
    padding: 0 14px;
  }

  .td-stl-tool-form {
    padding: 18px;
  }

  .td-stl-grid {
    grid-template-columns: 1fr;
  }

  .td-stl-toggle-row {
    align-items: flex-start;
  }
}