.md5-wrap {
  width: 100%;
  padding: 4px 0 28px;
  box-sizing: border-box;
}

.md5-lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.65;
  color: #64748b;
}

.md5-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.md5-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.md5-count {
  font-size: 12px;
  font-weight: 400;
  color: #94a3b8;
}

.md5-input,
.md5-out {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #0f172a;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.md5-input {
  min-height: 140px;
  resize: vertical;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.md5-input:focus,
.md5-out:focus {
  outline: none;
  border-color: #93c5fd;
}

.md5-actions {
  display: flex;
  gap: 8px;
  margin: 12px 0 18px;
}

.md5-btn {
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.md5-btn-primary {
  background: #2563eb;
  color: #fff;
}

.md5-btn-ghost {
  background: #f1f5f9;
  color: #334155;
}

.md5-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.md5-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
}

.md5-row {
  display: flex;
  gap: 8px;
}

.md5-out {
  flex: 1;
  min-width: 0;
}

.md5-tip {
  margin: 12px 0 0;
  font-size: 13px;
  color: #dc2626;
}

.md5-tip.is-ok {
  color: #059669;
}

.md5-intro {
  margin-top: 28px;
  padding: 18px 20px;
  background: #f8fafc;
  border: 1px solid #e8ecf1;
  border-radius: 10px;
}

.md5-intro h2 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.md5-intro h2:not(:first-child) {
  margin-top: 18px;
}

.md5-intro p,
.md5-intro li {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #475569;
}

.md5-intro ul,
.md5-intro ol {
  margin: 8px 0 0;
  padding: 0 0 0 1.25em;
}

.md5-intro li + li {
  margin-top: 4px;
}

@media (max-width: 800px) {
  .md5-grid {
    grid-template-columns: 1fr;
  }
}
