.de1mb {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 28rem;
  margin: 0 auto;
  color: #1a1a1a;
}

.de1mb__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.de1mb__hint {
  font-size: 0.875rem;
  color: #555;
  margin: 0 0 1rem;
  line-height: 1.45;
}

.de1mb__drop {
  border: 2px dashed #c8c8c8;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.de1mb__drop:hover,
.de1mb__drop--drag {
  border-color: #3b6cff;
  background: #f5f8ff;
}

.de1mb__drop input {
  display: none;
}

.de1mb__file-name {
  font-size: 0.8125rem;
  color: #333;
  margin-top: 0.5rem;
  word-break: break-all;
}

.de1mb__btn {
  display: block;
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: #2563eb;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.de1mb__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.de1mb__status {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  min-height: 1.25rem;
}

.de1mb__status--error {
  color: #b91c1c;
}

.de1mb__status--ok {
  color: #15803d;
}

.de1mb__panel {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fb;
  border-radius: 10px;
  display: none;
}

.de1mb__panel--visible {
  display: block;
}

.de1mb__panel p {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.de1mb__warning {
  color: #92400e;
  background: #fffbeb;
  padding: 0.625rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.75rem !important;
}

.de1mb__choice {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  line-height: 1.35;
}

.de1mb__choice:hover {
  border-color: #2563eb;
  background: #f5f8ff;
}

.de1mb__choice small {
  display: block;
  color: #666;
  margin-top: 0.25rem;
  font-weight: 400;
}

.de1mb__cancel {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.5rem;
  font-size: 0.8125rem;
  background: transparent;
  border: none;
  color: #666;
  cursor: pointer;
  text-decoration: underline;
}

.de1mb--loading .de1mb__btn {
  pointer-events: none;
}
