.mlc-tool {
  font-size: 13.5px;
  color: #1e1b4b;
  width: 100%;
}
.mlc-tool * {
  box-sizing: border-box;
}
.mlc-row {
  margin-bottom: 14px;
}
.mlc-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-bottom: 6px;
}
.mlc-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.mlc-input {
  width: 100%;
  height: 42px;
  padding: 0 60px 0 14px;
  border: 1.5px solid #e0e7ff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1e1b4b;
  background: #fafaff;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.mlc-input-with-prefix {
  padding-left: 28px;
}
.mlc-prefix {
  position: absolute;
  left: 14px;
  font-size: 15px;
  font-weight: 600;
  color: #9ca3af;
  pointer-events: none;
}
.mlc-input::placeholder {
  color: #c7c9e0;
  font-weight: 500;
}
.mlc-input:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
  background: #fff;
}
.mlc-input.mlc-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}
.mlc-unit {
  position: absolute;
  right: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: #9ca3af;
  pointer-events: none;
}
.mlc-btn {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  background: #4338ca;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.mlc-btn:hover {
  background: #3730a3;
}
.mlc-btn:active {
  transform: scale(0.98);
}
.mlc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.mlc-result-card {
  background: #f8f9ff;
  border: 1.5px solid #e0e7ff;
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}
.mlc-card-full {
  grid-column: 1 / -1;
  padding: 14px 10px;
}
.mlc-result-card.mlc-has-value {
  background: #fff;
  border-color: #4338ca;
}
.mlc-result-card.mlc-has-value-main {
  background: #eef2ff;
  border-color: #6366f1;
}
.mlc-result-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.mlc-tag-main {
  background: #e0e7ff;
  color: #4338ca;
}
.mlc-tag-neutral {
  background: #f3f4f6;
  color: #4b5563;
}
.mlc-result-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}
.mlc-result-value {
  font-size: 20px;
  font-weight: 700;
  color: #1e1b4b;
  line-height: 1;
}
.mlc-card-full .mlc-result-value {
  font-size: 26px;
  color: #4338ca;
}
.mlc-result-diff {
  display: block;
  font-size: 10.5px;
  color: #9ca3af;
  margin-top: 4px;
  min-height: 13px;
  font-weight: 500;
}
.mlc-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: #9ca3af;
  margin: 14px 0 0;
  text-align: center;
}