.utm-tc {
  --utm-green: #7aa61d;
  --utm-green-dark: #52750d;
  --utm-ink: #17200f;
  --utm-muted: #66705f;
  --utm-line: #dfe5da;
  --utm-soft: #f5f7f2;
  max-width: 1120px;
  margin: 28px auto 50px;
  color: var(--utm-ink);
  font-family: inherit;
}

.utm-tc * { box-sizing: border-box; }
.utm-tc [hidden] { display: none !important; }

.utm-tc__hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 36px 40px;
  border-radius: 18px 18px 0 0;
  color: #fff;
  background: linear-gradient(120deg, #17200f 0%, #2c4018 100%);
}

.utm-tc__eyebrow {
  margin: 0 0 8px;
  color: #b6d477;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.utm-tc__hero h2 {
  margin: 0;
  max-width: 700px;
  color: #fff;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.utm-tc__intro { max-width: 720px; margin: 14px 0 0; color: #d9dfd2; font-size: 16px; }

.utm-tc__distance {
  display: flex;
  flex: 0 0 116px;
  height: 116px;
  align-items: baseline;
  justify-content: center;
  padding-top: 24px;
  border: 2px solid rgba(255,255,255,.22);
  border-radius: 50%;
  background: rgba(255,255,255,.07);
}

.utm-tc__distance strong { font-size: 50px; line-height: 1; }
.utm-tc__distance span { margin-left: 5px; color: #b6d477; font-size: 18px; font-weight: 700; }

.utm-tc__controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 26px 30px;
  border: 1px solid var(--utm-line);
  border-top: 0;
  background: #fff;
}

.utm-tc__controls label > span { display: block; margin-bottom: 7px; color: var(--utm-muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.utm-tc__controls select { width: 100%; height: 46px; padding: 0 38px 0 13px; border: 1px solid #cfd8c8; border-radius: 7px; background-color: #fff; color: var(--utm-ink); font-weight: 650; cursor: pointer; }
.utm-tc__controls select:focus { outline: 2px solid rgba(122,166,29,.25); border-color: var(--utm-green); }
.utm-tc__controls select:disabled { color: #5f6959; background: var(--utm-soft); opacity: 1; }

.utm-tc__table-wrap { overflow-x: auto; border: 1px solid var(--utm-line); border-top: 0; border-radius: 0 0 18px 18px; background: #fff; }
.utm-tc__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; }
.utm-tc__table th { padding: 14px 18px; border: 0; background: var(--utm-soft); color: var(--utm-muted); font-size: 12px; letter-spacing: .05em; text-align: left; text-transform: uppercase; }
.utm-tc__table td { padding: 17px 18px; border: 0; border-top: 1px solid var(--utm-line); vertical-align: middle; }
.utm-tc__table td:first-child { width: 75%; font-weight: 700; }
.utm-tc__table a { color: var(--utm-ink); text-decoration-color: #b7c6aa; text-underline-offset: 3px; }
.utm-tc__table a:hover { color: var(--utm-green-dark); text-decoration-color: var(--utm-green); }
.utm-tc__table th:nth-child(n+2), .utm-tc__table td:nth-child(n+2) { text-align: right; white-space: nowrap; }
.utm-tc__note { margin: 12px 4px 0; color: var(--utm-muted); font-size: 13px; }

@media (max-width: 860px) {
  .utm-tc__controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .utm-tc { margin-top: 15px; }
  .utm-tc__hero { padding: 28px 22px; border-radius: 13px 13px 0 0; }
  .utm-tc__distance { display: none; }
  .utm-tc__controls { grid-template-columns: 1fr; padding: 20px; }
  .utm-tc__table thead { display: none; }
  .utm-tc__table, .utm-tc__table tbody, .utm-tc__table tr, .utm-tc__table td { display: block; width: 100%; }
  .utm-tc__table tr { padding: 13px 18px; border-top: 1px solid var(--utm-line); }
  .utm-tc__table td, .utm-tc__table td:first-child { display: flex; width: 100%; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; white-space: normal; }
  .utm-tc__table td:first-child { padding-bottom: 8px; text-align: left; }
  .utm-tc__table td::before { content: attr(data-label); flex: 0 0 42%; color: var(--utm-muted); font-size: 12px; font-weight: 600; text-align: left; }
  .utm-tc__table td:first-child::before { display: none; }
  .utm-tc__table-wrap { border-radius: 0 0 13px 13px; }
}
