.stcdb-wt-wrapper {
  max-width: 680px;
  margin: 2rem auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.stcdb-wt-form {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 1.5rem;
}

.stcdb-wt-field {
  margin-bottom: 1.15rem;
}

.stcdb-wt-field > label,
.stcdb-wt-field > .stcdb-wt-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: #023E73;
  font-size: 0.95rem;
}

.stcdb-wt-field input[type="number"] {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
}

.stcdb-wt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Radio option cards */
.stcdb-wt-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.stcdb-wt-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fff;
}

.stcdb-wt-option:hover {
  border-color: #FF6B35;
  background: #fff8f4;
}

.stcdb-wt-option input[type="radio"] {
  margin: 0;
  transform: scale(1.15);
}

.stcdb-wt-option:has(input:checked) {
  border-color: #FF6B35;
  background: #fff8f4;
}

.stcdb-wt-option-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.stcdb-wt-option-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: #333;
}

.stcdb-wt-option-desc {
  font-size: 0.78rem;
  color: #888;
}

/* Calculate button */
.stcdb-wt-btn {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #FF6B35;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.stcdb-wt-btn:hover {
  background: #e55a2b;
}

/* Results */
.stcdb-wt-results {
  margin-top: 1.5rem;
  border: 2px solid #FF6B35;
  border-radius: 12px;
  overflow: hidden;
}

.stcdb-wt-results-header {
  background: #FF6B35;
  color: #fff;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* Main weight number */
.stcdb-wt-hero {
  text-align: center;
  padding: 1.5rem;
  background: #fff8f4;
  border-bottom: 1px solid #fde0d0;
}

.stcdb-wt-main-number {
  font-size: 3rem;
  font-weight: 800;
  color: #FF6B35;
  line-height: 1;
}

.stcdb-wt-fun-comparison {
  font-size: 1rem;
  color: #555;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Daily breakdown */
.stcdb-wt-breakdown {
  padding: 0 1.5rem;
}

.stcdb-wt-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.7rem 0;
  border-bottom: 1px solid #eee;
}

.stcdb-wt-breakdown-row:last-child {
  border-bottom: none;
}

.stcdb-wt-breakdown-left {
  flex: 1;
}

.stcdb-wt-breakdown-left strong {
  display: block;
  color: #333;
  font-size: 0.92rem;
}

.stcdb-wt-breakdown-detail {
  display: block;
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.1rem;
}

.stcdb-wt-breakdown-right {
  font-weight: 700;
  color: #023E73;
  font-size: 0.95rem;
  white-space: nowrap;
  padding-left: 1rem;
}

/* Sea vs port comparison */
.stcdb-wt-day-comparison {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eee;
}

.stcdb-wt-comp-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.stcdb-wt-comp-row:last-child {
  margin-bottom: 0;
}

.stcdb-wt-comp-label {
  width: 60px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #333;
  flex-shrink: 0;
}

.stcdb-wt-comp-bar-wrap {
  flex: 1;
  height: 18px;
  background: #e9ecef;
  border-radius: 9px;
  overflow: hidden;
}

.stcdb-wt-comp-bar {
  height: 100%;
  border-radius: 9px;
  transition: width 0.5s ease;
}

.stcdb-wt-comp-bar--sea {
  background: #FF6B35;
}

.stcdb-wt-comp-bar--port {
  background: #008080;
}

.stcdb-wt-comp-val {
  font-size: 0.78rem;
  color: #888;
  white-space: nowrap;
  width: 70px;
  text-align: right;
  flex-shrink: 0;
}

/* Sassy tips */
.stcdb-wt-tips {
  padding: 1rem 1.5rem;
  background: #fffbf0;
  border-top: 1px solid #f0e6c8;
}

.stcdb-wt-tips p {
  margin: 0.35rem 0;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
  font-style: italic;
}

/* Share */
.stcdb-wt-share-section {
  padding: 1rem 1.5rem;
  text-align: center;
  border-top: 1px solid #eee;
  background: #f8f9fa;
}

.stcdb-wt-share-btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: #023E73;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.stcdb-wt-share-btn:hover {
  background: #012b52;
}

/* Disclaimer */
.stcdb-wt-disclaimer {
  padding: 0.75rem 1.5rem;
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.stcdb-wt-disclaimer p {
  margin: 0;
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
}

/* Responsive */
@media (max-width: 560px) {
  .stcdb-wt-row {
    grid-template-columns: 1fr;
  }

  .stcdb-wt-main-number {
    font-size: 2.2rem;
  }

  .stcdb-wt-breakdown-row {
    flex-direction: column;
  }

  .stcdb-wt-breakdown-right {
    padding-left: 0;
    margin-top: 0.25rem;
  }

  .stcdb-wt-comp-row {
    flex-wrap: wrap;
  }
}
