.dt-tool {
  --dt-ink: #172033;
  --dt-muted: #647084;
  --dt-line: #d9e1ec;
  --dt-panel: #ffffff;
  --dt-soft: #f5f7fb;
  --dt-accent: #1463ff;
  --dt-good: #0f766e;
  color: var(--dt-ink);
  display: grid;
  gap: 16px;
  margin: 0 auto 28px;
  max-width: 980px;
}

.dt-card {
  background: var(--dt-panel);
  border: 1px solid var(--dt-line);
  border-radius: 8px;
  padding: 18px;
}

.dt-card h2 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 14px;
}

.dt-grid {
  display: grid;
  gap: 14px;
}

.dt-field {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.dt-field small,
.dt-note,
.dt-disclaimer {
  color: var(--dt-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.dt-field input,
.dt-field select {
  border: 1px solid var(--dt-line);
  border-radius: 8px;
  color: var(--dt-ink);
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.dt-field input:focus,
.dt-field select:focus,
.dt-action:focus-visible {
  outline: 3px solid rgba(20, 99, 255, 0.22);
  outline-offset: 2px;
}

.dt-action {
  align-items: center;
  background: var(--dt-accent);
  border: 0;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
}

.dt-result {
  background: var(--dt-soft);
  border: 1px solid var(--dt-line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.dt-result-main {
  color: var(--dt-accent);
  font-size: clamp(1.75rem, 7vw, 3rem);
  font-weight: 900;
  line-height: 1.05;
}

.dt-result-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
}

.dt-result-list div {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.dt-result-list dt {
  color: var(--dt-muted);
  font-weight: 700;
}

.dt-result-list dd {
  font-weight: 900;
  margin: 0;
  text-align: right;
}

.dt-error {
  color: #b42318;
  font-weight: 700;
  margin: 0;
  min-height: 1.4em;
}

.dt-table-wrap {
  overflow-x: auto;
}

.dt-time-table {
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 620px;
  width: 100%;
}

.dt-time-table th,
.dt-time-table td {
  border-bottom: 1px solid var(--dt-line);
  padding: 10px;
  text-align: left;
  white-space: nowrap;
}

.dt-time-table th {
  color: var(--dt-muted);
  font-size: 0.85rem;
}

.dt-hub {
  display: grid;
  gap: 18px;
  margin: 0 auto 28px;
  max-width: 980px;
}

.dt-hub-intro {
  display: grid;
  gap: 8px;
}

.dt-hub-intro h2 {
  font-size: 1.4rem;
  margin: 0;
}

.dt-hub-list {
  display: grid;
  gap: 12px;
}

.dt-hub-card {
  background: #fff;
  border: 1px solid var(--dt-line);
  border-radius: 8px;
  color: var(--dt-ink);
  display: block;
  padding: 16px;
  text-decoration: none;
}

.dt-hub-card:focus-visible {
  outline: 3px solid rgba(20, 99, 255, 0.22);
  outline-offset: 2px;
}

.dt-hub-card:hover {
  border-color: var(--dt-accent);
}

@media (min-width: 760px) {
  .dt-tool {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .dt-card,
  .dt-result {
    padding: 22px;
  }

  .dt-span {
    grid-column: 1 / -1;
  }

  .dt-hub-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
