.smtc { max-width: 720px; }
.smtc-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.smtc-tab {
  padding: 8px 12px; font-size: 13px; font-weight: 700; border: 1px solid #d9e0d4; border-radius: 6px;
  background: #fff; cursor: pointer; color: #27331f;
}
.smtc-tab-active { background: #19616a; border-color: #19616a; color: #fff; }
.smtc-panel { display: flex; flex-direction: column; gap: 12px; }
.smtc-panel label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #27331f; }
.smtc-panel input, .smtc-panel select {
  padding: 9px 11px; font-size: 14.5px; border: 1px solid #d9e0d4; border-radius: 6px; background: #fff; color: #27331f;
}
.smtc-panel input:focus, .smtc-panel select:focus { outline: 2px solid #19616a; outline-offset: 1px; }
.smtc-row2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.smtc-row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.smtc-out { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.smtc-cmd {
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
}
.smtc-cmd code { font-family: ui-monospace, monospace; font-size: 13.5px; color: #19616a; font-weight: 700; }
.smtc-cmd span { font-size: 12.5px; color: #5b6b56; }

.smtc-card {
  padding: 12px 14px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
  font-size: 13.5px; color: #27331f; display: flex; flex-direction: column; gap: 6px;
}
.smtc-card h4 { margin: 0; font-size: 13.5px; color: #19616a; }
.smtc-card ul { margin: 0; padding-left: 18px; }
.smtc-card li { margin: 2px 0; }

.smtc-hint { font-size: 12.5px; color: #5b6b56; margin: 4px 0 0; }
.smtc-note { margin-top: 16px; font-size: 13px; color: #5b6b56; }
.smtc-warn {
  font-size: 12.5px; color: #27331f; background: #fff; border: 1px solid #19616a; border-radius: 6px;
  padding: 8px 10px; margin: 0;
}

.smtc-table-wrap { overflow-x: auto; }
.smtc-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.smtc-table caption { text-align: left; font-size: 12.5px; color: #5b6b56; margin-bottom: 6px; }
.smtc-table th, .smtc-table td { padding: 8px 10px; border: 1px solid #d9e0d4; text-align: left; white-space: nowrap; }
.smtc-table thead th { background: #19616a; color: #fff; font-weight: 700; }
.smtc-table tbody tr:nth-child(even) { background: #f3f4f8; }
.smtc-table td.smtc-fact { color: #19616a; font-weight: 700; }

.smtc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.smtc-compare-card {
  padding: 12px 14px; background: #fff; border: 1px solid #d9e0d4; border-radius: 6px;
  display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #27331f;
}
.smtc-compare-card h4 { margin: 0; font-size: 14px; color: #19616a; text-transform: capitalize; }
.smtc-compare-row { display: flex; justify-content: space-between; gap: 8px; }
.smtc-compare-row span:first-child { color: #5b6b56; }
.smtc-compare-row span:last-child { font-weight: 700; }

.smtc-result {
  padding: 12px 14px; background: #f3f4f8; border: 1px solid #d9e0d4; border-radius: 6px;
  display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: #27331f;
}
.smtc-result .smtc-result-total { font-size: 15px; font-weight: 700; color: #19616a; }

@media (max-width: 480px) {
  .smtc-row2, .smtc-row3, .smtc-compare { grid-template-columns: 1fr; }
}
