.thc-cons-wrap, .thc-cons-wrap * { box-sizing: border-box; max-width: 100%; }
.thc-cons-wrap { font-family: Arial, sans-serif; background: #ffffff; }

.thc-q { margin-bottom: 10px; padding-bottom: 6px; }
.thc-q p { margin: 0 0 6px 0; font-weight: bold; word-break: break-word; }

.thc-options { display: flex; flex-direction: column; gap: 4px; width: 100%; }
.thc-options label { display: flex; align-items: flex-start; gap: 10px; line-height: 1.35; word-break: break-word; width: 100%; }
.thc-options input[type="radio"] { margin-top: 2px; flex-shrink: 0; }

.thc-highlight { outline: 2px solid #ff6b6b; outline-offset: 4px; border-radius: 6px; }

.thc-actionbar {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  border-top: 1px solid #e6e6e6;
  padding: 12px 0 6px 0;
  z-index: 9999;
}

.thc-debug {
  display: block;
  margin: 0 0 6px 0;
  color: #333;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.thc-warning {
  display: block;
  margin: 0 0 8px 0;
  color: red;
  font-size: 14px;
  line-height: 1.35;
  word-break: break-word;
}

.thc-submit {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  padding: 12px !important;
  border: none !important;
  border-radius: 6px !important;
  background: #4CAF50 !important;
  color: #ffffff !important;
  font-size: 16px !important;
  text-align: center !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.thc-submit:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.thc-submit:not(:disabled) {
  opacity: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.thc-result {
  display: none;
  margin-top: 16px;
  padding: 15px;
  background: #e7f3fe;
  color: #333;
  border-radius: 6px;
  word-break: break-word;
}

.thc-block {
  margin-top: 12px;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #d6e8ff;
  border-radius: 6px;
}

.thc-block-title { font-weight: bold; margin: 0 0 6px 0; }
.thc-block-meta { margin: 0 0 8px 0; color: #555; font-size: 14px; }
.thc-block ul { margin: 0; padding-left: 18px; }
.thc-block li { margin: 4px 0; }

.thc-additional {
  display: none;
  margin-top: 16px;
  padding: 15px;
  background: #f7fbff;
  border-radius: 6px;
  color: #333;
  word-break: break-word;
}

.thc-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 14px;
  background: #bfd1f2;
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.thc-link.secondary { background: #c2ede2; margin-left: 8px; }