.mtp-language-switcher ul {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mtp-language-switcher a {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d7d0c5;
  text-decoration: none;
  color: #1f1f1f;
  background: #f8f1e4;
}

.mtp-language-switcher a.is-current {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}

.mtp-language-switcher--floating {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 9998;
  padding: 0.65rem;
  border: 1px solid #d7d0c5;
  border-radius: 18px;
  background: rgba(255, 250, 240, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.mtp-language-switcher--floating ul {
  flex-wrap: wrap;
}

#mtp-editor-root {
  position: fixed;
  top: 48px;
  right: 16px;
  z-index: 9999;
  width: 360px;
}

.mtp-editor-panel {
  background: #fffaf0;
  color: #1f1f1f;
  border: 1px solid #d7d0c5;
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.mtp-editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #efe2c3;
  border-bottom: 1px solid #d7d0c5;
}

.mtp-editor-body {
  max-height: 70vh;
  overflow: auto;
  padding: 1rem;
}

.mtp-editor-row {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eadfcb;
}

.mtp-editor-source {
  font-size: 0.85rem;
  color: #5a5245;
}

.mtp-editor-input {
  width: 100%;
  min-height: 84px;
}
